mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-25 05:48:55 +01:00
Fixed error when $OS_ARCH returns aarch64 (#45)
For some machines $OS_ARCH returns aarch64 instead of ARM64,and as i see here this should fix it.
This commit is contained in:
parent
4babb22f84
commit
24c5ba2b9c
@ -8,6 +8,7 @@ OS_ARCH=$(uname -m)
|
|||||||
case "${OS_ARCH}" in
|
case "${OS_ARCH}" in
|
||||||
x86_64*) OS_ARCH="x86_64";;
|
x86_64*) OS_ARCH="x86_64";;
|
||||||
arm64*) OS_ARCH="aarch64";;
|
arm64*) OS_ARCH="aarch64";;
|
||||||
|
aarch64*) OS_ARCH="aarch64";;
|
||||||
*) echo "Unknown system architecture: $OS_ARCH! This script runs only on x86_64 or arm64" && exit
|
*) echo "Unknown system architecture: $OS_ARCH! This script runs only on x86_64 or arm64" && exit
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user