Hello_ai_world_nvidia

Hi again, trying to run:

Title: hello_ai_world_nvidia

Command/Errors:
root@ubuntu:/media/kopbeen/steek2_0/hello_ai_world_nvidia/llava# jetson-containers run --workdir=/opt/text-generation-webui $(autotag text-generation-webui) python3 download-model.py --output=/data/models/text-generation-webui TheBloke/llava-v1.5-13B-GPTQ
bash: /usr/local/bin/autotag: Permission denied
bash: /usr/local/bin/jetson-containers: Permission denied

Tried:

  1. sudo chown -R root:root /usr/local/bin/jetson-containers
  2. sudo chown -R root:root /usr/local/bin/autotag
  3. chmod +x /usr/local/bin/jetson-containers
1 Like

Hi @pieterc,

I move this post to Jetson AGX Xavier, since most of your Jetson activity seems to happen there.

May I kindly ask you to try and stay in the correct categories for your requests?

The Jetson-inference - docker issues post is also not in the correct category but should rather be in a Jetson specific category.

By trying to keep it in context the chances are that much higher that you will receive help. Also, if people have looked at your issues they might have prior knowledge. Posting in vastly different categories means whoever looks at it needs to start from scratch.

Thanks!

1 Like

Thank you Markus, will do in future. Apologies.

Pieter Claassens

Software Engineer

SHOCK Electro-Optic Systems

Cell: +27 83 561 8577

WhatsApp: +27 68 742 8101

1 Like

Hello @pieterc,

Have you tried running jetson-containers with sudo ?

sudo jetson-containers run ...

best regards,
Andrew
Embedded Software Engineer at ProventusNova

Hi,

Just want to double-check.
Do you want to run the jetson-container command within a container or natively?

Thanks.

natively please

Tried more chmod commands: (fail)

root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# sudo chmod -R 777 /root/bin/autotag
root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# sudo chmod -R 777 /usr/local/bin/jetson-containers

also failing / no effect:

root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# chmod -R a+rX /usr/local/bin/jetson-containers
root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# chmod -R a+rX /root/bin/autotag

Trying sudo :

root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# sudo chmod -R 777 /usr/local/bin/jetson-containers
root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# sudo chmod -R 777 /root/bin/autotag
root@ubuntu:/media/kopbeen/steek2_0/jetson-containers/jetson-containers# sudo jetson-containers run --workdir=/opt/text-generation-webui $(autotag text-generation-webui) python3 server.py --listen --model-dir /data/models/text-generation-webui --model TheBloke_llava-v1.5-13B-GPTQ --multimodal-pipeline llava-v1.5-13b --loader autogptq --disable_exllama --verbose
bash: /root/bin/autotag: Permission denied
sudo: jetson-containers: command not found

root@ubuntu:/usr/local/bin# echo “hello” > hello.txt
root@ubuntu:/usr/local/bin# ls
autotag cython hello.txt

root@ubuntu:/usr/local/bin# cd /root/bin
root@ubuntu:~/bin# echo “hello” > hello.txt
root@ubuntu:~/bin# ls
autotag hello.txt
root@ubuntu:~/bin# pwd
/root/bin

Hi,

Do you log in to the device with root?
If yes, will you use another username after?

In general, you can clone jetson-container with the following commands:

git clone https://github.com/dusty-nv/jetson-containers
bash jetson-containers/install.sh

(Please select a folder with write permission.)

Then the jetson-containers run should work as expected.

Thanks.

Thanks I will try …