Running PyTorch Version of Grok 1 Locally
If you want to run the PyTorch version of Grok 1 locally on your machine, you can follow these steps:
- First, make sure you have Python and PyTorch installed on your machine. You can install PyTorch using pip by running the following command:
- Next, clone the Grok repository from GitHub by running the following command in your terminal:
- Navigate to the directory where you cloned the repository and run the PyTorch version of Grok 1 by running the following command:
- That’s it! You should now be able to run the PyTorch version of Grok 1 locally on your machine. Enjoy learning deep learning with PyTorch!
pip install torch torchvision
git clone https://github.com/deep-diver/GrokkingDeepLearning.git
python grokking_deep_learning.py run_torch