MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / ByteTensor

Method ByteTensor

accelerator/mlu_accelerator.py:203–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

201
202 @property
203 def ByteTensor(self):
204 return functools.partial(torch.tensor, dtype=torch.uint8, device='mlu')
205
206 @property
207 def DoubleTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected