dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
1.94k stars 423 forks source link

Is it possible to build a contrainer with ubuntu 14.04 for chainer 1.17 on Jetson Xavier NX? #208

Open lx2u16 opened 1 year ago

lx2u16 commented 1 year ago

Hi,

I am working on reproducing the BranchyNet paper https://github.com/kunglab/branchynet on my Jetson Xavier NX.

It requires old version software such as python2.7, chainer 1.17.0, etc. The chainer 1.17.0 installation guide recommends using Ubuntu OS 14.04.

I wonder if that's possible to build a container with ubuntu 14.04 for chainer 1.17 on Jetson Xavier NX?

Thanks.

dusty-nv commented 1 year ago

@lx2u16 if you don't need GPU acceleration, then yes you can use any base container. If you need GPU, then on Jetson it should be using l4t-base or l4t-jetpack, and for Xavier these use Ubuntu 18.04 or 20.04

lx2u16 commented 1 year ago

@dusty-nv Thanks. I wonder if they (i.e. base, l4t-base, l4t-jetpack) also support Ubuntu 14.04?

dusty-nv commented 1 year ago

For Xavier NX, they would support Ubuntu 18.04 for JetPack 4.x and Ubuntu 20.04 for JetPack 5.x

With such an old OS you may also run into incompatibilities with the CUDA/cuDNN versions and such if it is using those too

lx2u16 commented 1 year ago

@dusty-nv Thanks. If I only need CPUs, is the base container support Ubuntu 14.04? Do old boards support 14.04? e.g. Jetson Nano or others?

dusty-nv commented 1 year ago

@lx2u16 if you only need CPU, then you don't need to run the container with --runtime nvidia or use l4t-base as the base container - you can use any base container (just like normal docker). So yes, you should be able to use ubuntu:14.04 container: https://hub.docker.com/_/ubuntu/tags?page=1&name=14.04