mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
fix code snippet
This commit is contained in:
parent
62b05f2ccf
commit
8ce40f9d25
@ -28,13 +28,12 @@ AutoModelForCausalLM.from_pretrained(<model>, device_map="auto")`
|
||||
AutoModelForSeq2SeqLM.from_pretrained(<model>, device_map="auto")
|
||||
```
|
||||
|
||||
If you wish to serve a supported model that already exists on a local folder, Just point to the local folder.
|
||||
If you wish to serve a supported model that already exists on a local folder, just point to the local folder.
|
||||
|
||||
text-generation-launcher --model-id <PATH-TO-LOCAL-BLOOM>
|
||||
|
||||
```bash
|
||||
text-generation-launcher --model-id bigscience/bloom --weights-cache-override <PATH-TO-LOCAL-BLOOM>
|
||||
```
|
||||
text-generation-launcher --model-id <PATH-TO-LOCAL-BLOOM>
|
||||
``````
|
||||
|
||||
|
||||
## Supported Hardware
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user