-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Update torch and other dependencies to make it work on 24.04 #15716
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
Open
janbernloehr
wants to merge
5
commits into
AUTOMATIC1111:dev
Choose a base branch
from
janbernloehr:jbernlo/update-dependencies
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8f8ea14
Update dependencies to work with 24.04
janbernloehr 2b65a03
Update mac versions for consistency
janbernloehr 0832b7d
Downgrade fastapi
janbernloehr 2dc4e19
Add spandrel back
janbernloehr 63a6f20
Fix torch lightning before importing shared_init
janbernloehr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
GitPython==3.1.32 | ||
Pillow==9.5.0 | ||
accelerate==0.21.0 | ||
blendmodes==2022 | ||
clean-fid==0.1.35 | ||
diskcache==5.6.3 | ||
einops==0.4.1 | ||
facexlib==0.3.0 | ||
fastapi==0.94.0 | ||
gradio==3.41.2 | ||
httpcore==0.15 | ||
inflection==0.5.1 | ||
jsonmerge==1.8.0 | ||
kornia==0.6.7 | ||
lark==1.1.2 | ||
numpy==1.26.2 | ||
omegaconf==2.2.3 | ||
open-clip-torch==2.20.0 | ||
piexif==1.1.3 | ||
psutil==5.9.5 | ||
pytorch_lightning==1.9.4 | ||
resize-right==0.0.2 | ||
safetensors==0.4.2 | ||
scikit-image==0.21.0 | ||
spandrel==0.1.6 | ||
tomesd==0.1.3 | ||
torch | ||
torchdiffeq==0.2.3 | ||
torchsde==0.2.6 | ||
transformers==4.30.2 | ||
httpx==0.24.1 | ||
pillow-avif-plugin==1.4.3 | ||
GitPython==3.1.43 | ||
Pillow==10.3.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if PIL is upgreaded to >= 10.0 then some things will have to be re-witten similar issues can exist in other dependencies |
||
accelerate==0.29.3 | ||
blendmodes==2024.1.1 | ||
clean-fid==0.1.35 | ||
diskcache==5.6.3 | ||
einops==0.8.0 | ||
facexlib==0.3.0 | ||
fastapi==0.90.1 | ||
gradio==3.41.2 | ||
httpcore==1.0.5 | ||
inflection==0.5.1 | ||
jsonmerge==1.9.2 | ||
kornia==0.7.2 | ||
lark==1.1.9 | ||
numpy==1.26.4 | ||
omegaconf==2.3.0 | ||
open-clip-torch==2.24.0 | ||
piexif==1.1.3 | ||
psutil==5.9.8 | ||
pydantic==1.10.15 | ||
pytorch-lightning==2.2.4 | ||
resize-right==0.0.2 | ||
safetensors==0.4.3 | ||
scikit-image==0.23.2 | ||
spandrel==0.2.2 | ||
tomesd==0.1.3 | ||
torch | ||
torchdiffeq==0.2.3 | ||
torchsde==0.2.6 | ||
transformers==4.34.1 | ||
httpx==0.27.0 | ||
pillow-avif-plugin==1.4.3 |
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
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.
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.
config=pretrained_model_name_or_path
can be removed since it has the same behavior.See: https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_utils.py#L3611
This is the only place where it is used as a string/path and in the next line it gets replaced anyway.