Closed yenaikafei closed 4 months ago
how resolve it problem
Most obviously, your git version for some reason isn't accepting the -C
parameter.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/adadb4e3c7382bf3e4f7519126cd6c70f4f8557b/modules/launch_utils.py#L151-L159
I can just guess you or red hat still didn't update it to 1.8.5 (when it was added, a decade ago).
Checklist
What happened?
python webui.py Warning: Stable Diffusion XL not found at path /app/stable-diffusion/stable-diffusion-webui/repositories/generative-models/sgm Warning: k_diffusion not found at path /app/stable-diffusion/stable-diffusion-webui/repositories/k-diffusion/k_diffusion/sampling.py Traceback (most recent call last): File "/app/stable-diffusion/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/app/stable-diffusion/stable-diffusion-webui/modules/initialize.py", line 24, in imports
from modules import paths, timer, import_hook, errors # noqa: F401
File "/app/stable-diffusion/stable-diffusion-webui/modules/import_hook.py", line 10, in
import torchvision.transforms.functional_tensor # noqa: F401
File "/home/iss/micromamba/envs/sd/lib/python3.10/site-packages/torchvision/init.py", line 6, in
from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils
File "/home/iss/micromamba/envs/sd/lib/python3.10/site-packages/torchvision/_meta_registrations.py", line 164, in
def meta_nms(dets, scores, iou_threshold):
File "/home/iss/micromamba/envs/sd/lib/python3.10/site-packages/torch/library.py", line 440, in inner
handle = entry.abstract_impl.register(func_to_register, source)
File "/home/iss/micromamba/envs/sd/lib/python3.10/site-packages/torch/_library/abstract_impl.py", line 30, in register
if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchvision::nms does not exist
(sd) [iss@ecs-8dd4-0001 stable-diffusion-webui]$
Steps to reproduce the problem
I following https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs Manual Installation Error reported during command execution: python webui.py
What should have happened?
Webui should be started
What browsers do you use to access the UI ?
No response
Sysinfo
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
3.10.0-1160.92.1.el7.x86_64
Using Microamba for Virtual Environment Management
Console logs
Additional information
No response