Skip to content

Conversation

JasonHonKL
Copy link

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

Copy link

pytorch-bot bot commented Aug 12, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchtune/2913

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.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant