Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run containers using jetson-containers run #787

Open
bartekmotyl opened this issue Jan 19, 2025 · 1 comment
Open

Cannot run containers using jetson-containers run #787

bartekmotyl opened this issue Jan 19, 2025 · 1 comment

Comments

@bartekmotyl
Copy link

Hi,

I am completely new to Jetson (just bought my first Jetson Orin Nano few days ago) so please excuse me if the question is lame ;)
I have tried to find the answer but without success so far.

As said, I have a brand new Jetson Orin Nano which I have set up this week, with Jetpack 6.2 and L4T 36.4.3 (I am still not sure what that exactly means, but already learned these are important numbers :)
I am following this tutorial which suggest to start the container using

jetson-containers run $(autotag text-generation-webui)

When I do that, docker starts but it seems the container is empty - nothing is running inside:

(venv) username@jetson:~/git/jetson-containers$ jetson-containers run $(autotag text-generation-webui)                                                          Namespace(packages=['text-generation-webui'], prefer=['local', 'registry', 'build'], disable=[''], user='dustynv', output='/tmp/autotag', quiet=False, verbose=False)
-- L4T_VERSION=36.4.3  JETPACK_VERSION=5.1  CUDA_VERSION=12.6
-- Finding compatible container image for ['text-generation-webui']
text-generation-webui:r36.4.3-cudnn
V4L2_DEVICES:
+ docker run --runtime nvidia -it --rm --network host --shm-size=8g --volume /tmp/argus_socket:/tmp/argus_socket --volume /etc/enctune.conf:/etc/enctune.conf --volume /etc/nv_tegra_release:/etc/nv_tegra_release --volume /tmp/nv_jetson_model:/tmp/nv_jetson_model --volume /var/run/dbus:/var/run/dbus --volume /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket --volume /var/run/docker.sock:/var/run/docker.sock --volume /home/username/git/jetson-containers/data:/data -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro --device /dev/snd -e PULSE_SERVER=unix:/run/user/1000/pulse/native -v /run/user/1000/pulse:/run/user/1000/pulse --device /dev/bus/usb --device /dev/i2c-0 --device /dev/i2c-1 --device /dev/i2c-2 --device /dev/i2c-4 --device /dev/i2c-5 --device /dev/i2c-7 --name jetson_container_20250119_162929 text-generation-webui:r36.4.3-cudnn
root@jetson:/#

On the other hand, when I start the container "manually" i.e. via

docker run --runtime nvidia -it --rm --network=host dustynv/text-generation-webui:r36.4.3

it seems to works fine - everything starts, I can open the web UI and even download & load the model without problems.

But why I cannot run it via jetson-containers run ?

@kikoyah
Copy link

kikoyah commented Jan 23, 2025

Idk why jetson-containers run $(autotag text-generation-webui) is not working, perhaps some of packages are failing after last updates. Until the container get fixed, you can use jetson-containers run dustynv/stable-diffusion:r36.2.0 instead, this is a stable version that worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants