torchtune
torchtune copied to clipboard
DEBUG: Version Control Issue for uv pyproject.toml
Context
This project addresses the version conflict issue encountered when syncing with uv using pyproject.toml. With recent updates to the PyTorch RL libraries, syncing with uv results in the following error:
No solution found when resolving dependencies for split (python_full_version == '3.9.*'):
╰─▶ Because the requested Python version (>=3.9) does not satisfy Python>=3.10 and torchtune[async-rl] depends on math-verify[antlr4-9-3], we can conclude that torchtune[async-rl]'s
requirements are unsatisfiable.
This issue does not occur when installing with pip, but it affects the uv environment. This PR aims to fix this problem without causing any adverse effects.
[x] fix a bug
Changelog
N/A
Test plan
No test is necessary
UX
N/A
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchtune/2913
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
This comment was automatically generated by Dr. CI and updates every 15 minutes.