File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ <h1>个人自用常见网站</h1>
46
46
< section class ="conda-config ">
47
47
< h3 > 配置 Pip 镜像源</ h3 >
48
48
< pre class ="copyable ">
49
- pip config set global.index-url https://pypi.tuna.tsinghua. edu.cn/simple</ pre >
49
+ pip config set global.index-url https://mirrors.bfsu. edu.cn/pypi/web /simple</ pre >
50
50
< h3 > 配置 Conda 镜像源</ h3 >
51
51
< p > Windows用户需要手动执行</ p >
52
52
< pre class ="copyable "> conda config --set show_channel_urls yes</ pre >
@@ -69,11 +69,10 @@ <h3>配置 Conda 镜像源</h3>
69
69
deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/</ pre >
70
70
< p > pytorch + cuda12.1</ p >
71
71
< pre class ="copyable ">
72
- conda install pytorch=2.2.1 pytorch-cuda=12.1 torchvision torchaudio -c nvidia
73
- </ pre >
72
+ conda install pytorch=2.2.1 pytorch-cuda=12.1 torchvision torchaudio -c nvidia</ pre >
74
73
< p > Tensorflow + cuda12.1</ p >
75
74
< pre class ="copyable ">
76
- conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
75
+ pip install tensorflow[and-cuda]
77
76
# Verify the installation:
78
77
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"</ pre >
79
78
You can’t perform that action at this time.
0 commit comments