Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Including pytorch? #25

Open
martinbel opened this issue May 17, 2018 · 4 comments
Open

Including pytorch? #25

martinbel opened this issue May 17, 2018 · 4 comments

Comments

@martinbel
Copy link

At the moment instally pytorch (cpu support, no cuda) can only be done installing from source which takes at least 8 hours! It would be great to have a binary!

@jjhelmus
Copy link
Owner

This would be a good addition to berryconda. I don't have the time to develop and test a recipe but would be happy to review a pull request with a working recipe.

@gaiar
Copy link
Contributor

gaiar commented May 28, 2018

Hi!
Seems, that I've managed to get pytorch installing via conda on my raspberry pi 3, including all dependencies. You can check here:
https://anaconda.org/gaiar/pytorch-cpu
https://anaconda.org/gaiar/torchvision

Should I create a pull request for the recipe?

@Martin-Laclaustra
Copy link

@gaiar
Dear Gaiar,
would you mind providing in your channel (https://anaconda.org/gaiar/pytorch-cpu/files) a version for python v3.5?
I am trying to get pytorch together with tensorflow in an environment and the difficulty is that tensorflow is not available for python v3.6.
Also, did you finally provide the recipe? pytorch does not appear on rpi channel.

Thank you for your work and generosity in sharing all this!

@Martin-Laclaustra
Copy link

@gaiar
I am currently working only with pytorch, but I seem to have problems with the built-in types.
My project uses numba and llvmlite as well.

I face these errors:
Prediction script (from pretrained model in other machine):
RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got CPUIntTensor instead (while checking arguments for embedding)
Training script:
Operands must be the same type, got (i32, i64)

Any advice on how to align the int type length?
Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants