It helped me a great deal! thx a lot
Great thanks.
Are there any plans to add MPS support? I bet a lot of people are reading (at least the early sections) using their Macs, me included
Just run conda deactivate
to deactivate the current environment, no need to specify the environment name.
Hi, when I type âjupyter notebookâ in the command prompt, I did not see any of the course folder in the localhost website. I only see my old ipynb files from past coursework. What should I do?
What are the pytorch installation instruction for devices with Intel Arc GPUs?
Instead of conda, I used uv. Initially I had problems installing torch=2.0.0
such as my Cuda version is 12.2. Thus, I used Python 3.9 with the following dependencies:
requires-python = ">=3.9"
dependencies = [
"d2l>=1.0.3",
"torch>=2.6.0",
"torchaudio>=2.6.0",
"torchvision>=0.21.0",
]
Anyone attempting to install d2l into a recent version of python will experience the same problems as PlacideKad above, due to explicit dependencies. Building the binary for the specified version is unlikely to work because of the removal of a deprecated feature in pkgutil. Python 3.12 can use numpy version 1.26+, so until thereâs a new release, you can use:
pip install numpy==1.26.4
or pip install "numpy<2"
and then install d2l with pip install --no-deps d2l
. pip will complain about incompatibilities every time you run it, but the examples may still work. Or they may not. Ideally we would have a release that can work with numpy 2. There has not been a new release since August 2023, which makes me wonder.