Run this model with HF Jobs
Run RecursiveSI/flint-v1.1 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/RecursiveSI/flint-v1.1. 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/RecursiveSI/flint-v1.1 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/RecursiveSI/flint-v1.1. 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/RecursiveSI/flint-v1.1. 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.
Instructions to use RecursiveSI/flint-v1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RecursiveSI/flint-v1.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RecursiveSI/flint-v1.1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("RecursiveSI/flint-v1.1") model = AutoModelForCausalLM.from_pretrained("RecursiveSI/flint-v1.1", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use RecursiveSI/flint-v1.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RecursiveSI/flint-v1.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RecursiveSI/flint-v1.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RecursiveSI/flint-v1.1
- SGLang
How to use RecursiveSI/flint-v1.1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "RecursiveSI/flint-v1.1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RecursiveSI/flint-v1.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "RecursiveSI/flint-v1.1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RecursiveSI/flint-v1.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use RecursiveSI/flint-v1.1 with Docker Model Runner:
docker model run hf.co/RecursiveSI/flint-v1.1
CMF files for cortiq (Rust, no Python): 2-bit and 4-bit experts; CUDA and Vulkan
Hi, and thank you for releasing Flint 1.1 under Apache-2.0.
Support for it is out in cortiq 0.9.27, a Rust inference engine with no Python and no ML framework. The model is packaged as two standalone CMF files in infosave/flint-v1.1-cmf, converted from revision db1fdc0f:
flint-v1.1-q2tp.cmf(14.6 GB): routed experts'gate_proj/up_projin 2 bits, everything else in 4 bits (norms, router and sinks in f16): the same profile as our Flint 1.0 q2tp file;flint-v1.1-q4tp.cmf(21.0 GB): every matrix in 4 bits.
Checked against an independent PyTorch f32 forward, 32 teacher-forced steps after an 819-token code-review prompt:
| file | backend | top-1, same weights | mean KL, same weights | mean KL, bf16 weights |
|---|---|---|---|---|
| q2tp | CUDA | 32/32 | 0.005 | 0.55 |
| q2tp | Vulkan | 32/32 | 0.008 | 0.54 |
| q4tp | CUDA | 30/32 | 0.020 | 0.43 |
| q4tp | Vulkan | 31/32 | 0.019 | 0.44 |
"Same weights" is the reference run on each file's own decoded weights, so it checks the runtime; the bf16 column adds the quantization.
Measured on an NVIDIA L4 (24 GB):
- CUDA:
q2tpdecodes at 92β95 tok/s andq4tpat 89β93; a 4 096-token prompt is read in 2.4 s. Withq2tpa 65 536-token prompt stays on the card (17.9 GB) and decodes at 41.7 tok/s after it. - Vulkan:
q2tpdecodes at 60β70 tok/s; a 4 096-token prompt is read in 4.3 s, 16 384 tokens in 20.2 s within 16.5 GB.
cargo install cortiq-cli --features cuda
hf download infosave/flint-v1.1-cmf flint-v1.1-q2tp.cmf --local-dir .
CMF_GPU=cuda cortiq run flint-v1.1-q2tp.cmf --no-think --max-tokens 512 \
--prompt "Write a concise Python function merge_intervals(intervals) that merges overlapping intervals."
Your sampling settings (temperature 1.0, top-p 0.95, top-k 20) are stored in the file. cortiq serve gives an OpenAI-compatible endpoint; tool calls come out as text in Flint's <tool_call> format.
Not covered yet: Metal was not measured for this release, and on a 24 GB card q4tp over Vulkan runs up to 8 192 tokens of context. If anything in the conversion looks off against the reference, I would be glad to hear it.