├── .gitignore ├── LICENSE ├── README.md ├── guide_apex_lab_chinese.md ├── iam ├── iam.py ├── requirements.txt ├── settings.example.py └── templates │ ├── homepage.html │ ├── layout.html │ └── manage_ssh_key.html ├── monitor ├── monitor.py ├── requirements.txt ├── settings.example.py ├── templates │ └── homepage.html └── test │ ├── df.txt │ ├── free.txt │ ├── iostat.txt │ ├── mpstat.txt │ ├── nvidia.txt │ ├── post.sh │ ├── ps.txt │ ├── sensors.txt │ └── subuid.txt ├── scripts ├── del-user.bash ├── iam-shell.bash ├── login.bash ├── lxc-config.template ├── monitor.bash ├── new-lxc.bash ├── register.bash ├── set_authorized_keys.py └── start-nvidia.bash └── setup ├── create-lxc-template.bash ├── env.example.sh └── setup-gpu-server.bash /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/README.md -------------------------------------------------------------------------------- /guide_apex_lab_chinese.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/guide_apex_lab_chinese.md -------------------------------------------------------------------------------- /iam/iam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/iam.py -------------------------------------------------------------------------------- /iam/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/requirements.txt -------------------------------------------------------------------------------- /iam/settings.example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/settings.example.py -------------------------------------------------------------------------------- /iam/templates/homepage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/templates/homepage.html -------------------------------------------------------------------------------- /iam/templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/templates/layout.html -------------------------------------------------------------------------------- /iam/templates/manage_ssh_key.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/iam/templates/manage_ssh_key.html -------------------------------------------------------------------------------- /monitor/monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/monitor.py -------------------------------------------------------------------------------- /monitor/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/requirements.txt -------------------------------------------------------------------------------- /monitor/settings.example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/settings.example.py -------------------------------------------------------------------------------- /monitor/templates/homepage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/templates/homepage.html -------------------------------------------------------------------------------- /monitor/test/df.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/df.txt -------------------------------------------------------------------------------- /monitor/test/free.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/free.txt -------------------------------------------------------------------------------- /monitor/test/iostat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/iostat.txt -------------------------------------------------------------------------------- /monitor/test/mpstat.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/mpstat.txt -------------------------------------------------------------------------------- /monitor/test/nvidia.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/nvidia.txt -------------------------------------------------------------------------------- /monitor/test/post.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/post.sh -------------------------------------------------------------------------------- /monitor/test/ps.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/ps.txt -------------------------------------------------------------------------------- /monitor/test/sensors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/sensors.txt -------------------------------------------------------------------------------- /monitor/test/subuid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/monitor/test/subuid.txt -------------------------------------------------------------------------------- /scripts/del-user.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/del-user.bash -------------------------------------------------------------------------------- /scripts/iam-shell.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/iam-shell.bash -------------------------------------------------------------------------------- /scripts/login.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/login.bash -------------------------------------------------------------------------------- /scripts/lxc-config.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/lxc-config.template -------------------------------------------------------------------------------- /scripts/monitor.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/monitor.bash -------------------------------------------------------------------------------- /scripts/new-lxc.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/new-lxc.bash -------------------------------------------------------------------------------- /scripts/register.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | shift 3 | set -e 4 | sudo su -c "/root/new-lxc.bash $@" 5 | -------------------------------------------------------------------------------- /scripts/set_authorized_keys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/set_authorized_keys.py -------------------------------------------------------------------------------- /scripts/start-nvidia.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/scripts/start-nvidia.bash -------------------------------------------------------------------------------- /setup/create-lxc-template.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/setup/create-lxc-template.bash -------------------------------------------------------------------------------- /setup/env.example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/setup/env.example.sh -------------------------------------------------------------------------------- /setup/setup-gpu-server.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abcdabcd987/lxc-gpu/HEAD/setup/setup-gpu-server.bash --------------------------------------------------------------------------------