Error "No CUDA runtime is found" Occurred When a Real-Time Service Is Deployed
Symptom
When a real-time service is deployed, the following error occurred: No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'.
Possible Causes
According to the error "No CUDA runtime is found" in logs, CUDA runtime was not found.
Solution
Perform the following operations:
- Check whether a GP flavor is selected for deploying the real-time service.
- Add os.system('nvcc -V) into customize_service.py to view the CUDA version of the image. For details about how to write customize_service.py, see "Specifications for Model Inference Coding".
- Check whether the CUDA version matches the installed MMCV version.
Selecting a GP flavor if the model and inference script require GPs.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot