BladeDISC icon indicating copy to clipboard operation
BladeDISC copied to clipboard

__CUDA_ARCH__ raise error operator '>=' has no left operand

Open liaocz opened this issue 2 years ago • 3 comments

Describe the bug when i compile bladeDisc from source according to https://deeprec.readthedocs.io/zh/latest/BladeDISC.html, when i execute command, I get the error. ./scripts/python/tao_build.py /opt/venv_disc/ -s build_tao_bridge

image

To Reproduce image: alideeprec/deeprec-build:deeprec-dev-gpu-py36-cu116-ubuntu18.04 (we also have tried other image) CUDA: cuda11.6 TF: tf1.15

liaocz avatar Mar 20 '23 11:03 liaocz

@JamesTheZ

wyzero avatar Mar 22 '23 06:03 wyzero

Also met this problem with TF:2.4, CUDA:11.3, image:latest-devel-cu113

AmosChenYQ avatar Jul 23 '23 07:07 AmosChenYQ

I think it is because the script file preprocess_cutlass_headers.sh can not pass get correct cuda arch under some nvidia gpus which are not in the if-else branch of this script and it doesn't throw any error.

AmosChenYQ avatar Jul 23 '23 09:07 AmosChenYQ