mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4305] [Other] IQ3_S install stops in the MTP draft-layer fetch (57% of gate_up_proj) and every retry fails; the host's own fetch ignores the Windows proxy #1905
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1905
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @redfireblade on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4305
Area
[Other] (setup and installation)
Desktop app, Terminal or source?
Desktop app (Windows)
What happened
Installing Qwen3.8-Flash-Next IQ3_S (the 64 GB memory tier) on Windows 11: the two GGUF shards and the
mmprojfinished and their.donesha256 records are on disk, then the install stopped in the MTP draft-layer step and never recovered.The draft layer is 31
mtp.*tensors, 5,214,301,696 bytes, read with HTTP Range requests fromQwen/Qwen3.8-Flash-Nextat the pinned revisionde4b8e4d43b917e7706784d8bb445c9af86a3540. It stopped inside the largest tensor:mtp_fetch.pyprocess was left running.setup.pynever reached the steps that write the run config (strata-*.jsondoes not exist).This PC reaches Hugging Face only through a local HTTP proxy that Windows is already configured with (
ProxyEnable=1,ProxyServer=127.0.0.1:25599) and that the browser uses without any extra setting.Smallest steps or command that reproduce it
Qwen3.8-Flash-NextIQ3_Sfrom the desktop app with the draft layer (MTP) on.tools/mtp_fetch.py fetch.Reproduction status
Reproduced locally
Strata version
Strata 0.2.6 · Control 0.1.51 · engine 0.1.50 (windows-x86_64-hip-rdna3)
Graphics card, memory and system
AMD Radeon RX 7900 XTX 24 GB (gfx1100) · 64 GB RAM · Windows 11 (10.0.28000)
Model, size and settings
Qwen3.8-Flash-Next IQ3_S · MTP on · 64 GB memory tier · draft layer kept on
Logs
App log, the line that shows the same class of failure on the other download path:
Network measurements from the same PC at the same time:
https://huggingface.co/.../model-00060-of-00131.safetensorsdirect (curl, 20 s timeout)http://127.0.0.1:25599,Range: bytes=0-67108863206, 64 MiB in 1.34 s (~50 MB/s)urllib.request.getproxies()in the app's own interpreter{'http': 'http://127.0.0.1:25599', 'https': 'http://127.0.0.1:25599', ...}— so Python already resolves the Windows proxyfetch()inhost/server, no environment variables setTypeError: fetch failedfetch()withNODE_USE_ENV_PROXY=1at process start200Suspected cause (unconfirmed static analysis, not an observed failure)
I did not capture the error text
mtp_fetch.pyprinted when it stopped, so this is what the code says rather than something I saw:tools/mtp_fetch.pyreads 16 ranges at once (STRATA_DL_CONNECTIONS, default 16) and every range needs its ownCONNECTtunnel through the proxy.get()retries a range 6 times, andfetch()ends the whole tensor after 3 network failures with"the download keeps failing". Sixteen concurrent tunnels to one CDN host through a local proxy is where such a link is most likely to drop, and the largest tensor is the one that cannot absorb it.fetch()has no proxy path at all: Node'sfetch()ignoresHTTP(S)_PROXYunless the process starts withNODE_USE_ENV_PROXY=1, and the desktop app does not set it.host/server/engine-install.mjsdownloads through thatfetch(), so anything the host fetches itself goes out directly regardless of the Windows setting. Theupdate-engineline above is consistent with that, although that particular download is the Python updater.exit_with_parent()ends the fetch when the process that started it ends, so a cancel or a restart mid-step leaves the partial file behind — matching what is on disk here.Workaround that worked
Pointing the same tool at the mirror it already supports, then finishing the documented steps by hand:
That finished in about a minute, with the same sha256 checks passing.
Suggestions
--source modelscopeautomatically (the script already supports it and the tensors are checked against the pinned hashes) instead of ending the install.fetch()the same proxy support the Python side already gets fromgetproxies()— for example by starting the host withNODE_USE_ENV_PROXY=1and the Windows proxy in the environment.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.