Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Get Docker Image | |
btrfs subvol create images/alpine | |
CID=$(docker run -d python:3.8-alpine true) | |
docker export $CID | tar -C images/alpine/ -xf- | |
btrfs subvol snapshot images/alpine/ containers/springrain | |
touch containers/springrain/I_AM_HERE | |
## tmux as a container and mount | |
tmux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# no import before this | |
def get_nvidia_lib_paths(): | |
"""Get all NVIDIA library paths for environment setup""" | |
import os | |
import nvidia.cublas.lib | |
import nvidia.cuda_cupti.lib | |
import nvidia.cuda_nvrtc.lib | |
import nvidia.cuda_runtime.lib | |
import nvidia.cudnn.lib | |
import nvidia.cufft.lib |
OlderNewer