Skip to content

Commit bd667d3

Browse files
committed
Checkpoint from VS Code for coding agent session
1 parent 27db053 commit bd667d3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

language/llama2-70b/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,19 @@ conda create -n llama2-70b python=3.9
2323
conda activate llama2-70b
2424
2525
# Install packages
26+
2627
conda install pybind11==2.10.4 -c conda-forge -y
27-
python -m pip install torch==2.2.0.dev20231006+cpu --index-url https://download.pytorch.org/whl/nightly/cpu
28+
# Install a stable CPU version of torch. Adjust version as needed for compatibility.
29+
python -m pip install torch==2.2.0 --index-url https://download.pytorch.org/whl/cpu
2830
pip install transformers==4.31.0 nltk==3.8.1 evaluate==0.4.0 absl-py==1.4.0 rouge-score==0.1.2 sentencepiece==0.1.99 accelerate==0.21.0
2931
32+
# Troubleshooting:
33+
# If you see 'No matching distribution found for torch', check available versions at:
34+
# https://download.pytorch.org/whl/cpu/torch_stable.html
35+
# Or run:
36+
# pip install torch --index-url https://download.pytorch.org/whl/cpu --upgrade --dry-run
37+
# to see available versions for your Python version and platform.
38+
3039
export CUR_DIR=${PWD}
3140
cd <inference-repo-root>/loadgen
3241

0 commit comments

Comments
 (0)