Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RL-Align/RL-Kernel
/ functions
Functions
1,290 in github.com/RL-Align/RL-Kernel
⨍
Functions
1,290
◇
Types & classes
193
↳
Endpoints
3
Function
test_sm90_large_vocab_smoke
()
tests/test_linear_logp.py:576
Function
test_sm90_logp_bf16_defaults_to_generic_fallback
(monkeypatch)
tests/test_op_accuracy.py:202
Function
test_sm90_logp_registry_uses_generic_default_on_sm90
(monkeypatch)
tests/test_op_accuracy.py:191
Function
test_sm90_preserves_leading_shape
()
tests/test_linear_logp.py:564
Function
test_sm90_rejects_bad_target_and_bias
()
tests/test_linear_logp.py:611
Function
test_sm90_rejects_out_of_range_target
()
tests/test_linear_logp.py:629
Function
test_sm90_tp_metadata_falls_back_to_portable_tp_when_sm90_unsupported
(monkeypatch)
tests/test_linear_logp.py:699
Function
test_sm90_tp_metadata_prefers_sm90_tp_helper
(monkeypatch)
tests/test_linear_logp.py:651
Function
test_stateless_reference_scores_real_hf_causal_lm_on_cuda_without_kv_cache
()
tests/test_stateless_hf_integration.py:118
Function
test_stateless_reference_scores_real_hf_causal_lm_without_kv_cache
()
tests/test_stateless_hf_integration.py:81
Function
test_stateless_reward_scores_real_hf_sequence_classifier
()
tests/test_stateless_hf_integration.py:102
Function
test_stateless_scoring_worker_attaches_reference_logps_for_training_payload
()
tests/test_stateless_training_contract.py:164
Function
test_stateless_scoring_worker_attaches_rewards_for_training_payload
()
tests/test_stateless_training_contract.py:98
Function
test_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
Function
test_suite_report_to_dict_contains_error_metrics
()
tests/test_op_checks.py:71
Function
test_suite_reports_failure_for_bad_candidate
()
tests/test_op_checks.py:54
Function
test_swiglu_backward_batch_invariance_slice
Axis A: Gradients must be bitwise identical regardless of batch size.
tests/test_swiglu.py:144
Function
test_swiglu_batch_invariance_slice
()
tests/test_swiglu.py:63
Function
test_swiglu_batch_invariance_with_padding
()
tests/test_swiglu.py:80
Function
test_swiglu_gradient_flows
()
tests/test_swiglu.py:117
Function
test_swiglu_inputs_not_mutated
()
tests/test_swiglu.py:99
Function
test_synthetic_rl_batch_cuda_smoke
()
tests/test_rl_batch_fixture.py:135
Function
test_synthetic_rl_batch_is_deterministic
()
tests/test_rl_batch_fixture.py:40
Function
test_synthetic_rl_batch_shapes_and_masks
()
tests/test_rl_batch_fixture.py:10
Function
test_tensor_parallel_metadata_requires_multi_rank_group
()
tests/test_linear_logp.py:371
Method
test_theta_affects_output
Different theta must produce different results.
tests/test_rope.py:110
Function
test_tied_embedding_lm_head_shared_gradient_is_layout_invariant
()
tests/test_linear_logp.py:315
Function
test_time_kernel_resets_peak_memory_once
(monkeypatch)
tests/test_profiler.py:39
Function
test_training_contract_accepts_reference_logps_for_truncated_completions
()
tests/test_stateless_training_contract.py:237
Function
test_triton_apply_with_per_sequence_advantages_matches_native
()
tests/test_grpo_loss.py:261
Function
test_triton_backward_matches_native
(use_bias)
tests/test_linear_logp.py:450
Function
test_triton_backward_matches_native
()
tests/test_ratio_kl.py:129
Function
test_triton_backward_matches_native
()
tests/test_grpo_loss.py:210
Function
test_triton_backward_with_grad_scaling
A non-unit upstream gradient must scale the policy-logits gradient linearly.
tests/test_ratio_kl.py:163
Function
test_triton_backward_with_grad_scaling
A non-unit upstream gradient must scale the policy-logits gradient linearly.
tests/test_grpo_loss.py:230
Function
test_triton_forward_matches_native
(vocab)
tests/test_ratio_kl.py:118
Function
test_triton_forward_matches_native
()
tests/test_grpo_loss.py:186
Function
test_triton_forward_matches_native_bf16
()
tests/test_linear_logp.py:437
Function
test_triton_forward_matches_native_fp32
()
tests/test_linear_logp.py:426
Function
test_triton_gradients_flow_to_inputs_only
()
tests/test_linear_logp.py:473
Function
test_triton_group_advantages_matches_native
()
tests/test_grpo_loss.py:248
Function
test_triton_grpo_gradient_step_reduces_loss
()
tests/test_grpo_loss.py:338
Function
test_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
Function
test_triton_large_vocab_smoke
()
tests/test_linear_logp.py:498
Function
test_triton_masked_tokens_do_not_affect_active
Garbage logits at masked positions must not change active outputs.
tests/test_ratio_kl.py:180
Function
test_triton_no_grad_to_ref
The reference is frozen: the fused backward must not reach ref_logits.
tests/test_ratio_kl.py:150
Function
test_triton_preserves_leading_shape
()
tests/test_linear_logp.py:487
Function
test_unknown_workload_is_rejected
()
tests/test_profiler.py:151
Function
test_variable_group_boundaries
()
tests/test_grpo_loss.py:110
Function
test_vllm_checkpoint_reload_adapter_requires_weights_path
()
tests/test_weight_sync_bridge.py:853
Function
test_vllm_checkpoint_reload_adapter_uses_manifest_weights_path
()
tests/test_weight_sync_bridge.py:790
Function
test_vllm_checkpoint_reload_adapter_uses_resolver
()
tests/test_weight_sync_bridge.py:827
Function
test_vllm_cuda_vmm_external_storage_adapter_rebinds_matching_parameters
(monkeypatch)
tests/test_weight_sync_bridge.py:872
Function
test_vllm_cuda_vmm_external_storage_adapter_requires_cuda_vmm_manifest
()
tests/test_weight_sync_bridge.py:863
Function
test_vllm_cuda_vmm_external_storage_adapter_rolls_back_partial_rebind
(monkeypatch)
tests/test_weight_sync_bridge.py:924
Function
test_vllm_engine_receives_disabled_prefix_cache_flag
()
tests/test_vllm_rollout_sampler.py:169
Function
test_vllm_engine_receives_prefix_cache_flag_and_sampling_params
()
tests/test_vllm_rollout_sampler.py:97
Function
test_vllm_in_process_reload_adapter_does_not_activate_failed_reload
()
tests/test_weight_sync_bridge.py:767
Function
test_vllm_in_process_reload_adapter_requires_complete_manifest
()
tests/test_weight_sync_bridge.py:756
Function
test_vllm_in_process_reload_adapter_uses_collective_rpc_reload_weights
()
tests/test_weight_sync_bridge.py:693
Function
test_vllm_in_process_reload_adapter_uses_direct_reload_weights_capability
()
tests/test_weight_sync_bridge.py:729
Function
test_vllm_install_adapter_releases_ipc_keepalive_when_update_fails
()
tests/test_weight_sync_bridge.py:672
Function
test_vllm_install_adapter_releases_ipc_request_builder_keepalive
()
tests/test_weight_sync_bridge.py:648
Function
test_vllm_ipc_request_builder_creates_public_update_request_for_cuda_tensors
()
tests/test_weight_sync_bridge.py:602
Function
test_vllm_ipc_request_builder_requires_cuda_tensors
()
tests/test_weight_sync_bridge.py:635
Function
test_vllm_update_weights_api_requires_explicit_request_builder
()
tests/test_weight_sync_bridge.py:587
Function
test_vllm_weight_install_adapter_requires_verified_capability
()
tests/test_weight_sync_bridge.py:546
Function
test_vllm_weight_install_adapter_uses_explicit_capability
()
tests/test_weight_sync_bridge.py:526
Function
test_vllm_weight_install_adapter_uses_public_update_weights_request_builder
()
tests/test_weight_sync_bridge.py:556
Function
test_weight_scaling_no_plus_one
()
tests/test_rms_norm.py:103
Function
test_workload_registry_drives_cli_defaults
()
tests/test_profiler.py:143
Function
timed_step
()
tests/linear_logp_tp.py:394
Method
to_dict
(self, *, include_raw: bool = False)
rl_engine/executors/vllm_sampler.py:70
Method
to_dict
(self)
rl_engine/kernels/gtest/op_checks.py:89
Method
total_mb
(self)
rl_engine/executors/stateless_executor.py:89
Method
total_nbytes
(self)
rl_engine/executors/bridge.py:1404
Method
total_seq_len
(self)
rl_engine/testing/rl_batch.py:33
Method
train
(self, rollout: RolloutStageResult)
rl_engine/executors/training_contract.py:53
Method
train
(self, rollout: Any)
rl_engine/executors/ray_actor_manager.py:162
Method
train
(self, rollout: Any)
rl_engine/executors/ray_actor_manager.py:196
Function
triton_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
Function
triton_fwd
(p=policy)
benchmarks/benchmark_grpo_loss.py:97
Function
triton_fwd_bwd
(p=pol_grad)
benchmarks/benchmark_grpo_loss.py:107
Method
update_weights
(self, manifest: WeightUpdateManifest)
rl_engine/executors/ray_actor_manager.py:148
Method
update_weights
(self, manifest: WeightUpdateManifest)
rl_engine/executors/ray_actor_manager.py:199
Method
update_weights
(self, request)
tests/test_weight_sync_bridge.py:563
Method
update_weights
(self, request)
tests/test_weight_sync_bridge.py:680
Method
warn_once
(self, msg: str, *args: Any)
rl_engine/utils/logger.py:48
Function
workload
()
tests/test_profiler.py:48
Function
wrapped_backward
(loss)
tests/test_deepspeed_training_worker.py:503
← previous
1,201–1,290 of 1,290, ranked by callers