fused-ops: Python 3.12 support, manylinux retagging, TestPyPI toggle, wheel caching#96
Open
jilei-hao wants to merge 14 commits intorohitrango:mainfrom
Open
fused-ops: Python 3.12 support, manylinux retagging, TestPyPI toggle, wheel caching#96jilei-hao wants to merge 14 commits intorohitrango:mainfrom
jilei-hao wants to merge 14 commits intorohitrango:mainfrom
Conversation
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.
Summary
via
deadsnakes/ppa; dropspython3.12-distutils(not available) and bootstrapspip with
get-pip.pyinsteadlinux_x86_64→manylinux2014_x86_64so PyPI accepts them without a manual upload stepworkflow_dispatchnow exposes ause_testpypiboolean input;the publish step routes credentials and repository URL accordingly — no more
editing the YAML to test a release
actions/cachekeyed on source file hashes skips rebuild whensources haven't changed, cutting CI time on re-runs
python setup.py bdist_wheel→python -m pip wheel(avoidssetup.pydeprecation warnings)python -m pipconsistently throughoutset -euo pipefailon all steps viadefaults.run.shelltwine upload --skip-existing --verboseto survive partial re-uploadssetup.py: name is derived fromCUDA_VERSIONenv var(e.g.
fireants-fused-ops-cu124); version bumped to1.2.0; torch lower-boundrelaxed to
>=2.1.0scripts/test_fusedops_import_from_pypi.shinstalls eachCUDA/Torch/Python variant from TestPyPI into isolated conda envs and runs the
import + optional pytest suite
Test plan
publish_fusedopsworkflow viaworkflow_dispatchwithuse_testpypi: trueand verify all 9 matrix jobs (Py3.10/3.11/3.12 ×CUDA 11.8/12.1/12.4) produce valid
.whlartifacts taggedmanylinux2014_x86_64scripts/test_fusedops_import_from_pypi.shon a CUDA-capable machineagainst TestPyPI wheels to confirm import succeeds for each variant
use_testpypi: falseon a release tag and confirm uploadto PyPI succeeds with
--skip-existinghandling duplicates gracefully