MCPcopy
hub / github.com/deepspeedai/DeepSpeed / ByteTensor

Method ByteTensor

accelerator/hpu_accelerator.py:211–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209
210 @property
211 def ByteTensor(self):
212 return functools.partial(torch.tensor, dtype=torch.uint8, device='hpu')
213
214 @property
215 def DoubleTensor(self):

Callers 9

test_offset_writeMethod · 0.45
has_overflowMethod · 0.45
has_overflowMethod · 0.45
has_overflowMethod · 0.45
send_objFunction · 0.45

Calls

no outgoing calls