-
Notifications
You must be signed in to change notification settings - Fork 755
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Search before asking
- I have searched the jetson-containers issues and found no similar feature requests.
jetson-containers Component
Packages
Bug
Error when running jetson-containers build cosmos-reason1 due to missing requirements.txt from the official repository. It seems like this dockerfile has to be updated to fit the installations and dependencies required for the cosmos-reason1 model.
Here are the error logs from building the cosmos-reason1 docker image.
┌───────────────────────────────────────────────────────────────────────────┐
│ > 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.
Environment
- Model: NVIDIA Jetson AGX Orin Developer Kit
- L4T: 36.4.4
- Jetpack 6.2.1
Platform:
- Distribution: Ubuntu 22.04 Jammy Jellyfish
- Release: 5.15.148-tegra
jtop: - Version: 4.3.2
- Service: Active
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
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working