enc_dec#

Which Hugging Face model types the TensorRT-LLM checkpoint export handles as encoder-decoder.

Like the rest of this package, it goes away with the export in 0.49.0.

Functions

is_trtllm_enc_dec_export

Return whether the root Hugging Face model_type still exports a TensorRT-LLM checkpoint.

is_trtllm_enc_dec_export(model_type)#

Return whether the root Hugging Face model_type still exports a TensorRT-LLM checkpoint.

These are the encoder-decoder families the deprecated TensorRT-LLM exporter supports.

Parameters:

model_type (str | None)

Return type:

bool