amazon-science / earth-forecasting-transformer

Official implementation of Earthformer
Apache License 2.0
350 stars 60 forks source link

Failed to install apex #21

Closed fizzking closed 1 year ago

fizzking commented 1 year ago

I have tried to install apex as the readme requested, but have failed. What should I do? image

gaozhihan commented 1 year ago

Thanks for reporting it. This error seems to be related to the connections set up by your git. If your git can not work correctly, you may want to try to replace the git clone operation by downloading the whole repo manually. Then follow the instructions in the official README:

  1. Download repo "apex" from https://github.com/NVIDIA/apex and unzip it to folder "apex".
  2. Run
    cd apex
    pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
sxjscience commented 1 year ago

@fizzking feel free to let us know if it does not work.

fizzking commented 1 year ago

@fizzking feel free to let us know if it does not work.

ok i will try it as soon as possible

fizzking commented 1 year ago

I have tried to download apex into folder according to what you said, but still cannot install apex image image

sxjscience commented 1 year ago

You may try the python-only installation:

pip install -v --disable-pip-version-check --no-cache-dir ./

fizzking commented 1 year ago

Thanks! I successfully installed apex

sxjscience commented 1 year ago

Great. Just let us know if you still face any issue in train the model! I will later submit a PR to revise our README to mention python-only installation of apex.

sxjscience commented 1 year ago

Meanwhile, let me close this first. @fizzking feel free to reopen / create new issues.