You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT][alignment]: audit GRPO loss reduction semantics and add production-scale validation #64
component: alignmentTasks involving RL loss functions such as DPO and GRPO, and mathematical alignment logicpriority: highSevere congestion issues require the highest priority for resolution.
Make GRPO loss reduction semantics explicit and validate them under ragged,
large-shape, production-like rollout workloads.
Background
Issue #16 averages over active completion tokens globally. This is correct for
the current Kernel-Align objective contract, but DeepSeek-style GRPO may require
sequence-level averaging before group/batch aggregation depending on the target
formula. The behavior should be explicit, configurable if needed, and tested on
ragged completions.
Tasks
Document the target GRPO loss formula.
Compare global-token mean vs per-sequence mean behavior.
Add config support if both reduction modes are required.
Add tests where completion lengths differ and the two reductions produce
different results.
Add larger CUDA benchmark profiles for realistic group sizes, completion
lengths, and vocabulary sizes.
Record memory/time/drift evidence in issue docs.
Keep smoke tests fast and deterministic.
Acceptance Criteria
Loss reduction mode is explicit in config and metrics.
Ragged completion tests prove the selected behavior.
CUDA benchmark evidence covers both small smoke and larger production-shaped inputs.
component: alignmentTasks involving RL loss functions such as DPO and GRPO, and mathematical alignment logicpriority: highSevere congestion issues require the highest priority for resolution.
Activity
inaniloquentee commentedon Jun 3, 2026
This is the PR: https://github.com/Flink-ddd/RL-Kernel/pull/67
[DSv4][P5-5] Shared Expert MLP: strict CUDA + Triton kernels (RL-Alig…
[DSv4][P5-5] Shared Expert MLP: strict CUDA + Triton kernels (RL-Alig…