Skip to content

ci: add riscv64 target to linux wheel build matrix#1963

Closed
gounthar wants to merge 1 commit intohuggingface:mainfrom
gounthar:feat/add-riscv64-wheel
Closed

ci: add riscv64 target to linux wheel build matrix#1963
gounthar wants to merge 1 commit intohuggingface:mainfrom
gounthar:feat/add-riscv64-wheel

Conversation

@gounthar
Copy link
Copy Markdown

Summary

Add riscv64 to the maturin-action linux build matrix in python-release.yml so that linux_riscv64 wheels are built and published to PyPI.

maturin-action cross-compiles via riscv64gc-unknown-linux-gnu cargo target — no QEMU or additional infrastructure needed.

Evidence

Context

  • riscv64gc-unknown-linux-gnu is a Rust tier-2 target with std available
  • maturin-action handles cross-compilation transparently
  • Sibling HuggingFace project safetensors has a similar PR open
  • RISC-V hardware is shipping (SiFive, SpacemiT, Sophgo SG2044)

Fixes #1961

@gounthar
Copy link
Copy Markdown
Author

Closing in favor of #1951 by @threexc (BayLibre/RISE) which was opened first. Coordinating to avoid duplicates going forward.

@gounthar gounthar closed this Mar 19, 2026
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.

Add riscv64 (linux_riscv64) wheel to PyPI releases

1 participant