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

Method ByteTensor

accelerator/sdaa_accelerator.py:231–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229
230 @property
231 def ByteTensor(self):
232 return functools.partial(torch.tensor, dtype=torch.uint8, device='sdaa')
233
234 @property
235 def DoubleTensor(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected