SShortSingh.
Back to feed

One AWS T4G GPU Runs Three Gemma 4 AI Runtimes for Under $3 in Cost Comparison

0
·1 views

A developer benchmarked three different serving runtimes — vLLM, JAX, and PyTorch with Transformers — each running Google's Gemma 4 E2B instruction-tuned model on a single AWS g5g.2xlarge instance equipped with an NVIDIA T4G GPU. The experiment used a shared Python benchmark harness across all three deployments to ensure the runtime was the only variable, addressing a prior flaw where each rig measured itself with its own tooling. The entire exercise, spanning 19 instances and roughly four and a half instance-hours, cost less than three dollars in AWS spot compute. The g5g instance family is notable as the only AWS offering that pairs an NVIDIA GPU with an ARM-based Graviton2 host, making it uniquely suited for aarch64 workloads at compute capability 7.5. The project also surfaced five measurement errors that would have gone undetected without a unified harness, underscoring the importance of consistent benchmarking methodology.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Apache Iceberg's Puffin Format Solves Query Optimization Gaps in Large Tables

Apache Iceberg's Puffin is a lightweight container file format designed to store statistics that do not fit inside Iceberg's standard manifest files. Manifests efficiently hold per-file scalar metrics like row counts and value bounds, but cannot accommodate larger structures such as distinct-value sketches or row-level delete bitmaps. Without distinct-value estimates, query optimizers are forced to guess join strategies, potentially causing unnecessary shuffling of terabytes of data. Puffin addresses this by housing two blob types: Theta sketches for estimating distinct column values, and deletion vectors for tracking row-level deletes introduced in Iceberg format version 3. The format uses a simple structure — a magic number, opaque data blobs, and a JSON footer — allowing query engines to access costly statistics without bloating the manifests read on every query.

0
ProgrammingDEV Community ·

OpenAI Launches Prism, a Free AI-Powered LaTeX Workspace for Researchers

OpenAI has introduced Prism, a free cloud-based writing workspace built on its GPT-5.2 model, designed to help scientists draft, revise, and prepare research papers for publication. The platform combines a LaTeX editor with document-aware AI assistance, keeping equations, citations, figures, and references within a single working environment. Prism evolved from Crixet, a cloud-based LaTeX platform that OpenAI previously acquired and redeveloped. The workspace is currently available at no cost to personal ChatGPT account holders across Free, Go, Plus, and Pro tiers, with no stated seat limits for personal use. OpenAI has indicated that paid features and expanded access for Business, Enterprise, and Education users are planned, though no pricing details or firm rollout dates have been announced.

0
ProgrammingDEV Community ·

Why Measuring Pull Requests May Be Hurting Your Software Team's Performance

A software engineering advocate argues that measuring pull request metrics—such as duration and throughput—is counterproductive because PRs inherently slow down code integration and delivery. Citing a DX study of over 500 organizations, the author notes that the longer PRs remain open, the less code developers ship, particularly in high-performing teams. Rather than optimizing a practice that introduces delays, the author urges engineering leaders to adopt DORA metrics—deployment frequency, lead time for changes, change failure rate, and time to restore service—as more meaningful indicators of delivery performance. The piece contends that continuous integration with trunk-based development is a superior alternative, supported by over a decade of DORA research showing that speed and stability improve together. Using a marathon analogy, the author warns that measuring and rewarding PR efficiency is akin to timing tea service during a race—optimizing a stop that should not exist in the first place.