mirror of
https://github.com/karpathy/nanochat.git
synced 2026-04-13 20:38:22 +00:00
Fix maturin build failure when conda environment is active
This commit is contained in:
parent
4a87a0d19f
commit
97e63e7331
|
|
@ -21,6 +21,7 @@ if [ -z "$WANDB_RUN" ]; then
|
|||
fi
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source "$HOME/.cargo/env"
|
||||
unset CONDA_PREFIX
|
||||
uv run maturin develop --release --manifest-path rustbpe/Cargo.toml
|
||||
|
||||
# wipe the report
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ fi
|
|||
python -m nanochat.report reset
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source "$HOME/.cargo/env"
|
||||
unset CONDA_PREFIX
|
||||
uv run maturin develop --release --manifest-path rustbpe/Cargo.toml
|
||||
curl -L -o $NANOCHAT_BASE_DIR/identity_conversations.jsonl https://karpathy-public.s3.us-west-2.amazonaws.com/identity_conversations.jsonl
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|||
source "$HOME/.cargo/env"
|
||||
|
||||
# Build the rustbpe Tokenizer
|
||||
unset CONDA_PREFIX
|
||||
uv run maturin develop --release --manifest-path rustbpe/Cargo.toml
|
||||
|
||||
# Download the first ~2B characters of pretraining dataset
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user