DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run Qwen3.5-9B on a 24 GB GPU with long context with Glyd

Fit Qwen3.5-9B on an RTX 4090 and chat in the terminal with more KV cache room.

Short answer: Confirm the machine runs Linux with an NVIDIA GPU (Ampere, Ada, Hopper or Blackwell) and driver 580 or newer; then review the install script at https://getglyd.com/install.sh if you do not trust the host, then run curl -LsSf https://getglyd.com/install.sh | sh; run glyd run Qwen/Qwen3.5-9B to apply settings for your GPU and open a chat in the terminal. All steps.

Remote script. The install step pipes a script from getglyd.com directly into sh, so read it first if the host is not one you trust.

Who it is forA developer with a single 24 GB NVIDIA GPU who cannot load bf16 Qwen3.5-9B or get long context from it.

The problembf16 Qwen3.5-9B runs out of memory at start on a 24 GB RTX 4090, even at 4,096 tokens.

The outcomeA working terminal chat with Qwen3.5-9B, using Glyd's GPU-specific settings and the freed memory for KV cache.

What you need first

  • Linux (x86_64 or aarch64) with an NVIDIA GPU: Ampere, Ada, Hopper or Blackwell, driver 580 or newer
  • For the Python and vLLM steps: Python with pip, and vLLM for serving
  • For the codec: Homebrew or a release tarball from the Glyd releases
  • A Glyd license from suryakoritala@getglyd.com if the work is commercial, since the README says commercial use needs one

Steps

  1. Confirm the machine runs Linux with an NVIDIA GPU (Ampere, Ada, Hopper or Blackwell) and driver 580 or newer.
  2. Review the install script at https://getglyd.com/install.sh if you do not trust the host, then run curl -LsSf https://getglyd.com/install.sh | sh.
  3. Run glyd run Qwen/Qwen3.5-9B to apply settings for your GPU and open a chat in the terminal.
  4. Send a test question and confirm a reply comes back.
  5. Note the context length Glyd sets up and compare it with the README's RTX 4090 result of 189,440 tokens.

Prompt for your agent

Using the repo surya-koritala/Glyd on a Linux machine with <GPU model> and driver <driver version>, install Glyd with its install script from getglyd.com and run `glyd run Qwen/Qwen3.5-9B`. Report the context length Glyd sets up and the GPU settings it applies. Verify that the terminal chat opens and returns a reply to a test question.

Caveat. The :swift suffix is not lossless, so keep the plain model name when you need bf16-exact weights.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for surya-koritala/Glyd and "Run Qwen3.5-9B on a 24 GB GPU with long context"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer