conda | My Note

conda

Updated: Sep 7th, 2023


./install_miniconda.sh

#!/bin/bash

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh


bash ./Miniconda3-latest-Linux-x86_64.sh -b -p `pwd`/miniconda

./create_env.sh

#!/bin/bash


export HOME=/scc_cephfs/users/wyf/ai
source ./miniconda/etc/profile.d/conda.sh 

conda create -n textgen python=3.10.9
conda activate textgen
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

source load_miniconda.sh

#!/bin/bash


export HOME=/scc_cephfs/users/wyf/ai
source ./miniconda/etc/profile.d/conda.sh 
conda activate textgen

Instead of authenticating the giscus application, you can also comment directly on GitHub.

TOC

Notes mentioning this note