HF RL Explorer

Fix packed-struct lowering for opaque-pointer kernels

Fix packed-struct lowering for opaque-pointer kernels: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). The rewrite-packed-structs transformation is responsible for reducing the alignment of packed structures that are used as kernel buffer arguments, so that the buffer can…

The task

The rewrite-packed-structs transformation is responsible for reducing the alignment of packed structures that are used as kernel buffer arguments, so that the buffer can later be emitted with a layout Vulkan accepts. It does this by treating the packed structure as a flat byte…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.