This commit is contained in:
Nicolas Patry 2024-12-02 05:19:30 +01:00
parent d471805134
commit 3e9cfab897
No known key found for this signature in database
GPG Key ID: D2920555C90F704C

View File

@ -16,7 +16,7 @@ If the above list lacks the model you would like to serve, depending on the mode
```python
# for causal LMs/text-generation models
AutoModelForCausalLM.from_pretrained(<model>, device_map="auto")`
AutoModelForCausalLM.from_pretrained(<model>, device_map="auto")
# or, for text-to-text generation models
AutoModelForSeq2SeqLM.from_pretrained(<model>, device_map="auto")
```