Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ ByteTensor
Method
ByteTensor
accelerator/cuda_accelerator.py:314–315 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
312
313
@property
314
def
ByteTensor(self):
315
return
functools.partial(torch.tensor, dtype=torch.uint8, device=
'cuda'
)
316
317
@property
318
def
DoubleTensor(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected