mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 12:22:18 +00:00
Export the base dir variable
This commit is contained in:
parent
5eeb2b6ef9
commit
d5cda11ab8
2
dev/runcpu.sh
Normal file → Executable file
2
dev/runcpu.sh
Normal file → Executable file
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
# all the setup stuff
|
# all the setup stuff
|
||||||
export OMP_NUM_THREADS=1
|
export OMP_NUM_THREADS=1
|
||||||
NANOCHAT_BASE_DIR="$HOME/.cache/nanochat"
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user