New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ultralytics 8.1.2
scope HUB-SDK imports
#7596
Conversation
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@kalenmike @hassaanfarooq01 I'm scoping HUB-SDK imports here to resolve the Conda build issues. I noticed most of the usage is importing Could we define these locally identically to allow for local imports instead of importing them from HUB_API_ROOT = os.environ.get("ULTRALYTICS_HUB_API", "https://api.ultralytics.com")
HUB_WEB_ROOT = os.environ.get("ULTRALYTICS_HUB_WEB", "https://hub.ultralytics.com") This would make this part simpler, otherwise I don't see a solution to running this check on model load: ultralytics/ultralytics/engine/model.py Lines 120 to 129 in cf50bd9
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7596 +/- ##
==========================================
- Coverage 76.10% 76.08% -0.02%
==========================================
Files 117 117
Lines 14332 14336 +4
==========================================
+ Hits 10907 10908 +1
- Misses 3425 3428 +3
Flags with carried forward coverage won't be shown. Click here to find out more. β View full report in Codecov by Sentry. |
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
ultralytics 8.1.2
scope HUB-SDK imports
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Scopes HUB-SDK imports to allow for Conda publishing.
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Updated dependencies and internal references related to Ultralytics HUB.
π Key Changes
hub-sdk
from main dependencies, now listed as an optional "extra".8.1.1
to8.1.2
.HUB_API_ROOT
andHUB_WEB_ROOT
.hub-sdk
before usingHUBClient
to ensure the required package is installed.HUB_API_ROOT
andHUB_WEB_ROOT
to make the API endpoints easily configurable.π― Purpose & Impact
hub-sdk
to optional dependencies, users who do not need HUB functionality won't have to install it, reducing unnecessary overhead.hub-sdk
before usingHUBClient
prevents runtime errors due to missing dependencies.π Note: Non-expert users might not directly interact with these changes, but they contribute to a more stable and versatile software ecosystem.