Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
soup serve --backend sglangnow applies a LoRA adapter passed as--model. SGLang applies an adapter only to the requests that name it inlora_pathand 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/modelsand each response reported the adapter. The adapter is now registered under the nameadapter(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 andsoup doctornow requiresglang>=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).