# Error when optimising v11/v26 nano models in Jetson Nano Orin

**URL:** https://community.ultralytics.com/t/error-when-optimising-v11-v26-nano-models-in-jetson-nano-orin/1880
**Category:** Discussion
**Tags:** question, yolo
**Created:** [March 19, 2026, 2:10pm UTC](https://community.ultralytics.com/t/error-when-optimising-v11-v26-nano-models-in-jetson-nano-orin/1880 "2026-03-19T14:10:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jmartinpizarro](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/jmartinpizarro/32/1389_2.png) [@jmartinpizarro](https://community.ultralytics.com/u/jmartinpizarro)
#### Post date: [March 19, 2026, 2:10pm UTC](https://community.ultralytics.com/t/error-when-optimising-v11-v26-nano-models-in-jetson-nano-orin/1880/1 "2026-03-19T14:10:26Z")

</div>

I optimise models following the work flow ultralytics API → onnx → .engine (trtexec command). For v8n, no problems were obtained.

For v11n/v26n, things wen’t no so well. I obtained for both the same error: on the Attention Layer I did not have enough workspace (4098MiB were given) for optimising the model (this happened when using the trtexec command).

My Jetson Nano has near 8000MiB. I tried with 6000MiB aprox. Still same issue. Does this usually happen with these models and this hardware specs or is just me?

---

<div class="post-metadata">

### Author: ![Toxite](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/toxite/32/123_2.png) [@Toxite](https://community.ultralytics.com/u/Toxite)
#### Post date: [March 19, 2026, 3:42pm UTC](https://community.ultralytics.com/t/error-when-optimising-v11-v26-nano-models-in-jetson-nano-orin/1880/2 "2026-03-19T15:42:42Z")

</div>

Are you using latest Ultralytics? You should try latest Ultralytics and export directly with Ultralytics to TensorRT.

Also can you post the output of `yolo checks`
