Download examples/deploy/lora/server.sh from BBBBCHAN/StreamDelta: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/datasets/BBBBCHAN/StreamDelta/resolve/main/examples/deploy/lora/server.sh
- Command line
-
hf download hf://datasets/BBBBCHAN/StreamDelta/examples/deploy/lora/server.sh
-
curl -L -o server.sh https://huggingface.co/datasets/BBBBCHAN/StreamDelta/resolve/main/examples/deploy/lora/server.sh
346 Bytes
| # Since `swift/test_lora` is trained by swift and contains an `args.json` file, | |
| # there is no need to explicitly set `--model`, `--system`, etc., as they will be automatically read. | |
| CUDA_VISIBLE_DEVICES=0 swift deploy \ | |
| --host 0.0.0.0 \ | |
| --port 8000 \ | |
| --adapters lora1=swift/test_lora lora2=swift/test_lora2 \ | |
| --infer_backend vllm | |