TensorRT-LLMs/scripts/replace_version.sh
Kaiyu Xie 4bb65f216f
Update TensorRT-LLM (#1274)
* Update TensorRT-LLM

---------

Co-authored-by: meghagarwal <16129366+megha95@users.noreply.github.com>
Co-authored-by: Shixiaowei02 <39303645+Shixiaowei02@users.noreply.github.com>
2024-03-12 18:15:52 +08:00

10 lines
226 B
Bash

#!/bin/bash
DIR="tensorrt_llm/examples"
SOURCE="tensorrt_llm==0.9.0.dev0"
TARGET="tensorrt_llm==0.9.0.dev1"
find "$DIR" -type f -name "requirements.txt" | while read -r file; do
sed -i "s/$SOURCE/$TARGET/g" "$file"
done