Skip to content

v0.2.2

Latest

Choose a tag to compare

@unikcc unikcc released this 01 Dec 19:15
uv pip install flide==0.2.2

What's new

  • Jeff 1.0 and 1.1, all eight checkpoints (Jeff).
  • d1-Omni-2B and d1-omni-600M, which also take audio (d1).
  • d1-2B and d1-3B on Macs (#67) (Macs).
  • flide run spreads a file over several GPUs and resumes a stopped run (#68) (Run a file).
  • Backbone plugins can bring other accelerators, as @jawadaminGOOG's flide-torchtpu does for TPUs (#71, #72).
  • Requests in a serve round that share a state run it once, up to 3 times as fast.
  • On GPUs without prebuilt kernels, a restart is warm in about a second.

Performance

Change Model Gain
Jeff, against its own release Jeff-1.0-Qwen-4B 1.5× to 12× requests/s
Jeff, against its own release Jeff-1.1-Large 1.2× to 24× lower latency
d1, against its own release d1-Omni-2B 1.1× to 1.9× lower latency
d1, against its own release d1-omni-600M 1.2× to 2.3× lower latency
Requests in a round that share a state run it once a 0.8B decision model, 32 clients 2.5× to 3× requests/s
Autotuner picks kept on disk GPUs without prebuilt kernels restart warm in 1.1 s (was 12 s)

All on one H200.

Fixes

Bug Versions Found in
flide serve stopped at start with every d1 checkpoint: a d1 method had taken the name of the family's model aliases. 0.1.15 to 0.2.1 our Mac check before this release
A backbone plugin on another accelerator could not serve: the engine called CUDA-only functions and packing needed Triton. up to 0.2.1 #70 by @jawadaminGOOG, fixed in #71
flide run hung with no rows when a planning worker failed to start. up to 0.2.1 our check of #68
With --session-cache-gb, a family that reads its prefix both ways gave half its memory to a cache it never hit. 0.1.12 to 0.2.1 our offline runs
The Docker Hub page had no description: the job that writes it was refused. up to 0.2.1 the live page

Kernels come prebuilt for sm_86 (RTX 30, A40), sm_89 (RTX 40, L4, L40S), sm_90 (H100, H200), sm_120 (RTX 50, RTX PRO 6000), sm_121 (DGX Spark) and gfx90a (MI210).

New contributors

Contributors

Thanks to @Lumea-art for #68 and @reneleonhardt for #67.

All changes

Models

  • Jeff 1.0 and 1.1 with the release's prompting, decision head and serving rule.
  • d1-Omni-2B takes clips in the state or as a question.
  • d1-omni-600M reads pictures or a clip, in float16 as its release.
  • A family can set its default dtype when --dtype is not given.

Serving

  • Requests of a round with the same state run as one plan.
  • A family that reads its state both ways runs without the session cache.

Offline

  • --gpus N, --resume and a closing line of speed and memory (#68).
  • Rows are read as the run goes, at most --max-pending ahead (#68).
  • Rows carry audio.
  • A planning worker that cannot load the family stops the run.

Other accelerators

  • Packing needs no Triton; the engine syncs and frees memory through the device (#71).
  • --tp N off CUDA runs a launcher registered under flide.tp (#72).
  • A test runs an outside family and backbone through the engine on the CPU.

Mac

  • LFM2 and LFM3 on MLX, loaded one layer at a time.

Kernels

  • The autotuner's picks are kept on disk.
  • Prebuilt kernels for d1-omni-600M.

Packaging

  • The README's license section names all of kernels/fla.
  • The Docker workflow can update the Docker Hub overview alone.

Full changelog: v0.2.1...v0.2.2