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
TypeError: requires_grad_() takes 1 positional argument but 2 were given #41
Comments
Can you please post the entire stack trace wrapped around the code ticks? I'm pretty sure this has been fixed in the master version of fastai, but I can't tell without that. |
edited above comment accordingly |
Yes, this has been fixed in master of fastai. However I'm also relooking the intrinsic attention implementation right now, so you may want to wait a day or two |
So I was loading fastai through fastbook. I should load fastai directly from github? |
Yes, this is what I mean by master |
Same solution. Load with github until the latest release. |
Could you please tell me how to do that? My issue is not related to fastinference, but the error is same using fastai when i was trying to activate tensorboard callbacks |
pip install git+https://github.com/fastai/fastai
pip install git+https://github.com/fastai/fastcore |
I did as you said, but im still facing that error.
The error:
|
Given this is a |
Here's the code I'm using
The text was updated successfully, but these errors were encountered: