# ZED SDK 5.4.0 on DGX Spark (GB10) fails NEURAL depth model optimization and enters infinite optimization loop

**URL:** <https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460>\
**Category:** Software\
**Tags:** sdk\
**Created:** [June 18, 2026, 8:54pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460 "2026-06-18T20:54:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShashankVSS](https://community.stereolabs.com/user_avatar/community.stereolabs.com/shashankvss/32/6120_2.png) [@ShashankVSS](https://community.stereolabs.com/u/ShashankVSS)\
**Post date:** [June 18, 2026, 8:54pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/1 "2026-06-18T20:54:18Z")

</div>

Hi [Stereolabs](https://www.stereolabs.com/) team,

I’m testing the new DGX Spark beta support introduced in ZED SDK 5.4.0 and have encountered an issue with NEURAL depth model optimization.

**Hardware**

- NVIDIA DGX Spark (GB10)

- System reports: Dell Pro Max with GB10 FCM1253

- Driver Version: 580.142

**Software**

- Ubuntu 24.04.4 LTS

- ZED SDK 5.4.0

- Fresh installation

**Issue**

After installing the SDK and attempting to run any application that uses NEURAL depth mode, the SDK prompts for AI model optimization.

The optimization process starts but eventually fails with the message:

`Failed to optimize model. NEURAL mode won’t be available.`

After this failure, the application immediately triggers the same optimization prompt. The model never successfully optimizes, and the system appears stuck in a loop where optimization is repeatedly requested but always fails.

**Steps to Reproduce**

1. Install ZED SDK 5.4.0 on DGX Spark (GB10).

2. Launch an application that uses NEURAL depth mode (or attempt model optimization manually).

3. Optimization begins.

4. Optimization fails with:

5. SDK requests optimization again and repeats the same failure.

I have not yet found a way to complete model optimization successfully. Happy to provide diagnostic logs if needed.

Thanks.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [June 19, 2026, 2:51pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/2 "2026-06-19T14:51:08Z")

</div>

Hi @ShashankVSS  
DGX Spark support is still experimental and not completely operational.  
Your report will help us improve the compatibility of the ZED SDK with this platform.

Can you please run the [ZED Diagnostic tool](https://docs.stereolabs.com/docs/development/zed-tools/zed-diagnostics) and share the JSON report that it generates?

---

<div class="post-metadata">

**Author:** ![adujardin](https://community.stereolabs.com/user_avatar/community.stereolabs.com/adujardin/32/4125_2.png) [@adujardin](https://community.stereolabs.com/u/adujardin)\
**Post date:** [June 22, 2026, 12:49pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/3 "2026-06-22T12:49:29Z")

</div>

@ShashankVSS In addition to the ZED DIagnostic tool report, pls also post the output of these commands to show TensorRT library version

- `ls /usr/local/cuda/lib64/ | grep libnvinfer`
- `ldd /usr/local/zed/lib/libsl_ai.so | grep libnvinfer`

While being experimental, this is definetly not expected and can’t be reproduced on our side currently.

---

<div class="post-metadata">

**Author:** ![ShashankVSS](https://community.stereolabs.com/user_avatar/community.stereolabs.com/shashankvss/32/6120_2.png) [@ShashankVSS](https://community.stereolabs.com/u/ShashankVSS)\
**Post date:** [June 22, 2026, 1:32pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/4 "2026-06-22T13:32:37Z")

</div>

Hi Myzhar, hi adujardin,

Thanks for the follow-up.

I ran the ZED Diagnostic tool and attached the generated JSON report.

Here are the requested TensorRT-related command outputs:

```bash
ls /usr/local/cuda/lib64/ | grep libnvinfer
libnvinfer_builder_resource_ptx.so.10.16.1
libnvinfer_builder_resource_sm100.so.10.16.1
libnvinfer_builder_resource_sm110.so.10.16.1
libnvinfer_builder_resource_sm120.so.10.16.1
libnvinfer_builder_resource_sm75.so.10.16.1
libnvinfer_builder_resource_sm80.so.10.16.1
libnvinfer_builder_resource_sm86.so.10.16.1
libnvinfer_builder_resource_sm89.so.10.16.1
libnvinfer_builder_resource_sm90.so.10.16.1
libnvinfer_plugin.so
libnvinfer_plugin.so.10
libnvinfer_plugin.so.10.16.1
libnvinfer.so
libnvinfer.so.10
libnvinfer.so.10.16.1

ldd /usr/local/zed/lib/libsl_ai.so | grep libnvinfer
        libnvinfer.so.10 => /usr/local/cuda/targets/sbsa-linux/lib/libnvinfer.so.10 (0x0000f8ac43530000)
        libnvinfer_plugin.so.10 => /usr/local/cuda/targets/sbsa-linux/lib/libnvinfer_plugin.so.10 (0x0000f8ac402b0000)

```

Please let me know if there are any other logs or environment details that would help.

[ZED\_Diagnostic\_Results.json](https://community.stereolabs.com/uploads/short-url/3qgM38jkChmDdPR3LUTyZLwoGV.json) (6.4 KB)

---

<div class="post-metadata">

**Author:** ![adujardin](https://community.stereolabs.com/user_avatar/community.stereolabs.com/adujardin/32/4125_2.png) [@adujardin](https://community.stereolabs.com/u/adujardin)\
**Post date:** [June 22, 2026, 3:59pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/5 "2026-06-22T15:59:58Z")

</div>

Thanks, nothing stands out. The only diff I see is driver version but I doubt this has an impact (The test board I have is 580.159, you have 580.142), you can try updating just in case.

You can also try to run the optimized NEURAL \*LIGHT model we have run to test

```bash
mkdir -p /usr/local/zed/resources ; wget https://download.stereolabs.com/ai/engine/.neural_depth_light_5.3.model_optimized-fbcbl-1-121-13000-101601-125-256-24576-48-100-512-48-1-0e55-512 -P /usr/local/zed/resources/

```

Then run ZED Depth Viewer or a sample

---

<div class="post-metadata">

**Author:** ![ShashankVSS](https://community.stereolabs.com/user_avatar/community.stereolabs.com/shashankvss/32/6120_2.png) [@ShashankVSS](https://community.stereolabs.com/u/ShashankVSS)\
**Post date:** [June 22, 2026, 4:19pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/6 "2026-06-22T16:19:57Z")

</div>

I’ll try to update my driver to see if that’ll help with this. I tried the command you gave but it still has issues with the model optimization failing. I’ll let you know if the driver update fixes the issue, otherwise, we’ll wait for another future release.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![adujardin](https://community.stereolabs.com/user_avatar/community.stereolabs.com/adujardin/32/4125_2.png) [@adujardin](https://community.stereolabs.com/u/adujardin)\
**Post date:** [June 22, 2026, 4:30pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/7 "2026-06-22T16:30:42Z")

</div>

Sorry I just realized it was NEURAL LIGHT I sent, don’t hesitate to give it a try !

---

<div class="post-metadata">

**Author:** ![ShashankVSS](https://community.stereolabs.com/user_avatar/community.stereolabs.com/shashankvss/32/6120_2.png) [@ShashankVSS](https://community.stereolabs.com/u/ShashankVSS)\
**Post date:** [July 2, 2026, 4:53pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/8 "2026-07-02T16:53:10Z")

</div>

Hey adujardin and myzhar,

Sorry for the late reply. I was able to update the driver to 580.159 and also tested the NEURAL LIGHT model you provided.

It looks like ZED Depth Viewer and ZED Studio still attempt to optimize the standard NEURAL model on startup, which either crashes during optimization or gets stuck repeatedly showing the message:

`“NEURAL depth mode requires model optimization. This is done only once and will take a few minutes to complete. Do you want to proceed?”`

However, if I manually select NEURAL LIGHT in ZEDfu, it runs correctly without any issues.

Would it be possible to get downloadable optimized versions of the NEURAL and NEURAL PLUS models as well? I’d like to test whether the problem is specific to the optimization step rather than the models themselves.

Thanks again for all your help!

Shashank

---

<div class="post-metadata">

**Author:** ![ShashankVSS](https://community.stereolabs.com/user_avatar/community.stereolabs.com/shashankvss/32/6120_2.png) [@ShashankVSS](https://community.stereolabs.com/u/ShashankVSS)\
**Post date:** [August 4, 2026, 1:35pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/9 "2026-08-04T13:35:55Z")

</div>

@adujardin @Myzhar

Hi! Just following up on this in case it got buried.

I’m still seeing the same issue with the latest ZED SDK 5.4.1. ZED Depth Viewer and ZED Studio continue to get stuck or crash during optimization of the `NEURAL` and `NEURAL PLUS` depth models, while `NEURAL LIGHT` works correctly using the optimized model you previously provided.

Would it be possible to get pre-optimized versions of the `NEURAL` and `NEURAL PLUS` models as well? I’d like to confirm whether the issue is with the optimization step itself rather than the models.

Thanks!

---

<div class="post-metadata">

**Author:** ![adujardin](https://community.stereolabs.com/user_avatar/community.stereolabs.com/adujardin/32/4125_2.png) [@adujardin](https://community.stereolabs.com/u/adujardin)\
**Post date:** [August 7, 2026, 9:09am UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-on-dgx-spark-gb10-fails-neural-depth-model-optimization-and-enters-infinite-optimization-loop/11460/10 "2026-08-07T09:09:22Z")

</div>

Hi @ShashankVSS

Of course

```bash
mkdir -p /usr/local/zed/resources ; wget https://download.stereolabs.com/ai/engine/.neural_depth_5.3.model_optimized-kcebl-1-121-13000-101601-125-256-24576-48-100-512-48-1-0e55-1024 -P /usr/local/zed/resources/ ; wget https://download.stereolabs.com/ai/engine/.neural_depth_5.3.model_optimized-fbcbl-1-121-13000-101601-125-256-24576-48-100-512-48-1-0e55-512 -P /usr/local/zed/resources/

```

You can also test to run this just in case to fix the issue:

```bash
sudo ln -s /usr/local/cuda/lib64/libnvinfer_builder_resource*.so.* /usr/lib/$(uname -m)-linux-gnu/ 

```
