|
vor 1 Jahr | |
---|---|---|
.. | ||
hf-text-generation-inference | vor 1 Jahr | |
README.md | vor 1 Jahr | |
chat_completion.py | vor 1 Jahr | |
chat_utils.py | vor 1 Jahr | |
chats.json | vor 1 Jahr | |
checkpoint_converter_fsdp_hf.py | vor 1 Jahr | |
inference.py | vor 1 Jahr | |
model_utils.py | vor 1 Jahr | |
safety_utils.py | vor 1 Jahr | |
samsum_prompt.txt | vor 1 Jahr | |
vLLM_inference.py | vor 1 Jahr |
This folder contains inference examples for Llama 2. So far, we have provided support for three methods of inference:
inference script script provides support for Hugging Face accelerate, PEFT and FSDP fine tuned models.
vLLM_inference.py script takes advantage of vLLM's paged attention concept for low latency.
The hf-text-generation-inference folder contains information on Hugging Face Text Generation Inference (TGI).
For more in depth information on inference including inference safety checks and examples, see the inference documentation here.