Instructions to use loom-fun/TML-d24-varloop-research-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use loom-fun/TML-d24-varloop-research-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Use Docker
docker model run hf.co/loom-fun/TML-d24-varloop-research-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use loom-fun/TML-d24-varloop-research-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "loom-fun/TML-d24-varloop-research-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "loom-fun/TML-d24-varloop-research-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/loom-fun/TML-d24-varloop-research-GGUF:BF16
- Ollama
How to use loom-fun/TML-d24-varloop-research-GGUF with Ollama:
ollama run hf.co/loom-fun/TML-d24-varloop-research-GGUF:BF16
- Unsloth Desktop
- Pi
How to use loom-fun/TML-d24-varloop-research-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "loom-fun/TML-d24-varloop-research-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use loom-fun/TML-d24-varloop-research-GGUF with Docker Model Runner:
docker model run hf.co/loom-fun/TML-d24-varloop-research-GGUF:BF16
- Lemonade
How to use loom-fun/TML-d24-varloop-research-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull loom-fun/TML-d24-varloop-research-GGUF:BF16
Run and chat with the model
lemonade run user.TML-d24-varloop-research-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use loom-fun/TML-d24-varloop-research-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default loom-fun/TML-d24-varloop-research-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use loom-fun/TML-d24-varloop-research-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf loom-fun/TML-d24-varloop-research-GGUF:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "loom-fun/TML-d24-varloop-research-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
TML-d24-varloop-research-GGUF (NVFP4-Lite, BF16 graft)
Research model, not for production. From Thinking Machines' model card: "TML-d24-varloop-research is intended to be a research artifact. It has not been carefully tuned for deployment, and may behave unpredictably at pass counts other than 3. We do not recommend deploying this model in production or user-facing applications."
Not comparable to Inkling-2-Mini. TML-d24-varloop-research shares the Inkling-2-Mini architecture but not its weights or later training stages; Thinking Machines "caution against comparing TML-d24-varloop-research directly to Inkling 2 Mini". Do not read results from this file as Inkling-2-Mini results, or the other way round.
This is the GGUF behind the AMD Loom research demo
loom-fun/thinkingmachines-TML-d24-varloop-research-loom. It also loads in llama.cpp (inkling2_loop, b12611 or later).
Files
| File | Size | SHA-256 | What |
|---|---|---|---|
TML-d24-varloop-research-NVFP4-Lite-BF16graft.gguf |
17,629,764,000 B (16.42 GiB) | 4b30e0b7a51ae6d607c9385fa3e1e6901c2e0eab049b2e12db8fc18692bdfa59 |
Xylolabs NVFP4-Lite with 32 tensors restored to the native BF16 |
mmproj-TML-d24-varloop-research-BF16.gguf |
641,805,984 B | 221d15e24035726bafbdaa6699f54926b51818aef6339126b66e18d5f558f149 |
BF16 vision projector, an unchanged copy of ggml-org's @ 7af7f5e1 |
varloop_graft.py |
Builds and byte-verifies the graft | ||
verify.json |
The builder's verification report (local paths are from the build machine) | ||
QA_SUMMARY.md, qa/*.json |
Quality checks against unmodified NVFP4-Lite, the BF16 GGUF and the native checkpoint (dir paths are from the build machine) |
What the graft is
Xylolabs/TML-d24-varloop-research-GGUF
TML-d24-varloop-research-NVFP4-Lite.gguf (@ e2128fa2) keeps the native NVFP4 experts of layers 0-19
byte-for-byte, but stores 32 small BF16 projections as Q8_0. varloop_graft.py copies those 32 tensors back,
bit-exact, from the native checkpoint
thinkingmachines/TML-d24-varloop-research
(@ 91a57fe2):
blk.{0..23}.attn_sink_proj.weight(24 tensors)blk.{5,11,17,23}.attn_k_conv_proj.weightandattn_v_conv_proj.weight(8 tensors)
Why: after the graft the file has exactly the tensor names, types, shapes and order of Unsloth's Inkling-2-Mini UD-Q4_K_XL GGUF, so Loom's existing Inkling-2 kernels (BF16 sink/conv projections) run it unchanged. These tensors are small, so the file is only 1.8 MB larger than NVFP4-Lite.
Other changes: general.name, the tensor order, and the embedded chat template, which is the original model's fixed
template (renders and token ids identical to the original on all 17 test fixtures). Everything else (712 tensors) is byte-identical to NVFP4-Lite.
How it was verified
- Structure (
verify.json): the 712 non-grafted tensors are byte-identical to NVFP4-Lite; the 32 grafted tensors are bit-exact to the native BF16; the layer 0-19 experts are bit-exact to the native NVFP4 (all 128 experts, scales included); the layout matches the Unsloth Inkling-2-Mini UD-Q4_K_XL file; only the intended metadata changed. - Logits (
QA_SUMMARY.md): llama.cpp ROCm on WikiText-2 and a chat corpus at 1, 2, 3 and 5 passes, paired per token against unmodified NVFP4-Lite, with the BF16 GGUF as reference and the BF16 GGUF's own run-to-run noise as the floor. The graft is not worse than NVFP4-Lite at any pass count or corpus (every 95% CI of the KLD difference includes 0 or favours the graft); at 3 passes mean KLD vs BF16 is 0.003721 (NVFP4-Lite 0.003741). - Native reference: KLD against the native checkpoint (transformers, f32, CPU) at 1, 3 and 5 passes. At 3 passes the graft's mean KLD is 0.00448 vs 0.00527 for NVFP4-Lite (the CI excludes 0).
- Behaviour: the chat-template fixtures render identically; tool-call and GSM8K checks show no new failures and no significant difference from NVFP4-Lite (McNemar p >= 0.2).
- Upload: the Hub's LFS sha256 for both GGUFs was checked against the local files after upload.
Use
llama.cpp (b12611 or later), pass count chosen at load (default 3):
llama-server -m TML-d24-varloop-research-NVFP4-Lite-BF16graft.gguf --mmproj mmproj-TML-d24-varloop-research-BF16.gguf --jinja \
--override-kv inkling2_loop.loop.count=int:3
Loom (AMD Strix Halo): see loom-fun/thinkingmachines-TML-d24-varloop-research-loom.
Acknowledgments
- Thinking Machines Lab for the original model, TML-d24-varloop-research (Apache-2.0).
- Xylolabs for the NVFP4-Lite quantization this file is built from.
- ggml-org for llama.cpp
inkling2_loopsupport and the BF16 vision projector.
License: Apache-2.0, see LICENSE and NOTICE.
- Downloads last month
- 614
16-bit
Model tree for loom-fun/TML-d24-varloop-research-GGUF
Base model
thinkingmachines/TML-d24-varloop-research