novelai吧 关注:357,698贴子:1,697,436
  • 1回复贴,共1

linuxs上安装好一直没法跑,a卡的,有大佬能帮忙看下吗

只看楼主收藏回复

HSA_OVERRIDE_GFX_VERSION=10.3.0 python launch.py --precision full --no-half
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Commit hash: 1ef32c8b8fa3e16a1e7b287eb19d4fc943d1f2a5
Installing requirements for Web UI
Launching Web UI with arguments: --precision full --no-half
/home/cwb/.local/lib/python3.10/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loading weights [925997e9] from /home/cwb/下载/stable-diffusion-webui/models/Stable-diffusion/model.ckpt
Loading VAE weights from: /home/cwb/下载/stable-diffusion-webui/models/Stable-diffusion/model.vae.pt
Applying cross attention optimization (Doggettx).
Model loaded.
Loaded a total of 0 textual inversion embeddings.
Embeddings:
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
0%| | 0/20 [00:00<?, ?it/s]MIOpen(HIP): Error [Compile] 'hiprtcCompileProgram(prog.get(), c_options.size(), c_options.data())' naive_conv.cpp: HIPRTC_ERROR_COMPILATION (6)
MIOpen(HIP): Error [BuildHip] HIPRTC status = HIPRTC_ERROR_COMPILATION (6), source file: naive_conv.cpp
MIOpen(HIP): Warning [BuildHip] /tmp/comgr-61962d/input/naive_conv.cpp:39:10: fatal error: 'limits' file not found
#include <limits> // std::numeric_limits
^~~~~~~~
1 error generated when compiling for gfx1030.
terminate called after throwing an instance of 'miopen::Exception'
what(): /long_pathname_so_that_rpms_can_package_the_debug_info/data/driver/MLOpen/src/hipoc/hipoc_program.cpp:304: Code object build failed. Source: naive_conv.cpp
已放弃 (核心已转储)


IP属地:浙江1楼2023-03-29 13:04回复
    编译的时候缺少头文件limits,看看你c++标准库是不是装全了
    https://github.com/RadeonOpenCompute/ROCm/issues/1889


    IP属地:日本2楼2023-03-29 15:14
    回复