alibaba / alibaba/BladeDISC

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

Open
#1,087 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
932
Forks
169
PR merge metrics
No merged PRs in 30d

Description

**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](https://user-images.githubusercontent.com/15623186/226327235-2ea8438d-e2b4-4768-a2ba-9ed2e98b4a17.png)

**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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce ./scripts/python/tao_build.py /opt/venv_disc/ -s build_tao_bridge in the reported CUDA 11.6 and TensorFlow 1.15 environment, then inspect the build path producing the __CUDA_ARCH__ error. Done means the command completes without the “operator >= has no left operand” failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tensorflow
Domain
compilers, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.