Skip to content
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

FIX: Type annotation torch.Any #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BenjaminBossan
Copy link

See #136.

Use typing.Any instead. torch.Any fails with torch 2.5.

See Vahe1994#136

Use typing.Any instead. torch.Any fails with torch 2.5.
BenjaminBossan added a commit to BenjaminBossan/peft that referenced this pull request Oct 30, 2024
See: Vahe1994/AQLM#139

It is unclear if/when AQLM will fix this and if there might not be other
issues with torch 2.5.
BenjaminBossan added a commit to huggingface/peft that referenced this pull request Oct 30, 2024
See: Vahe1994/AQLM#139

It is unclear if/when AQLM will fix this and if there might not be other
issues with torch 2.5.
@werruww
Copy link

werruww commented Nov 20, 2024

AttributeError: module 'torch' has no attribute 'Any'

with
pip3 install torch==2.5.0 torchvision --index-url https://download.pytorch.org/whl/test/cu118

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.

2 participants