Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD: Bump r0.17 python support version 3.9 #2235

Merged
merged 2 commits into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions chapter_installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ navigate to the download location,
and execute the installation as follows:

```bash
sh Miniconda3-latest-MacOSX-x86_64.sh -b
# Intel Macs
sh Miniconda3-py39_4.12.0-MacOSX-x86_64.sh -b
# M1 Macs
sh Miniconda3-py39_4.12.0-MacOSX-arm64.sh -b
```


Expand All @@ -50,7 +53,7 @@ You should be able to create
a new environment as follows:

```bash
conda create --name d2l python=3.8 -y
conda create --name d2l python=3.9 -y
```


Expand Down Expand Up @@ -179,20 +182,20 @@ pip uninstall mxnet
We now need to find out what version of CUDA you have installed.
You can check this by running `nvcc --version`
or `cat /usr/local/cuda/version.txt`.
Assume that you have installed CUDA 10.1,
Assume that you have installed CUDA 10.2,
then you can install with the following command:

```bash
# For Windows users
pip install mxnet-cu101==1.7.0 -f https://dist.mxnet.io/python
pip install mxnet-cu102==1.7.0 -f https://dist.mxnet.io/python

# For Linux and macOS users
pip install mxnet-cu101==1.7.0
pip install mxnet-cu102==1.7.0
```


You may change the last digits according to your CUDA version, e.g., `cu100` for
CUDA 10.0 and `cu90` for CUDA 9.0.
You may change the last digits according to your CUDA version, e.g., `cu101` for
CUDA 10.1 and `cu90` for CUDA 9.0.
:end_tab:


Expand Down
2 changes: 1 addition & 1 deletion static/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies:
- python=3.8
- python=3.9
- pip
- pip:
- .. # d2l
Expand Down