Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ FloatTensor
Method
FloatTensor
accelerator/hpu_accelerator.py:219–220 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
217
218
@property
219
def
FloatTensor(self):
220
return
functools.partial(torch.tensor, dtype=torch.float, device=
'hpu'
)
221
222
@property
223
def
HalfTensor(self):
Callers
9
check_using_norm
Method · 0.45
clip_grad_norm_
Function · 0.45
get_flattened_grad_norm
Function · 0.45
get_grad_zeros
Function · 0.45
get_weight_norm
Function · 0.45
to_tensor
Function · 0.45
complete_grad_norm_calculation_for_cpu_offload
Method · 0.45
get_grad_norm_direct
Method · 0.45
complete_grad_norm_calculation_for_cpu_offload
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected