mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-26 13:43:38 +08:00
* committed APIs validation Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * fix Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * clean name Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * separate Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * add TODOs Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * fix naming Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> * fix Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com> --------- Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
methods:
|
|
__init__:
|
|
parameters:
|
|
clamp_val:
|
|
annotation: Optional[List[float]]
|
|
default: null
|
|
exclude_modules:
|
|
annotation: Optional[List[str]]
|
|
default: null
|
|
group_size:
|
|
annotation: int
|
|
default: 128
|
|
has_zero_point:
|
|
annotation: bool
|
|
default: false
|
|
kv_cache_quant_algo:
|
|
annotation: Optional[tensorrt_llm.quantization.mode.QuantAlgo]
|
|
default: null
|
|
pre_quant_scale:
|
|
annotation: bool
|
|
default: false
|
|
quant_algo:
|
|
annotation: Optional[tensorrt_llm.quantization.mode.QuantAlgo]
|
|
default: null
|
|
smoothquant_val:
|
|
annotation: float
|
|
default: 0.5
|
|
use_meta_recipe:
|
|
annotation: bool
|
|
default: false
|
|
return_annotation: None
|
|
from_dict:
|
|
parameters:
|
|
config:
|
|
annotation: dict
|
|
default: inspect._empty
|
|
return_annotation: tensorrt_llm.models.modeling_utils.QuantConfig
|
|
to_dict:
|
|
parameters: {}
|
|
return_annotation: dict
|
|
properties: {}
|