Skip to content

Fix managed vLLM startup in Windows Studio - #12750

Merged
danielhanchen merged 3 commits into
unslothai:mainfrom
Imagineer99:fix/windows-managed-vllm-startup
Oct 6, 2026
Merged

danielhanchen merged 3 commits into
unslothai:mainfrom
Imagineer99:fix/windows-managed-vllm-startup

Conversation

@Imagineer99

@Imagineer99 Imagineer99 commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes managed vLLM setup and startup failures in native Windows Studio.

  • Retry transient file contention when replacing engines/vllm.job.json.
  • Preserve WSL arguments with --exec and apply the derived-port limit only to SGLang.
  • Provide missing compiler tools and the WSL CUDA linker path.
  • Make provisioning cancellable, propagate WSL failures and repair interrupted package configuration on retry.

Testing

  • 255 Linux and 249 Windows tests pass, with platform skips and one existing CUDA symlink test excluded on Windows.
  • Fresh private WSL distro: installation, cancellation during apt update, retry and Qwen3.5-2B chat pass at 1,024 tokens.
  • Lint and diff checks pass.

Tested with WSL already enabled and cached package downloads/Python.

Small note: Qwen at 2,048 tokens hits a separate vLLM Mamba cache capacity limit, outside this fix.

danielhanchen added a commit that referenced this pull request Oct 5, 2026
…test made (#12771)

socket.getaddrinfo is patched process-wide, so a lookup from any other thread in
the xdist worker also reached the fake and was counted: 'assert 33 == 32' in
test_stalled_lookups_do_not_pile_up (#12759) and 'assert 3 == 2' in
test_a_timed_out_lookup_is_not_remembered (#12750), on PRs that do not touch the
provider code. Route this file's .example hosts to the fake and everything else
to the real resolver in the five tests that count calls, and pin the routing.
@danielhanchen danielhanchen self-assigned this Oct 6, 2026
danielhanchen added a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Oct 6, 2026
shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 6, 2026
@danielhanchen
danielhanchen merged commit ad00855 into unslothai:main Oct 6, 2026
danielhanchen added a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Oct 6, 2026
danielhanchen added a commit to oobabooga/unsloth that referenced this pull request Oct 10, 2026
Resolve conflicts with the Windows engine startup fix (unslothai#12750): keep main's atomic JSON retry and WSL build-tools step, run the ROCm setup after it, and keep the PR's port allocator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants