Replies: 8 comments 4 replies
-
In DJL, when we refer to GPU it actually means CUDA. You machine doesn't have CUDA installed, so you won't be able to use GPU device. |
Beta Was this translation helpful? Give feedback.
-
You can download CUDA: https://developer.nvidia.com/cuda-toolkit I don't think it's feasible for DJL to install CUDA:
|
Beta Was this translation helpful? Give feedback.
-
That means CUDA driver did not detect you have physical GPU in your system. You mentioned you are using Intel graphic card, CUDA only works on Nvidia graphic card. |
Beta Was this translation helpful? Give feedback.
-
Hm, does Engine.getInstance().getGpuCount() include integrated GPUs? |
Beta Was this translation helpful? Give feedback.
-
No, only CUDA GPU can be used for computation, all other graphic cards can only be used for graphic rendering. |
Beta Was this translation helpful? Give feedback.
-
AVX-512 with (VNNI) is a CPU architecture, latest MXNet, PyTorch and DLR engine should already support it. You should get performance boost when you using CPU device with DJL. But compare to CUDA they are way slow. |
Beta Was this translation helpful? Give feedback.
-
DJL depends on underlying engines to use GPU. Unfortunately, none of none of DJL supported engine can use Intel GPUs (DLR might be able to leverage Intel GPU). See: https://stackoverflow.com/questions/64593792/how-to-make-intel-gpu-available-for-processing-through-pytorch |
Beta Was this translation helpful? Give feedback.
-
I just found out how to tweak the performance much more than using a GPU: Using PyTorch !! |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a notebook with integrated Intel Iris Xe graphics and no other external GPUs.
How can i make sure that that one is picked up in calculations and not the cpu?
Configuring with
.optDevices(new Device[] { Device.gpu() })
results in this exception:ai.djl.engine.EngineException: MXNet engine call failed: MXNetError: Compile with USE_CUDA=1 to enable GPU usage
Beta Was this translation helpful? Give feedback.
All reactions