WEBVTT

00:00:14.890 --> 00:00:20.917
<v Host>Today we look at how two NVIDIA DGX Spark units can serve a large language model as a single engine.

00:00:21.180 --> 00:00:30.390
<v Analyst>The setup uses a direct QSFP cable between the units’ ConnectX-7 ports, creating a private link that carries all tensor-parallel traffic.

00:00:30.736 --> 00:00:34.120
<v Host>Can you explain what hardware we’re talking about and why it matters?

00:00:34.495 --> 00:00:46.586
<v Analyst>Each unit is a GB10 chassis, containing eight GPUs and a 400 Gbps NIC. The cable keeps inter-unit communication isolated from the office network.

00:00:46.860 --> 00:00:48.989
<v Host>Which model is being served over that link?

00:00:49.401 --> 00:01:00.528
<v Analyst>It’s RadixArk’s Qwen3.8-Flash-Next-NVFP4, a 27-billion-parameter model quantized to NVFP4 for speed and efficiency.

00:01:00.857 --> 00:01:03.296
<v Host>How did Petronella get these units to work together?

00:01:03.679 --> 00:01:12.737
<v Analyst>They published a public recipe on GitHub. The repo contains a launch script, a smoke-test script, and a README that walks through each step.

00:01:12.870 --> 00:01:14.272
<v Host>What does the launch script do?

00:01:14.668 --> 00:01:24.033
<v Analyst>It starts one vLLM rank per unit. Each rank runs a container based on oxbyte/qwen3.8-flash-next-dual-spark:latest.

00:01:24.201 --> 00:01:25.885
<v Host>When was this configuration measured?

00:01:26.280 --> 00:01:38.497
<v Analyst>The 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.

00:01:38.795 --> 00:01:42.476
<v Host>Did the engine pass any correctness tests before speed was recorded?

00:01:42.853 --> 00:01:49.791
<v Analyst>Yes, a correctness gate ran first. It passed all eight tests before any speed numbers were logged.

00:01:50.053 --> 00:01:52.409
<v Host>What are the decode speeds for a single user?

00:01:52.856 --> 00:02:00.681
<v Analyst>One user sees 35.2 tokens per second on prose and 52.6 tokens per second on code.

00:02:00.968 --> 00:02:03.538
<v Host>How does the system handle multiple users concurrently?

00:02:03.940 --> 00:02:17.429
<v Analyst>At 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.

00:02:17.697 --> 00:02:20.009
<v Host>What about the prefill stage for long documents?

00:02:20.428 --> 00:02:33.758
<v Analyst>Prefill 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.

00:02:34.099 --> 00:02:38.110
<v Host>Energy consumption is always a concern. How efficient is this setup?

00:02:38.477 --> 00:02:49.019
<v Analyst>The pair draws 251 W at one user and 285 W at the full 32-user ceiling, achieving 1.16 tokens per joule.

00:02:49.365 --> 00:02:51.950
<v Host>Does the model support very long context windows?

00:02:52.392 --> 00:03:04.701
<v Analyst>A needle-retrieval test passed at every length up to 120,001 tokens, confirming that the 131,072-token context window is usable in practice.

00:03:05.022 --> 00:03:08.142
<v Host>Can you walk through the configuration flags used in the launch script?

00:03:08.530 --> 00:03:25.473
<v Analyst>Sure. 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.

00:03:25.799 --> 00:03:28.134
<v Host>What about context length and memory usage?

00:03:28.549 --> 00:03:44.481
<v Analyst>The --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.

00:03:44.742 --> 00:03:49.626
<v Host>I see there’s a --enforce-eager flag. Why is eager execution chosen?

00:03:50.032 --> 00:03:59.741
<v Analyst>Eager execution disables CUDA graphs. Petronella measured the engine with this flag, so any deviation would change the baseline numbers.

00:04:00.045 --> 00:04:02.710
<v Host>How is network transport handled across the cable?

00:04:03.062 --> 00:04:16.483
<v Analyst>NCCL 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.

00:04:16.742 --> 00:04:19.583
<v Host>What’s the required setup order when starting the two ranks?

00:04:19.990 --> 00:04:36.982
<v Analyst>Unit 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.

00:04:37.286 --> 00:04:40.038
<v Host>If the cable names differ on the units, how do you adjust?

00:04:40.443 --> 00:04:55.424
<v Analyst>You 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.

00:04:55.707 --> 00:04:58.410
<v Host>What if the launch fails? How can you diagnose it?

00:04:58.829 --> 00:05:07.085
<v Analyst>The launch script preserves the previous container’s logs before replacing it. Those logs are often the only record of why a failure occurred.

00:05:07.400 --> 00:05:11.039
<v Host>Security is a big concern. How is the API exposed?

00:05:11.411 --> 00:05:23.866
<v Analyst>vLLM 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.

00:05:24.022 --> 00:05:26.010
<v Host>What about scaling beyond two units?

00:05:26.399 --> 00:05:44.310
<v Analyst>The 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.

00:05:44.484 --> 00:05:45.478
<v Host>And eight units?

00:05:45.953 --> 00:06:05.631
<v Analyst>Eight 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.

00:06:05.922 --> 00:06:08.130
<v Host>So two units are most efficient per watt?

00:06:08.508 --> 00:06:15.761
<v Analyst>Exactly. Two units deliver 1.16 tokens per joule, the highest among the configurations measured.

00:06:16.100 --> 00:06:17.830
<v Host>What about the cost of the cable itself?

00:06:18.215 --> 00:06:32.059
<v Analyst>Petronella 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.

00:06:32.364 --> 00:06:35.434
<v Host>Can this recipe be used on other GB10 chassis?

00:06:35.791 --> 00:06:47.588
<v Analyst>Yes. The same image and settings work on Dell Pro Max, ASUS Ascent, HP ZGX Nano, Lenovo ThinkStation, and MSI EdgeXpert GB10 units.

00:06:47.888 --> 00:06:54.096
<v Host>Why does the recipe serve only 131,072 tokens when the model supports 262,144?

00:06:54.471 --> 00:07:06.356
<v Analyst>Serving 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.

00:07:06.704 --> 00:07:09.037
<v Host>How does the system lock GPU clocks?

00:07:09.449 --> 00:07:19.241
<v Analyst>Both units had their GPU clocks locked to a 300-to-2300 MHz range for the entire measurement, ensuring consistency across runs.

00:07:19.583 --> 00:07:22.005
<v Host>What about model quality? Does it matter?

00:07:22.364 --> 00:07:34.355
<v Analyst>On a retrieval-grounded CMMC battery, the two-unit setup scored 0.978, matching a larger FP8 model on a single RTX PRO 6000 GPU.

00:07:34.702 --> 00:07:36.615
<v Host>What are the known limits of this release?

00:07:36.969 --> 00:07:50.519
<v Analyst>The 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.

00:07:50.827 --> 00:07:54.907
<v Host>If an organization wants to deploy this, what steps should they take first?

00:07:55.279 --> 00:08:04.802
<v Analyst>Start by verifying the cable link with the gb10-cluster-check repository, then follow the gb10-cluster-guide for cabling and network setup.

00:08:05.083 --> 00:08:07.569
<v Host>Where can they find the launch scripts and documentation?

00:08:07.968 --> 00:08:22.819
<v Analyst>The 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.

00:08:23.162 --> 00:08:25.871
<v Host>How can they confirm they’re using the same image version?

00:08:26.266 --> 00:08:36.741
<v Analyst>Pull oxbyte/qwen3.8-flash-next-dual-spark:latest, then run docker image inspect to check the image ID matches the measured one.

00:08:37.040 --> 00:08:39.027
<v Host>Is there a way to get support from Petronella?

00:08:39.418 --> 00:08:52.367
<v Analyst>They offer a private AI solutions practice. You can call Penny at 919-348-4912 or use the contact form at /contact-us/ for assistance.

00:08:52.624 --> 00:08:55.386
<v Host>What about the broader context of private AI deployments?

00:08:55.744 --> 00:09:04.430
<v Analyst>Petronella designs and runs private AI on customer owned hardware since 2002, focusing on data sovereignty and compliance.

00:09:04.754 --> 00:09:07.305
<v Host>Can you elaborate on the energy efficiency benefits?

00:09:07.724 --> 00:09:20.391
<v Analyst>At 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.

00:09:20.733 --> 00:09:24.487
<v Host>How do the numbers for four and eight units compare in terms of tokens per joule?

00:09:24.869 --> 00:09:38.005
<v Analyst>Four 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.

00:09:38.262 --> 00:09:41.338
<v Host>Does the recipe include any special security hardening steps?

00:09:41.716 --> 00:09:51.162
<v Analyst>Beyond keeping port 8888 private, the recipe doesn’t add extra hardening. Petronella recommends using an authenticating proxy or firewall.

00:09:51.499 --> 00:09:53.762
<v Host>What about the logistics of setting up the checkpoint?

00:09:54.157 --> 00:10:03.004
<v Analyst>Download the checkpoint on both units with huggingface-cli using the specific revision ID, then pull the container image before launching.

00:10:03.291 --> 00:10:07.714
<v Host>If an organization wants to start with two units and expand later, is that feasible?

00:10:08.144 --> 00:10:15.866
<v Analyst>Yes. The same image and settings scale to more units, so you can begin with two and add more as workload demands grow.

00:10:16.197 --> 00:10:18.860
<v Host>Are there any references or further reading for the audience?

00:10:19.225 --> 00:10:29.877
<v Analyst>They can explore Petronella’s LLM benchmark hub, the GB10 cluster guide, the cluster check tool, and the private AI solutions page for deeper insight.

00:10:30.155 --> 00:10:35.548
<v Host>So, stepping into the practical side, what’s the first on-prem step an IT lead should tackle?

00:10:35.949 --> 00:10:40.347
<v Analyst>Begin by pulling the specific container image and checkpoint on every unit.

00:10:40.612 --> 00:10:44.337
<v Host>Which exact image tag and revision does the recipe lock?

00:10:44.737 --> 00:10:52.917
<v Analyst>It pulls oxbyte/qwen3.8-flash-next-dual-spark:latest and uses a Hugging Face revision ID.

00:10:53.240 --> 00:10:55.994
<v Host>Why is the revision ID critical for consistency?

00:10:56.364 --> 00:11:03.083
<v Analyst>Because the quantized weights change between revisions, and the recipe’s performance numbers assume that exact set.

00:11:03.412 --> 00:11:06.299
<v Host>Once the image is pulled, how do we handle the checkpoint?

00:11:06.664 --> 00:11:15.674
<v Analyst>Run huggingface-cli download on each unit, specifying the exact revision, so both ranks load identical weights from local disk.

00:11:15.964 --> 00:11:20.164
<v Host>Does the recipe assume any specific network configuration for the direct cable?

00:11:20.523 --> 00:11:28.521
<v Analyst>Yes, it requires a small private subnet for the QSFP connection, and you must set CABLE_SUBNET to match.

00:11:28.791 --> 00:11:32.977
<v Host>What about the NIC and RDMA device names? Those can vary.

00:11:33.235 --> 00:11:45.361
<v Analyst>Run ip -br link to see the cable interface and ibv_devices for the RDMA device; then export IFACE and HCA accordingly.

00:11:45.653 --> 00:11:48.158
<v Host>If those names are wrong, what failure do we see?

00:11:48.600 --> 00:11:57.434
<v Analyst>The engine will fail to establish a NCCL connection over RDMA, and the launch script will exit with an error before the API is up.

00:11:57.739 --> 00:12:00.643
<v Host>The script includes a smoke test; how does that help?

00:12:01.070 --> 00:12:09.883
<v Analyst>It sends a simple request to the OpenAI-compatible endpoint and verifies a correct response, ensuring the correctness gate passed.

00:12:10.171 --> 00:12:12.194
<v Host>What happens if the smoke test fails?

00:12:12.563 --> 00:12:18.491
<v Analyst>The script saves the previous container’s logs before replacing it, so you can inspect why it failed.

00:12:18.777 --> 00:12:21.843
<v Host>That’s useful. How do we stop the engine cleanly?

00:12:22.233 --> 00:12:31.569
<v Analyst>Run docker rm -f qwen38-flash-next on both units; the script handles cleanup automatically when you re-launch.

00:12:31.834 --> 00:12:35.777
<v Host>What about GPU clock settings? The article mentions a locked range.

00:12:36.085 --> 00:12:45.406
<v Analyst>Both units had clocks locked between 300 and 2300 MHz for the entire run, ensuring consistent performance across runs.

00:12:45.671 --> 00:12:50.759
<v Host>If an organization wants to scale from two to four units, what changes in the launch process?

00:12:51.208 --> 00:13:00.263
<v Analyst>The 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.

00:13:00.610 --> 00:13:04.438
<v Host>Does the recipe automatically handle multiple ranks, or do we need a different script?

00:13:04.877 --> 00:13:14.635
<v Analyst>The 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.

00:13:14.956 --> 00:13:18.609
<v Host>What about the per-user speed floor? How does that impact planning?

00:13:18.985 --> 00:13:29.301
<v Analyst>The recipe enforces a 10 tok/s floor; at 32 users the pair stays above that threshold, so 32 concurrent interactive sessions are supported.

00:13:29.564 --> 00:13:35.302
<v Host>If an organization requires more than 32 concurrent users, what configuration would you recommend?

00:13:35.681 --> 00:13:51.420
<v Analyst>Deploy 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.

00:13:51.763 --> 00:13:56.016
<v Host>What if the use case is high-speed single-user workloads rather than many users?

00:13:56.449 --> 00:14:11.765
<v Analyst>An 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.

00:14:12.064 --> 00:14:14.994
<v Host>How do we monitor power consumption in a production environment?

00:14:15.348 --> 00:14:27.821
<v Analyst>Use 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.

00:14:28.095 --> 00:14:31.756
<v Host>Does the recipe provide any guidance on handling failures during inference?

00:14:32.197 --> 00:14:41.746
<v Analyst>If a rank crashes, the other continues until you restart; the launch script will replace the failed container and preserve logs for diagnosis.

00:14:42.078 --> 00:14:48.598
<v Host>What about security beyond keeping port 8888 private? Any hardening recommendations?

00:14:48.972 --> 00:14:56.948
<v Analyst>Use a firewall or reverse proxy that authenticates requests; the recipe itself does not embed any token validation.

00:14:57.269 --> 00:15:00.405
<v Host>Is there any risk if the RDMA link goes down during operation?

00:15:00.848 --> 00:15:09.597
<v Analyst>The engine will lose inter-rank communication, causing inference to stall or fail; the script’s smoke test will detect this on restart.

00:15:09.898 --> 00:15:13.300
<v Host>What about the long-context capability? How do we verify that?

00:15:13.660 --> 00:15:24.640
<v Analyst>The 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.

00:15:24.942 --> 00:15:29.758
<v Host>Does the recipe allow us to adjust the context length beyond 131,072?

00:15:30.114 --> 00:15:40.929
<v Analyst>Changing 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.

00:15:41.275 --> 00:15:46.226
<v Host>What about the quality of the model outputs? How does that factor into deployment decisions?

00:15:46.667 --> 00:16:00.467
<v Analyst>The 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.

00:16:00.774 --> 00:16:05.513
<v Host>If quality is acceptable, what operational metrics should we monitor post-deployment?

00:16:05.867 --> 00:16:15.191
<v Analyst>Track token throughput, per-user latency, and energy consumption; also watch for any error rates from the smoke test or inference logs.

00:16:15.535 --> 00:16:18.580
<v Host>Are there any common pitfalls when first deploying this recipe?

00:16:18.989 --> 00:16:32.150
<v Analyst>Mistakes 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.

00:16:32.453 --> 00:16:35.187
<v Host>What about the licensing of the recipe and container image?

00:16:35.569 --> 00:16:44.656
<v Analyst>The recipe repo is MIT-licensed; the container image is also open source, and the checkpoint is shared under RadixArk’s licensing terms.

00:16:44.947 --> 00:16:48.735
<v Host>How does this setup compare to a single-GPU deployment in terms of cost?

00:16:49.134 --> 00:17:03.148
<v Analyst>A 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.

00:17:03.446 --> 00:17:07.768
<v Host>What resources can an organization consult to avoid misconfigurations?

00:17:08.185 --> 00:17:17.817
<v Analyst>The GB10 cluster guide walks through cabling, the cluster check tool verifies the link, and the benchmark hub documents every measured configuration.

00:17:18.125 --> 00:17:22.648
<v Host>Can the recipe be used on other GB10 systems, not just DGX Spark?

00:17:23.005 --> 00:17:32.914
<v Analyst>Yes; the recipe is agnostic to chassis, and a pod of four MSI EdgeXpert GB10 units matched the performance within a few percent.

00:17:33.183 --> 00:17:37.332
<v Host>What about the cost of the QSFP cable; is it a significant expense?

00:17:37.682 --> 00:17:50.333
<v Analyst>The 0.5 m QSFP112 400G DAC cable for DGX Spark retail at $159, and similar cables are available for other GB10 models.

00:17:50.660 --> 00:17:55.792
<v Host>If an organization wants to keep the deployment fully open source, what should they keep in mind?

00:17:56.194 --> 00:18:05.290
<v Analyst>Ensure you pull the exact image tag and verify the image ID with docker image inspect; any change in the image can alter performance.

00:18:05.598 --> 00:18:08.306
<v Host>Is there a way to monitor the correctness gate in production?

00:18:08.748 --> 00:18:17.338
<v Analyst>While 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.

00:18:17.633 --> 00:18:21.620
<v Host>What about scaling beyond eight units; does the recipe support that?

00:18:22.057 --> 00:18:34.122
<v Analyst>The 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.

00:18:34.386 --> 00:18:38.356
<v Host>Can we adjust the concurrency settings to handle more than 64 sequences?

00:18:38.768 --> 00:18:50.360
<v Analyst>Increasing --max-num-seqs would push GPU memory usage beyond the 75 % limit; you would need to raise gpu-memory-utilization or add more GPUs.

00:18:50.650 --> 00:18:53.189
<v Host>What about the effect of disabling CUDA graphs?

00:18:53.546 --> 00:19:04.253
<v Analyst>The 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.

00:19:04.586 --> 00:19:08.068
<v Host>If we want to keep the same performance but reduce power, what can we do?

00:19:08.489 --> 00:19:18.993
<v Analyst>You 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.

00:19:19.342 --> 00:19:22.132
<v Host>How do we handle updates to the model or its checkpoint?

00:19:22.581 --> 00:19:33.182
<v Analyst>Pull 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.

00:19:33.453 --> 00:19:36.792
<v Host>What about integrating this engine into a larger application stack?

00:19:37.200 --> 00:19:49.561
<v Analyst>Expose 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.

00:19:49.861 --> 00:19:53.735
<v Host>Is there any guidance on how to monitor the health of the RDMA link in production?

00:19:54.146 --> 00:20:04.745
<v Analyst>Use ibv_devinfo and the cluster check tool to verify link status; set up alerts for loss of RDMA connectivity, as that will halt inference.

00:20:05.064 --> 00:20:09.334
<v Host>What is the recommended approach for backups or disaster recovery of the model data?

00:20:09.723 --> 00:20:19.028
<v Analyst>Because 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.

00:20:19.291 --> 00:20:24.176
<v Host>So far we've covered the recipe and the numbers; now let's talk about the broader impact.

00:20:24.478 --> 00:20:35.449
<v Analyst>Deploying 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.

00:20:35.704 --> 00:20:42.839
<v Host>That means you can embed entire contracts or codebases without splitting the prompt, which simplifies downstream pipelines.

00:20:43.143 --> 00:20:51.214
<v Analyst>Exactly, and the flat prefill performance at 8K and 32K tokens keeps latency predictable for large documents.

00:20:51.474 --> 00:20:54.285
<v Host>What should an organization do first when considering this setup?

00:20:54.637 --> 00:21:03.385
<v Analyst>Start by ensuring your infrastructure supports a direct QSFP cable and that RDMA is enabled on the ConnectX-7 ports.

00:21:03.654 --> 00:21:05.625
<v Host>So the cable is a single point of failure?

00:21:05.998 --> 00:21:14.628
<v Analyst>Yes, because tensor parallelism exchanges activation data on every layer; if the link drops, inference stops entirely.

00:21:14.953 --> 00:21:16.938
<v Host>How do we monitor that link in production?

00:21:17.314 --> 00:21:24.207
<v Analyst>Run the cluster check tool before each launch and set up alerts on ibv_devinfo output for link loss.

00:21:24.537 --> 00:21:27.454
<v Host>What about the software side-how do we keep the engine healthy?

00:21:27.883 --> 00:21:34.617
<v Analyst>Use the smoke test after each deployment to confirm the correctness gate passes before exposing the API.

00:21:34.903 --> 00:21:38.853
<v Host>The smoke test runs a small request; does it check token limits too?

00:21:39.236 --> 00:21:47.030
<v Analyst>It verifies the model can generate a short completion and that the engine is reachable; token limits are covered in the benchmark suite.

00:21:47.360 --> 00:21:52.178
<v Host>Security is always a concern; what steps should we take with the open-API endpoint?

00:21:52.573 --> 00:22:03.141
<v Analyst>vLLM binds to 0.0.0.0 with no API key, so place the service behind a proxy or firewall that authenticates requests.

00:22:03.255 --> 00:22:04.387
<v Host>Would a service mesh help?

00:22:04.835 --> 00:22:13.386
<v Analyst>A mesh can enforce rate limits, TLS termination, and traffic routing to the 8888 port, adding a layer of protection.

00:22:13.731 --> 00:22:17.103
<v Host>If we need to scale beyond two units, what changes are required?

00:22:17.543 --> 00:22:25.730
<v Analyst>The same image and settings work on more ranks; you only need to launch additional nodes and adjust the launch script to include extra ranks.

00:22:25.994 --> 00:22:27.990
<v Host>Do we need a different cable for more units?

00:22:28.398 --> 00:22:36.052
<v Analyst>For a ring or switched fabric, you would use a switch or a multi-port cable; the recipe assumes a single direct link.

00:22:36.348 --> 00:22:38.678
<v Host>What about power consumption as we add units?

00:22:39.039 --> 00:22:52.509
<v Analyst>Two 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.

00:22:52.788 --> 00:22:56.527
<v Host>Is the energy efficiency drop significant with four or eight units?

00:22:56.968 --> 00:23:07.279
<v Analyst>Four 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.

00:23:07.563 --> 00:23:11.281
<v Host>So choosing the right number of units depends on user load and energy goals.

00:23:11.566 --> 00:23:21.837
<v Analyst>Exactly; 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.

00:23:22.166 --> 00:23:25.272
<v Host>What common mistakes do teams make when deploying this setup?

00:23:25.670 --> 00:23:34.277
<v Analyst>Skipping the CABLE_SUBNET variable will cause the launch to fail; always provide a subnet that the RDMA link actually uses.

00:23:34.394 --> 00:23:35.174
<v Host>Another mistake?

00:23:35.600 --> 00:23:45.700
<v Analyst>Assuming 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.

00:23:45.847 --> 00:23:47.508
<v Host>How do we handle model updates?

00:23:47.915 --> 00:23:56.396
<v Analyst>Pull the new checkpoint revision, verify the image ID matches the measured one, redeploy the container, and run the smoke test again.

00:23:56.588 --> 00:23:58.496
<v Host>Does the container image change often?

00:23:58.906 --> 00:24:05.985
<v Analyst>The tag is latest, but the image ID is stable; check docker image inspect to confirm before updating.

00:24:06.301 --> 00:24:09.019
<v Host>Are there any recommendations for backing up the checkpoint?

00:24:09.424 --> 00:24:17.426
<v Analyst>Store a versioned copy on separate storage; the checkpoint resides on local disk for each unit, so keep an off-site backup.

00:24:17.681 --> 00:24:21.255
<v Host>What about software updates to vLLM or the underlying libraries?

00:24:21.639 --> 00:24:29.099
<v Analyst>Update the container image only after verifying that the new build uses the same GPU clock range and NCCL settings.

00:24:29.354 --> 00:24:34.588
<v Host>How do we ensure the GPU clocks stay in the 300-2300 MHz range during production?

00:24:34.946 --> 00:24:42.706
<v Analyst>Configure the GPU power limit in the container runtime or use nvidia-smi to lock the clocks before launching the engine.

00:24:43.032 --> 00:24:45.805
<v Host>If the clocks drift, what impact does that have?

00:24:46.164 --> 00:24:52.960
<v Analyst>It can reduce throughput and alter the measured token per joule figure, so keep them locked for consistent performance.

00:24:53.250 --> 00:24:55.457
<v Host>Do we need to monitor GPU temperature as well?

00:24:55.850 --> 00:25:02.546
<v Analyst>Yes, high temperatures can throttle performance; set up monitoring for GPU temps and fan speeds.

00:25:02.797 --> 00:25:05.363
<v Host>What about monitoring the inference metrics themselves?

00:25:05.765 --> 00:25:14.407
<v Analyst>Collect token per second, latency, and per-user floor metrics; compare them against the benchmark values to spot regressions.

00:25:14.685 --> 00:25:17.727
<v Host>If we see a drop in throughput, what should we check first?

00:25:18.133 --> 00:25:27.052
<v Analyst>Verify the RDMA link is healthy, confirm the GPU clocks are locked, and ensure no background processes are consuming GPU memory.

00:25:27.340 --> 00:25:30.908
<v Host>Speaking of memory, what is the maximum concurrency we can handle?

00:25:31.314 --> 00:25:45.697
<v Analyst>The 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.

00:25:45.987 --> 00:25:48.255
<v Host>Can we increase that number for higher concurrency?

00:25:48.621 --> 00:25:57.977
<v Analyst>You could, but you would risk exceeding GPU memory and causing evictions; the measured numbers are based on the 0.75 utilization setting.

00:25:58.280 --> 00:26:03.145
<v Host>What if our workload requires a larger context window than 131072 tokens?

00:26:03.499 --> 00:26:15.435
<v Analyst>The 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.

00:26:15.772 --> 00:26:18.516
<v Host>Are there any security concerns beyond the open API?

00:26:18.963 --> 00:26:29.508
<v Analyst>Make sure the container runs with least privilege, restrict network access to the 8888 port, and use a firewall or API gateway to enforce authentication.

00:26:29.788 --> 00:26:32.353
<v Host>How do we handle rate limiting for multiple users?

00:26:32.773 --> 00:26:39.672
<v Analyst>Implement rate limits at the service mesh or gateway level; the engine itself does not enforce per-user limits.

00:26:39.997 --> 00:26:43.190
<v Host>What about handling very long prompts-do we need special tuning?

00:26:43.566 --> 00:26:50.278
<v Analyst>The prefill throughput remains flat across prompt sizes, so no additional tuning is required for longer inputs.

00:26:50.606 --> 00:26:54.621
<v Host>If we need to integrate this into a retrieval pipeline, what steps should we take?

00:26:55.004 --> 00:27:05.426
<v Analyst>Expose the OpenAI endpoint, let the pipeline submit queries, and use the 10-token-per-second floor to ensure interactive latency remains acceptable.

00:27:05.682 --> 00:27:10.210
<v Host>What if the pipeline generates many short requests; does that affect performance?

00:27:10.630 --> 00:27:20.643
<v Analyst>The 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.

00:27:20.941 --> 00:27:23.575
<v Host>Do we need to adjust the batch size for such workloads?

00:27:23.966 --> 00:27:32.282
<v Analyst>Batch size is internal to vLLM; the launch script sets concurrency parameters, so you don't need to modify batch size directly.

00:27:32.624 --> 00:27:35.686
<v Host>What questions do listeners often ask about this setup?

00:27:36.089 --> 00:27:46.243
<v Analyst>Common 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.

00:27:46.423 --> 00:27:48.352
<v Host>Any tips for answering those questions?

00:27:48.788 --> 00:27:58.552
<v Analyst>Explain 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.

00:27:58.831 --> 00:28:02.323
<v Host>Another frequent question is about data sovereignty-how does this work?

00:28:02.741 --> 00:28:12.982
<v Analyst>Because 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.

00:28:13.266 --> 00:28:15.793
<v Host>What about compliance with standards like CMMC?

00:28:16.179 --> 00:28:25.477
<v Analyst>The engine has been tested on a CMMC battery, scoring 0.978, which demonstrates strong alignment with compliance requirements.

00:28:25.795 --> 00:28:30.553
<v Host>Finally, what is the key takeaway for organizations looking to adopt this technology?

00:28:30.965 --> 00:28:43.402
<v Analyst>Invest 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.

00:28:43.732 --> 00:28:45.589
<v Host>Thank you for walking us through all of that.

00:28:45.852 --> 00:28:52.333
<v Analyst>Remember to keep the image ID stable and verify it with docker image inspect after pulling a new tag.

00:28:52.669 --> 00:28:56.468
<v Host>That ensures you are running the same configuration the benchmarks were measured with.

00:28:56.788 --> 00:29:04.189
<v Analyst>With those practices in place, you can confidently deliver a reliable, high-performance LLM service on premises.
