Skip to content

Conversation

@ArthurBrussee
Copy link
Contributor

Validate your PR with burn.

It is important that you make sure that you don't introduce any bugs in burn.

Instructions

  • Create a new branch or fork of the burn repo
  • Update the main Cargo.toml with this PR hash.
  • Fix any broken tests or compilation errors in burn.
  •  Submit a PR in burn with your fixes and link it here.

@ArthurBrussee
Copy link
Contributor Author

This is currently blocked as after gfx-rs/wgpu@b538522, buffers binding size now needs to be 4 byte aligned, which is failing some tests with eg. f16 elements in Burn.

The reasoning is here gpuweb/gpuweb#3477 thought it might be removed after all discussed here gpuweb/gpuweb#5203.

For now we'd need to pad the binding sizes. This is mostly ok except that for checked kernels it breaks Vulkan robustuness, so would need manual checks there after all. @wingertge proposal is to JIT different kernels depending on whether any of the inputs have padding or not. Unchecked kernels aren't affected.

@laggui laggui mentioned this pull request Oct 23, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant