[Dependency] Remove the version restriction of transformers and diffuers#475
Merged
yaoyaoding merged 2 commits intomainfrom Nov 13, 2024
Merged
[Dependency] Remove the version restriction of transformers and diffuers#475yaoyaoding merged 2 commits intomainfrom
yaoyaoding merged 2 commits intomainfrom
Conversation
vadiklyutiy
approved these changes
Nov 12, 2024
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 19, 2024
Refer to [this ](#440). The user tried to concat an empty tensor to a non-empty one, and expecting the same behavior as pytorch.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 19, 2024
…ers (#475) The old version of `diffusers` used a depreciated (now completed removed) api in `huggingface_hub`. Thus, it's better to keep the versions up to date to prevent such problems in the future. The error log in our ci: ```text ImportError while importing test module '/__w/hidet/hidet/tests/apps/test_pretrained.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /__w/_tool/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/apps/test_pretrained.py:14: in <module> from hidet.apps import PretrainedModel, hf /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/hidet/apps/hf.py:16: in <module> from diffusers import StableDiffusionPipeline /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/__init__.py:5: in <module> from .utils import ( /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/__init__.py:[38](https://github.com/hidet-org/hidet/actions/runs/11719752494/job/32643700257#step:9:40): in <module> from .dynamic_modules_utils import get_class_from_dynamic_module /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py:28: in <module> from huggingface_hub import cached_download, hf_hub_download, model_info E ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/__init__.py) ``` Also increase the tol in one flaky test.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 20, 2024
Refer to [this ](#440). The user tried to concat an empty tensor to a non-empty one, and expecting the same behavior as pytorch.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 20, 2024
…ers (#475) The old version of `diffusers` used a depreciated (now completed removed) api in `huggingface_hub`. Thus, it's better to keep the versions up to date to prevent such problems in the future. The error log in our ci: ```text ImportError while importing test module '/__w/hidet/hidet/tests/apps/test_pretrained.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /__w/_tool/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/apps/test_pretrained.py:14: in <module> from hidet.apps import PretrainedModel, hf /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/hidet/apps/hf.py:16: in <module> from diffusers import StableDiffusionPipeline /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/__init__.py:5: in <module> from .utils import ( /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/__init__.py:[38](https://github.com/hidet-org/hidet/actions/runs/11719752494/job/32643700257#step:9:40): in <module> from .dynamic_modules_utils import get_class_from_dynamic_module /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py:28: in <module> from huggingface_hub import cached_download, hf_hub_download, model_info E ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/__init__.py) ``` Also increase the tol in one flaky test.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 26, 2024
…ers (#475) The old version of `diffusers` used a depreciated (now completed removed) api in `huggingface_hub`. Thus, it's better to keep the versions up to date to prevent such problems in the future. The error log in our ci: ```text ImportError while importing test module '/__w/hidet/hidet/tests/apps/test_pretrained.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /__w/_tool/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/apps/test_pretrained.py:14: in <module> from hidet.apps import PretrainedModel, hf /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/hidet/apps/hf.py:16: in <module> from diffusers import StableDiffusionPipeline /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/__init__.py:5: in <module> from .utils import ( /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/__init__.py:[38](https://github.com/hidet-org/hidet/actions/runs/11719752494/job/32643700257#step:9:40): in <module> from .dynamic_modules_utils import get_class_from_dynamic_module /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py:28: in <module> from huggingface_hub import cached_download, hf_hub_download, model_info E ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/__init__.py) ``` Also increase the tol in one flaky test.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 26, 2024
Refer to [this ](#440). The user tried to concat an empty tensor to a non-empty one, and expecting the same behavior as pytorch.
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 26, 2024
…ers (#475) The old version of `diffusers` used a depreciated (now completed removed) api in `huggingface_hub`. Thus, it's better to keep the versions up to date to prevent such problems in the future. The error log in our ci: ```text ImportError while importing test module '/__w/hidet/hidet/tests/apps/test_pretrained.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /__w/_tool/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/apps/test_pretrained.py:14: in <module> from hidet.apps import PretrainedModel, hf /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/hidet/apps/hf.py:16: in <module> from diffusers import StableDiffusionPipeline /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/__init__.py:5: in <module> from .utils import ( /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/__init__.py:[38](https://github.com/hidet-org/hidet/actions/runs/11719752494/job/32643700257#step:9:40): in <module> from .dynamic_modules_utils import get_class_from_dynamic_module /__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py:28: in <module> from huggingface_hub import cached_download, hf_hub_download, model_info E ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/__w/_tool/Python/3.8.18/x64/lib/python3.8/site-packages/huggingface_hub/__init__.py) ``` Also increase the tol in one flaky test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The old version of
diffusersused a depreciated (now completed removed) api inhuggingface_hub. Thus, it's better to keep the versions up to date to prevent such problems in the future.The error log in our ci:
Also increase the tol in one flaky test.