Conversation
|
👋 Hello @glenn-jocher, thank you for submitting an Ultralytics pull request! 🚀 To ensure a seamless integration of your changes into the
For additional guidance, you can refer to our Contributing Guide. Feel free to ask if you have any questions or need assistance. An Ultralytics engineer will review your PR soon. Thanks for your valuable contribution to Ultralytics! 🌟 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17749 +/- ##
==========================================
- Coverage 78.64% 74.01% -4.64%
==========================================
Files 127 127
Lines 17099 17099
==========================================
- Hits 13447 12655 -792
- Misses 3652 4444 +792
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Hi, @glenn-jocher what's the advantage of using uv? |
|
Faster, but it looks like it's causing problems here unfortunately. |
check installation logs
|
@glenn-jocher After several tries I figured CI failing mostly because of I found the versions of tensorflowjs that compatible with × No solution found when resolving dependencies:
╰─▶ Because tensorflowjs>=4.5.0,<=4.10.0 depends on packaging>=20.9,<21.dev0
and only the following versions of tensorflowjs are available:
tensorflowjs<=4.11.0
tensorflowjs==4.12.0
tensorflowjs>=4.13.0
we can conclude that all of:
tensorflowjs>=4.5.0,<4.11.0
tensorflowjs>4.11.0,<4.12.0
tensorflowjs>4.12.0,<4.13.0
depend on packaging>=20.9,<21.dev0.
And because all of:
tensorflowjs==4.11.0
tensorflowjs==4.12.0
tensorflowjs>=4.13.0
depend on packaging>=23.1,<24.dev0 and only packaging>=22.0 is
available, we can conclude that tensorflowjs>=4.5.0 depends on
packaging>=23.1,<24.dev0.
And because only the following versions of packaging are available:
packaging<23.1
packaging>24.dev0
and ultralytics[export]==8.3.38 depends on tensorflowjs>=4.5.0, we can
conclude that ultralytics[export]==8.3.38 cannot be used.
And because only ultralytics[export]==8.3.38 is available and you
require ultralytics[export], we can conclude that your requirements
are unsatisfiable.
hint: Pre-releases are available for tensorflowjs in the requested
range (e.g., 4.13.0rc0), but pre-releases weren't enabled (try:
`--prerelease=allow`)
hint: An index URL (https://download.pytorch.org/whl/cpu) could not
be queried due to a lack of valid authentication credentials (403
Forbidden).
hint: packaging was requested with a pre-release marker (e.g.,
packaging>=20.9,<21.dev0), but pre-releases weren't enabled (try:
`--prerelease=allow`)
hint: `packaging` was found on https://download.pytorch.org/whl/cpu,
but not at the requested version (packaging>=20.9,<21.dev0). A
compatible version may be available on a subsequent index (e.g.,
https://pypi.org/simple). By default, uv will only consider versions
that are published on the first index that contains a given package, to
avoid dependency confusion attacks. If all indexes are equally trusted,
use `--index-strategy unsafe-best-match` to consider all versions from
all indexes, regardless of the order in which they were defined. |
|
@glenn-jocher ok reported a issue to the official |
|
@glenn-jocher @Laughing-q GPU CI is also not working correctly right now. It passes, but it's running tests on the container installed Ultralytics package instead of the local/PR changes. Visible from the logs that shows the install type to be A fix was tested on this issue: #17781 (comment) |
|
@Y-T-G @Skillnoob Hey I saw the error in that PR and thanks guys for the fix there! Probably it'd be better to open another PR to fix the issue there instead of directly modifying the user's PR since it's a common issue than a PR issue. Can you guys open another PR for it? THanks |
|
@Laughing-q Created #17883 |
|
@Skillnoob nice work! Thanks! |
@glenn-jocher |
|
@Skillnoob @Y-T-G #17883 merged, updating this one now, nice work! |
uv pip install for Benchmarks
|
@Laughing-q PR merged, great work! |
Co-authored-by: Ultralytics Assistant <[email protected]> Co-authored-by: Laughing <[email protected]> Co-authored-by: Laughing-q <[email protected]>

🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Streamlined GitHub Actions by integrating
astral-sh/setup-uv, enhancing consistency and efficiency in the CI pipeline. 🚀📊 Key Changes
astral-sh/setup-uv@v3for unifieduvtool installation and management.uv pipfor improved package handling, replacing plainpip.uvfor listing installed packages.🎯 Purpose & Impact
uvtool simplifies dependency management and standardizes CI workflows. 🔧