ColossalAI
ColossalAI copied to clipboard
txt2img error [BUG]:
π Describe the bug
bash scripts/txt2img.sh
===================================BUG REPORT=================================== Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
bin /opt/conda/lib/python3.7/site-packages/bitsandbytes/libbitsandbytes_cuda113.so
/opt/conda/lib/python3.7/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files: {PosixPath('/opt/conda/lib/libcudart.so'), PosixPath('/opt/conda/lib/libcudart.so.11.0')}.. We'll flip a coin and try one of these, in order to fail forward.
Either way, this might cause trouble in the future:
If you get CUDA error: invalid device function
errors, the above might be the cause and the solution is to make sure only one ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] in the paths that we search based on your env.
warn(msg)
CUDA SETUP: CUDA runtime path found: /opt/conda/lib/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 113
CUDA SETUP: Loading binary /opt/conda/lib/python3.7/site-packages/bitsandbytes/libbitsandbytes_cuda113.so...
Global seed set to 42
Loading model from /root/programs_wmw/sd_train/ColossalAI-main/examples/images/diffusion/tmp/2023-06-15T17-53-44_train_colossalai_teyvat/checkpoints/trainstep_checkpoints/epoch=000095-step=000010000.ckpt
Global Step: 10000
Traceback (most recent call last):
File "scripts/txt2img.py", line 306, in target
to instantiate.")
KeyError: 'Expected key target
to instantiate.'
Environment
No response
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
Title: txt2img error [BUG]:
@wangmiaowei can you re-try text-image using this branch? https://github.com/hpcaitech/ColossalAI/tree/feature/stable-diffusion/applications/stable-diffusion/text_img2img we are updating to newer version. If you have some question, you can contact me @tiandiao123
@wangmiaowei can you re-try text-image using this branch? https://github.com/hpcaitech/ColossalAI/tree/feature/stable-diffusion/applications/stable-diffusion/text_img2img we are updating to newer version. If you have some question, you can contact me @tiandiao123
does this error be solved? I meet the same issue, when finish trainning, can not do inference.