HydraIssues

cosmic-pretzel-98: serve the hydrated EXL3 model (Gilded Gnosis vLLM in WSL) - Defender false positive cleared, launch acceptance
done unclassified Project: hydra-experiencenet Reporter: 14 Oct 2026 20:32

Description

Make the requested hydrated EXL3 artifact available as a HydraBrain provider on cosmic-pretzel-98 (node-4c2be4b0, RTX 5090, bxl1/cloud-seven). This workload needs the Gilded Gnosis vLLM runtime, not llama.cpp, so it is a deliberate exception to the standard runtime recorded in #670.

Model: malaiwah/Qwen3.8-27B-EXL3-K5K6-hydrated at revision 853acef0b24961b269cdcf32b1ebb405649b545b. Runbook and pinned inputs: hydrabrain/docs/runbooks/cosmic-exl3.md.

Blocker that parked this work (now cleared)

On 2026-09-22 Windows Defender quarantined HydraBrain v0.4.1 on cosmic as Trojan:Win32/Bearfoos.A!ml (threat ID 2147731250) and removed its scheduled task, which parked the deployment with the workload disabled. The question left open was whether to add a Defender exception.

No exception is needed. Evidence collected 2026-10-14:

  1. chunky-turnip-23 and fluffy-dumpling-87 both run HydraBrain v0.4.1 on the same Windows build (10.0.26200.8457) with real-time protection on and no exclusion covering C:\hydrabrain. chunky's installed binary is byte-identical to the official release (SHA-256 55308364e54a74d80fcf7a241c5686f001ac60dd8b026e0e70b69cc2b5aa212b, 11413504 bytes) and its HydraBrain task is Running.
  2. Under current definitions (1.461.20.0, engine 1.1.26090.9, signatures updated 2026-10-14) the same official binary downloaded to cosmic survived real-time protection and an explicit Start-MpScan custom scan with zero detections. Cosmic's threat history and quarantine catalog are now empty.
  3. The verdict carried the !ml suffix, so it came from the cloud ML classifier rather than a signature. It has since been corrected upstream.

The detection was a transient machine-learning false positive, not a property of the release. No Defender exception was added, no protection was disabled, and the host GPU driver was not changed.

Work done

  • Re-ran only the hydrabrain recipe through POST /api/v1/nodes/node-4c2be4b0/provision/hydrabrain, so the other roles on this live body were left alone. HydraBrain v0.4.1 reinstalled from the official release, checksum verified, scheduled task Running, no new Defender detection, exclusion list unchanged.
  • Confirmed the three-week-old staging survived intact: 37.4 GB WSL ext4.vhdx (Ubuntu 24.04.5 + Docker + the pinned vLLM image), 17 model files totalling 21.6 GB, GPU driver still 591.55.
  • Confirmed the staged launch.sh, setup.sh and launch.ps1 on the host match the corrected repo versions byte for byte, including the --no-enable-log-requests fix and the WSL driver mount with NVIDIA_REQUIRE_CUDA=cuda>=13.0. The previous session's last sync reported an error, so this needed checking before enabling.
  • Removed a stale 647 MB model-00002-of-00003.safetensors.partial left over from an interrupted download. The complete shard was already present and verified.
  • Enabled the desired document. The container launched and the vLLM engine core began initializing, which is further than any previous attempt reached.

Remaining acceptance

  • Readiness, authenticated model listing, and a completion over the private mesh at 10.10.100.12:18081.
  • Stop and restart lifecycle, including the lease watchdog removing the container when the Windows supervisor stops.

Discovery is authoritative: a running container alone does not mean the model is available.

Session Context

Venue
cloud-seven

Comments (2)

api 14 Oct 2026 21:00

Acceptance complete 2026-10-14. The model is available on Cosmic and the node is in discovery next to chunky.

Serving acceptance

  • Discovery: http://10.10.100.12:18081/v1, alias qwen3.8-27b-exl3-k5k6-hydrated, 28979 of 32607 MiB GPU.
  • Authenticated model listing returns the alias.
  • A request without a token gets HTTP 401.
  • A completion over the private mesh returned the expected answer.
  • Port 18080 refuses a connection from the mesh. Only the gateway is reachable.

Lifecycle acceptance

Stop with enabled:false. Withdrawn from discovery in about 22 s. The mesh gateway then refused connections. At 63 s the lease and CID files were gone, nothing listened on 18080 or 18081, GPU memory fell from 28568 MiB to 573 MiB, and the WSL working set fell from 11.4 GiB to 2.7 GiB. The watchdog removed the container as designed.

Start with enabled:true. One launch, engine init 20.4 s, back in discovery 201 s after the PUT, completion served. Repeated twice with the same 201 s result. A warm restart needs one launch, not three.

Live state is enabled:true and serving.

Two findings worth a decision

  1. Cold start exceeds HydraBrain's 3 minute readiness deadline, so the first launch took three attempts. Filed as #780. The named Docker volume hydrabrain-exl3-cache is what keeps later restarts inside the deadline, so do not prune it.

  2. Throughput is about 6 tokens per second. The model card recipe asks for --enforce-eager, which disables CUDA graphs and torch.compile. Chunky serves the same model family with llama.cpp at about 25 tokens per second per stream on a smaller GPU. The EXL3 artifact was requested specifically, so this is a deliberate trade, but the gap is large enough to be worth confirming. Dropping --enforce-eager is the first thing to try.

Also note: the model card chat template turns thinking on. A short factual question answers in about 4 s with no thinking. An open-ended request can spend its whole budget inside the thinking block; a 1200 token budget returned finish_reason length and an empty message. Callers need a large max_tokens, or the template must turn thinking off the way commit 801035f did for Chunky.

Runbook docs/runbooks/cosmic-exl3.md now records the state, the Defender resolution, the cold start behaviour, the lifecycle results and the measured behaviour. Those files are not committed yet.

api 14 Oct 2026 22:10

Superseded by #793. Cosmic now serves qwen3.8-27b through llama.cpp with a Q6_K GGUF at about 58.6 tok/s, against 6.0 tok/s here.

The cause is recorded for good: removing --enforce-eager fails with "ValueError: The EXL3 quantization backend requires eager execution", so eager is a hard requirement of the EXL3 backend in the pinned image and this artifact cannot go faster. Do not retry that flag.

This workload is now enabled:false. The role, the WSL distribution, the pinned image and all model shards stay on disk, so rollback is one PUT of desired-cosmic-exl3.json. The runbook is marked superseded in a486b1a.

Everything else from this issue stands: the Defender detection was a transient false positive and no exception was ever added. #780 still tracks the readiness deadline, which matters for any slow-starting runtime, not just this one.