trtllm#
Modules
torch.distribute utils. |
|
Define the config mapping between HF and modelopt. |
|
Utils for TensorRT-LLM model_config export. |
|
Define the config mapping between Mcore and modelopt. |
|
This module defines the TensorRT-LLM checkpoint model_config format. |
|
Code that export optimized models to the TensorRT-LLM checkpoint. |
|
Common utils for the ModelConfig. |
|
Utils to load and process model_config. |
|
Quantization helpers used only by the TensorRT-LLM checkpoint export path. |
|
Code from TRT-LLM that export optimized models to the TensorRT-LLM checkpoint. |
|
Utils for TensorRT-LLM checkpoint export. |
Checkpoint export logic for the TensorRT-LLM specific format.
Deprecation Notice: The export_tensorrt_llm_checkpoint API is deprecated as of 0.48.0 and
will be removed in 0.49.0. Users are encouraged to transition to the unified HF export API
(export_hf_checkpoint),
which provides enhanced functionality and flexibility for exporting models to multiple inference
frameworks including TensorRT-LLM, vLLM, and SGLang.