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

Add support for PyTorch 2.6 #494

Merged
merged 6 commits into from
Feb 9, 2025
Merged

Add support for PyTorch 2.6 #494

merged 6 commits into from
Feb 9, 2025

Conversation

akihironitta
Copy link
Member

@akihironitta akihironitta commented Feb 9, 2025

Adds support for PyTorch 2.6.

Fixes type issues raised by mypy with PyTorch 2.6:

Found 6 errors in 4 files (checked 87 source files)
torch_frame/nn/encoding/cyclic_encoding.py:31: error: "Tensor" not callable  [operator]
torch_frame/nn/conv/excelformer_conv.py:95: error: Value of type "Union[Tensor, Module]" is not indexable  [index]
torch_frame/nn/conv/excelformer_conv.py:96: error: Value of type "Union[Tensor, Module]" is not indexable  [index]
torch_frame/nn/models/tabnet.py:261: error: "Tensor" not callable  [operator]
torch_frame/nn/models/tabnet.py:263: error: "Tensor" not callable  [operator]

@akihironitta akihironitta enabled auto-merge (squash) February 9, 2025 11:33
@akihironitta akihironitta disabled auto-merge February 9, 2025 11:33
@akihironitta akihironitta merged commit 6a0bf8c into master Feb 9, 2025
25 checks passed
@akihironitta akihironitta deleted the aki/pt26 branch February 9, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant