Read the full article: https://petronellatech.com/blog/how-to-run-qwen3-8-flash-next-on-two-dgx-sparks-over-one-cable/ A conversation about "How to Run Qwen3.8-Flash-Next on Two DGX Sparks Over One Cable" from the Petronella Technology Group, Inc. blog. Subscribe to Encrypted Ambition and hear every episode: https://petronellatech.com/podcasts/ Questions about AI, cybersecurity, or compliance for your business? Call Petronella Technology Group, Inc. at 919-348-4912.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Chapters
Introduction
How to Run Qwen3.8-Flash-Next on Two DGX Sparks Over One Cable
What organizations should do
How to reach us
Transcript
From the show. Tap a time to play from there.
HostToday we look at how two NVIDIA DGX Spark units can serve a large language model as a single engine.
AnalystThe setup uses a direct QSFP cable between the units’ ConnectX-7 ports, creating a private link that carries all tensor-parallel traffic.
HostCan you explain what hardware we’re talking about and why it matters?
AnalystEach unit is a GB10 chassis, containing eight GPUs and a 400 Gbps NIC. The cable keeps inter-unit communication isolated from the office network.
HostWhich model is being served over that link?
AnalystIt’s RadixArk’s Qwen3.8-Flash-Next-NVFP4, a 27-billion-parameter model quantized to NVFP4 for speed and efficiency.
HostHow did Petronella get these units to work together?
AnalystThey published a public recipe on GitHub. The repo contains a launch script, a smoke-test script, and a README that walks through each step.
HostWhat does the launch script do?
AnalystIt starts one vLLM rank per unit. Each rank runs a container based on oxbyte/qwen3.8-flash-next-dual-spark:latest.
HostWhen was this configuration measured?
AnalystThe measurement took place on 2026-10-02 on Petronella’s own DGX Spark pod, with both units’ GPU clocks locked to a 300-to-2300 MHz range.
HostDid the engine pass any correctness tests before speed was recorded?
AnalystYes, a correctness gate ran first. It passed all eight tests before any speed numbers were logged.
HostWhat are the decode speeds for a single user?
AnalystOne user sees 35.2 tokens per second on prose and 52.6 tokens per second on code.
HostHow does the system handle multiple users concurrently?
AnalystAt 32 simultaneous users, the aggregate throughput is 329.6 tokens per second, and that’s the maximum the pair can serve while keeping each user above the 10-token-per-second floor.
HostWhat about the prefill stage for long documents?
AnalystPrefill runs at about 3,089 tokens per second for an 8-K-token prompt and 3,069 tokens per second for a 32-K-token prompt, showing a nearly flat curve.
HostEnergy consumption is always a concern. How efficient is this setup?
AnalystThe pair draws 251 W at one user and 285 W at the full 32-user ceiling, achieving 1.16 tokens per joule.
HostDoes the model support very long context windows?
AnalystA needle-retrieval test passed at every length up to 120,001 tokens, confirming that the 131,072-token context window is usable in practice.
HostCan you walk through the configuration flags used in the launch script?
AnalystSure. The script sets --tensor-parallel-size 2 and --enable-expert-parallel for one rank per unit, and uses --max-num-seqs 64 and --gpu-memory-utilization 0.75 to cap concurrency.
HostWhat about context length and memory usage?
AnalystThe --max-model-len flag is set to 131072 tokens, which allows the KV pool to hold 1,277,645 tokens, enough for about nine full-length requests at once.
HostI see there’s a --enforce-eager flag. Why is eager execution chosen?
AnalystEager execution disables CUDA graphs. Petronella measured the engine with this flag, so any deviation would change the baseline numbers.
HostHow is network transport handled across the cable?
AnalystNCCL is pinned to the RDMA transport with NCCL_NET=IB and RoCE v2 on a single HCA, ensuring all tensor-parallel traffic stays on the direct link.
HostWhat’s the required setup order when starting the two ranks?
AnalystUnit B, acting as rank 1, starts first and runs headless. Then unit A, rank 0, starts and exposes the OpenAI-compatible API on port 8888. Finally a smoke-test confirms the engine is up.
HostIf the cable names differ on the units, how do you adjust?
AnalystYou use IFACE and HCA environment variables to override the cable interface and RDMA device names. Checking ip -br link and ibv_devices on each unit reveals the actual names.
HostWhat if the launch fails? How can you diagnose it?
AnalystThe launch script preserves the previous container’s logs before replacing it. Those logs are often the only record of why a failure occurred.
HostSecurity is a big concern. How is the API exposed?
AnalystvLLM binds to 0.0.0.0 with no API key. That means port 8888 should stay on a private network or behind an authenticating proxy.
HostWhat about scaling beyond two units?
AnalystThe same image and settings scale to four units, yielding 41.4 tokens per second for a single prose user and 482.4 tokens per second at 32 users, with 648.7 tokens per second at 64 users.
HostAnd eight units?
AnalystEight units as one engine reach 45.7 tokens per second for a single prose user, 604.7 tokens per second at 32 users, and 769.7 tokens per second at 64 users, but the tokens per joule drop to 0.58 at 32 users.
HostSo two units are most efficient per watt?
AnalystExactly. Two units deliver 1.16 tokens per joule, the highest among the configurations measured.
HostWhat about the cost of the cable itself?
AnalystPetronella sells a 0.5 m QSFP112 400 G DAC cable for $159 on the DGX Spark cluster cable page. Similar pages exist for other GB10 systems.
HostCan this recipe be used on other GB10 chassis?
AnalystYes. The same image and settings work on Dell Pro Max, ASUS Ascent, HP ZGX Nano, Lenovo ThinkStation, and MSI EdgeXpert GB10 units.
HostWhy does the recipe serve only 131,072 tokens when the model supports 262,144?
AnalystServing the full 262,144 would halve the number of full-length requests that fit in the KV pool, so the recipe trades maximum context for higher concurrency.
HostHow does the system lock GPU clocks?
AnalystBoth units had their GPU clocks locked to a 300-to-2300 MHz range for the entire measurement, ensuring consistency across runs.
HostWhat about model quality? Does it matter?
AnalystOn a retrieval-grounded CMMC battery, the two-unit setup scored 0.978, matching a larger FP8 model on a single RTX PRO 6000 GPU.
HostWhat are the known limits of this release?
AnalystThe API binding to 0.0.0.0 with no key, the script being limited to two units, and the fact that the numbers come from a single run on 2026-10-02.
HostIf an organization wants to deploy this, what steps should they take first?
AnalystStart by verifying the cable link with the gb10-cluster-check repository, then follow the gb10-cluster-guide for cabling and network setup.
HostWhere can they find the launch scripts and documentation?
AnalystThe public recipe lives on GitHub at https://github.com/capetron/qwen3.8-flash-next-dual-dgx-spark, with launch/node.sh, scripts/smoke-test.sh, and a README.
HostHow can they confirm they’re using the same image version?
AnalystPull oxbyte/qwen3.8-flash-next-dual-spark:latest, then run docker image inspect to check the image ID matches the measured one.
HostIs there a way to get support from Petronella?
AnalystThey offer a private AI solutions practice. You can call Penny at 919-348-4912 or use the contact form at /contact-us/ for assistance.
HostWhat about the broader context of private AI deployments?
AnalystPetronella designs and runs private AI on customer owned hardware since 2002, focusing on data sovereignty and compliance.
HostCan you elaborate on the energy efficiency benefits?
AnalystAt 1.16 tokens per joule, the two-unit pair uses 251 W at single user and 285 W at full load, making it suitable for an office environment.
HostHow do the numbers for four and eight units compare in terms of tokens per joule?
AnalystFour units achieve 0.90 tokens per joule at 32 users, rising to 1.18 at 64 users. Eight units drop to 0.58 tokens per joule at 32 users.
HostDoes the recipe include any special security hardening steps?
AnalystBeyond keeping port 8888 private, the recipe doesn’t add extra hardening. Petronella recommends using an authenticating proxy or firewall.
HostWhat about the logistics of setting up the checkpoint?
AnalystDownload the checkpoint on both units with huggingface-cli using the specific revision ID, then pull the container image before launching.
HostIf an organization wants to start with two units and expand later, is that feasible?
AnalystYes. The same image and settings scale to more units, so you can begin with two and add more as workload demands grow.
HostAre there any references or further reading for the audience?
AnalystThey can explore Petronella’s LLM benchmark hub, the GB10 cluster guide, the cluster check tool, and the private AI solutions page for deeper insight.
HostSo, stepping into the practical side, what’s the first on-prem step an IT lead should tackle?
AnalystBegin by pulling the specific container image and checkpoint on every unit.
HostWhich exact image tag and revision does the recipe lock?
AnalystIt pulls oxbyte/qwen3.8-flash-next-dual-spark:latest and uses a Hugging Face revision ID.
HostWhy is the revision ID critical for consistency?
AnalystBecause the quantized weights change between revisions, and the recipe’s performance numbers assume that exact set.
HostOnce the image is pulled, how do we handle the checkpoint?
AnalystRun huggingface-cli download on each unit, specifying the exact revision, so both ranks load identical weights from local disk.
HostDoes the recipe assume any specific network configuration for the direct cable?
AnalystYes, it requires a small private subnet for the QSFP connection, and you must set CABLE_SUBNET to match.
HostWhat about the NIC and RDMA device names? Those can vary.
AnalystRun ip -br link to see the cable interface and ibv_devices for the RDMA device; then export IFACE and HCA accordingly.
HostIf those names are wrong, what failure do we see?
AnalystThe engine will fail to establish a NCCL connection over RDMA, and the launch script will exit with an error before the API is up.
HostThe script includes a smoke test; how does that help?
AnalystIt sends a simple request to the OpenAI-compatible endpoint and verifies a correct response, ensuring the correctness gate passed.
HostWhat happens if the smoke test fails?
AnalystThe script saves the previous container’s logs before replacing it, so you can inspect why it failed.
HostThat’s useful. How do we stop the engine cleanly?
AnalystRun docker rm -f qwen38-flash-next on both units; the script handles cleanup automatically when you re-launch.
HostWhat about GPU clock settings? The article mentions a locked range.
AnalystBoth units had clocks locked between 300 and 2300 MHz for the entire run, ensuring consistent performance across runs.
HostIf an organization wants to scale from two to four units, what changes in the launch process?
AnalystThe same image and settings apply; you simply add two more ranks, update the rank numbers, and ensure the cable network can support the extra links.
HostDoes the recipe automatically handle multiple ranks, or do we need a different script?
AnalystThe provided launch script is for two units only; for more ranks you would need to modify the script or use a cluster orchestrator that can launch multiple instances.
HostWhat about the per-user speed floor? How does that impact planning?
AnalystThe recipe enforces a 10 tok/s floor; at 32 users the pair stays above that threshold, so 32 concurrent interactive sessions are supported.
HostIf an organization requires more than 32 concurrent users, what configuration would you recommend?
AnalystDeploy four units; the benchmark shows 64 users at the 10 tok/s floor with 648.7 tok/s aggregate, while still maintaining a respectable 0.90 tok/J at 32 users.
HostWhat if the use case is high-speed single-user workloads rather than many users?
AnalystAn eight-unit engine gives 45.7 tok/s prose and 63.5 tok/s code for one user, but the energy cost rises to 0.58 tok/J at 32 users, so it’s a trade-off.
HostHow do we monitor power consumption in a production environment?
AnalystUse the NVIDIA System Management Interface or the vendor’s power monitoring tools; the benchmark reports 251 W at single user and 285 W at full load for the pair.
HostDoes the recipe provide any guidance on handling failures during inference?
AnalystIf a rank crashes, the other continues until you restart; the launch script will replace the failed container and preserve logs for diagnosis.
HostWhat about security beyond keeping port 8888 private? Any hardening recommendations?
AnalystUse a firewall or reverse proxy that authenticates requests; the recipe itself does not embed any token validation.
HostIs there any risk if the RDMA link goes down during operation?
AnalystThe engine will lose inter-rank communication, causing inference to stall or fail; the script’s smoke test will detect this on restart.
HostWhat about the long-context capability? How do we verify that?
AnalystThe long-context gate tests needle retrieval up to 120,001 tokens; you can run the same test script to confirm your environment supports that length.
HostDoes the recipe allow us to adjust the context length beyond 131,072?
AnalystChanging max-model-len to a larger number would reduce the number of full-length requests that fit in the KV pool; the recipe sets it to balance concurrency and memory.
HostWhat about the quality of the model outputs? How does that factor into deployment decisions?
AnalystThe benchmark reports a 0.978 score on a retrieval-grounded CMMC battery, comparable to a larger FP8 model; that indicates the quantized version still delivers high-fidelity responses.
HostIf quality is acceptable, what operational metrics should we monitor post-deployment?
AnalystTrack token throughput, per-user latency, and energy consumption; also watch for any error rates from the smoke test or inference logs.
HostAre there any common pitfalls when first deploying this recipe?
AnalystMistakes include not verifying the cable link with gb10-cluster-check, using the wrong subnet, ignoring the IFACE/HCA mismatch, and overlooking the need to keep port 8888 private.
HostWhat about the licensing of the recipe and container image?
AnalystThe recipe repo is MIT-licensed; the container image is also open source, and the checkpoint is shared under RadixArk’s licensing terms.
HostHow does this setup compare to a single-GPU deployment in terms of cost?
AnalystA single GPU would not support the 131,072-token window or the 32-user ceiling; the two-unit pair offers a balanced trade-off between performance, energy, and hardware cost.
HostWhat resources can an organization consult to avoid misconfigurations?
AnalystThe GB10 cluster guide walks through cabling, the cluster check tool verifies the link, and the benchmark hub documents every measured configuration.
HostCan the recipe be used on other GB10 systems, not just DGX Spark?
AnalystYes; the recipe is agnostic to chassis, and a pod of four MSI EdgeXpert GB10 units matched the performance within a few percent.
HostWhat about the cost of the QSFP cable; is it a significant expense?
AnalystThe 0.5 m QSFP112 400G DAC cable for DGX Spark retail at $159, and similar cables are available for other GB10 models.
HostIf an organization wants to keep the deployment fully open source, what should they keep in mind?
AnalystEnsure you pull the exact image tag and verify the image ID with docker image inspect; any change in the image can alter performance.
HostIs there a way to monitor the correctness gate in production?
AnalystWhile the script runs the gate only during startup, you can add a periodic health check that calls the smoke test endpoint and logs any deviation.
HostWhat about scaling beyond eight units; does the recipe support that?
AnalystThe underlying image and settings work for any rank count; you would need a cluster orchestrator or a custom script to launch more than four ranks, but the performance characteristics would follow the same trend.
HostCan we adjust the concurrency settings to handle more than 64 sequences?
AnalystIncreasing --max-num-seqs would push GPU memory usage beyond the 75 % limit; you would need to raise gpu-memory-utilization or add more GPUs.
HostWhat about the effect of disabling CUDA graphs?
AnalystThe recipe runs with --enforce-eager, so CUDA graphs are not used; changing that would alter the measured numbers and could affect latency for some workloads.
HostIf we want to keep the same performance but reduce power, what can we do?
AnalystYou could lower the GPU clock range, but that will also reduce throughput; the 300-2300 MHz lock was chosen to balance peak performance and energy.
HostHow do we handle updates to the model or its checkpoint?
AnalystPull the new checkpoint revision, verify the image ID, and redeploy the container; run the smoke test to confirm the correctness gate before exposing the API.
HostWhat about integrating this engine into a larger application stack?
AnalystExpose the OpenAI-compatible endpoint behind a service mesh or API gateway; ensure authentication and rate limiting are in place before routing traffic to the 8888 port.
HostIs there any guidance on how to monitor the health of the RDMA link in production?
AnalystUse ibv_devinfo and the cluster check tool to verify link status; set up alerts for loss of RDMA connectivity, as that will halt inference.
HostWhat is the recommended approach for backups or disaster recovery of the model data?
AnalystBecause the checkpoint resides on local disk, maintain a versioned copy on a separate storage tier; the container image can be pulled from the registry as needed.
HostSo far we've covered the recipe and the numbers; now let's talk about the broader impact.
AnalystDeploying Qwen3.8-Flash-Next on two DGX Sparks gives you a long-context engine that can handle over 120,000 tokens in a single request.
HostThat means you can embed entire contracts or codebases without splitting the prompt, which simplifies downstream pipelines.
AnalystExactly, and the flat prefill performance at 8K and 32K tokens keeps latency predictable for large documents.
HostWhat should an organization do first when considering this setup?
AnalystStart by ensuring your infrastructure supports a direct QSFP cable and that RDMA is enabled on the ConnectX-7 ports.
HostSo the cable is a single point of failure?
AnalystYes, because tensor parallelism exchanges activation data on every layer; if the link drops, inference stops entirely.
HostHow do we monitor that link in production?
AnalystRun the cluster check tool before each launch and set up alerts on ibv_devinfo output for link loss.
HostWhat about the software side-how do we keep the engine healthy?
AnalystUse the smoke test after each deployment to confirm the correctness gate passes before exposing the API.
HostThe smoke test runs a small request; does it check token limits too?
AnalystIt verifies the model can generate a short completion and that the engine is reachable; token limits are covered in the benchmark suite.
HostSecurity is always a concern; what steps should we take with the open-API endpoint?
AnalystvLLM binds to 0.0.0.0 with no API key, so place the service behind a proxy or firewall that authenticates requests.
HostWould a service mesh help?
AnalystA mesh can enforce rate limits, TLS termination, and traffic routing to the 8888 port, adding a layer of protection.
HostIf we need to scale beyond two units, what changes are required?
AnalystThe same image and settings work on more ranks; you only need to launch additional nodes and adjust the launch script to include extra ranks.
HostDo we need a different cable for more units?
AnalystFor a ring or switched fabric, you would use a switch or a multi-port cable; the recipe assumes a single direct link.
HostWhat about power consumption as we add units?
AnalystTwo units draw 251 W at one user and 285 W at full load, giving 1.16 tokens per joule; adding units increases power but improves throughput.
HostIs the energy efficiency drop significant with four or eight units?
AnalystFour units maintain about 0.90 tokens per joule at 32 users, while eight units drop to 0.58 tokens per joule at the same load.
HostSo choosing the right number of units depends on user load and energy goals.
AnalystExactly; if you need a large context pool, eight units as one engine can help, but if you prioritize throughput, two or four units are more efficient.
HostWhat common mistakes do teams make when deploying this setup?
AnalystSkipping the CABLE_SUBNET variable will cause the launch to fail; always provide a subnet that the RDMA link actually uses.
HostAnother mistake?
AnalystAssuming the script works for more than two units without adjusting the launch order; unit B must start first as rank 1, then unit A as rank 0.
HostHow do we handle model updates?
AnalystPull the new checkpoint revision, verify the image ID matches the measured one, redeploy the container, and run the smoke test again.
HostDoes the container image change often?
AnalystThe tag is latest, but the image ID is stable; check docker image inspect to confirm before updating.
HostAre there any recommendations for backing up the checkpoint?
AnalystStore a versioned copy on separate storage; the checkpoint resides on local disk for each unit, so keep an off-site backup.
HostWhat about software updates to vLLM or the underlying libraries?
AnalystUpdate the container image only after verifying that the new build uses the same GPU clock range and NCCL settings.
HostHow do we ensure the GPU clocks stay in the 300-2300 MHz range during production?
AnalystConfigure the GPU power limit in the container runtime or use nvidia-smi to lock the clocks before launching the engine.
HostIf the clocks drift, what impact does that have?
AnalystIt can reduce throughput and alter the measured token per joule figure, so keep them locked for consistent performance.
HostDo we need to monitor GPU temperature as well?
AnalystYes, high temperatures can throttle performance; set up monitoring for GPU temps and fan speeds.
HostWhat about monitoring the inference metrics themselves?
AnalystCollect token per second, latency, and per-user floor metrics; compare them against the benchmark values to spot regressions.
HostIf we see a drop in throughput, what should we check first?
AnalystVerify the RDMA link is healthy, confirm the GPU clocks are locked, and ensure no background processes are consuming GPU memory.
HostSpeaking of memory, what is the maximum concurrency we can handle?
AnalystThe recipe sets --max-num-seqs to 64 and --gpu-memory-utilization to 0.75, which balances concurrency with memory usage for the 131072-token context window.
HostCan we increase that number for higher concurrency?
AnalystYou could, but you would risk exceeding GPU memory and causing evictions; the measured numbers are based on the 0.75 utilization setting.
HostWhat if our workload requires a larger context window than 131072 tokens?
AnalystThe native model supports 262144 tokens, but serving the full length would reduce the number of concurrent full-length requests; consult with the team before increasing the context size.
HostAre there any security concerns beyond the open API?
AnalystMake sure the container runs with least privilege, restrict network access to the 8888 port, and use a firewall or API gateway to enforce authentication.
HostHow do we handle rate limiting for multiple users?
AnalystImplement rate limits at the service mesh or gateway level; the engine itself does not enforce per-user limits.
HostWhat about handling very long prompts-do we need special tuning?
AnalystThe prefill throughput remains flat across prompt sizes, so no additional tuning is required for longer inputs.
HostIf we need to integrate this into a retrieval pipeline, what steps should we take?
AnalystExpose the OpenAI endpoint, let the pipeline submit queries, and use the 10-token-per-second floor to ensure interactive latency remains acceptable.
HostWhat if the pipeline generates many short requests; does that affect performance?
AnalystThe engine can handle up to 64 sequences; however, you should monitor the per-user floor and ensure it stays above 10 tokens per second for a good experience.
HostDo we need to adjust the batch size for such workloads?
AnalystBatch size is internal to vLLM; the launch script sets concurrency parameters, so you don't need to modify batch size directly.
HostWhat questions do listeners often ask about this setup?
AnalystCommon questions include how to choose the number of units, how to secure the endpoint, how to monitor RDMA, and how to handle model updates without downtime.
HostAny tips for answering those questions?
AnalystExplain the trade-offs between throughput and energy, emphasize the importance of the RDMA link, and show how to use the smoke test for zero-downtime updates.
HostAnother frequent question is about data sovereignty-how does this work?
AnalystBecause the model runs on local hardware and the checkpoint is stored locally, you maintain full control over data residency and can comply with regulatory requirements.
HostWhat about compliance with standards like CMMC?
AnalystThe engine has been tested on a CMMC battery, scoring 0.978, which demonstrates strong alignment with compliance requirements.
HostFinally, what is the key takeaway for organizations looking to adopt this technology?
AnalystInvest in the proper hardware, secure the RDMA link, follow the launch script exactly, monitor health metrics, and use the smoke test to guarantee correctness before exposing the API.
HostThank you for walking us through all of that.
AnalystRemember to keep the image ID stable and verify it with docker image inspect after pulling a new tag.
HostThat ensures you are running the same configuration the benchmarks were measured with.
AnalystWith those practices in place, you can confidently deliver a reliable, high-performance LLM service on premises.
Read the full article: https://petronella.ai/blog/cairn-zero-day-attack-shows-ai-agents-exploited-in-the-wild/ A conversation about "Cairn Zero Day Attack Shows Ai Agents Exploited In The Wild" from the Petronella...
Read the full article: https://petronellatech.com/blog/zero-trust-for-software-supply-chains-when-cloud-fails/ A conversation about "Zero Trust for Software Supply Chains When Cloud Fails" from the Petronella Technology...
Read the full article: https://petronella.ai/blog/qwen-self-hosted-ai-models-need-stronger-steering/ A conversation about "Qwen Self Hosted Ai Models Need Stronger Steering" from the Petronella Technology Group, Inc....
Read the full article: https://petronellatech.com/blog/cybersecurity/java4shell-exploitation-attempts-begin-as-advisories-grow/ A conversation about "Java4Shell Exploitation Attempts Begin as Advisories Grow" from the...
Read the full article: https://petronella.ai/blog/edge-lockdown-mode-disables-gpu-apis-to-cut-attack-surface/ A conversation about "Edge Lockdown Mode Disables Gpu Apis To Cut Attack Surface" from the Petronella...