Ai
3 Star 1 Fork 1

Gitee 极速下载/Exllama

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/turboderp/exllama
克隆/下载
entrypoint.sh 562 Bytes
一键复制 编辑 原始数据 按行查看 历史
turboderp 提交于 2023-06-23 01:54 +08:00 . Consistent naming for command line args
#!/usr/bin/env bash
set -Eeuo pipefail
# Ensure that the application state path is set
if [ -z $APPLICATION_STATE_PATH ]; then
echo "Must specify application state path"
exit 1
fi
# Ensure that bind-mounted directories are owned by the user that runs the service if the user is not root
if [ $RUN_UID -ne 0 ]; then
chown -R $RUN_UID:$RUN_UID $APPLICATION_STATE_PATH
fi
# Run service as specified (non-root) user
exec runuser -u $(id -un $RUN_UID) -- python3 /app/webui/app.py \
-d $CONTAINER_MODEL_PATH \
--sessions_dir $CONTAINER_SESSIONS_PATH \
$@
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/Exllama.git
git@gitee.com:mirrors/Exllama.git
mirrors
Exllama
Exllama
master

搜索帮助