Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
14,579 in github.com/deepspeedai/DeepSpeed
⨍
Functions
14,579
◇
Types & classes
2,353
↳
Endpoints
92
Function
test_fused_rms_norm_fail_fast_dtype_guard
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:247
Function
test_fused_rms_norm_fail_fast_guards_on_cpu
(monkeypatch)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:237
Method
test_fused_rms_norm_handles_head_major_non_contiguous_input
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:643
Method
test_fused_rms_norm_handles_strided_weight
(self, dtype)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:654
Method
test_fused_rms_norm_large_and_tiny_magnitudes
(self, dtype, scale)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:649
Method
test_fused_rms_norm_matches_hf_forward_and_backward
(self, dtype, shape)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:638
Method
test_fused_rms_norm_rejects_double_backward
(self)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:668
Method
test_fused_rms_norm_rejects_unsupported_inputs
(self, hidden_dtype, weight_dtype, width)
tests/unit/v1/ops/triton_ops/test_fused_rms_norm.py:664
Method
test_fused_row_weighting_accepts_the_deepep_path
(self)
tests/unit/v1/moe/test_autoep_unit.py:341
Method
test_fused_row_weighting_fails_before_the_router_when_unsupported
(self)
tests/unit/module_inject/test_auto_ep_comm.py:641
Function
test_fused_row_weighting_guards_name_unsupported_inputs
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:228
Method
test_fused_row_weighting_handles_empty_experts_and_skewed_routing
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:604
Method
test_fused_row_weighting_matches_eager_for_each_score_boundary
(self, score_apply)
tests/unit/v1/moe/test_autoep_deepep_parity.py:571
Function
test_fused_row_weighting_matches_eager_including_gradients
(n_rows, hidden, row_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:164
Method
test_fused_row_weighting_rejects_ep_size_one
(self)
tests/unit/v1/moe/test_autoep_unit.py:330
Method
test_fused_row_weighting_rejects_non_deepep_backend
(self)
tests/unit/v1/moe/test_autoep_unit.py:321
Method
test_fused_row_weighting_supports_reentrant_activation_checkpointing
(self)
tests/unit/v1/moe/test_autoep_deepep_parity.py:581
Method
test_fused_row_weighting_uses_the_same_boundaries
(self)
tests/unit/module_inject/test_auto_ep_comm.py:421
Function
test_fused_row_weighting_weight_gradient_is_as_accurate_as_eager
The weight gradient sums the same FP32 products as eager in another order; it must be no less accurate.
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:202
Function
test_fused_weighted_restore_matches_eager_including_gradients
(top_k, hidden, row_dtype, score_dtype)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:52
Function
test_fused_weighted_restore_rounds_fp32_product_before_accumulation
()
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:127
Function
test_fused_weighted_restore_walks_wide_hidden_deterministically
(num_tokens, top_k, hidden)
tests/unit/v1/ops/triton_ops/test_autoep_fused_token_ops.py:100
Method
test_fusing_allgather_and_autocast
Test that allgather and autocast can be correctly fused with DeepCompile
tests/unit/v1/compile/test_compile_zero.py:238
Function
test_fwd_insertion_schedules_all_tasks_under_forced_budget
(monkeypatch)
tests/unit/v1/compile/test_offload_opt_states.py:189
Function
test_fwd_keeps_resident_only_what_the_budget_has_room_for
(monkeypatch)
tests/unit/v1/compile/test_offload_activation.py:754
Function
test_fwd_moves_everything_when_the_profile_is_missing
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:402
Function
test_fwd_no_op_when_memory_fits
(ample_budget)
tests/unit/v1/compile/test_offload_activation.py:744
Function
test_fwd_offloads_saved_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:355
Function
test_fwd_rerun_replans_instead_of_stacking
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:779
Function
test_fwd_skips_parameters
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:416
Function
test_fwd_skips_small_tensors
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:711
Function
test_fwd_skips_symbolic_shapes
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:721
Function
test_fwd_skips_values_already_on_the_host
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:684
Function
test_fwd_skips_values_saved_twice
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:443
Function
test_fwd_skips_values_that_alias_another_tensor
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:458
Function
test_fwd_skips_values_that_are_not_activations
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:697
Function
test_fwd_skips_values_the_caller_also_receives
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:428
Function
test_fwd_without_partition_info_is_skipped
(forced_budget)
tests/unit/v1/compile/test_offload_activation.py:770
Method
test_ga_greater_than_one_offload_unchanged
(self, zero_stage)
tests/unit/v1/zero/test_zero2_offload_multi_backward.py:139
Function
test_gate_off_collects_everything
()
tests/unit/test_multirank_selection.py:146
Function
test_gate_on_keeps_only_multirank_items
()
tests/unit/test_multirank_selection.py:152
Method
test_gate_up_fused_weight_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:795
Method
test_gate_up_gather_restores_sub_param_order
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:772
Function
test_gate_up_pack_publishes_sub_param_metadata
()
tests/unit/runtime/tensor_parallel/test_autotp_universal_checkpoint.py:373
Function
test_gate_up_partition_covers_the_whole_weight
()
tests/unit/module_inject/test_fused_repartition.py:31
Method
test_gate_up_single_param_bias_gather_partition
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:821
Function
test_gated_ffn_sharding
Test the same cases assuming a gated regime.
tests/unit/inference/v2/model_implementations/sharding/test_mlp_sharding.py:88
Function
test_gated_silu
(batch, sequence, channels, dtype)
tests/unit/ops/transformer/inference/test_bias_geglu.py:62
Method
test_gather
(self)
tests/unit/runtime/test_runtime_utils.py:36
Function
test_gather_16bit_params_on_model_save
(gather_weights_key)
tests/unit/runtime/test_ds_config_dict.py:214
Function
test_gather_from_tp_region_supports_uneven_shards
()
tests/unit/compile/test_tp_compile.py:134
Method
test_gather_output_from_config_dict
(self)
tests/unit/module_inject/test_tp_plan_converter.py:48
Method
test_gather_rows_treats_both_padding_encodings_as_zero
(self, strided_index)
tests/unit/v1/moe/test_autoep_permute_rows.py:151
Method
test_gather_uses_the_layers_own_shard_widths
(self)
tests/unit/v1/autotp/test_autotp_custom_patterns.py:939
Method
test_gathered_colwise_conversion
(self)
tests/unit/module_inject/test_tp_plan_converter.py:37
Function
test_gathered_lm_head_falls_back_for_runtime_parameter_tie
()
tests/unit/module_inject/test_tp_partition_config_path.py:246
Function
test_gathered_lm_head_uses_column_parallel_layer_when_output_dim_is_uneven
()
tests/unit/module_inject/test_tp_partition_config_path.py:279
Function
test_gathered_lm_head_uses_column_parallel_layer_when_untied
()
tests/unit/module_inject/test_tp_partition_config_path.py:238
Function
test_gathered_parameters_after_forward_defers_partition_until_backward
(monkeypatch)
tests/unit/v1/compile/test_z3_eager_fallback.py:390
Function
test_gathered_parameters_preserves_disjoint_nesting
()
tests/unit/v1/compile/test_z3_eager_fallback.py:551
Function
test_gathered_parameters_rejects_partial_overlap_atomically
()
tests/unit/v1/compile/test_z3_eager_fallback.py:524
Method
test_gathered_sequence_loss_backward_accumulates_all_ranks
(self)
tests/unit/v1/sequence_parallelism/test_vocab_parallel_cross_entropy.py:257
Method
test_geglu_tanh_known_values
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:106
Function
test_gelu
(batch, sequence, channels, dtype, use_triton_ops)
tests/unit/ops/transformer/inference/test_gelu.py:55
Method
test_gelu_gated_experts_with_plain_preset_are_rejected
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:612
Method
test_gemm_error_bound_accepts_rounding_but_rejects_incorrect_values
(self)
tests/unit/v1/moe/test_autoep_expert_activation.py:324
Function
test_gemma4_text_config_fallback
()
tests/unit/v1/multimodal/test_gemma4_config.py:11
Function
test_gemma4_text_config_matches_text_config
()
tests/unit/v1/multimodal/test_gemma4_config.py:26
Function
test_generalized_jsd_loss_covers_beta_variants
(beta, expected)
tests/unit/runtime/rollout/test_rollout_interface.py:136
Function
test_generalized_jsd_loss_supports_top_k_and_empty_response_masks
()
tests/unit/runtime/rollout/test_rollout_interface.py:149
Function
test_generate_accepts_zero_pad_token_id
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1737
Function
test_generate_calls_graph_capture_when_enabled
(mock_get_accelerator, mock_perf_counter, temperature)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1582
Function
test_generate_disables_top_k_for_sampling
(top_k)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1687
Function
test_generate_does_not_profile_when_disabled
(mock_get_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1324
Function
test_generate_falls_back_to_eager_without_graph_capture_opt_in
(mock_get_accelerator)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1612
Function
test_generate_forwards_top_k_for_sampling_with_multiple_samples_and_eos
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1661
Function
test_generate_keeps_ranks_in_lockstep_and_pads_after_eos
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1638
Function
test_generate_preserves_zero_pad_token_id
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1357
Function
test_generate_records_profile_when_enabled
(mock_get_accelerator, mock_perf_counter)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1288
Function
test_generate_uses_shared_prefill_for_multiple_samples
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1493
Function
test_get_autocast_decorators_use_legacy_amp_or_noop_before_torch_2_4
()
tests/unit/runtime/test_autocast.py:79
Function
test_get_autocast_decorators_use_torch_amp_on_torch_2_4_or_newer
()
tests/unit/runtime/test_autocast.py:65
Function
test_get_best_space_record_ignores_runs_without_a_metric
(tmpdir)
tests/unit/autotuning/test_autotuning.py:82
Function
test_get_bfloat16_enabled
(bf16_key)
tests/unit/runtime/test_ds_config_dict.py:224
Function
test_get_expert_parallel_ranks
Example - E + M + D parallel world_size = 16 model_degree = 2 expert_degree = 4 # number of experts in same group mp_group = [0,
tests/unit/utils/test_groups.py:20
Function
test_get_global_norm_keeps_invalid_sentinels_invalid
(bad)
tests/unit/v1/zero/test_invalid_grad_norm.py:50
Function
test_get_last_uses_unconsumed_no_copy_wait
(case)
tests/unit/v1/compile/test_list_schedule.py:236
Function
test_get_operation_summary_does_not_reorder_the_stored_records
()
tests/unit/comm/test_comms_logger.py:52
Function
test_get_optim_files
(tmpdir, num_checkpoints)
tests/unit/utils/test_get_optim_files.py:12
Function
test_get_param_uc_restore_meta_returns_top_level_restore_schema
()
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:641
Function
test_get_val_by_key_searches_all_nested_subdicts
()
tests/unit/autotuning/test_autotuning.py:106
Function
test_getattr_delegates_missing_attributes_to_model
()
tests/unit/runtime/test_engine_attribute_delegation.py:25
Function
test_getattr_raises_for_missing_attribute
()
tests/unit/runtime/test_engine_attribute_delegation.py:31
Function
test_getattr_resolves_registered_workspace_module
()
tests/unit/runtime/test_engine_attribute_delegation.py:19
Function
test_git_environment_is_positive_allowlist
()
ci/test_torch_latest.py:498
Function
test_github_output_contains_only_validated_mode_and_count
()
ci/test_tests_fetcher.py:576
Function
test_global_eos_stops_only_when_no_global_work_remains
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1060
Function
test_global_training_mode_does_not_leak_into_inference_routing
()
tests/unit/module_inject/test_tp_partition_config_path.py:516
Function
test_global_work_remaining_uses_requested_group
(monkeypatch)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1049
Method
test_gpt2_basic
(self, tmpdir, inputs)
tests/unit/v1/autotp/test_configurable_parallel_mp.py:63
← previous
next →
12,401–12,500 of 14,579, ranked by callers