torchtune icon indicating copy to clipboard operation
torchtune copied to clipboard

DEBUG: Version Control Issue for uv pyproject.toml

Open JasonHonKL opened this issue 5 months ago • 1 comments

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

JasonHonKL avatar Aug 12 '25 15:08 JasonHonKL

:link: Helpful Links

:test_tube: 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.

pytorch-bot[bot] avatar Aug 12 '25 15:08 pytorch-bot[bot]