Minimizing Storage space on Xavier NX 16GB module with BSP version 35.4.1

Hi,

I am working on Xavier NX 16GB module devkit with BSP version 35.4.1.
As some of the application like CUDA, pytorch installation is taking more memory and is leading to out of memory on Xavier NX 16GB module.

We are trying to regain the storage space by

  • Removing docs & samples.
  • Removing dev packages.

I referred the below link.

and run the commands as given in link. But there was no change in the memory space. Here is the log.
Minimizing_storage_space_log.txt (6.3 KB)

Is the BSP version 35.4.1 comes with minimized or is there any other commands we need to run to minimize.

Hi,
the embedded emmc is 16GB and is insufficient for installing CUDA and TensorRT package. We would suggest use NVMe SSD as the rootfs if you need CUDA and TensorRT.

If you must have rootfs in emmc, please at least have an external storage and mount it. And create the links:

$ sudo ln -sf /mnt/usr/local/cuda-11.4 /usr/local/cuda-11.4
$ sudo ln -sf /usr/local/cuda-11.4 /usr/local/cuda
$ sudo ln -sf /mnt/usr/src/tensorrt /usr/src/tensorrt

And then install CUDA and TensorRT. So that the packages are installed to external storage.

And can remove the packages:

$ sudo apt remove --purge thunderbird* libreoffice* chromium*

It is more suggested to have rootfs in NVMe SSD.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.