|
hai 1 ano | |
---|---|---|
.. | ||
hf-text-generation-inference | hai 1 ano | |
README.md | hai 1 ano | |
chat_completion.py | hai 1 ano | |
chat_utils.py | hai 1 ano | |
chats.json | hai 1 ano | |
checkpoint_converter_fsdp_hf.py | hai 1 ano | |
inference.py | hai 1 ano | |
model_utils.py | hai 1 ano | |
safety_utils.py | hai 1 ano | |
samsum_prompt.txt | hai 1 ano | |
vLLM_inference.py | hai 1 ano |
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.