Skip to content

fix provider imports#42

Merged
BertrandRenault merged 1 commit intomainfrom
fix/provider-imports
Jun 20, 2025
Merged

fix provider imports#42
BertrandRenault merged 1 commit intomainfrom
fix/provider-imports

Conversation

@BertrandRenault
Copy link
Contributor

@BertrandRenault BertrandRenault commented Jun 18, 2025

Issue

providers & models import in __init__.py cause loading of other provider/model when not needed

Description

Remove provider/model imports from __init__.py
Now user have to import with full path

ex:
from pixano_inference.providers.sam2 import SAM2Provider
instead of
from pixano_inference.providers import SAM2Provider

@BertrandRenault BertrandRenault self-assigned this Jun 18, 2025
@BertrandRenault BertrandRenault added bug: minor Minor issues, minimal user impact scope: back Related to Pixano Inference backend labels Jun 18, 2025
@BertrandRenault BertrandRenault requested a review from benlabbe June 18, 2025 16:55
@BertrandRenault BertrandRenault merged commit c97b6f3 into main Jun 20, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: minor Minor issues, minimal user impact scope: back Related to Pixano Inference backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants