MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodtest_zero3_nvme_aggregate_unswapped_fragments
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:720
Methodtest_zero3_nvme_mixed_fragments_numerical_equivalence
(self, tmpdir, pipeline, save_in_memory)
tests/unit/v1/ops/muon/test_muon.py:810
Methodtest_zero3_nvme_momentum_residency
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:624
Methodtest_zero3_nvme_multirank_mixed_fragments
(self, tmpdir, pipeline)
tests/unit/v1/ops/muon/test_muon.py:952
Functiontest_zero3_partition_native_consolidation_allows_rank_without_fragments
(tmp_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:313
Functiontest_zero3_partition_native_consolidation_uses_affine_placement
(tmp_path, module_path)
tests/unit/checkpoint/test_autoep_affine_universal.py:243
Methodtest_zero3_partition_native_universal_round_trip_replica_groups_4gpu
Same round trip as the 2-GPU test, but with expert-DP world size 2 so the converter consolidates multiple partition fragments per expert
tests/unit/v1/moe/test_autoep_checkpoint.py:791
Methodtest_zero3_partition_native_universal_round_trip_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:536
Functiontest_zero3_partitions_drop_padding
()
tests/unit/checkpoint/test_zero_affine.py:43
Functiontest_zero3_qkv_layout_round_trip_persists_mutation
(monkeypatch)
tests/unit/module_inject/test_hybrid_megatron.py:34
Functiontest_zero3_rendezvous_uses_optimizer_dp_group
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1127
Functiontest_zero3_restore_extracts_ep_rank_before_zero_partition
(tmp_path, monkeypatch)
tests/unit/checkpoint/test_autoep_affine_universal.py:489
Functiontest_zero3_scheduler_budget_uses_rank_reduced_non_gathered_peak
(monkeypatch)
tests/unit/v1/compile/test_list_schedule.py:136
Functiontest_zero3_semantic_guard_ignores_transient_physical_state_changes
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:99
Functiontest_zero3_semantic_guard_resolves_real_parameter_from_dummy_value
()
tests/unit/compile/test_zero3_grad_dtype.py:145
Methodtest_zero3_storage_maps_refuse_storage_without_plain_elements
(self, encoding)
tests/unit/v1/moe/test_autoep_checkpoint.py:769
Functiontest_zero3_storage_plans_directly_into_a_new_placement
()
tests/unit/checkpoint/test_autoep_affine.py:322
Functiontest_zero3_tensor_match_delegates_non_zero_tensor
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:65
Methodtest_zero3_universal_load_optimizer_states_false_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:620
Methodtest_zero3_universal_module_only_same_topology
(self, tmpdir)
tests/unit/v1/moe/test_autoep_checkpoint.py:623
Methodtest_zero3_universal_weights_only_preserves_fp32_master_weights
(self, tmpdir, load_kwargs)
tests/unit/v1/moe/test_autoep_checkpoint.py:627
Functiontest_zero_config_aliasfields
()
tests/unit/runtime/zero/test_zero_config.py:35
Functiontest_zero_config_compute_grad_norm
()
tests/unit/runtime/zero/test_zero_config.py:64
Functiontest_zero_config_deprecatedfields
()
tests/unit/runtime/zero/test_zero_config.py:24
Functiontest_zero_config_offload_configs
()
tests/unit/runtime/zero/test_zero_config.py:73
Functiontest_zero_config_overlapcomm
()
tests/unit/runtime/zero/test_zero_config.py:55
Functiontest_zero_config_parameter_alignment
()
tests/unit/runtime/zero/test_zero_config.py:18
Functiontest_zero_config_pipeline_loading_checkpoint
()
tests/unit/runtime/zero/test_zero_config.py:49
Functiontest_zero_config_reduce_bucket_size
()
tests/unit/runtime/zero/test_zero_config.py:11
Functiontest_zero_exit_reports_success_without_any_sentinel
()
ci/test_classify_multirank_exit.py:55
Functiontest_zero_extent_piece_covers_nothing
A rank may hold none of a sub-parameter, and an empty piece must not claim coverage.
tests/unit/checkpoint/test_affine_shard_map.py:644
Methodtest_zero_fragments
(self, tmpdir, dtype, api_type, zero_stage, offload_device, frozen_weights)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:190
Methodtest_zero_fragments
(self, tmpdir, api_type, zero_stage, offload_device, dtype)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:504
Methodtest_zero_fragments
(self, tmpdir, torch_adam, zero_stage, offload_device, dtype)
tests/unit/runtime/zero/test_zero_tensor_fragment.py:588
Functiontest_zero_fwd_stash_retains_no_gpu_activation
()
tests/unit/runtime/activation_checkpointing/test_offload_activations.py:451
Methodtest_zero_grad
(self, zero_grad)
tests/unit/v1/zero/test_zero.py:991
Methodtest_zero_grad_discards_pending_invalid_gradient
(self)
tests/unit/v1/zero/test_reflow.py:2291
Functiontest_zero_hpz_partition_size_config
()
tests/unit/runtime/zero/test_zeropp.py:40
Functiontest_zero_hpz_secondary_shard_padding_is_zeroed
(monkeypatch)
tests/unit/runtime/zero/test_zeropp.py:113
Functiontest_zero_hpz_small_param_secondary_shard_without_overlap
(monkeypatch)
tests/unit/runtime/zero/test_zeropp.py:80
Methodtest_zero_init_embedding_slices_like_plain
(self)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:805
Methodtest_zero_init_matches_plain_build
(self, world_size, case)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:758
Methodtest_zero_init_skips_param_cast
(self)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:107
Methodtest_zero_init_source_gathered_for_parser_router_and_fused_repack
(self, monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:2162
Functiontest_zero_leaf_module_custom_config
()
tests/unit/runtime/zero/test_zero_leaf_module.py:221
Functiontest_zero_leaf_module_default_config
()
tests/unit/runtime/zero/test_zero_leaf_module.py:214
Functiontest_zero_leaf_module_string_coercion
()
tests/unit/runtime/zero/test_zero_leaf_module.py:237
Functiontest_zero_max_ragged_batch_size
()
tests/unit/inference/v2/ragged/test_manager_configs.py:32
Functiontest_zero_max_ragged_sequence_count
()
tests/unit/inference/v2/ragged/test_manager_configs.py:44
Functiontest_zero_max_tracked_sequences
()
tests/unit/inference/v2/ragged/test_manager_configs.py:20
Functiontest_zero_offload_optimizer_config_pipeline
()
tests/unit/runtime/zero/test_zero_config.py:87
Methodtest_zero_optimizer
(self, num_models, shared_loss, zero_stage, fp32_grad_accum, contiguous_gradients,
tests/unit/runtime/test_multiple_models.py:81
Functiontest_zero_optimizer_uc_info_comes_from_cached_state
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:651
Functiontest_zero_ordered_dict_does_not_read_ds_status_while_compiling
(monkeypatch)
tests/unit/compile/test_zero3_grad_dtype.py:168
Functiontest_zero_partial_offload_config
()
tests/unit/runtime/zero/test_zero_offloadpp.py:31
Methodtest_zero_reference_requires_zero_actual
(self)
tests/unit/v1/moe/test_autoep_grad_parity.py:397
Functiontest_zero_scale_is_refused
Zero cannot be inverted, so the full tensor could never be recovered.
tests/unit/checkpoint/test_affine_shard_map.py:828
Methodtest_zero_stage
(self, zero_stage, dtype)
tests/unit/runtime/test_no_sync_ctxt.py:25
Methodtest_zero_to_fp32_rejects_zero3_partitioned_autoep_checkpoint
(self, tmp_path)
tests/unit/v1/moe/test_autoep_unit.py:1141
Functiontest_zero_to_torch_cli_passes_dtype
(monkeypatch, tmp_path)
tests/unit/checkpoint/test_convert_checkpoint.py:88
Functiontest_zero_to_torch_standalone_uses_local_converter
(tmp_path)
tests/unit/checkpoint/test_convert_checkpoint.py:103
Functiontext2text_generation_assert
(x, y)
tests/unit/inference/test_inference.py:217
Functiontext_classification_assert
(x, y)
tests/unit/inference/test_inference.py:205
Functiontext_generation_assert
(x, y)
tests/unit/inference/test_inference.py:213
Methodthread_id
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:973
Functionthread_start_column
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:773
Functionthread_start_column
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:620
Functionthread_start_row
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:769
Functionthread_start_row
Need to get the thread start row from the tile iterator
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:616
Methodtiled_forward
(self, x, y)
tests/unit/ulysses_alst/test_tiled_compute.py:335
Functiontimed_identity
(x)
tests/unit/v1/compile/test_graph_profile.py:134
Functiontimed_op
(func)
deepspeed/comm/comm.py:99
Functionto
deepspeed/inference/v2/kernels/includes/conversion_utils.h:20
Functionto
csrc/includes/conversion_utils.h:20
Methodto_dict
(outputs: EltwiseMultiplicationNamedTuple)
tests/unit/v1/zero/test_zero.py:824
Methodto_dict
(outputs: EltwiseMultiplicationNamedTuple)
tests/unit/v1/zero/test_zero.py:849
Methodto_dict
(outputs: Tuple[Tensor, Tensor, Tensor, Tensor])
tests/unit/v1/zero/test_zero.py:870
Methodto_dict
(outputs: List[Tensor])
tests/unit/v1/zero/test_zero.py:891
Methodto_dict
Plain scalars, so a plan can cross a process boundary without these classes.
deepspeed/checkpoint/affine_transfer.py:197
Functionto_global
csrc/includes/dequantization_utils.h:160
Methodto_heads
(t)
tests/unit/v1/compile/test_compile_autosp.py:111
Methodto_heads
(t)
tests/unit/v1/compile/test_compile_autosp.py:221
Methodto_heads
(t)
tests/unit/v1/compile/test_compile_autosp.py:866
Functionto_python_float
(t)
deepspeed/runtime/fp16/loss_scaler.py:136
Functiontoken_classification_assert
(x, y)
tests/unit/inference/test_inference.py:209
Functiontoken_gather
csrc/random_ltd/pt_binding.cpp:26
Functiontoken_scatter_
csrc/random_ltd/pt_binding.cpp:76
Functiontoken_sort_
csrc/random_ltd/pt_binding.cpp:10
Methodtokenize_function
(examples)
tests/unit/runtime/zero/test_zeropp.py:326
Functiontop_k_gating
Perform softmax plus atomics in order to do first pass of top_k_gating. */
deepspeed/inference/v2/kernels/ragged_ops/top_k_gating/top_k_gating.cpp:27
Methodtopology
(self)
deepspeed/runtime/pipe/topology.py:401
Methodtopology
ProcessTopology object to query process mappings.
deepspeed/runtime/pipe/module.py:557
Methodtotal_memory
(self)
tests/unit/v1/compile/test_selective_gather.py:21
Methodtotal_memory
(self, device_index=None)
accelerator/cpu_accelerator.py:333
Methodtotal_memory
(self, device_index=None)
accelerator/abstract_accelerator.py:161
Functiontp_model_init
Record tensor-parallel initialization arguments for training. Note (compatibility and initialization behavior): AutoTP sharding is appli
deepspeed/__init__.py:781
Methodtp_rank
The rank of the current process. # TODO(cmikeh2): Kind of a hack right now, but this is too verbose to use at the frequency
deepspeed/inference/v2/model_implementations/inference_model_base.py:134
Methodtp_size
The total number of processes. # TODO(cmikeh2): Kind of a hack right now, but this is too verbose to use at the frequency we
deepspeed/inference/v2/model_implementations/inference_model_base.py:144
Methodtput_log
(self, *msg)
deepspeed/runtime/pipe/engine.py:682
Methodtrack_forward
(sub_module)
deepspeed/runtime/reflow/reflow_stage3.py:137
← previousnext →15,101–15,200 of 15,468, ranked by callers