install torch
打开文档,选择用pip的安装方法,别用conda, conda容易卡住。
https://pytorch.org/get-started/locally/
taming-transformers
git clone https://github.com/CompVis/taming-transformers
cd taming-transformers
conda env create -f environment.yaml
conda activate taming
pip install -e .
conda install cudatoolkit
import json
data = {
"name": "dean",
"age":30
}
print(json.dumps(data))
console.log("hello")
https://anaconda.org/nvidia/cuda-nvcc
conda install nvidia::cuda-toolkit
conda install nvidia/label/cuda-11.3.0::cuda-toolkit
conda install nvidia/label/cuda-11.3.1::cuda-toolkit
conda install nvidia/label/cuda-11.4.0::cuda-toolkit
conda install nvidia/label/cuda-11.4.1::cuda-toolkit
conda install nvidia/label/cuda-11.4.2::cuda-toolkit
conda install nvidia/label/cuda-11.4.3::cuda-toolkit
conda install nvidia/label/cuda-11.4.4::cuda-toolkit
conda install nvidia/label/cuda-11.5.0::cuda-toolkit
conda install nvidia/label/cuda-11.5.1::cuda-toolkit
conda install nvidia/label/cuda-11.5.2::cuda-toolkit
conda install nvidia/label/cuda-11.6.0::cuda-toolkit
conda install nvidia/label/cuda-11.6.1::cuda-toolkit
conda install nvidia/label/cuda-11.6.2::cuda-toolkit
conda install nvidia/label/cuda-11.7.0::cuda-toolkit
conda install nvidia/label/cuda-11.7.1::cuda-toolkit
conda install nvidia/label/cuda-11.8.0::cuda-toolkit
conda install nvidia/label/cuda-12.0.0::cuda-toolkit
conda install nvidia/label/cuda-12.0.1::cuda-toolkit
conda install nvidia/label/cuda-12.1.0::cuda-toolkit
conda install nvidia/label/cuda-12.1.1::cuda-toolkit
conda install nvidia/label/cuda-12.2.0::cuda-toolkit
conda install nvidia/label/cuda-12.2.1::cuda-toolkit
conda install nvidia/label/cuda-12.2.2::cuda-toolkit
conda install nvidia/label/cuda-12.3.0::cuda-toolkit
conda install nvidia/label/cuda-12.3.1::cuda-toolkit
conda install nvidia/label/cuda-12.3.2::cuda-toolkit
conda install nvidia/label/cuda-12.4.0::cuda-toolkit
conda install nvidia/label/cuda-12.4.1::cuda-toolkit
conda install nvidia/label/cuda-12.5.0::cuda-toolkit
conda install nvidia/label/cuda-12.5.1::cuda-toolkit
conda install nvcc
```bash conda install nvidia::cuda-nvcc
conda install nvidia/label/cuda-11.3.0::cuda-nvcc
conda install nvidia/label/cuda-11.3.1::cuda-nvcc
conda install nvidia/label/cuda-11.4.0::cuda-nvcc
conda install nvidia/label/cuda-11.4.1::cuda-nvcc
conda install nvidia/label/cuda-11.4.2::cuda-nvcc
conda install nvidia/label/cuda-11.4.3::cuda-nvcc
conda install nvidia/label/cuda-11.4.4::cuda-nvcc
conda install nvidia/label/cuda-11.5.0::cuda-nvcc
conda install nvidia/label/cuda-11.5.1::cuda-nvcc
conda install nvidia/label/cuda-11.5.2::cuda-nvcc
conda install nvidia/label/cuda-11.6.0::cuda-nvcc
conda install nvidia/label/cuda-11.6.1::cuda-nvcc
conda install nvidia/label/cuda-11.6.2::cuda-nvcc
conda install nvidia/label/cuda-11.7.0::cuda-nvcc
conda install nvidia/label/cuda-11.7.1::cuda-nvcc
conda install nvidia/label/cuda-11.8.0::cuda-nvcc
conda install nvidia/label/cuda-12.0.0::cuda-nvcc
conda install nvidia/label/cuda-12.0.1::cuda-nvcc
conda install nvidia/label/cuda-12.1.0::cuda-nvcc
conda install nvidia/label/cuda-12.1.1::cuda-nvcc
conda install nvidia/label/cuda-12.2.0::cuda-nvcc
conda install nvidia/label/cuda-12.2.1::cuda-nvcc
conda install nvidia/label/cuda-12.2.2::cuda-nvcc
conda install nvidia/label/cuda-12.3.0::cuda-nvcc
conda install nvidia/label/cuda-12.3.1::cuda-nvcc
conda install nvidia/label/cuda-12.3.2::cuda-nvcc
conda install nvidia/label/cuda-12.4.0::cuda-nvcc
conda install nvidia/label/cuda-12.4.1::cuda-nvcc
conda install nvidia/label/cuda-12.5.0::cuda-nvcc
conda install nvidia/label/cuda-12.5.1::cuda-nvcc