Skip to content

This repository is for building Jetson Nano libraries for python3.8.

License

Notifications You must be signed in to change notification settings

otamajakusi/build_jetson_nano_libraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository

This repository is for building Jetson Nano libraries for python3.8.

See this blog for more details.

The following libraries can be supported:

  • PyTorch(v1.11.0 with TorchVision(v0.12.0))
  • OpenCV(v4.6.0)

Build

There are two types of build script. One is a native bash script, the other is dockerfile build script. The native bash script can be run on the Jetson Nano. The dockerfile build script can be run on the Jetson Nano and also can be run on the host PC. Before running dockerfile on the host PC, qemu-user-static libray should be installed.

script layout

.
├── pytorch
│    ├── build_native.sh
│    ├── build_docker.sh
│    └── Dockerfile
└── opencv
     ├── build_native.sh
     ├── build_docker.sh
     └── Dockerfile

Performance

Jetson Nano Host PC
i9-12900K, 32GB
faster
PyTorch MAX_JOBS=2
real 832m39.333s
user 0m7.352s
sys 0m4.268s
MAX_JOBS=24
real 176m48.354s
user 0m0.852s
sys 0m0.904s
x4.7
OpenCV MAX_JOBS=4
real 161m34.754s
user 0m2.240s
sys 0m1.660s
MAX_JOBS=24
real 117m28.657s
user 0m0.648s
sys 0m0.517s
x1.3

Reference

About

This repository is for building Jetson Nano libraries for python3.8.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published