Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liaocz opened this issue Mar 20, 2023 · 3 comments
Open

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

liaocz opened this issue Mar 20, 2023 · 3 comments

Comments

@liaocz
Copy link

liaocz commented Mar 20, 2023

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

@wyzero
Copy link
Collaborator

wyzero commented Mar 22, 2023

@JamesTheZ

@AmosChenYQ
Copy link

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

@AmosChenYQ
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants