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

Is there any reduction in memory? #10

Open
KayChou opened this issue Sep 14, 2018 · 1 comment
Open

Is there any reduction in memory? #10

KayChou opened this issue Sep 14, 2018 · 1 comment

Comments

@KayChou
Copy link

KayChou commented Sep 14, 2018

Hi, Thank you for your pytorch version of BinaryNet.

I am wondering is there any reduction in memory. I call the function Quantize() in the file binary_modules so that I can compact each parameter to 8 bits. However, CPU still allocate 32bits to each float number, as aresult, there is no memory reduction ? Do you have any ideas?

Looking forward to your reply

@CuauSuarez
Copy link

Just wild guessing here but I think that changing the dtype of the tensor should do the work.

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

2 participants