microsoft / Oscar

Oscar and VinVL
MIT License
1.04k stars 252 forks source link

Tagging Apex version #55

Open benob opened 3 years ago

benob commented 3 years ago

INSTALL.md recommends installing Apex#master. However, Apex does not build any more against pytorch 1.2.0 (see https://github.com/NVIDIA/apex/issues/956). So which version of apex is known to work?

brightbsit commented 3 years ago

@benob What os do you use?

benob commented 3 years ago

I am using Red Hat Enterprise Linux release 8.1

brightbsit commented 3 years ago

@benob I was using winodws10 and Apex was hard to install. But I can run apex on ubuntu with pytorch 1.7

benob commented 3 years ago

@brightbsit Apex does run with pytorch 1.7, but Oscar doesn't. What commit of Apex did you successfuly complie with pytorch 1.2?

brightbsit commented 3 years ago

@benob Now that my computer is broken, i couldn't check my env but I think i used pytorch 1.7 or 1.6.

gsrivas4 commented 3 years ago

@brightbsit @benob I was able to run Oscar with pytorch version 1.7.0+cu101 and latest apex master.

benob commented 3 years ago

Do you mean apex@a651e2c24ecf97cbf367fd3f330df36760e1c597?

gsrivas4 commented 3 years ago

@benob I have used the master branch of apex - https://github.com/NVIDIA/apex.git. However, I was able to run oscar code only on a single GPU machine. I had some issues running it on multiple gpus.

abhidipbhattacharyya commented 2 years ago

I am able to install apex with torch 1.2.0 and cuda 10.0. I had to use old commit of apex. Here are my commands-

git clone https://github.com/NVIDIA/apex.git git checkout 15648029e9d44dccba981e4f07846b3acd799393

This commit is from Aug 26 2019. I tried my best in brute force search of compatible commit. If somebody gets a later commit working with OSCAR configuration, please let me know.