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

test can't run in 0.1.8 #69

Closed
CaiWang0503 opened this issue Jun 17, 2021 · 2 comments
Closed

test can't run in 0.1.8 #69

CaiWang0503 opened this issue Jun 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@CaiWang0503
Copy link
Contributor

hi there,
when i update to 0.1.8 and run the test model, it throws an error.
what happen with my mac?
Screen Shot 2021-06-17 at 7 07 11 PM

@MaximilianPi
Copy link
Member

Hi Cai Wang,
the package is not yet compatible with torch 1.9 (which was published this week), I will fix this asap.

@MaximilianPi MaximilianPi added the bug Something isn't working label Jun 17, 2021
MaximilianPi added a commit that referenced this issue Jun 17, 2021
tensordot has no consistent func signature for torch and torchscript
#69
@MaximilianPi
Copy link
Member

I pushed a fix. The problem was that the tensordot function didn't has the same signature for torch and torchscript in the past (an additional jit compilation step we use), see https://pytorch.org/docs/stable/jit_unsupported.html. PyTorch 1.9 seems to fix this behaviour but it would break compatibility with older versions. But I was able to solve this issue by using einsum instead of tensordot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants