Skip to content

Commit dfdd4f7

Browse files
committed
feb
1 parent 73e7297 commit dfdd4f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build-bin.sh

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ rm -f ~/.cache/pypoetry/artifacts/*/*/*/*/llama*
3636

3737
CMAKE_ARGS="$cmake" FORCE_CMAKE=1 poetry install $with_torch
3838

39+
if [ "$gpu" == "cuda-torch" ]; then
40+
# annoying hack because fastembed is probably a bad idea
41+
pip install transformers==4.35.0
42+
opts=""
43+
fi
44+
3945
python build-version.py
4046

4147
./pyinstaller.sh $gpu-$arch $opts

0 commit comments

Comments
 (0)