amazon-science / earth-forecasting-transformer

Official implementation of Earthformer
Apache License 2.0
349 stars 58 forks source link

Apex installation failed #53

Closed Astralex98 closed 1 year ago

Astralex98 commented 1 year ago

Hi!

Thanks for your work! I am trying to reproduce the result on my host. All was good before installing Apex, but installing Apex crushes with error. I see that issue with Apex had been created, but my mistake with Apex is different. First of all, I tried to install Apex in a standard way:

python3 -m pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" pytorch-extension git+https://github.com/NVIDIA/apex.git

But I have following mistake: My_error_1

I tried to install “packaging” in my environment but it has been already installed: Packagin_installed

So I don’t know what is the possible problem. After that I moved on to your Colab “inference tutorial” and tried to reproduce result here but I have following error: Colab_error

Please, help me find out the problem.

Thanks in advance!

gaozhihan commented 1 year ago

Thanks for your question. NVIDIA Apex has had several updates since the release of this repo. The installation instructions for Apex in this repo is outdated. You may want to refer to the latest official instructions to install Apex. It works correctly according to my tests.

Astralex98 commented 1 year ago

Thanks! Now the Apex installation was successful! Thanks for quick response!