jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: download cannot resume after network interruption

Open lenzai opened this issue 1 year ago • 1 comments

Describe the bug Downloading models does not tolerate network interruptions Steps to reproduce Steps to reproduce the behavior: 0. turn on VPN

  1. Go to 'Hub'
  2. Select a model , e.g. 'mixtral'
  3. Click on 'Download'
  4. turn off vpn
  5. wait 5 minutes
  6. turn on vpn
  7. download won't resume.

Expected behavior When network comes back , resume download before 1 minute

Environment details

  • Operating System: Mac OS 13.5.1 (22G90)
  • Jan Version: 0.4.9
  • Processor: Apple M1 Max
  • RAM: 32GB

Additional context I am in China, cannot download models without VPN

lenzai avatar Mar 24 '24 02:03 lenzai

I can reproduce the issue 🐛, but not sure if we are able to resolve it. cc @louis-jan

Van-QA avatar Mar 25 '24 11:03 Van-QA

Download resuming is not planned any time soon since models are downloaded from third-party sources such as Hugging Face, not from our sources. Even Chrome or modern browsers are likely to restart the download from the beginning if your network changes or if there is idle time after a couple of minutes

louis-jan avatar Apr 12 '24 03:04 louis-jan