MCPcopy Create free account

hub / github.com/RL-Align/RL-Kernel / functions

Functions1,290 in github.com/RL-Align/RL-Kernel

Functiontest_sm90_large_vocab_smoke
()
tests/test_linear_logp.py:576
Functiontest_sm90_logp_bf16_defaults_to_generic_fallback
(monkeypatch)
tests/test_op_accuracy.py:202
Functiontest_sm90_logp_registry_uses_generic_default_on_sm90
(monkeypatch)
tests/test_op_accuracy.py:191
Functiontest_sm90_preserves_leading_shape
()
tests/test_linear_logp.py:564
Functiontest_sm90_rejects_bad_target_and_bias
()
tests/test_linear_logp.py:611
Functiontest_sm90_rejects_out_of_range_target
()
tests/test_linear_logp.py:629
Functiontest_sm90_tp_metadata_falls_back_to_portable_tp_when_sm90_unsupported
(monkeypatch)
tests/test_linear_logp.py:699
Functiontest_sm90_tp_metadata_prefers_sm90_tp_helper
(monkeypatch)
tests/test_linear_logp.py:651
Functiontest_stateless_reference_scores_real_hf_causal_lm_on_cuda_without_kv_cache
()
tests/test_stateless_hf_integration.py:118
Functiontest_stateless_reference_scores_real_hf_causal_lm_without_kv_cache
()
tests/test_stateless_hf_integration.py:81
Functiontest_stateless_reward_scores_real_hf_sequence_classifier
()
tests/test_stateless_hf_integration.py:102
Functiontest_stateless_scoring_worker_attaches_reference_logps_for_training_payload
()
tests/test_stateless_training_contract.py:164
Functiontest_stateless_scoring_worker_attaches_rewards_for_training_payload
()
tests/test_stateless_training_contract.py:98
Functiontest_stepwise_decode_matches_full_prefill
Token-by-token decode reproduces full-prefill outputs (atol=1e-6). Not bitwise: at step t the softmax reduces over t+1 keys, whereas prefill
tests/test_kv_cache_attention.py:178
Functiontest_suite_report_to_dict_contains_error_metrics
()
tests/test_op_checks.py:71
Functiontest_suite_reports_failure_for_bad_candidate
()
tests/test_op_checks.py:54
Functiontest_swiglu_backward_batch_invariance_slice
Axis A: Gradients must be bitwise identical regardless of batch size.
tests/test_swiglu.py:144
Functiontest_swiglu_batch_invariance_slice
()
tests/test_swiglu.py:63
Functiontest_swiglu_batch_invariance_with_padding
()
tests/test_swiglu.py:80
Functiontest_swiglu_gradient_flows
()
tests/test_swiglu.py:117
Functiontest_swiglu_inputs_not_mutated
()
tests/test_swiglu.py:99
Functiontest_synthetic_rl_batch_cuda_smoke
()
tests/test_rl_batch_fixture.py:135
Functiontest_synthetic_rl_batch_is_deterministic
()
tests/test_rl_batch_fixture.py:40
Functiontest_synthetic_rl_batch_shapes_and_masks
()
tests/test_rl_batch_fixture.py:10
Functiontest_tensor_parallel_metadata_requires_multi_rank_group
()
tests/test_linear_logp.py:371
Methodtest_theta_affects_output
Different theta must produce different results.
tests/test_rope.py:110
Functiontest_tied_embedding_lm_head_shared_gradient_is_layout_invariant
()
tests/test_linear_logp.py:315
Functiontest_time_kernel_resets_peak_memory_once
(monkeypatch)
tests/test_profiler.py:39
Functiontest_training_contract_accepts_reference_logps_for_truncated_completions
()
tests/test_stateless_training_contract.py:237
Functiontest_triton_apply_with_per_sequence_advantages_matches_native
()
tests/test_grpo_loss.py:261
Functiontest_triton_backward_matches_native
(use_bias)
tests/test_linear_logp.py:450
Functiontest_triton_backward_matches_native
()
tests/test_ratio_kl.py:129
Functiontest_triton_backward_matches_native
()
tests/test_grpo_loss.py:210
Functiontest_triton_backward_with_grad_scaling
A non-unit upstream gradient must scale the policy-logits gradient linearly.
tests/test_ratio_kl.py:163
Functiontest_triton_backward_with_grad_scaling
A non-unit upstream gradient must scale the policy-logits gradient linearly.
tests/test_grpo_loss.py:230
Functiontest_triton_forward_matches_native
(vocab)
tests/test_ratio_kl.py:118
Functiontest_triton_forward_matches_native
()
tests/test_grpo_loss.py:186
Functiontest_triton_forward_matches_native_bf16
()
tests/test_linear_logp.py:437
Functiontest_triton_forward_matches_native_fp32
()
tests/test_linear_logp.py:426
Functiontest_triton_gradients_flow_to_inputs_only
()
tests/test_linear_logp.py:473
Functiontest_triton_group_advantages_matches_native
()
tests/test_grpo_loss.py:248
Functiontest_triton_grpo_gradient_step_reduces_loss
()
tests/test_grpo_loss.py:338
Functiontest_triton_handles_oob_action_ids
Out-of-range ids at masked positions must not fault; the fused op clamps them (like the native op) and stays finite, agreeing on active outputs.
tests/test_ratio_kl.py:200
Functiontest_triton_large_vocab_smoke
()
tests/test_linear_logp.py:498
Functiontest_triton_masked_tokens_do_not_affect_active
Garbage logits at masked positions must not change active outputs.
tests/test_ratio_kl.py:180
Functiontest_triton_no_grad_to_ref
The reference is frozen: the fused backward must not reach ref_logits.
tests/test_ratio_kl.py:150
Functiontest_triton_preserves_leading_shape
()
tests/test_linear_logp.py:487
Functiontest_unknown_workload_is_rejected
()
tests/test_profiler.py:151
Functiontest_variable_group_boundaries
()
tests/test_grpo_loss.py:110
Functiontest_vllm_checkpoint_reload_adapter_requires_weights_path
()
tests/test_weight_sync_bridge.py:853
Functiontest_vllm_checkpoint_reload_adapter_uses_manifest_weights_path
()
tests/test_weight_sync_bridge.py:790
Functiontest_vllm_checkpoint_reload_adapter_uses_resolver
()
tests/test_weight_sync_bridge.py:827
Functiontest_vllm_cuda_vmm_external_storage_adapter_rebinds_matching_parameters
(monkeypatch)
tests/test_weight_sync_bridge.py:872
Functiontest_vllm_cuda_vmm_external_storage_adapter_requires_cuda_vmm_manifest
()
tests/test_weight_sync_bridge.py:863
Functiontest_vllm_cuda_vmm_external_storage_adapter_rolls_back_partial_rebind
(monkeypatch)
tests/test_weight_sync_bridge.py:924
Functiontest_vllm_engine_receives_disabled_prefix_cache_flag
()
tests/test_vllm_rollout_sampler.py:169
Functiontest_vllm_engine_receives_prefix_cache_flag_and_sampling_params
()
tests/test_vllm_rollout_sampler.py:97
Functiontest_vllm_in_process_reload_adapter_does_not_activate_failed_reload
()
tests/test_weight_sync_bridge.py:767
Functiontest_vllm_in_process_reload_adapter_requires_complete_manifest
()
tests/test_weight_sync_bridge.py:756
Functiontest_vllm_in_process_reload_adapter_uses_collective_rpc_reload_weights
()
tests/test_weight_sync_bridge.py:693
Functiontest_vllm_in_process_reload_adapter_uses_direct_reload_weights_capability
()
tests/test_weight_sync_bridge.py:729
Functiontest_vllm_install_adapter_releases_ipc_keepalive_when_update_fails
()
tests/test_weight_sync_bridge.py:672
Functiontest_vllm_install_adapter_releases_ipc_request_builder_keepalive
()
tests/test_weight_sync_bridge.py:648
Functiontest_vllm_ipc_request_builder_creates_public_update_request_for_cuda_tensors
()
tests/test_weight_sync_bridge.py:602
Functiontest_vllm_ipc_request_builder_requires_cuda_tensors
()
tests/test_weight_sync_bridge.py:635
Functiontest_vllm_update_weights_api_requires_explicit_request_builder
()
tests/test_weight_sync_bridge.py:587
Functiontest_vllm_weight_install_adapter_requires_verified_capability
()
tests/test_weight_sync_bridge.py:546
Functiontest_vllm_weight_install_adapter_uses_explicit_capability
()
tests/test_weight_sync_bridge.py:526
Functiontest_vllm_weight_install_adapter_uses_public_update_weights_request_builder
()
tests/test_weight_sync_bridge.py:556
Functiontest_weight_scaling_no_plus_one
()
tests/test_rms_norm.py:103
Functiontest_workload_registry_drives_cli_defaults
()
tests/test_profiler.py:143
Functiontimed_step
()
tests/linear_logp_tp.py:394
Methodto_dict
(self, *, include_raw: bool = False)
rl_engine/executors/vllm_sampler.py:70
Methodto_dict
(self)
rl_engine/kernels/gtest/op_checks.py:89
Methodtotal_mb
(self)
rl_engine/executors/stateless_executor.py:89
Methodtotal_nbytes
(self)
rl_engine/executors/bridge.py:1404
Methodtotal_seq_len
(self)
rl_engine/testing/rl_batch.py:33
Methodtrain
(self, rollout: RolloutStageResult)
rl_engine/executors/training_contract.py:53
Methodtrain
(self, rollout: Any)
rl_engine/executors/ray_actor_manager.py:162
Methodtrain
(self, rollout: Any)
rl_engine/executors/ray_actor_manager.py:196
Functiontriton_flash_attention
Universal backup Triton FlashAttention (support Forward / Backward) Args: q, k, v: Tensors of shape [batch, num_heads, seq_len, head
rl_engine/kernels/ops/triton/triton_attn.py:474
Functiontriton_fwd
(p=policy)
benchmarks/benchmark_grpo_loss.py:97
Functiontriton_fwd_bwd
(p=pol_grad)
benchmarks/benchmark_grpo_loss.py:107
Methodupdate_weights
(self, manifest: WeightUpdateManifest)
rl_engine/executors/ray_actor_manager.py:148
Methodupdate_weights
(self, manifest: WeightUpdateManifest)
rl_engine/executors/ray_actor_manager.py:199
Methodupdate_weights
(self, request)
tests/test_weight_sync_bridge.py:563
Methodupdate_weights
(self, request)
tests/test_weight_sync_bridge.py:680
Methodwarn_once
(self, msg: str, *args: Any)
rl_engine/utils/logger.py:48
Functionworkload
()
tests/test_profiler.py:48
Functionwrapped_backward
(loss)
tests/test_deepspeed_training_worker.py:503
← previous1,201–1,290 of 1,290, ranked by callers