AITemplate
AITemplate copied to clipboard
AttributeError: 'Model' object has no attribute '_allocated_ait_data'
I use the latest cuda docker with A100, when I run python3 examples/05_stable_diffusion/compile.py --token xxx, the main error code as follow:
57 errors detected in the compilation of "flash_attention_10.cu". make: *** [Makefile:9: flash_attention_10.obj] Error 1 make: *** Waiting for unfinished jobs....
2022-11-11 03:11:49,781 INFO <aitemplate.compiler.compiler> compiled the final .so file elapsed time: 0:00:08.439418
Traceback (most recent call last):
File "examples/05_stable_diffusion/compile.py", line 373, in
The real root cause is that it can't find the compiled model:
OSError: ./tmp/CLIPTextModel/test.so: cannot open shared object file: No such file or directory
This likely indicates that there was a compile error, can you share the full logs?
(Aside: in the next release, we should probably fix the exception handling in model.py
so the OSError
becomes more prominent when this happens...)
@mikeiovine Hello, here is the full logs: CompileErrorLog.txt
Looks like something in cutlass is failing to compile, can you share your compiler version, cutlass version, CUDA version, etc?
Looks like something in cutlass is failing to compile, can you share your compiler version, cutlass version, CUDA version, etc?
My gcc version is 9.4.0, GNU make version is 4.2.1, cmake version is 3.16.3, CUDA version is 11.6, cutlass version maybe is 2.10 in 3rdparty/cutlass/, and compile in docker.
I am getting exactly same error. If I can skip the "compile_clip", the other two "compile_unet" and "compile_vae" compiles fine and generates test.so. and I have exactly same error as @mingqizhang . Any update on this ?
I'm facing the same error as @mingqizhang & @ffahmed on A100.
@mikeiovine I see the same issue on an A10G.
I meet the same issue on 3060 and 3090!