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

The Jetson Nano can run this code with a small change to the cmake options #93

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

Conversation

SMSmith
Copy link

@SMSmith SMSmith commented May 17, 2023

(DON'T MERGE THIS - see below)
By removing compute_86, this code compiles and runs with the following library versions:

  • Jetpack-4.7.2
  • CUDA-10.2
  • CUDNN-8.2.1
  • TensorRT-8.2.1
  • OpenCV-4.7.0 (you could probably use an earlier version)
  • CMake-3.26.3 (you could probably use an earlier version)

You need gcc-8/g++-8 or better. Onnxsim requires onnxoptimizer, which struggles to compile on the nano, recommend making sure everything else is closed before installing. Use a lightdm or similar window manager if you need one to cut down on background memory usage and aren't going headless.

Is there a better way to make the CMakelists only use compute_86 if the hardware isn't the nano? Or add a nano option to make? Actually deleting the compute_86 is probably detrimental to performance on other platforms. (AKA DON'T MERGE THIS)

@triple-Mu
Copy link
Owner

Thanks for sharing such job.
Sure we also want to support sm80 89 and so on.

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.

None yet

2 participants