-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
increase timeout for slow internet users #242
Comments
Did it eventually work? Sometimes PyTorch's servers are down for an upgrade. |
I doublechecked and the timeout does occur if the download doesn't occur in the specified time, not merely if it hasn't started in the allotted time, which was my original intention. I'll fix this in the next patch release. |
Yes it eventually finished. I was able to download pytorch directly from the link so not sure if the servers were down. I tried like 3 or 4 times using the script but it didn't work until I increased the timeout. |
Increased the timeout to 240 seconds. |
Had to increase the time to like 1500 sec 😁✌️ |
Oh damn...so was your Internet slow or just a lower end laptop or something with fewer cores? |
Re-opening the issue so others can see it if they encounter it. |
WOW! Impressed by your responsiveness. |
I like that suggestion actually, and will incorporate it into a future release...but I'm thinking of perhaps adding a function to monitor the download speeds and set a threshold download rate instead... For example, if the "average" download speed is less than 1 MB/second for X seconds, then the timeout will occur. That way, as long as it's downloading at the bare minimum speed on "average," the timeout will not occur...and if the "average" falls below the X threshhold for the specified duration, it'll eventually terminate early...That way it'll return the command prompt. Would that help? |
I would set it to 100 KB/second actually. So speed limit IMHO is not what needed in case above, but rather "CASE WHEN speed is 0 for 30-60 sec, THEN interrupt". Speed limit I needed later on when my wife started watching online movie, and I started the script which consumed max 4-5 MB/s and broke movie session for my wife 🙃 |
I kept getting the error message:
until I changed all timeout in setup_windows.py script to timeout=300 (5 minutes) or even timeout=600 (10 minutes)
The text was updated successfully, but these errors were encountered: