MCPcopy
hub / github.com/NVIDIA/TensorRT-LLM / has_scale

Method has_scale

tensorrt_llm/functional.py:3932–3933  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3930 return 1 if self.bias is not None else 0
3931
3932 def has_scale(self):
3933 return 1 if self.scale is not None else 0
3934
3935 def update_strategy(self):
3936 if self.strategy == AllReduceStrategy.AUTO and default_net(

Callers 2

allreduceFunction · 0.95
create_allreduce_pluginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected