mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-23 08:10:48 -04:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27d7ada8dd |
@@ -354,12 +354,14 @@ FROM requirements-drivers
|
|||||||
|
|
||||||
ARG FFMPEG
|
ARG FFMPEG
|
||||||
ARG BUILD_TYPE
|
ARG BUILD_TYPE
|
||||||
|
ARG BUILD_PLATFORM
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG IMAGE_TYPE=extras
|
ARG IMAGE_TYPE=extras
|
||||||
ARG EXTRA_BACKENDS
|
ARG EXTRA_BACKENDS
|
||||||
ARG MAKEFLAGS
|
ARG MAKEFLAGS
|
||||||
|
|
||||||
ENV BUILD_TYPE=${BUILD_TYPE}
|
ENV BUILD_TYPE=${BUILD_TYPE}
|
||||||
|
ENV BUILD_PLATFORM=${BUILD_PLATFORM}
|
||||||
ENV REBUILD=false
|
ENV REBUILD=false
|
||||||
ENV HEALTHCHECK_ENDPOINT=http://localhost:8080/readyz
|
ENV HEALTHCHECK_ENDPOINT=http://localhost:8080/readyz
|
||||||
ENV MAKEFLAGS=${MAKEFLAGS}
|
ENV MAKEFLAGS=${MAKEFLAGS}
|
||||||
|
|||||||
2
backend/python/autogptq/requirements-l4t.txt
Normal file
2
backend/python/autogptq/requirements-l4t.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
5
backend/python/bark/requirements-l4t.txt
Normal file
5
backend/python/bark/requirements-l4t.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
torchaudio
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
@@ -132,11 +132,16 @@ function installRequirements() {
|
|||||||
declare -a requirementFiles=(
|
declare -a requirementFiles=(
|
||||||
"${EDIR}/requirements-install.txt"
|
"${EDIR}/requirements-install.txt"
|
||||||
"${EDIR}/requirements.txt"
|
"${EDIR}/requirements.txt"
|
||||||
"${EDIR}/requirements-${BUILD_TYPE}.txt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "x${BUILD_TYPE}" != "x${BUILD_PROFILE}" ]; then
|
if [ -n "${BUILD_PLATFORM}" ]; then
|
||||||
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}.txt")
|
requirementFiles+=("${EDIR}/requirements-${BUILD_PLATFORM}.txt")
|
||||||
|
else
|
||||||
|
requirementFiles+=("${EDIR}/requirements-${BUILD_TYPE}.txt")
|
||||||
|
|
||||||
|
if [ "x${BUILD_TYPE}" != "x${BUILD_PROFILE}" ]; then
|
||||||
|
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}.txt")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if BUILD_TYPE is empty, we are a CPU build, so we should try to install the CPU requirements
|
# if BUILD_TYPE is empty, we are a CPU build, so we should try to install the CPU requirements
|
||||||
@@ -146,8 +151,14 @@ function installRequirements() {
|
|||||||
|
|
||||||
requirementFiles+=("${EDIR}/requirements-after.txt")
|
requirementFiles+=("${EDIR}/requirements-after.txt")
|
||||||
|
|
||||||
if [ "x${BUILD_TYPE}" != "x${BUILD_PROFILE}" ]; then
|
if [ -n "${BUILD_PLATFORM}" ]; then
|
||||||
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}-after.txt")
|
requirementFiles+=("${EDIR}/requirements-${BUILD_PLATFORM}-after.txt")
|
||||||
|
else
|
||||||
|
if [ "x${BUILD_TYPE}" != "x${BUILD_PROFILE}" ]; then
|
||||||
|
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}-after.txt")
|
||||||
|
else
|
||||||
|
requirementFiles+=("${EDIR}/requirements-${BUILD_TYPE}-after.txt")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for reqFile in ${requirementFiles[@]}; do
|
for reqFile in ${requirementFiles[@]}; do
|
||||||
|
|||||||
6
backend/python/coqui/requirements-l4t.txt
Normal file
6
backend/python/coqui/requirements-l4t.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
torchaudio
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
|
coqui-tts
|
||||||
10
backend/python/diffusers/requirements-l4t.txt
Normal file
10
backend/python/diffusers/requirements-l4t.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
diffusers
|
||||||
|
opencv-python
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
|
compel
|
||||||
|
peft
|
||||||
|
sentencepiece
|
||||||
|
optimum-quanto
|
||||||
4
backend/python/exllama2/requirements-l4t.txt
Normal file
4
backend/python/exllama2/requirements-l4t.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
9
backend/python/faster-whisper/requirements-l4t.txt
Normal file
9
backend/python/faster-whisper/requirements-l4t.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
faster-whisper
|
||||||
|
opencv-python
|
||||||
|
accelerate
|
||||||
|
compel
|
||||||
|
peft
|
||||||
|
sentencepiece
|
||||||
|
optimum-quanto
|
||||||
3
backend/python/kokoro/requirements-l4t.txt
Normal file
3
backend/python/kokoro/requirements-l4t.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
transformers
|
||||||
5
backend/python/rerankers/requirements-l4t.txt
Normal file
5
backend/python/rerankers/requirements-l4t.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
transformers
|
||||||
|
accelerate
|
||||||
|
torch
|
||||||
|
rerankers[transformers]
|
||||||
9
backend/python/transformers/requirements-l4t.txt
Normal file
9
backend/python/transformers/requirements-l4t.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
torch
|
||||||
|
accelerate
|
||||||
|
llvmlite==0.43.0
|
||||||
|
numba==0.60.0
|
||||||
|
transformers
|
||||||
|
bitsandbytes
|
||||||
|
outetts
|
||||||
|
sentence-transformers==3.4.1
|
||||||
@@ -1 +0,0 @@
|
|||||||
vllm
|
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
accelerate
|
accelerate
|
||||||
torch==2.4.1
|
torch==2.4.1
|
||||||
transformers
|
transformers
|
||||||
|
vllm
|
||||||
@@ -2,4 +2,5 @@
|
|||||||
accelerate
|
accelerate
|
||||||
torch==2.4.1+cu118
|
torch==2.4.1+cu118
|
||||||
transformers
|
transformers
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
|
vllm
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
accelerate
|
accelerate
|
||||||
torch==2.4.1
|
torch==2.4.1
|
||||||
transformers
|
transformers
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
|
vllm
|
||||||
@@ -2,4 +2,5 @@
|
|||||||
accelerate
|
accelerate
|
||||||
torch==2.4.1+rocm6.0
|
torch==2.4.1+rocm6.0
|
||||||
transformers
|
transformers
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
|
vllm
|
||||||
@@ -6,4 +6,5 @@ transformers
|
|||||||
optimum[openvino]
|
optimum[openvino]
|
||||||
setuptools
|
setuptools
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
oneccl_bind_pt==2.3.100+xpu
|
oneccl_bind_pt==2.3.100+xpu
|
||||||
|
vllm
|
||||||
7
backend/python/vllm/requirements-l4t.txt
Normal file
7
backend/python/vllm/requirements-l4t.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
--index-url https://pypi.jetson-ai-lab.dev/jp6/cu126/
|
||||||
|
accelerate
|
||||||
|
torch
|
||||||
|
vllm
|
||||||
|
transformers
|
||||||
|
bitsandbytes
|
||||||
|
flash-attn
|
||||||
Reference in New Issue
Block a user