SShortSingh.
Back to feed

Gemma 4 Runs 1.79x Faster on Tesla T4 Using QAT Int4 Weights Over bf16

0
·10 views

A developer has published a step-by-step guide for deploying Google's Gemma 4 2B model on a Tesla T4 GPU hosted on a Google Compute Engine VM. Two model checkpoints were benchmarked: the standard bf16 version and a QAT int4-weight variant, using vLLM 0.29.0 on a modest n1-standard-2 instance with 2 vCPUs and 7.8 GB RAM. The QAT model decoded at 72.31 tokens per second in a single stream compared to 40.44 for bf16, and reached 215.91 tokens per second across eight streams versus 164.62. A suite of Python MCP tools was built to manage the deployment pipeline, handling steps such as GPU architecture verification and a required Turing-specific patch. The full setup and source code are available on GitHub, offering a practical reference for running modern LLMs on older, lower-cost GPU hardware.

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 ·

FlowScript 0.1 Debuts as a Semantic Language for Modeling Apps Before Coding

Developer Erland Kjensli has publicly released FlowScript 0.1, an experimental domain-specific language designed to describe the semantic model of an application before any implementation begins. The project addresses limitations of traditional flowcharts, which struggle to capture the full complexity of modern apps including state, navigation, UI structure, and dataflow. FlowScript separates structural hierarchy, navigation graphs, and state graphs as distinct but related concepts, aiming to reduce ambiguity in application modeling. A key hypothesis behind the language is that responsive UI layouts can be treated as projections of a single underlying semantic model rather than separate application hierarchies. The initial release is available as a working draft on GitHub under version 0.1.0.

0
ProgrammingHacker News ·

US troop deaths in Iran conflict higher than official Pentagon figures, report says

A Washington Post investigation has found that American military deaths during the US-Iran war are undercounted by at least four compared to official Pentagon figures. The discrepancy suggests the Department of Defense has not fully disclosed the true human cost of the conflict. The report raises questions about transparency and accountability in how the military reports casualties. Reuters cited the findings, drawing attention to the gap between official statements and on-the-ground reality.

0
ProgrammingDEV Community ·

Anthropic and Accenture Partner to Scale Claude AI Deployments Into Production

Anthropic and Accenture have announced a multi-year partnership aimed at helping enterprises move beyond AI pilots and deploy Claude-based solutions at scale. A dedicated Accenture Anthropic Business Group will anchor the collaboration, with Accenture planning to train around 30,000 professionals on Claude. The partnership also makes Accenture a premier partner for Claude Code, Anthropic's coding capability, and includes a jointly established Claude Center of Excellence. A co-developed offering will help CIOs measure AI value and accelerate adoption within engineering teams. Initial industry focus will cover financial services, life sciences, healthcare, and the public sector, where regulatory and operational demands are especially complex.

0
ProgrammingDEV Community ·

Developer Builds Cloud-Native Portfolio Using Terraform, AWS Lambda, and GitHub Actions

A developer with an IT Operations background completed the Cloud Resume Challenge, hosting a personal portfolio website using cloud-native infrastructure on AWS. Rather than using website builders like Wix or Squarespace, they built the project using Terraform for infrastructure-as-code, which they found more instructive than studying for their Terraform Associate certification. They leveraged an on-premises HashiCorp Vault running on a Kubernetes cluster to manage secrets and JWT authentication, keeping sensitive credentials off the cloud and behind a VPN. CI/CD was handled through GitHub Actions across two repositories — one for the frontend and one for the backend — each with separate testing and production branches. The project also incorporated an AWS Lambda-powered visitor counter with localStorage to prevent duplicate counts on page refresh.