Debug
git clone https://github.com/pytorch/pytorch
hangs
After adding verbose switch: git clone https://github.com/pytorch/pytorch -v
, we get:
Cloning into 'pytorch'...
POST git-upload-pack (175 bytes)
POST git-upload-pack (chunked)
According to StackOverflow:
This is a bug in Git; when using HTTPS it will use chunked encoding for uploads above a certain size. Those do not work. A trivial fix is to tell git to not chunk until some ridiculously large size value...
Add this to ~/.gitconfig
:
[http]
postBuffer = 157286400