Skip to content
Snippets Groups Projects
Commit 4b77449f authored by Xuan Gu's avatar Xuan Gu
Browse files

Update README.md

parent f11d902d
No related branches found
No related tags found
No related merge requests found
# Run Pytorch and Tensorflow Containers with Nvidia Enroot # Run Pytorch and Tensorflow Containers with Nvidia Enroot
## Install enroot
## Getting started For Debian-based distributions
```
arch=$(dpkg --print-architecture)
curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.4.0/enroot_3.4.0-1_${arch}.deb
curl -fSsL -O https://github.com/NVIDIA/enroot/releases/download/v3.4.0/enroot+caps_3.4.0-1_${arch}.deb # optional
sudo apt install -y ./*.deb
```
To make it easy for you to get started with GitLab, here's a list of recommended next steps. For others, see [here](https://github.com/NVIDIA/enroot/blob/master/doc/installation.md)
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! ## Set up Nvidia credentials
## Add your files Complete step [4.1](https://docs.nvidia.com/ngc/ngc-overview/index.html#account-signup) and [4.3](https://docs.nvidia.com/ngc/ngc-overview/index.html#generating-api-key). Save the API key.
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files Add the API key to the config file at ```~/.config/enroot/.credentials ```
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: ```
machine nvcr.io login $oauthtoken password your_api_key
machine authn.nvidia.com login $oauthtoken password your_api_key
```
Set the config path by adding the line to ```~/.bashrc```
```
export ENROOT_CONFIG_PATH=/home/xuagu37/.config/enroot
```
To make the path valid
``` ```
cd existing_repo source ~/.bashrc
git remote add origin https://gitlab.liu.se/xuagu37/run-pytorch-and-tensorflow-containers-with-nvidia-enroot.git
git branch -M main
git push -uf origin main
``` ```
## Integrate with your tools ## Integrate with your tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment