[Doc] Add transformers version requirement in GLM-Image example doc (#2265)
Signed-off-by: chickeyton <ngton2014@gmail.com>
This commit is contained in:
1 parent
ecfee25c3b
commit
fa0792a0aa
2 files changed
+15
No files matched your search
@@ -129,8 +129,17 @@ The first run loads model weights. Subsequent runs are faster:
|
|||||||
--stage-init-timeout 900 # Increase timeout for slow storage
|
--stage-init-timeout 900 # Increase timeout for slow storage
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### `Transformers does not recognize this architecture` Error
|
||||||
|
|
||||||
|
Your have to upgrade `transformers` package to `5.3.0` or above:
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install --upgrade transformers
|
||||||
|
```
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- vLLM-Omni with GLM-Image support
|
- vLLM-Omni with GLM-Image support
|
||||||
- CUDA-capable GPU (recommended: H100/A100 with 80GB)
|
- CUDA-capable GPU (recommended: H100/A100 with 80GB)
|
||||||
- GLM-Image model weights
|
- GLM-Image model weights
|
||||||
|
- `transformers` v5.3.0 or above
|
||||||
@@ -196,3 +196,9 @@ gpu_memory_utilization: 0.5
|
|||||||
```
|
```
|
||||||
|
|
||||||
- The first request may be slow due to model warmup. Subsequent requests will be faster.
|
- The first request may be slow due to model warmup. Subsequent requests will be faster.
|
||||||
|
|
||||||
|
- If you encounter `Transformers does not recognize this architecture` error, your have to upgrade `transformers` package to `5.3.0` or above:
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install --upgrade transformers
|
||||||
|
```
|
||||||
Reference in new issue
Block a user