MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / device

Method device

tensorrt_llm/_torch/models/modeling_clip.py:224–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222
223 @property
224 def device(self):
225 return get_parameter_device(self)
226
227 @torch.inference_mode()
228 def forward(self,

Calls

no outgoing calls