Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ autotp_size
Method
autotp_size
deepspeed/runtime/engine.py:1291–1292 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1289
return
self._config.tensor_parallel_config
1290
1291
def
autotp_size(self):
1292
return
self._config.tensor_parallel_config.autotp_size
1293
1294
def
graph_harvesting(self):
1295
return
self._config.graph_harvesting
Callers
15
__init__
Method · 0.95
_configure_expert_parallel
Method · 0.95
_configure_tensor_parallel_states
Method · 0.95
_apply_autotp_partitioning
Method · 0.95
_validate_zero3_moe_compatibility
Method · 0.95
_consolidated_16bit_state_dict
Method · 0.95
_zero3_consolidated_16bit_state_dict
Method · 0.95
_cpu_folded_runtime_worker
Function · 0.80
test_h100_folded_tp2_ep2_runtime
Method · 0.80
test_h100_folded_tp2_ep4_runtime
Method · 0.80
_compare_tp_gradients
Method · 0.80
test_tp_plan_basic_training
Method · 0.80
Calls
no outgoing calls
Tested by
13
_cpu_folded_runtime_worker
Function · 0.64
test_h100_folded_tp2_ep2_runtime
Method · 0.64
test_h100_folded_tp2_ep4_runtime
Method · 0.64
_compare_tp_gradients
Method · 0.64
test_tp_plan_basic_training
Method · 0.64
test_tp_plan_attaches_universal_checkpoint_info
Method · 0.64
test_tp_plan_with_zero1
Method · 0.64
test_tp_plan_with_zero2
Method · 0.64
test_qwen2_tp_plan_with_zero2
Method · 0.64
test_qwen2_tied_lm_head_falls_back_to_replicated
Method · 0.64
test_custom_model_with_custom_tp_plan
Method · 0.64
test_tp_model_init_merges_config
Method · 0.64