-
Notifications
You must be signed in to change notification settings - Fork 256
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
help installing torchmeta (for ppc64le IBM architecture) #95
Comments
when through the whole history of releases none worked: https://pypi.org/project/torchmeta/#history with command `pip install torchmeta=x.x.x' |
My versions:
|
any version that works with the above should be fine |
Isn't Lines 33 to 34 in 5bc8638
|
ok seems you suggest |
weird, I get this error:
It says that torchmeta wants a version of torchvision less than After looking more into it seems I have (under
will see if I can update it. |
asking on forum how to force install the version of torchvision I need here: https://discuss.pytorch.org/t/force-installing-torchvision/97279/2 |
@tristandeleu what do you think of installing torchmeta and ignoring the dependencies? e.g.
|
ok that didn't work without needed to modify torchmeta (to be expected):
|
perhaps:
or
might work...it's running right now. |
about to try:
seems torchvision installed... |
but that gave an error:
|
@tristandeleu what about this instead. Is there a version of torchmeta that works with:
I am still struggling to get torchvision 0.4.2 so meanwhile those might work. |
Unfortunately the earliest version of Torchvision required seems to be 0.4 (even for the earliest version of Torchmeta). If you install the dependencies manually (in particular h5py & tqdm), then you might be able to install Torchmeta with |
I did try that. Torchmeta started complaining about some orderdict not being there and more. I will try that (more deeply) path later (fork torchmeta and fix it) after I get help from the IBM people/sys admins to install the required version of pytorch + torchvision on their fancy ppc64le hardware architecture. Thanks for the help. I will post the solution here once I solve it. |
For all details check (IBM/powerai#268). Make sure you have the right conda channel prepended:
then install the powerai wmlce that you want e.g. 1.7.0 (most recent as of this writing):
though I am still unable to install torchmeta. Now there is some h5py installation failure on my ppc64le architecture:
|
@tristandeleu I am getting some issues with h5py that torchmeta requires. Is this really required? do you see a way around this? |
No unfortunately, h5py is a hard requirement because all the dataloaders are based on HDF5. You could probably still use some features of Torchmeta (such as the MetaModules and utility functions), but you would be missing out on all the dataloaders (which is one of the main features of the library). |
I'm not sure why pip doesn't let me install torchmeta. The
so I am not sure why it's not installing it. I will try to install it with the no dependencies flag and see what happens since just from reading your list it should be fine.
|
It seems I was wrong
|
Sorry I wish I could use the most recent version... I am having this error with my code:
is it ok if I remove that index that the newer version requires? old:
vs new:
|
It should be ok to remove that, the only thing you'd be losing is some determinism (if you see the same task twice, then the datasets could contain different samples). Depending on the version you are rolling with, you might need to change the def __hash__(self):
return random.randrange(1 << 32) |
to complement the close. I eventually did get it to work by cloning the conda version of the appropriate binaries and doing everything from scratch. I don't think the commands I ran will be useful since they depend on my HPC's conda stuff but will paste them anyway:
there is a way to get them using conda and the IBM channel but I forget how to do it now. Going through the other links above referenced here should eventually get them. |
I got the following error:
unfortunately, the cluster I use has only 1.3.1 and I believe it's due to hardware stuff. They don't use x86 basically.
what are solutions for me?
SO: https://stackoverflow.com/questions/64049603/how-does-one-install-torchmeta-for-a-ppc64le-architecture-in-pytorch
SO: https://stackoverflow.com/questions/64033543/force-installing-torchvision-0-4-2-when-i-am-forced-to-use-pytorch-1-3-1-due-to
ibm issue: IBM/powerai#268
The text was updated successfully, but these errors were encountered: