I need your help to set up an NVIDIA Jetson Orin Nano Developer Kit for object detection. I have a script with which object detection basically works, but unfortunately only on the CPU. And therefore unfortunately much too slow. My model is a pre-trained mobilenetV2 model.
Thank you for your feedback.
Okay, then I must have done something wrong during installation. To be honest, I first had to search for what “devicequery” is.
I then found here that you should run the make command after the CURA installation… https://forums.developer.nvidia.com/t/how-to-run-devicequery/54624
On the other hand, I have read that CUDA comes along with the installation of the operating system for Jetson (!?)
However, the make command failed for me. Even though I can at least detect a CUDA directory on the device. Here is the log:
> Package glfw3 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `glfw3.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'glfw3' found
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> vulkanImageCUDA.cu:37:10: fatal error: GLFW/glfw3.h: No such file or directory
> 37 | #include <GLFW/glfw3.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [Makefile:403: vulkanImageCUDA.o] Error 255
> make[1]: Leaving directory '/home/user/cuda-samples/Samples/5_Domain_Specific/vulkanImageCUDA'
> make: *** [Makefile:45: Samples/5_Domain_Specific/vulkanImageCUDA/Makefile.ph_build] Error 2
Is there now a clear procedure how I can set up the Jetson Orin Nano with CUDA so that I can leave an object detection model on it? Thank you very much for your feedback and great support!
Best regards,
volume1
Can you try make in /home/user/cuda-samples/Samples/1_Utilities/deviceQuery and run deviceQuery to confirm if GPU is detected. Also, try nvidia-smi command.
thank you very much for your reply!
Unfortunately the make command does not work for me:
make: Nothing to be done for 'all'.
and
nvidia-smi
has returned the following
Tue Jan 28 08:34:54 2025
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 540.4.0 Driver Version: 540.4.0 CUDA Version: 12.6 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 Orin (nvgpu) N/A | N/A N/A | N/A |
| N/A N/A N/A N/A / N/A | Not Supported | N/A N/A |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
To be honest, after the countless attempts at installation, I no longer have the original path to the TF installation.
If necessary, I can do a new installation (if there is a tutorial which works for NVIDIA Jetson Orin Nano).
wow thank you! That helped me to make some progress.
Now, when I am running my script, I get two warnings:
/usr/lib/python3/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 1.26.4
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
and one for
2025-01-28 12:09:09.576921: I external/local_xla/xla/stream_executor/cuda/cuda_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
is it critical?
But at least it now looks like the GPU is being recognized and used.