Run this model with HF Jobs

Run thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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/thinkingmachines/Inkling-2-Mini 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/thinkingmachines/Inkling-2-Mini. 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/thinkingmachines/Inkling-2-Mini. 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.

Running Inkling-2-Mini on 2× Tesla T4 (sm_75) at 41.0 tok/s with custom Triton kernels

#78
by lacesseapp - opened

We put together a reproducible 2× Tesla T4 (sm_75) inference implementation and benchmark for thinkingmachines/Inkling-2-Mini using custom Turing-safe Triton kernels (num_stages=2, 64 KiB shared-memory tile pruning, software E2M1/E4M3 bit-pattern decoders for NVFP4/MXFP8 experts, per-group int8 dense GEMVs, online-softmax decode attention with sink + relative bias, and CUDA Graph capture).

Summary of gated results (Kaggle 2× T4, layer_split mode, greedy):

  • Throughput: 41.0 tok/s overall (40.9 tok/s median across 10 prompts / 4,476 tokens; 21.2 ms/step)

  • Quality (int8 dense vs. fp16 dense, 263 positions): +1.16% perplexity (3.40 -> 3.44), 98.1% top-1 agreement, mean KL 5.89e-3

  • DSpark speculative decoding (k=1..3): 100% token-identical to greedy (1.66 / 2.04 / 2.29 tokens/step), but 32.1 / 31.7 / 29.1 tok/s net due to extra MoE expert fetches across 48 passes at the T4's 70 W power cap

  • Full write-up & numbers: https://fikraapi.co.ke/research/inkling-2-mini

  • Code, standalone kernels (inkling2_t4_kernels.py), CLI runner (run_t4_bench.py): https://github.com/Fikra-API/inkling-2-mini-t4

Sign up or log in to comment