Freecodecamp GPT from scratch: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(Created page with " reference: https://www.youtube.com/watch?v=UU1WVnMk4E8&t=307s <pre> cd cd work mkdir fcc-gpt-course cd fcc-gpt-course python -m venv cuda cuda/bin/activate pip install matplotlib numpy pylzma ipykernel jupyter pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 python -c "import torch; print(torch.rand(2,3).cuda())" </pre>") |
No edit summary |
||
Line 14: | Line 14: | ||
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | ||
python -c "import torch; print(torch.rand(2,3).cuda())" | python -c "import torch; print(torch.rand(2,3).cuda())" | ||
</pre> | </pre> |
Latest revision as of 03:06, 6 October 2023
reference:
https://www.youtube.com/watch?v=UU1WVnMk4E8&t=307s
cd cd work mkdir fcc-gpt-course cd fcc-gpt-course python -m venv cuda cuda/bin/activate pip install matplotlib numpy pylzma ipykernel jupyter pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 python -c "import torch; print(torch.rand(2,3).cuda())"