Why does dlquantizer not recognize my GPU?

조회 수: 3 (최근 30일)
John Engel
John Engel 2022년 1월 21일
댓글: John Engel 2022년 1월 27일
When I run the calibrate method of dlquantizer I get the following error:
Error using dlquantizer/calibrate
No GPU available. dlquantizer requires a GPU machine to quantize a network object.
However, my computer has an NVIDIA RTX3090 GPU that MATLAB recognizes when I run gpuDeviceTable:
Index Name ComputeCapability DeviceAvailable DeviceSelected
1 "NVIDIA GeForce RTX 3090" "8.6" true true
The MATLAB GPU Support Table indicates that this GPU should be compatible, so I do not understand what the problem is. Since the dlquantizer code is P-code, I cannot debug the issue. Does anyone know what might be going on?
  댓글 수: 1
yanqi liu
yanqi liu 2022년 1월 22일
if use Windows,may be install cuda environment

댓글을 달려면 로그인하십시오.

답변 (1개)

Pratyush Roy
Pratyush Roy 2022년 1월 24일
편집: Pratyush Roy 2022년 1월 24일
Hi John,
As per my understanding, you are unable to run the calibrate method for the dlquantizer object, although you have a GPU that is recognized by MATLAB.
There are certain prerequisites that we need to meet before we can quantize and deploy deep learning networks, e,g,, setting up the prerequisite products, ensuring that the compiler is compatible with our workflow amd the supported networks/classes/layers that we can quantize and deploy.
The documentation link here might be helpful to know about some of these pre-requisites.
Hope this helps!
  댓글 수: 1
John Engel
John Engel 2022년 1월 27일
Thank you for the quick response. It appears that my system does not have cuDNN installed, so not satisfying the prerequisites might be the problem. Unfortunately, I have to wait for our IT department to install that. I do find it odd that the error message refers to a missing GPU, rather than a missing software component.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by