mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 04:12:13 +00:00
also bump run1000.sh to new uv sync
This commit is contained in:
parent
917c858136
commit
80b203ea59
|
|
@ -10,7 +10,7 @@ export NANOCHAT_BASE_DIR="$HOME/.cache/nanochat"
|
||||||
mkdir -p $NANOCHAT_BASE_DIR
|
mkdir -p $NANOCHAT_BASE_DIR
|
||||||
command -v uv &> /dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
|
command -v uv &> /dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
[ -d ".venv" ] || uv venv
|
[ -d ".venv" ] || uv venv
|
||||||
uv sync
|
uv sync --extra gpu
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
if [ -z "$WANDB_RUN" ]; then
|
if [ -z "$WANDB_RUN" ]; then
|
||||||
WANDB_RUN=dummy
|
WANDB_RUN=dummy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user