Skip to content

Commit 73f949b

Browse files
committed
change pypi source
1 parent 1337b5a commit 73f949b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1>个人自用常见网站</h1>
4646
<section class="conda-config">
4747
<h3>配置 Pip 镜像源</h3>
4848
<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>
5050
<h3>配置 Conda 镜像源</h3>
5151
<p>Windows用户需要手动执行</p>
5252
<pre class="copyable">conda config --set show_channel_urls yes</pre>
@@ -69,11 +69,10 @@ <h3>配置 Conda 镜像源</h3>
6969
deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/</pre>
7070
<p>pytorch + cuda12.1</p>
7171
<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>
7473
<p>Tensorflow + cuda12.1</p>
7574
<pre class="copyable">
76-
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
75+
pip install tensorflow[and-cuda]
7776
# Verify the installation:
7877
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"</pre>
7978

0 commit comments

Comments
 (0)