Skip to content

v2.0.0 - High-Speed Inference Overhaul

Latest

Choose a tag to compare

@Tzohar Tzohar released this 28 Nov 14:18

What's Changed

  • Separated inference and training into dedicated branches, main is now inference-only with all training code, configs, and dependencies removed for a lighter, cleaner setup. A training-only separate repository will be public soon.
  • Remade dynamic_beam_search to run only on GPU tensors with SDPA FlashAttention, better batched KV-cache indexing, and further in-loop deduplication to remove CPU bottlenecks and speed-up duplicate prompt passes.
  • Automatically merges LoRA adapters into base weights at load time (BF16/FP16) and caches vocabulary character/bias metadata to disk (models/vocab_cache/).
  • Auto-detects NVIDIA CUDA (native BF16 on SM 8.0+, native FP16 on T4/RTX 20xx, auto 4-bit on <10 GB VRAM), AMD ROCm, AMD DirectML (Windows), Apple MPS, and CPU.
  • Keeps weights cached in VRAM between runs with live progress bar streaming, instant Stop cancellation, --share support (auto-enabled on Colab), and a fixed multi-line Sister Passwords input.
  • Separated training scripts out of main and updated DynamicCache handling for the newest transformers and gradio releases.