MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

↓ 6 callersFunctionvalidate_test
(model_w_task, dtype, enable_cuda_graph, enable_triton)
tests/unit/inference/test_inference.py:270
↓ 6 callersMethodversion_dependent_macros
(self)
op_builder/builder.py:833
↓ 6 callersMethodwrite_events
(self, event_list)
deepspeed/monitor/monitor.py:20
↓ 5 callersMethod__call__
(self, argv, *, timeout=None)
ci/test_torch_latest.py:124
↓ 5 callersMethod__init__
(self, args, world_info_base64)
deepspeed/launcher/multinode_runner.py:67
↓ 5 callersMethod__init__
(self, )
deepspeed/runtime/domino/transformer.py:46
↓ 5 callersFunction_alignment_step
(engine, lr=None, input_value=1)
tests/unit/v1/zero/test_stage2_flatten_on_gpu.py:86
↓ 5 callersFunction_allow_dynamo_dynamic_parameter_shapes_for_z3
Acquire process-wide ZeRO-3 Dynamo config ownership and return its release callback.
deepspeed/compile/init_z3.py:30
↓ 5 callersFunction_answering
(answer)
tests/unit/checkpoint/test_affine_replica_policy.py:257
↓ 5 callersFunction_assert_cleanup_results_close
(actual, expected, *, compare_score_gradients, extra_route_recomputes=0)
tests/unit/v1/moe/test_autoep_deepep_parity.py:338
↓ 5 callersFunction_aws_text
(run_command: Any, args: Sequence[str], *, timeout: float | None = None)
ci/torch_latest.py:897
↓ 5 callersFunction_by_name
(param_groups)
tests/unit/runtime/zero/test_muon_param_groups.py:31
↓ 5 callersFunction_clamped_tol
(dtype)
tests/unit/v1/ops/triton_ops/test_swiglu_triton.py:212
↓ 5 callersMethod_clear_fp32_optimizer_param_groups
(self)
deepspeed/runtime/zero/stage3.py:3488
↓ 5 callersFunction_config
(stage, pin_memory=True, offload_param=False, offload_optimizer=True)
tests/unit/v1/pin_memory/test_destroy_unpin.py:41
↓ 5 callersFunction_config
(stage, dtype="fp32")
tests/unit/runtime/zero/test_muon_without_zero_optimizer.py:61
↓ 5 callersMethod_constant_buffered_norm2
(self, input, buffer_size=250000000)
deepspeed/runtime/zero/stage3.py:2041
↓ 5 callersMethod_create_config
(self, world_size, rank)
deepspeed/runtime/model_checkpointing/data_parallel_writer_factory.py:46
↓ 5 callersFunction_cutlass_moe_testing_helper
(tokens: int, in_channels: int, intermediate_d
tests/unit/inference/v2/modules/test_cutlass_moe.py:83
↓ 5 callersFunction_device
()
tests/unit/checkpoint/test_affine_transfer_executor.py:31
↓ 5 callersMethod_engine
(self, module)
tests/unit/v1/half_precision/test_mixed_precision_dtype.py:93
↓ 5 callersMethod_expert
(self, value, device, with_grad=True)
tests/unit/runtime/test_runtime_utils.py:88
↓ 5 callersFunction_flatten_dense_tensors
Flatten dense tensors into a contiguous 1D buffer. Assume tensors are of same dense type. Since inputs are dense, the resulting tensor will b
deepspeed/runtime/zenflow/zenflow_utils.py:19
↓ 5 callersFunction_folded_config
(tp_size, ep_size, zero_stage, offload=False)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:108
↓ 5 callersMethod_forward
(self, sample, timestamp, encoder_hidden_states, return_dict=True)
deepspeed/model_implementations/diffusers/vae.py:150
↓ 5 callersFunction_gathered
(param)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:275
↓ 5 callersMethod_get_fp32_opt_state_partition
(self, param, release_swap_buffers, optim_state_key=None)
deepspeed/runtime/zero/stage3.py:3243
↓ 5 callersMethod_get_norm_groups
(self)
deepspeed/runtime/zero/stage3.py:2651
↓ 5 callersMethod_get_param_partition_rank
(self, param)
deepspeed/runtime/zero/stage3.py:655
↓ 5 callersMethod_get_swap_paths
(self, params, must_exist=False)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:148
↓ 5 callersFunction_get_test_write_file
(tmpdir, index)
tests/unit/v1/nvme/test_aio.py:54
↓ 5 callersFunction_import_deep_ep
Import DeepEP, explaining the environment it needs when it is absent. DeepEP is an optional dependency with prerequisites a cluster either meets
deepspeed/module_inject/auto_ep_comm.py:156
↓ 5 callersMethod_io_aligned_numel
(self, numel)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:386
↓ 5 callersMethod_is_bias_param
(self, param)
deepspeed/module_inject/layers.py:483
↓ 5 callersFunction_log_probs
(ptr, cols, mask, global_max, log_sum_exp)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:136
↓ 5 callersMethod_loss_scale_update_and_overflow_cleanup
(self)
deepspeed/runtime/zero/stage3.py:2901
↓ 5 callersFunction_make_internvl_adapter
(world_size=2, rank=0)
deepspeed/sequence/test_autosp.py:512
↓ 5 callersFunction_make_llava_adapter
(world_size=2, rank=0)
deepspeed/sequence/test_autosp.py:400
↓ 5 callersFunction_make_qwen2vl_adapter
(world_size=2, rank=0)
deepspeed/sequence/test_autosp.py:620
↓ 5 callersFunction_metadata_entry
()
tests/unit/checkpoint/test_autoep_zero3_metadata.py:17
↓ 5 callersMethod_mixed_precision_dtypes
Resolve (param_dtype, buffer_dtype) for the module cast. param_dtype follows the enabled fp16/bf16 mode (None if neither). buffer_dty
deepspeed/runtime/engine.py:1865
↓ 5 callersFunction_new_handle
()
tests/unit/v1/nvme/test_pinned_manager.py:20
↓ 5 callersMethod_optimizer_states_and_gradient_swap_out
(self, sub_group_id, timer_names=None)
deepspeed/runtime/zero/stage3.py:2839
↓ 5 callersMethod_partition_rank
(self, param)
deepspeed/runtime/zero/partition_parameters.py:1715
↓ 5 callersMethod_partitioned_params_swap_out
(self, i)
deepspeed/runtime/zero/stage3.py:1318
↓ 5 callersFunction_payload
()
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:24
↓ 5 callersFunction_projection_layout
(batch, seq_len, heads, head_dim, dtype, generator)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:31
↓ 5 callersFunction_ragged_embed_test_helper
Helper for embedding test to limit the number of tests to run. Params: embed_dim (int): Model dimension vocab_size (int): Le
tests/unit/inference/v2/kernels/ragged_ops/test_ragged_embed.py:48
↓ 5 callersMethod_read_autotune_table
()
deepspeed/ops/transformer/inference/triton/matmul_ext.py:456
↓ 5 callersMethod_record_gradient_stream
(self, tensor, stream)
deepspeed/runtime/zero/stage_1_and_2.py:1509
↓ 5 callersFunction_ref_grouped_mm
Pure-PyTorch reference: out[rows_g] = a[rows_g] @ b[g].
tests/unit/v1/ops/triton_ops/test_group_gemm_triton.py:93
↓ 5 callersFunction_rel_names
(repo: TmpRepo, tests)
ci/test_tests_fetcher.py:116
↓ 5 callersMethod_release_params
Helper for `release_[component]` methods. Accepts a list of tuples where the first element is the module param that needs to be delet
deepspeed/module_inject/containers/features/hybrid_engine.py:100
↓ 5 callersFunction_request
(request_id)
tests/unit/runtime/rollout/test_continuous_batching.py:10
↓ 5 callersFunction_restore_pin_backend
(prev)
tests/unit/v1/pin_memory/test_destroy_unpin.py:34
↓ 5 callersFunction_router_grad_model
()
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:247
↓ 5 callersFunction_run
(function, q, k, cos, sin, grad_q, grad_k, unsqueeze_dim=1)
tests/unit/v1/ops/triton_ops/test_fused_rotary_pos_emb.py:42
↓ 5 callersFunction_run_aws
(run_command: Any, args: Sequence[str], *, timeout: float | None = None)
ci/torch_latest.py:883
↓ 5 callersFunction_run_one_step
(engine, hidden_dim, dtype)
tests/unit/v1/pin_memory/test_destroy_unpin.py:76
↓ 5 callersFunction_save_and_convert
(engine, tmpdir)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1059
↓ 5 callersMethod_sequence_parallel_group
(self)
tests/unit/v1/sequence_parallelism/test_ulysses.py:557
↓ 5 callersMethod_set_fp32_optimizer_param_groups
(self)
deepspeed/runtime/zero/stage3.py:3482
↓ 5 callersFunction_stored_dtype
(tensor)
tests/unit/v1/half_precision/test_keep_in_fp32_modules.py:280
↓ 5 callersMethod_tagged
(self, num_heads, batch_dim_idx=0)
tests/unit/v1/sequence_parallelism/test_ulysses.py:561
↓ 5 callersFunction_target_param
(placement, logical_shape, ep_rank)
tests/unit/checkpoint/test_autoep_affine_universal.py:383
↓ 5 callersMethod_test
(self, inputs, class_tmpdir, checkpoint_tag, mp_size, pp_size, mp_resize, pp_resize)
tests/unit/v1/autotp/test_configurable_parallel_pp.py:191
↓ 5 callersFunction_tiny_glm4_moe_config
()
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:57
↓ 5 callersFunction_train_steps
(engine, hidden_dim, steps=3)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:1051
↓ 5 callersMethod_update_model_bit16_weights
(self, group_index)
deepspeed/runtime/zero/stage_1_and_2.py:903
↓ 5 callersFunction_uses_zero3_partitioned_autoep_metadata
(autoep_metadata)
deepspeed/checkpoint/ds_to_universal.py:661
↓ 5 callersMethod_validate_autoep_zero3_partitioned_metadata
(autoep_layers, model=None,
deepspeed/runtime/engine.py:4588
↓ 5 callersFunction_write_zero12_fragments
(temp_dir, param_name, rank_tensors)
tests/unit/checkpoint/test_autoep_affine_universal.py:28
↓ 5 callersFunction_zero3_config
(memory_efficient_linear)
tests/unit/runtime/zero/test_zero_linear_direct_init.py:16
↓ 5 callersFunction_zero3_functorch_config
()
tests/unit/v1/zero/test_zero_functorch_linear.py:29
↓ 5 callersFunctionadamw
r"""Functional API that performs AdamW algorithm computation. See :class:`~torch.optim.AdamW` for details.
deepspeed/ops/adam/zenflow_torch_adam.py:1057
↓ 5 callersMethodadd_export
(self, key, var)
deepspeed/launcher/multinode_runner.py:37
↓ 5 callersMethodadd_pointer_offset
Adds a pointer offset in units of Element
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:764
↓ 5 callersMethodadvance
(self, finished_ids=())
deepspeed/runtime/rollout/continuous_batching.py:118
↓ 5 callersFunctionapply_determinism
(config)
deepspeed/runtime/determinism.py:24
↓ 5 callersFunctionautoep_experts_for_rank
Return expert IDs in one rank's local packed order.
deepspeed/checkpoint/autoep_affine.py:100
↓ 5 callersMethodavailable_memory
(self)
tests/unit/v1/compile/test_list_schedule.py:455
↓ 5 callersFunctionclear_backward_inputs
Drop captured inputs and pending capture registrations for selected frames.
deepspeed/compile/patch_compiled_func.py:131
↓ 5 callersMethodclear_mask
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:454
↓ 5 callersFunctioncombine_from_routed
Scatter-add expert outputs back to original token positions.
deepspeed/module_inject/auto_ep_layer.py:466
↓ 5 callersFunctioncompare_state_dicts
(state0, state1, expected_mismatch_keys=[])
tests/unit/checkpoint/common.py:87
↓ 5 callersFunctioncompute_split_plan
Compute AllToAllV split sizes for token dispatch/combine. ``num_tokens_per_expert`` may be supplied by the caller to reuse the histogram alre
deepspeed/module_inject/auto_ep_layer.py:280
↓ 5 callersMethodcreate
(cls, zenflow_config)
deepspeed/runtime/zenflow/zenflow_stage_1_and_2.py:88
↓ 5 callersFunctiondeepcompile_z3_forward_context
(engine)
deepspeed/compile/z3_eager_fallback.py:46
↓ 5 callersFunctiondestroy_exchanges
Release the DeepEP buffers held by the AutoEP layers under ``module``. Collective, and ordered by the module tree, which every rank walks the sam
deepspeed/module_inject/auto_ep_comm.py:140
↓ 5 callersMethoddevice_count
(self)
tests/unit/launcher/test_run.py:134
↓ 5 callersFunctiondo_aio_operation_overlap
csrc/aio/common/deepspeed_aio_common.cpp:224
↓ 5 callersFunctiondo_aio_operation_sequential
csrc/aio/common/deepspeed_aio_common.cpp:157
↓ 5 callersFunctionds_id
(param)
deepspeed/utils/debug.py:103
↓ 5 callersMethodeval_batch
Evaluate the pipeline on a batch of data from ``data_iter``. The engine will evaluate ``self.train_batch_size()`` total samples collec
deepspeed/runtime/pipe/engine.py:409
↓ 5 callersFunctionfake_accelerator
(current)
tests/unit/v1/zero/test_zero2_gradient_safety.py:261
↓ 5 callersMethodflops_profiler_enabled
(self)
deepspeed/runtime/engine.py:1493
↓ 5 callersMethodforward
(self, x, mask)
tests/unit/runtime/activation_checkpointing/test_activation_checkpointing.py:236
↓ 5 callersMethodfree
csrc/pin_memory/deepspeed_pin_tensor.cpp:64
↓ 5 callersMethodgetDSId
csrc/includes/deepcompile.h:127
↓ 5 callersMethodgetDSTensor
csrc/includes/deepcompile.h:278
← previousnext →801–900 of 14,579, ranked by callers