Skip to content

Instantly share code, notes, and snippets.

@scfcode
Last active April 7, 2023 03:26
Show Gist options
  • Save scfcode/9acac3268ddf4c5ca34b107731f3ee92 to your computer and use it in GitHub Desktop.
Save scfcode/9acac3268ddf4c5ca34b107731f3ee92 to your computer and use it in GitHub Desktop.
nanoGPT Install on macOS #llm

nanoGPT on macOS -- WIP - Unfinished as of 2023-04-06

Clone nanoGPT

gh repo clone karpathy/nanoGPT

Install pre-req. Pytorch

From https://pytorch.org/get-started/locally/#macos-version

pip3 install torch torchvision

Install numpy

From llll

pip install numpy

Install additional prereqs.

pip install transformers


python3.11 -m pip install --upgrade pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment