-
Notifications
You must be signed in to change notification settings - Fork 6k
Make repo structure consistent #1862
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
Conversation
from transformers import CLIPTextModelWithProjection, CLIPTokenizer | ||
|
||
from ...models import PriorTransformer, UNet2DConditionModel, UNet2DModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@williamberman inside src/diffusers
we always use relative imports to make sure the pypi package is nicely self-contained.
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the effort!
@@ -1,7 +1,6 @@ | |||
__version__ = "0.12.0.dev0" | |||
|
|||
from .configuration_utils import ConfigMixin | |||
from .onnx_utils import OnnxRuntimeModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for workingon this!
* move files a bit * more refactors * fix more * more fixes * fix more onnx * make style * upload * fix * up * fix more * up again * up * small fix * Update src/diffusers/__init__.py Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * correct Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
This PR restructures the repo a bit:
src/diffusers/models
src/diffusers/pipelines
attention.py
.diffusers
etc...