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

How to launch a model server from the terminal with Kaggle Tpu Lab

Clone the repo and start the Qwen3.8-27B serve recipe from your command line.

Short answer: Install Python 3.9+ and the Kaggle CLI, and make sure your Kaggle account has an API token configured; then git clone https://github.com/ARahim3/kaggle-tpu-lab; cd kaggle-tpu-lab. All steps.

Who it is forA developer comfortable with the command line who wants to start and stop model sessions without opening the Kaggle web UI.

The problemOpening notebooks by hand for each session is slow and hard to repeat.

The outcomeA Kaggle TPU session starts from one command, and you can check or stop it from the terminal.

What you need first

  • A Kaggle account with TPU access, verified under Settings (phone number, and for some accounts a Persona identity check)
  • Kaggle's free TPU quota, around 20 TPU hours a week
  • For the terminal route: Python 3.9+ and the Kaggle CLI

Steps

  1. Install Python 3.9+ and the Kaggle CLI, and make sure your Kaggle account has an API token configured. (inferred, check the README)
  2. git clone https://github.com/ARahim3/kaggle-tpu-lab
  3. cd kaggle-tpu-lab
  4. python launch.py serve
  5. Run python launch.py status to follow progress, and python launch.py stop when you are done. (inferred, check the README)

Prompt for your agent

Clone ARahim3/kaggle-tpu-lab, run `python launch.py serve` to start the default model, and use `python launch.py status` until the server reports ready. Expected output: a running Kaggle TPU session with a public URL. Verify the status output shows the session active before handing the URL to <target>.

Caveat. The README says launch.py serves Qwen3.8-27B today, and other models need a recipe added later through --model.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ARahim3/kaggle-tpu-lab and "Launch a model server from the terminal"

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