mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-14 10:37:43 -07:00
Merge pull request #33 from leemgs/upstream-check-cmd-dep
feat: checking cmd dependency while running setup.sh
This commit is contained in:
commit
36a9c52a08
1 changed files with 12 additions and 0 deletions
12
setup.sh
12
setup.sh
|
@ -6,6 +6,18 @@ if [ -f config.env ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
function check_dep(){
|
||||
echo "Checking for $1 ..."
|
||||
which "$1" 2>/dev/null || {
|
||||
echo "Please install $1."
|
||||
exit 0
|
||||
}
|
||||
}
|
||||
check_dep curl
|
||||
check_dep zstd
|
||||
check_dep docker
|
||||
|
||||
|
||||
echo "Models available:"
|
||||
echo "[1] codegen-350M-mono (2GB total VRAM required; Python-only)"
|
||||
echo "[2] codegen-350M-multi (2GB total VRAM required; multi-language)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue