Skip to content

Commit 1514f01

Browse files
authored
Merge pull request #1252 from aws-neuron/release-2.26.1_script_vllm_version_update
Release 2.26.1 vllm version and script updates
2 parents 1043931 + debf96c commit 1514f01

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

libraries/nxd-inference/developer_guides/vllm-user-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To manually install the AWS fork from source, use the following commands:
7474

7575
.. code::
7676
77-
git clone -b 2.26.0 https://github.com/aws-neuron/upstreaming-to-vllm.git
77+
git clone -b 2.26.1 https://github.com/aws-neuron/upstreaming-to-vllm.git
7878
cd upstreaming-to-vllm
7979
pip install -r requirements/neuron.txt
8080
VLLM_TARGET_DEVICE="neuron" pip install -e .

src/examples/pytorch/libtorch_demo/setup.sh

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@ echo "Using PyTorch version ${TORCH_VERSION}"
2020
# Python setup
2121
PYTHON=python3
2222
PYTHON_VERSION=$($PYTHON --version | cut -f2 -d' ' | cut -f1,2 -d'.')
23-
24-
if [ "$PYTHON_VERSION" == "3.8" ] || [ "$PYTHON_VERSION" == "3.9" ] || [ "$PYTHON_VERSION" == "3.10" ]
25-
then
26-
echo "Python version is '$PYTHON_VERSION'"
27-
else
28-
echo "ERROR: No suitable version of Python found for libtorch demo. Current Python version is '$PYTHON_VERSION'."
29-
echo "Install Python 3.8, 3.9, or 3.10 and set the PYTHON environment variable as needed."
30-
exit 1
31-
fi
23+
echo "Python version is '$PYTHON_VERSION'"
3224

3325
OLD_TOOL_CHAIN=$($PYTHON -c \
3426
"from bert_neuronx.detect_instance import get_instance_type; print('inf1' in get_instance_type())")
@@ -46,7 +38,7 @@ if [ ! -e "tokenizers" ]; then
4638
cp neuron.patch tokenizers/neuron.patch
4739
pushd tokenizers
4840
git checkout d8c4388166cad8f0216dfc485efd6207a3275af2
49-
git am neuron.patch
41+
git apply neuron.patch
5042
rm neuron.patch
5143
popd
5244
fi
@@ -95,4 +87,4 @@ chmod +x build.sh
9587
popd
9688
9789
chmod +x run_tests.sh
98-
echo "Successfully completed setup"
90+
echo "Successfully completed setup"

0 commit comments

Comments
 (0)