I started with jetson-containers run $(autotag cosmos-reason1) to run cosmos-reason1. But when I checked container folders, it didn’t download cosmos-reason1 from github GitHub - nvidia-cosmos/cosmos-reason1: Cosmos-Reason1 models understand the physical common sense and generate appropriate embodied decisions in natural language through long chain-of-thought reasoning processes. . After that, inside the jetson-container, I went thorough the cosmos-reaosn1 installation from GitHub - nvidia-cosmos/cosmos-reason1: Cosmos-Reason1 models understand the physical common sense and generate appropriate embodied decisions in natural language through long chain-of-thought reasoning processes. . I faced lots of dependency compatibility issues getting the torch, torchcodec and torchvision installed on the Jetson AGX platform which shows as “manylinux_2_35_aarch64”.
I overcame those issues one by one but when the following script started working,
uv run scripts/inference_sample.py
I got he following error.
My Jetson AGX orin is currently on CUDA 12.9. I am currently looking to just run the cosmos-reason1 model on Jetson AGX in someway but seems like that’s happening because of these dependencies issues.
Has any one being able to run cosmos-reason1 successfully on Jetson AGX orin?
@neel_patel
Hi,
Which container do you use?
Is the one below?
https://hub.docker.com/r/dustynv/cosmos/tags
Thanks
I used the autotag through the following command jetson-containers run $(autotag cosmos-reason1) and it automatically pulled the following container.
cosmos-reason1:r36.4.tegra-aarch64-cu129-22.04-onnx
https://hub.docker.com/r/dustynv/cosmos/tags , This link doesn’t specify container for cosmos-reason1 and cu129. All the containers are for cosmos and not cosmos-reason1 and two of the containers at this link are for cu128.
Hi,
The container is not completed.
In jetson-container, the container name should look like cosmos-reason1:r36.4.tegra-aarch64-cu129-22.04.
An extra - means it is the dependencies image, and the target image is not built successfully.
Do you mean any errors when building the container?
Could you try jetson-containers build $(autotag cosmos-reason1) to see if everything is okay?
Thanks.
Thanks for the suggestion. I tried the above but got the following error
KeyError: “couldn’t find package: cosmos-reason1:r36.4.tegra-aarch64-cu129-22.04-onnx”
Screenshot:
Hi,
Could you share the document you follow so we can know more about which container you needed?
Thanks.
dnsingh
November 4, 2025, 8:02am
10
Hi,
The corresponding tutorial for the Jetson-Container can be found below:
Could you follow the steps to see if it can work?
We didn’t find the inference_sample.py mentioned on the page.
Thanks.
dnsingh
November 6, 2025, 3:19pm
12
The file is in the scripts folder.
cosmos-reason1/scripts at main · nvidia-cosmos/cosmos-reason1
I was looking to run “cosmos-reason1” for reasoning on a video and not “cosmos” for an image/video generation. Can I run ”cosmos-reason1” within “Cosmos” container?
Hi,
We only have the cosmos example.
You might need to handle the compatibility issue for cosmos-reason1 for using it.
Here is a related post for your reference:
opened 02:15AM - 16 Sep 25 UTC
closed 10:21PM - 24 Sep 25 UTC
SA
## Issue Type
- [ ] Bug Report
- [ ] Feature Request
- [x] Question
- [x] Docum… entation
- [ ] Security
- [ ] Other
## Description
I am trying to run inference on cosmos-reason1 model on an Nvidia Jetson AGX Orin Developer Kit (64GB RAM). I ran `jetson-containers build cosmos-reason1` but i got the following build error at the cosmos-reason1 build step saying there is a missing `requirements.txt` from the cosmos-reason1 repository. If possible, providing some readme or guide on developing in docker environment on jetson devices will be helpful..
## Steps to Reproduce (for bugs)
1. Install the container tools
```bash
git clone https://github.com/dusty-nv/jetson-containers
bash jetson-containers/install.sh
```
2. Pull and run the cosmos-reason1 container
```bash
# automatically pull & run the cosmos-reason1 container
jetson-containers run $(autotag cosmos-reason1)
```
## Expected Behavior
Able to built a docker image for the cosmos-reason1 for my jetson device for me to use as base image for development and eventual deployment..
## Actual Behavior
Build failure, missing `requirements.txt` from the cosmos-reason1 repository when running `jetson-container build cosmos-reason1`
## Environment
- Model Name/Version: Cosmos reason 1
- Framework (e.g., Docker, Conda): Docker
- Python Version: 3.10.12
- OS/Platform: L4T: 36.4.4
- GPU/CPU: GPU
- Platform:
- Distribution: Ubuntu 22.04 Jammy Jellyfish
- Release: 5.15.148-tegra
- Additional Dependencies: jetpack 6.2.1
Libraries:
- CUDA: 12.6.68
- cuDNN: 9.3.0.75
- TensorRT: 10.3.0.30
- VPI: 3.2.4
- Vulkan: 1.3.204
- OpenCV: 4.8.0 - with CUDA: NO
## Additional Context
```bash
┌───────────────────────────────────────────────────────────────────────────┐
│ > BUILDING cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-cosmos-reason1 │
└───────────────────────────────────────────────────────────────────────────┘
DOCKER_BUILDKIT=0 docker build --network=host \
--tag cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-cosmos-reason1 \
--file /home/magnus/oss-projects/jetson-containers/packages/diffusion/cosmos/cosmos-reason1/Dockerfile \
--build-arg BASE_IMAGE=cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-apex \
/home/magnus/oss-projects/jetson-containers/packages/diffusion/cosmos/cosmos-reason1
[19:43:01] [48/48] Building cosmos-reason1 (cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-cosmos-reason1)47 stages completed in
08m34s at 19:43:01
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
environment-variable.
Sending build context to Docker daemon 10.24kB
Step 1/7 : ARG BASE_IMAGE
Step 2/7 : FROM ${BASE_IMAGE}
---> acb823653345
Step 3/7 : WORKDIR /opt
---> Using cache
---> 2a6e67e82080
Step 4/7 : RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
---> Using cache
---> d196fd8ef444
Step 5/7 : RUN git clone --recursive https://github.com/nvidia-cosmos/cosmos-reason1.git /opt/cosmos-reason1 && cd /opt/cosm
os-reason1 && sed -i '/decord==0.6.0/d' requirements.txt && sed -i 's/==/>=/g' requirements.txt && pip3 install eino
ps attrs pynvml protobuf && pip3 install -r requirements.txt && export MAX_JOBS=$(nproc) && pip3 install -e .
---> Running in 24ea4bd15136
Cloning into '/opt/cosmos-reason1'...
sed: can't read requirements.txt: No such file or directory
The command '/bin/sh -c git clone --recursive https://github.com/nvidia-cosmos/cosmos-reason1.git /opt/cosmos-reason1 && cd
/opt/cosmos-reason1 && sed -i '/decord==0.6.0/d' requirements.txt && sed -i 's/==/>=/g' requirements.txt && pip3 ins
tall einops attrs pynvml protobuf && pip3 install -r requirements.txt && export MAX_JOBS=$(nproc) && pip3 install -e
.' returned a non-zero code: 2
[19:43:07] =====================================================================================
[19:43:07] =====================================================================================
[19:43:07] 💣 `jetson-containers build` failed after 524.0 seconds (8.7 minutes)
[19:43:07] Error: Command 'DOCKER_BUILDKIT=0 docker build --network=host --tag cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-
cosmos-reason1 --file /home/magnus/oss-projects/jetson-containers/packages/diffusion/cosmos/cosmos-reason1/Dockerfile --buil
d-arg BASE_IMAGE=cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-apex /home/magnus/oss-projects/jetson-containers/packages/dif
fusion/cosmos/cosmos-reason1 2>&1 | tee /home/magnus/oss-projects/jetson-containers/logs/20250910_193423/build/48o48_cosmos-reas
on1_r36.4.tegra-aarch64-cu126-22.04-cosmos-reason1.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 2.
[19:43:07] =====================================================================================
[19:43:07] =====================================================================================
[19:43:07] Failed building: cosmos-reason1
Traceback (most recent call last):
File "/home/magnus/oss-projects/jetson-containers/jetson_containers/build.py", line 129, in <module>
build_container(**vars(args))
File "/home/magnus/oss-projects/jetson-containers/jetson_containers/container.py", line 231, in build_container
status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --tag cosmos-reason1:r36.4.tegra-aarch64
-cu126-22.04-cosmos-reason1 --file /home/magnus/oss-projects/jetson-containers/packages/diffusion/cosmos/cosmos-reason1/Docker
file --build-arg BASE_IMAGE=cosmos-reason1:r36.4.tegra-aarch64-cu126-22.04-apex /home/magnus/oss-projects/jetson-containers
/packages/diffusion/cosmos/cosmos-reason1 2>&1 | tee /home/magnus/oss-projects/jetson-containers/logs/20250910_193423/build/48o4
8_cosmos-reason1_r36.4.tegra-aarch64-cu126-22.04-cosmos-reason1.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 2.
```
## Deliverable
- Update jetson-container dockerfile for building and running cosmos-reason1 model successfully
- Update readme or documentation on how to run inference for development and deployment of models e.g. cosmos-reason1 in docker environment for jetson devices
Thanks.