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

RuntimeError: derivative for floor_divide is not implemented #5

Open
AIbeginner2020 opened this issue Sep 16, 2020 · 3 comments
Open

Comments

@AIbeginner2020
Copy link

Very appreciate for your implementation.
"RuntimeError: derivative for floor_divide is not implemented"
I have encounter this problem when i try to transform the conv layer to DSQ conv ,
and I can't find this function implement anywhere in the code.
Would you please tell me how to solve the above problem?
Thank you very much.

@ricky40403
Copy link
Owner

Hi, I guess that you are using PyTorch >= 1.5.0.
It seems to be the problem of PyTorch API.
I did not meet this in version 1.4.0., and floor_divide seems to be added after 1.5.0.

@flyingTan
Copy link

flyingTan commented Nov 7, 2020

Very appreciate for your implementation.
"RuntimeError: derivative for floor_divide is not implemented"
I have encounter this problem when i try to transform the conv layer to DSQ conv ,
and I can't find this function implement anywhere in the code.
Would you please tell me how to solve the above problem?
Thank you very much.

Very appreciate for your implementation.
"RuntimeError: derivative for floor_divide is not implemented"
I have encounter this problem when i try to transform the conv layer to DSQ conv ,
and I can't find this function implement anywhere in the code.
Would you please tell me how to solve the above problem?
Thank you very much.

Hi, I have the same problem, can u tell where the problem is and how to solve it, thanks! @ricky40403

@Arctanxy
Copy link

Hi, I guess that you are using PyTorch >= 1.5.0.
It seems to be the problem of PyTorch API.
I did not meet this in version 1.4.0., and floor_divide seems to be added after 1.5.0.

Can I treat floor_divide as divide when backwarding ?

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

4 participants