Urgent.News

600+ sources. One page. See who else covered it.

Editions โ–พ

Tech

Installing Rust for vLLM on Graviton: a G5g walk-through ๐Ÿฆ€

This tutorial walks through installing and setting up the Rust toolchain for vLLM on an AWS EC2 G5g instance โ€” Graviton2 (aarch64) with an NVIDIA T4G GPU โ€” and getting vLLM's Rust frontend ( vllm-rs ) built, running, and verified . This paper is a follow-on to the original G5g Gemma 4 build. Everything below was run on the box. ๐Ÿฆ€ Wait, vLLM has Rust in it? You betcha. Since PR #40848 (mergedโ€ฆ

This guide walks readers through the process of installing the Rust toolchain for vLLM on an AWS EC2 Graviton2 (aarch64) instance with an NVIDIA T4G GPU. The article explains that vLLM now requires Rust to build, as it is a 14-crate Rust workspace that includes the HTTP frontend, tool parser, tokenizer, and benchmark client. The guide highlights the differences between building vLLM from source and installing it via pip, emphasizing that pip automatically installs setuptools_rust, torch, and wheel, while building from source requires manual installation of these dependencies.

The tutorial begins by installing Rust using rustup, which successfully installs a stable version of Rust for aarch64 architecture. Next, it installs setuptools_rust using python3 -m pip install setuptools_rust, ensuring it is installed in the same interpreter used for building. The guide then installs the protobuf compiler with apt-get, which is required for the gRPC stubs in vllm-server crate.

It also installs the CUDA toolkit for vLLM's kernels, noting that the NVIDIA sbsa repository is used for the aarch64 architecture. Finally, the guide builds vLLM with setuptools-rust, specifying the --release flag to build optimized release artifacts instead of debug ones.

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

Read the original at dev.to โ†’

More in Tech

How to Get Started with Grok Bot

Grok Bot just dropped. I downloaded it on a Mac the same day and recorded myself setting it up. This is the getting started version of that. Not a feature list.

  • Grok Bot is a team of remote bots on a non-own computer handling delegated tasks.
  • Start with one bot named for a specific role like coding or inbox management.
  • The onboarding process guides you to connect bots with tools like GitHub or LinkedIn.

More from Friday 14 August โ†’