{"slug": "flaky-connections-like-starlink-crashes-hf-xet-large-downloads", "title": "Flaky connections like Starlink crashes hf xet large downloads", "summary": "Hugging Face's huggingface_hub tool crashes on large file downloads over flaky networks like Starlink, wiping out multi-gigabyte caches and preventing resume, according to a user report. The crash occurred while downloading the Qwen3-Coder-Next-GGUF model, with a 84.8GB file stalled at 6.53GB after 2 hours, and the user says disabling Xet and concurrency prevents downloads over 32GB. The issue affects users on Windows with Python 3.14 and the huggingface_hub CLI, and the user is requesting an urgent fix.", "body_md": "huggingface_hub sometimes crashes on big files when on networks like Starlink … is there a work-around ? … GPT says to disable Xet, concurrency, etc … but this prevents big file downloads >32GB … see crash error message below … also, mid-download CACHE of many many GBs gets WIPED-OUT and cannot resume … please fix ASAP …\n\n(uvpvenv) MINGW64\n\n$ hf download ggml-org/Qwen3-Coder-Next-GGUF --repo-type=model --local-dir ./models–ggml-org–Qwen3-Coder-Next-GGUF/\n\nFetching 3 files: 67%|████████████████████████████████████████████████████████████████████████████████ | 2/3 [2:05:18<1:02:39, 3759.30s/it]\n\nTraceback (most recent call last):.): 8%|████████▏ | 6.53GB / 84.8GB, 32.1MB/s\n\nFile “”, line 203, in _run_module_as_main | 0/3 [00:00<?, ?it/s]\n\nFile “”, line 88, in run_code\n\nFile “C:\\msys64\\home\\utils\\uvpvenv\\Scripts\\hf.exe_main.py”, line 10, in\n\nsys.exit(main())\n\n```\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\cli\\hf.py\", line 133, in main\napp()\n~~~^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\click\\core.py\", line 1569, in call\nreturn self.main(*args, **kwargs)\n~~~~~~~~~^^^^^^^^^^^^^^^^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\click\\core.py\", line 1490, in main\nrv = self.invoke(ctx)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\cli_cli_utils.py\", line 131, in invoke\nreturn super().invoke(ctx)\n~~~~~~~~~~~~~~^^^^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\click\\core.py\", line 1970, in invoke\nreturn _process_result(sub_ctx.command.invoke(sub_ctx))\n~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\click\\core.py\", line 1353, in invoke\nreturn ctx.invoke(self.callback, **ctx.params)\n~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\click\\core.py\", line 907, in invoke\nreturn callback(*args, **kwargs)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\cli_framework.py\", line 365, in handler\nreturn func(**call_kwargs)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\cli\\download.py\", line 225, in download\n_print_result(run_download())\n~~~~~~~~~~~~^^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\cli\\download.py\", line 187, in run_download\nreturn snapshot_download(\nrepo_id=repo_id,\n...<10 lines>...\ndry_run=dry_run,\n)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\utils_validators.py\", line 88, in _inner_fn\nreturn fn(*args, **kwargs)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub_snapshot_download.py\", line 522, in snapshot_download\nhf_thread_map(\n~~~~~~~~~~~~~^\n_inner_hf_hub_download,\n^^^^^^^^^^^^^^^^^^^^^^^\n...<3 lines>...\ntqdm_class=tqdm_class,\n^^^^^^^^^^^^^^^^^^^^^^\n)\n^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\utils\\tqdm.py\", line 441, in hf_thread_map\nresults[future_to_index[future]] = future.result()\n~~~~~~~~~~~~~^^\nFile \"C:\\Users\\AppData\\Roaming\\uv\\python\\cpython-3.14-windows-x86_64-none\\Lib\\concurrent\\futures_base.py\", line 447, in result\nreturn self.__get_result()\n~~~~~~~~~~~~~~~~~^^\nFile \"C:\\Users\\AppData\\Roaming\\uv\\python\\cpython-3.14-windows-x86_64-none\\Lib\\concurrent\\futures_base.py\", line 396, in __get_result\nraise self._exception\nFile \"C:\\Users\\AppData\\Roaming\\uv\\python\\cpython-3.14-windows-x86_64-none\\Lib\\concurrent\\futures\\thread.py\", line 86, in run\nresult = ctx.run(self.task)\nFile \"C:\\Users\\AppData\\Roaming\\uv\\python\\cpython-3.14-windows-x86_64-none\\Lib\\concurrent\\futures\\thread.py\", line 73, in run\nreturn fn(*args, **kwargs)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub_snapshot_download.py\", line 502, in _inner_hf_hub_download\nhf_hub_download( # type: ignore\n~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^\nrepo_id,\n^^^^^^^^\n...<14 lines>...\ndry_run=dry_run,\n^^^^^^^^^^^^^^^^\n)\n^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\utils_validators.py\", line 88, in _inner_fn\nreturn fn(*args, **kwargs)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\file_download.py\", line 998, in hf_hub_download\nreturn _hf_hub_download_to_local_dir(\n# Destination\n...<16 lines>...\ndry_run=dry_run,\n)\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\file_download.py\", line 1457, in _hf_hub_download_to_local_dir\n_download_to_tmp_and_move(\n~~~~~~~~~~~~~~~~~~~~~~~~~^\nincomplete_path=paths.incomplete_path(etag),\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n...<8 lines>...\ntqdm_class=tqdm_class,\n^^^^^^^^^^^^^^^^^^^^^^\n)\n^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\file_download.py\", line 1960, in _download_to_tmp_and_move\nxet_get(\n~~~~~~~^\nincomplete_path=tmp_path,\n^^^^^^^^^^^^^^^^^^^^^^^^^\n...<4 lines>...\ntqdm_class=tqdm_class,\n^^^^^^^^^^^^^^^^^^^^^^\n)\n^\nFile \"C:\\msys64\\home\\utils\\uvpvenv\\Lib\\site-packages\\huggingface_hub\\file_download.py\", line 565, in xet_get\nwith session.new_file_download_group(\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\ntoken_refresh_url=xet_file_data.refresh_route,\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n...<2 lines>...\nprogress_callback=progress.update_progress,\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n) as group:\n^\nRuntimeError: Task error: File reconstruction error: CAS Client Error: Format error: I/O error: error decoding response body\n```\n\n", "url": "https://wpnews.pro/news/flaky-connections-like-starlink-crashes-hf-xet-large-downloads", "canonical_source": "https://discuss.huggingface.co/t/flaky-connections-like-starlink-crashes-hf-xet-large-downloads/178759#post_1", "published_at": "2026-08-17 13:23:52+00:00", "updated_at": "2026-08-17 13:43:17.547908+00:00", "lang": "en", "topics": ["developer-tools", "ai-infrastructure"], "entities": ["Hugging Face", "huggingface_hub", "Starlink", "Qwen3-Coder-Next-GGUF", "Xet"], "alternates": {"html": "https://wpnews.pro/news/flaky-connections-like-starlink-crashes-hf-xet-large-downloads", "markdown": "https://wpnews.pro/news/flaky-connections-like-starlink-crashes-hf-xet-large-downloads.md", "text": "https://wpnews.pro/news/flaky-connections-like-starlink-crashes-hf-xet-large-downloads.txt", "jsonld": "https://wpnews.pro/news/flaky-connections-like-starlink-crashes-hf-xet-large-downloads.jsonld"}}