Engine build failure of TensorRT 11.4 (Windows ARM64 wheel) when building ONNX models on GPU NVIDIA RTX Spark N1X (sm121): missing Myelin resource DLL

Abierto
#4,904 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cpp, python

Línea de trabajo

The failure is a missing Myelin resource DLL (myelin_resource64_sm110_2.dll) raised at resource_wrc.h:45 during codeGenerator.cpp compilation, and the installed wheel ships only nvinfer_builder_resource_sm120_11.dll, with no sm121 builder resource. The repro is a Python tensorrt-cu13 install on Windows ARM64 building any ONNX model. Fixing it means changing NVIDIA's packaging or build artifacts, not this repository's code, so a newcomer cannot close it from here.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Module:Engine Build

Description

On a Windows 11 ARM64 laptop with an NVIDIA RTX Spark N1X GPU (compute capability 12.1), the TensorRT Windows ARM64 wheel installs and imports, but every engine build fails in Myelin:

Internal Error: MyelinCheckException: resource_wrc.h:45: CHECK(hMod_) failed. Failed to load resource DLL: myelin_resource64_sm110_2.dll, error: 2
[TRT] [E] IBuilder::buildSerializedNetwork: Error Code 1: Myelin ([myelin_graph.h:1295: attachExceptionMsgToGraph] MyelinCheckException: resource_wrc.h:45: CHECK(hMod_) failed. Failed to load resource DLL: myelin_resource64_sm110_2.dll, error: 2 In nvinfer1::builder::MyelinGraphTranslatorBase::compileGraph at C:\_src\optimizer\myelin\codeGenerator.cpp:2011)

The installed packages contain only these TensorRT DLLs:

nvinfer_11.dll                        230 MB
nvinfer_builder_resource_sm120_11.dll 225 MB
nvinfer_plugin_11.dll                  12 MB

So there is a builder resource for sm120 only (none for sm121), and no myelin_resource* DLL at all. The error also asks for an sm110 resource although torch.cuda.get_device_capability() reports (12, 1).

Workaround on the same machine: under WSL2 (Ubuntu 24.04 ARM64), nvidia-smi sees the GPU and the Linux aarch64 wheel tensorrt-cu13 11.4.0.106 builds and runs strongly typed engines for the same model (FP32 8.3 ms, FP16 4.0 ms, INT8 QDQ 4.1 ms per 640x640 image, batch 16). So GPU, driver and model are fine; only the native Windows ARM64 package seems to be missing the sm121 / Myelin resources.

Is the RTX Spark (12.1) on Windows ARM64 meant to be supported by the standard TensorRT wheels? If so, could the sm121 builder resource and the Myelin resources be added?

Environment

TensorRT Version: 11.4.0.106 (tensorrt-cu13, tensorrt_cu13_libs, tensorrt_cu13_bindings, pip from pypi.nvidia.com, win_arm64)

NVIDIA GPU: NVIDIA RTX Spark N1X (6144-core Blackwell RTX GPU), compute capability 12.1

NVIDIA Driver Version: 615.83 (KMD 617.74, as reported by nvidia-smi)

CUDA Version: 13.4

CUDNN Version: none installed separately

Operating System: Windows 11 ARM64 (build 28000)

Python Version (if applicable): 3.12.16 (ARM64)

Tensorflow Version (if applicable): n/a

PyTorch Version (if applicable): 2.14.0+cu134 (CUDA works)

Baremetal or Container (if so, version): Baremetal (native Windows)

Relevant Files

Model link: YOLO11l (Ultralytics 8.4.192) fine-tuned on BDD100K, exported to ONNX (opset 18, static batch 16, 640x640). The failure happens at the Myelin compile step, before anything model-specific, so I expect any similar ONNX model to fail; a public yolo11n.pt export was not tested separately.

Steps To Reproduce

Commands or scripts:

python -m pip install tensorrt-cu13 --extra-index-url https://pypi.nvidia.com
python -c "import tensorrt as trt; print(trt.__version__)"     # 11.4.0.106
# build any ONNX model, e.g. via Ultralytics:
yolo export model=yolo11l.pt format=engine quantize=16 device=0
# or the TensorRT Python API: OnnxParser + builder.build_serialized_network(...) -> fails as above

Have you tried the latest release?: 11.4.0.106 is the newest wheel pip resolved on 2026-10-30.

Can this model run on other frameworks?: Yes. ONNX Runtime CPU runs it; TensorRT-RTX 1.6 (onnxruntime-ep-nv-tensorrt-rtx-cu13 0.4.0) builds and runs FP32/FP16 for it on the same Windows machine; Linux TensorRT 11.4 in WSL2 on the same machine builds FP32/FP16/INT8 engines.

Lenguaje dominante
C++
Estrellas
13.5k
Forks
2.4k
Merge medio
6 d 21 h
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/TensorRT

Todos los issues de NVIDIA/TensorRT

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.