-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,4 +228,4 @@ struct fmt::formatter<huggingface::tgi::backends::trtllm::sampling_params_t> : f | |
} | ||
}; | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ namespace huggingface::tgi::backends::trtllm { | |
); | ||
} | ||
} | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Multi-backend support | ||
|
||
TGI (Text Generation Inference) offers flexibility by supporting multiple backends for serving large language models (LLMs). | ||
With multi-backend support, you can choose the backend that best suits your needs, | ||
whether you prioritize performance, ease of use, or compatibility with specific hardware. API interaction with | ||
With multi-backend support, you can choose the backend that best suits your needs, | ||
whether you prioritize performance, ease of use, or compatibility with specific hardware. API interaction with | ||
TGI remains consistent across backends, allowing you to switch between them seamlessly. | ||
|
||
**Supported backends:** | ||
* **TGI CUDA backend**: This high-performance backend is optimized for NVIDIA GPUs and serves as the default option | ||
* **TGI CUDA backend**: This high-performance backend is optimized for NVIDIA GPUs and serves as the default option | ||
within TGI. Developed in-house, it boasts numerous optimizations and is used in production by various projects, including those by Hugging Face. | ||
* **[TGI TRTLLM backend](./backends/trtllm)**: This backend leverages NVIDIA's TensorRT library to accelerate LLM inference. | ||
It utilizes specialized optimizations and custom kernels for enhanced performance. | ||
However, it requires a model-specific compilation step for each GPU architecture. | ||
* **[TGI TRTLLM backend](./backends/trtllm)**: This backend leverages NVIDIA's TensorRT library to accelerate LLM inference. | ||
It utilizes specialized optimizations and custom kernels for enhanced performance. | ||
However, it requires a model-specific compilation step for each GPU architecture. |