Go to Inference Cookbook Recipes
This repo provides a quick & simple way to stage an Ubuntu / RHEL NVIDIA node for ML workloads, including building & serving inference cookbook recipes for Large Language Models & Visual-Language Models. Setup and stage a bare-metal server, virtual machine, or rental cloud provider setup (Verda, Massed Compute, Prime Intellect, etc). AMD & additional hardware vendor support is in the works.
An installation guide is provided with steps to clone this repo and run setup.sh to display the above terminal interface. All options are selected by default with the ability to choose or omit packages / services, single or multiple CUDA versions, Python, Astral UV, & coding CLIs.
You can also select the minimal installation of basic Linux essentials & core build dependencies. This option completely bypasses the installation of additional packages / services, CUDA, Python, Astral UV, & coding CLIs.
Installing CUDA, Node.js 24, or Python through this guide replaces existing defaults, using Node Version Manager (NVM) for managing Node.js 24 & Simple Python Version Management (Pyenv) for managing Python. CUDA drivers are installed and/or updated to the latest version within a CUDA installation.
Inference cookbook recipes are also included for a variety of the popular Large Language Model & Visual-Language model companies. These exist as bash scripts and automatically create new Python environments within the $HOME directory upon execution, while installing pinned versions of either SGLang or vLLM + any additional packages necessary for a proper inference deployment.
New recipes can be created using the provided skills within this repo, added to your coding CLI of choice, and building them based off the existing recipes.
setup.sh runs up to 4 installer files:
installers/01_install_dependencies.sh
installers/02_install_cuda.sh
installers/03_install_python.sh
installers/04_install_coding_clis.sh
The /workspace is the default repo directory used in this guide, yet you're at liberty to choose any other path for the installation.
mkdir -p /workspace
cd /workspace
git clone https://github.com/keennay/gpu-setup.git
cd gpu-setup
./setup.sh
sudo mkdir -p /workspace
sudo chown -R ubuntu:ubuntu /workspace
cd /workspace
git clone https://github.com/keennay/gpu-setup.git
cd gpu-setup
./setup.sh
The below are each package / service provided across the installers.
- curl, wget, zip, unzip, less, vim, nano, tmux, git, git-lfs, gh, htop, nvtop, ripgrep, shellcheck, bubblewrap, ffmpeg
- build-essential, gcc, g++, make, cmake, pkg-config, protobuf-compiler, libclang-dev, numactl, libnuma-dev, libhwloc-dev, libssl-dev, libffi-dev, liblzma-dev, libbz2-dev, libreadline-dev, libsqlite3-dev, libncurses-dev, zlib1g-dev
- Docker, Node.js 24 (NVM managed), pnpm, Bun, Go, Rust, Zig, Neovim, Tmux
- CUDA 13.0 is selected by default. For a custom install you can type either any CUDA version number, or up to 10 version numbers with the 1st number in the list set as the default system-wide CUDA version
- Python 3.11.16 is selected by default. For a custom install you can type any other version of Python in full major.mino.macro format (3..). Pyenv is first installed following the desired Python version. Astral UV is provided as an installation option if selected.
- Arcee nac, Claude Code, DeepSeek Harness, Gemini CLI, Grok Build, Kimi Code, Meta Muse Code, MiMo Code, MiniMax Code, OMP, OpenAI Codex, OpenCode, Pi, Prime Intellect Agent, Qwen Code
Inference cookbook recipes are provided for the following model companies as bash scripts:
- Allen Institute for AI, Arcee AI, Cohere, Datalab, DeepSeek, Dots Studio, Google, IBM Granite, Inclusion Ai, Inco AI, Inferact, Intel, Liquid AI, Meta, Microsoft, MiniMax, Mistral AI, Moonshot AI, Nanbeige, Nex-AGI, NVIDIA, OpenAI, Prime Intellect, Poolside, Qwen, RadixArk, Red Hat AI, StepFun, Tencent, Thinking Machines Lab, Xiaomi, Z Lab, Z.ai, Zyphra
- llm-vlm-cookbook-recipe-source
- Prioritize retrieving inference recipes from SGLang & vLLM's Cookbook recipe sites, with the HuggingFace model card as the fallback
- llm-vlm-cookbook-recipe-creation-and-update
- The process for generating inference recipes using the
llm-vlm-cookbook-recipe-sourceskill as the guide
- The process for generating inference recipes using the
- llm-inference-bench-creation-and-update
- The tool for creating beautiful pre-fill / decode benchmark tables & additional metrics by the wonderful crew over at Local Inference Lab
source ./launch_env.sh
./model_download.sh or example with repo: ./model_download.sh Qwen/Qwen3.8-27B
./check_model_updates.sh