Avatar
verita84
14fac33f299949ee9572e1b41c5e4de0f6e564f5499c64ff7de703213e94399f
Admin of poster.place

Who gonna buy?

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

This is using that official docker image

docker run -it --network=host --device=/dev/kfd --device=/dev/dri --group-add=video --ipc=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/dockerx:/dockerx rocm/pytorch

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

Update per your last request, I started over:

RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

root@nexus:/dockerx/stable-diffusion-webui# python3

Python 3.8.16 (default, Jun 12 2023, 18:09:05)

[GCC 11.2.0] :: Anaconda, Inc. on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import torch;

>>> torch.cuda.is_available()

True

>>>

Replying to Avatar gray

nostr:npub1znavx0efn9y7a9tjux6pchjdurmw2e84fxwxflmauupjz0558x0sqmwtpl Remember when RAM was so expensive you couldn't just max out a computer for no reason?

Replying to Avatar

nostr:npub1znavx0efn9y7a9tjux6pchjdurmw2e84fxwxflmauupjz0558x0sqmwtpl Then don't launch it as root, or at least delete the lines 94 to 104 in webui.sh if you really want to run it as root.

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

it installs torch 2.0.2 in venv but then this h appens when starting webui:

Replying to Avatar

nostr:npub1znavx0efn9y7a9tjux6pchjdurmw2e84fxwxflmauupjz0558x0sqmwtpl Then don't launch it as root, or at least delete the lines 94 to 104 in webui.sh if you really want to run it as root.

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

it has a flag at the top to run as root, changing 0 to 1

Replying to Avatar

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

in docker, I modified webui.sh to allow root

RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable t

Replying to Avatar

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

in docker? not according to instructions, You get this error:

ERROR: This script must not be launched as root, aborting...

Replying to Avatar

nostr:npub1znavx0efn9y7a9tjux6pchjdurmw2e84fxwxflmauupjz0558x0sqmwtpl Also remove --precision=full --no-half, since 6xxx series cards support fp16 just fine.

nostr:npub1ajw6axeack23437kedc8pkwghneenrkh9ljfxxgxumr6t6k4rtvqecaj8d

Followed the instructions to upgrade python...maybe it will work now

Fedora basically kills Xorg