Urgent.News

What's breaking now, across thousands of outlets.

AI

Pure JAX on G5g: Serving Gemma 4 on Graviton and a T4G

This article provides a step by step deployment guide for serving Google's Gemma 4 on an AWS EC2 G5g instance using pure JAX. The code is here: github.com/xbill9/gemma4-dev What is this project trying to Do? This project aims to serve a modern open model on the cheapest whole CUDA GPU AWS will rent you, and to measure honestly what that costs. Aren't You Using The Wrong GPU? Probably! The T4G is…

This article offers a step-by-step deployment guide for serving Google's Gemma 4 model on a cost-effective AWS EC2 G5g instance using pure JAX. The project goal is to serve a modern open model on the least expensive NVIDIA GPU offered by AWS and measure the associated costs accurately. The T4G instance, a Turing chip from 2018, lacks bfloat16 and fp8 support but is still a viable option due to its affordability, availability, and compatibility with Graviton2 hosts.

The article provides a detailed guide on setting up the required environment, installing the necessary dependencies, running tests, launching the instance, and deploying the server.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in AI

Connecting a LINE Official Account to an AI Agent with MCP

LINE published an official MCP server for its Messaging API, which means an AI agent can now drive a LINE Official Account directly — sending messages, broadcasting promotions, and pushing Flex…

  • LINE releases MCP server for AI agents to control Official Accounts
  • MCP server agent-agnostic, works with Codex, Claude Desktop, Cline
  • Verified account needed for certain functions, free account lacks some features

AI Harness: the worst and the best buzzword in the industry

--- title : " AI Harness: the worst and the best buzzword in the industry" published : false tags : [ ai , harness , middleware , finops , aws , bedrock , opensource ] series : " TokenOps on AWS"…

  • AI Harness acts as reverse proxy and transactional middleware for generative AI inference
  • Provides electrical isolation, authentication, encryption, and budget control for LLMs
  • Composable packages (sayay-guard, styrr-llm, tinkuy-agent) enable cost control and per-call budgets

Gemma 4 in Pure JAX: What Ports from TPU to GPU, and What Doesn't

This article is about running a hand-written Gemma 4 port in pure JAX on three different accelerators, and about the two places the abstraction leaks.

  • Gemma 4 port tested in pure JAX on TPU, GPU, and CPU
  • JAX handles irregularities like attention geometry and MQA settings well
  • Heterogeneous head dimensions and Pallas kernel memory model limit JAX portability

More from Saturday 29 August →