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

Update setup_linux.py #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LordHarsh
Copy link

#10

  • Added the compiler argument -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION for the gcc compiler in both cpu_nms and gpu_nms extensions. This argument defines a preprocessor macro to disable deprecated API in NumPy, targeting version 1.7 API. This can help ensure compatibility with newer NumPy versions and avoid warnings related to deprecated features
  • Changed this to -arch=sm_75. This change updates the CUDA compute capability from 3.5 to 7.5. The newer compute capability supports more recent CUDA features and optimizations for newer GPU architectures (e.g., NVIDIA Turing architecture).

Tested in Google colab with T4 GPU
image

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

Successfully merging this pull request may close these issues.

1 participant