tensordict: add build-tensordict.yml for riscv64 wheels - #1868
Merged
Conversation
luhenry
added a commit
that referenced
this pull request
Sep 12, 2026
luhenry
added a commit
that referenced
this pull request
Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tensordict0.14.0Compiles a small pybind11 extension (
tensordict._C, key-unraveling helpers) that does not link libtorch;torchis a pure runtime dependency, already published on pypi.riseproject.dev. Upstream publishes no riscv64 wheel.Mirrors upstream's
build-wheels-linux.yml, narrowed to a plain cibuildwheel build since upstream's ownpytorch/test-infrareusable workflow doesn't apply here.Differs from upstream
SETUPTOOLS_SCM_PRETEND_VERSION- pins a clean wheel version instead of setuptools_scm's git-derived+g<sha>default.pip install cmakeinbefore-build- setup.py shells out tocmakedirectly, not apyproject.tomlbuild dependency.Matrix: cp312/cp313/cp314/cp314t only -
torchhas no riscv64 wheel on pypi.riseproject.dev for cp310/cp311.Testing
test/smoke_test.py)torch/numpy/orjsonresolved from pypi.riseproject.dev; public PyPI ships no riscv64 wheel for any of the three.License: OK
Patches
0001-csrc-request-only-Development.Module-from-FindPython.patch- To upstream (not submitted; this repo does not open issues/PRs on third-party repositories). CMake'sDevelopmentcomponent pulls inDevelopment.Embed, which fails on manylinux's static-libpython builds; an extension module only needsDevelopment.Module. Reproduces on manylinux x86_64/aarch64 too, not just riscv64.Built on cp312; smoke test passed.