Run this model with HF Jobs

Run google/gemma-4-31B-it on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/google/gemma-4-31B-it. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/google/gemma-4-31B-it on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/google/gemma-4-31B-it. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/google/gemma-4-31B-it. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Same tool call infinite loop

#139
by vstiff - opened

Tried the aquarium test in Codex, and it got stuck in infinite loop calling same tool over and over again. Had similar issues in other tasks/harnesses, but was unable to catch it, and here it reproduced 3 times, so had opportunity to log full prompt

Served with

llama-server \
    --host 0.0.0.0 --threads-http 4 --alias llm \
    -hf unsloth/gemma-4-31B-it-qat-GGUF:UD-Q4_K_XL \
    -np 1 -fa on --ctx-size 262144 --swa-checkpoints 2 \
    --ubatch-size 256 \
    --no-mmap --keep 10000 \
    --spec-type draft-mtp --spec-draft-n-max 3

In same env Qwen3.5-122b and Qwen3.6-27b (also quantized by Unsloth) complete the same task without problems.

I noticed that prompt has leftover from previous attempts, so this is not a good example. And in clear chat it doesn't loop this time.

vstiff changed discussion status to closed

Sign up or log in to comment