MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / get_quant_method

Method get_quant_method

tensorrt_llm/_torch/modules/linear.py:2192–2193  ·  view source on GitHub ↗
(self, quant_config: Optional[QuantConfig] = None)

Source from the content-addressed store, hash-verified

2190 self.create_weights()
2191
2192 def get_quant_method(self, quant_config: Optional[QuantConfig] = None):
2193 return get_quant_method(quant_config)
2194
2195 def create_weights(self):
2196 if self._weights_created:

Callers 1

create_weightsMethod · 0.95

Calls 1

get_quant_methodFunction · 0.85

Tested by

no test coverage detected