mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-11 02:45:01 +08:00
[doc] miss result (#17589)
Signed-off-by: reidliu41 <reid201711@gmail.com> Co-authored-by: reidliu41 <reid201711@gmail.com>
This commit is contained in:
parent
868c546da4
commit
3a500cd0b6
@ -106,7 +106,7 @@ Load and run the model in `vllm`:
|
|||||||
```python
|
```python
|
||||||
from vllm import LLM
|
from vllm import LLM
|
||||||
model = LLM("./Meta-Llama-3-8B-Instruct-FP8-Dynamic")
|
model = LLM("./Meta-Llama-3-8B-Instruct-FP8-Dynamic")
|
||||||
model.generate("Hello my name is")
|
result = model.generate("Hello my name is")
|
||||||
print(result[0].outputs[0].text)
|
print(result[0].outputs[0].text)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user