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.

CMF files for cortiq (Rust, no Python): 2-bit and 4-bit experts; CUDA and Vulkan

#3
by infosave - opened

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_proj in 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: q2tp decodes at 92–95 tok/s and q4tp at 89–93; a 4 096-token prompt is read in 2.4 s. With q2tp a 65 536-token prompt stays on the card (17.9 GB) and decodes at 41.7 tok/s after it.
  • Vulkan: q2tp decodes 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.

Sign up or log in to comment