Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

914 B
Raw Blame
  • soup serve --backend sglang now applies a LoRA adapter passed as --model. SGLang applies an adapter only to the requests that name it in lora_path and runs every other request on the base weights. The backend registered the adapter at startup but never named it, so every answer came from the base model while /v1/models and each response reported the adapter. The adapter is now registered under the name adapter (adapter=<path>, which also keeps a path holding = from being split there), and every request names it, on the token-ids and the string route, streaming or not. A full model's requests name no adapter and are unchanged. The [sglang] extra and soup doctor now require sglang>=0.5.1 (was >=0.2.0): older releases refuse to start an engine with a LoRA adapter unless its radix cache is turned off, which Soup does not do (#1724 by @Batyrkhantzy111 in #1732).