lamikr / rocm_sdk_builder

Other
132 stars 12 forks source link

Unable to build aotriton #94

Closed daniandtheweb closed 3 months ago

daniandtheweb commented 3 months ago

I'm running a clean build and aotriton refuses to build. The error comes from files that aren't found in the system, could this be related to one of the last commits applied to its patches?

make[3]: *** [Makefile.compile:11: flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_0__P__128_64_1__CO__warp4_stg1_wave1-Gpu-MI300X.hsaco] Error 1
make[3]: *** Waiting for unfinished jobs....
zstd: can't stat /home/daniandtheweb/WorkSpace/rocm_sdk_builder/builddir/038_aotriton/v2src/flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_0__P__128_64_0__CO__warp4_stg1_wave0-Gpu-MI300X.hsaco : No such file or directory -- ignored 
make[3]: *** [Makefile.compile:35: flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_0__P__128_64_0__CO__warp4_stg1_wave0-Gpu-MI300X.hsaco] Error 1
/opt/rocm_sdk_612/bin/zstd -f /home/daniandtheweb/WorkSpace/rocm_sdk_builder/builddir/038_aotriton/v2src/flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_1__P__128_64_1__CO__warp4_stg1_wave1-Gpu-MI300X.hsaco 
zstd: can't stat /home/daniandtheweb/WorkSpace/rocm_sdk_builder/builddir/038_aotriton/v2src/flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_1__P__128_64_1__CO__warp4_stg1_wave1-Gpu-MI300X.hsaco : No such file or directory -- ignored 
make[3]: *** [Makefile.compile:47: flash/gpu_kernel_image.attn_fwd/attn_fwd-Sig-F__^fp16@16_False_16_False_False_False_1__P__128_64_1__CO__warp4_stg1_wave1-Gpu-MI300X.hsaco] Error 1
...
daniandtheweb commented 3 months ago

I've found the closed issue that explains how to solve this issue by deleting the triton cache. Maybe it should be written somewhere if it becomes a common issue.