AITemplate
AITemplate copied to clipboard
python scripts/compile.py error
ake: Leaving directory '/data/bml/tool/AITemplate/examples/05_stable_diffusion/tmp/profiler'
2023-04-24 12:55:25,551 INFO <aitemplate.backend.builder> make stderr:
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ make: *** [Makefile_f4b2dcf0579ea02d7f3e592d4475e56800bce1b6:6: gemm_rcr_bias_permute/gemm_rcr_bias_permute_30d331b46ca1799ff6ead39ab17266cdc17ffea8_3] Error 1 make: *** Waiting for unfinished jobs.... /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ make: *** [Makefile_f4b2dcf0579ea02d7f3e592d4475e56800bce1b6:12: gemm_rcr_bias_gelu/gemm_rcr_bias_gelu_9e46850d5286ecc7e078b5b7f76afbcac62967b4_3] Error 1 /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& __f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ make: *** [Makefile_f4b2dcf0579ea02d7f3e592d4475e56800bce1b6:9: gemm_rcr_bias_add/gemm_rcr_bias_add_9e46850d5286ecc7e078b5b7f76afbcac62967b4_3] Error 1
Traceback (most recent call last):
File "scripts/compile.py", line 99, in
could you try compiling with env LOGLEVEL=DEBUG
to see what's the c++ compilation error root cause is?