Skip to content

Conversation

@pplantinga
Copy link
Collaborator

Closes #1493

As PyTorch is more stable, I think it makes sense to remove the maximum compatible version.

Is anyone aware of why the minimum versions were different between setup.py and requirements.txt? I updated setup.py to reflect the more stringent requirement in requirements.txt but anyone with more info could chime in if there is a good reason for it.

@pplantinga pplantinga requested a review from TParcollet July 14, 2022 16:35
"packaging",
"scipy",
"sentencepiece",
"torch>=1.7,<=1.11",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this cause an error ? 1. nothing after

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 7 is replaced by a 9 to try and synchronize the requirements.txt and setup.py to have the same minimum version of torch. I'm not totally sure why it was different to begin with, if you know it was intentional we can leave it as 1.7

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dunno ...

@TParcollet TParcollet merged commit f9bd8ad into speechbrain:develop Jul 18, 2022
@pplantinga pplantinga deleted the remove-torch-max-version branch September 10, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Torch 1.12 not compatible?

2 participants