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

Cuda version #117

Open
jiaji-huang opened this issue Dec 7, 2022 · 1 comment
Open

Cuda version #117

jiaji-huang opened this issue Dec 7, 2022 · 1 comment

Comments

@jiaji-huang
Copy link

jiaji-huang commented Dec 7, 2022

Is this package tested on more recent cuda and pytorch versions?

My code calls fast_transformers.causal_product, which is actually the only function I call from this package.

I setup this package with latest pytorch 1.13.0+cuda11.6, and get NaN errors at training. This, however, doesn't happen with the older pytorch 1.7.1+cuda11.0.

@jiaji-huang
Copy link
Author

Actually, a follow-up of my question, I think the issue can be resolved by installing from source.

Instead of pip install pytorch-fast-transformers, cloning the repo and running python setup.py install gets rid of the NaN I had before.

But I'd like to hear more thoughts.

@DrBrule DrBrule mentioned this issue Jan 19, 2024
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

No branches or pull requests

1 participant