I have an AGX Orin 64GB developer kit machine.
I am attempting to build/install stable-diffusion, and followed the instructions here: Stable Diffusion - NVIDIA Jetson AI Lab
I ran:
git clone https://github.com/dusty-nv/jetson-containers
bash jetson-containers/install.sh
and these succeeded.
The last, deceptively simple, command
jetson-containers run $(autotag stable-diffusion-webui)
failed.
Now, because this command results in about 3 hours of downloading and compiling (apparently inside of docker containers) and more downloading and more compiling, I have very little understanding of just where it failed.
Also, that it prints out compiler warnings in red makes it even less clear. (Was there no consideration that this process might ever fail?)
It appears that the errors (there were many – fail fast anyone?) that eventually derailed things were all C++ compiler errors (I can say none of them were warnings).
What was it in the process of building? I’m not rightly sure. It seems that there was a Python script involved, that in turn invoked cmake with the arguments --build /opt/onnxruntime/build/Linux/Release --config Release -- -j12
So I guess onnxruntime
?
It returned exit code 2, so if anyone knows what that means, let me know.
The basic tenor of the compiler errors is something like:
/opt/onnxruntime/onnxruntime/core/providers/cpu/math/element_wise_ops.cc: In member function ‘onnxruntime::common::Status onnxruntime::Min_6<T>::Compute(onnxruntime::OpKernelContext*) const [with T = float]’:
/opt/onnxruntime/onnxruntime/core/providers/cpu/math/element_wise_ops.cc:708:56: error: no matching function for call to ‘Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<float, -1, 1>, 0, Eigen::Stride<0, 0> > >::min<Eigen::PropagateNaN>(Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<float, -1, 1>, 0, Eigen::Stride<0, 0> > >)’
These are details to which that I would expect not to be exposed.
Because it was building Docker containers (why are they not already pre-built?), here is the output of docker images
so you have an idea of how far it got:
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 31b45dbc2d9a 40 hours ago 18GB
stable-diffusion-webui r36.4.0-tensorrt 4e0a103e0ae3 40 hours ago 18GB
stable-diffusion-webui r36.4.0-opencv 9240c676737d 40 hours ago 14.9GB
stable-diffusion-webui r36.4.0-pycuda ff52f2d7ad0a 42 hours ago 10.1GB
stable-diffusion-webui r36.4.0-xformers 92231cb73572 42 hours ago 10.1GB
stable-diffusion-webui r36.4.0-transformers b7d174f61cb5 42 hours ago 10.1GB
stable-diffusion-webui r36.4.0-rust 303a52fabec7 42 hours ago 9.6GB
stable-diffusion-webui r36.4.0-huggingface_hub bea8e3bbef69 42 hours ago 8.09GB
stable-diffusion-webui r36.4.0-torchvision 7f81cb6ad021 42 hours ago 8.08GB
stable-diffusion-webui r36.4.0-pytorch_2.5 2c76ab09bd02 42 hours ago 8.05GB
stable-diffusion-webui r36.4.0-onnx bac4167a6f7c 42 hours ago 7.13GB
stable-diffusion-webui r36.4.0-cmake 564369fc18ff 42 hours ago 7.1GB
stable-diffusion-webui r36.4.0-numpy c4d4f71d19f0 42 hours ago 7.04GB
stable-diffusion-webui r36.4.0-python 5edc6ba09a2f 42 hours ago 6.98GB
stable-diffusion-webui r36.4.0-cudnn_9.4 d47514ce3bd0 42 hours ago 6.91GB
stable-diffusion-webui r36.4.0-cuda_12.6 4ead91dcf5fd 42 hours ago 5.91GB
stable-diffusion-webui r36.4.0-pip_cache_cu126 652b1fc7a9d5 43 hours ago 723MB
stable-diffusion-webui r36.4.0-build-essential b5b17627d26e 43 hours ago 723MB
ubuntu 22.04 981912c48e9a 3 months ago 69.2MB
Presumably it failed while trying to build container id 31b45dbc2d9a
?
I have attached the (as far as I can tell) relevant portion of the stdout.
stable-diffusion-webui-log.txt (392.8 KB)
If more information is needed, please let me know and I will provide it.
Thanks!