Installing from source error about third party eigen library

Hi. I need to install pytorch via source. However, there is a problem about the eigen third party library, I checked the similar issues and suggested git submodule update --init still doesnt work.

Here is the error message. Any suggestion would be appreciated.

error: RPC failed; HTTP 524 curl 22 The requested URL returned error: 524
fatal: the remote end hung up unexpectedly
fatal: clone of 'https://gitlab.com/libeigen/eigen.git' into submodule path '/home/furkan/pytorch/third_party/eigen' failed
Failed to clone 'third_party/eigen' a second time, aborting

524 seems to be a timeout error. Are you able to reach the URL in your browser or manually git clone it? I cannot reproduce the issue locally so would guess that either the repository hosting had a few issues or your setup is timing out.

https is blocked, use git instead.

vi .git/config
vi .gitmodules

changge
    url = https://gitlab.com/libeigen/eigen.git
to
    url = git@gitlab.com:libeigen/eigen.git