Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ size
Method
size
csrc/adam/cpu_adam_impl.cpp:575–575 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
573
}
574
575
size_t size() const { return n_; }
576
577
// Split [0, total) into one chunk per thread. Chunk boundaries are rounded up to a
578
// multiple of `align` so each slice's AVX/scalar split lines up with the whole-tensor
Callers
15
getNumParams
Method · 0.45
CustomOpExecutor
Method · 0.45
local_array
Function · 0.45
add
Method · 0.45
run
Method · 0.45
TestGemmFP16
Method · 0.45
multi_tensor_apply
Function · 0.45
quantize_kernel
Function · 0.45
dequantize
Function · 0.45
quantized_reduction
Function · 0.45
token_sort_
Function · 0.45
token_gather
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestGemmFP16
Method · 0.36