This commit is contained in:
ymq1 2025-06-22 15:06:23 +08:00
parent bb9cd90831
commit 508ad50abe
4 changed files with 28 additions and 0 deletions

17
fvlm.service Normal file
View File

@ -0,0 +1,17 @@
[Unit]
Wants=systemd-networkd.service
[Service]
User=ymq
Group=ymq
Type=forking
WorkingDirectory=/share/ymq/run/fvlm
# ExecStart=/share/ymq/run/fvlm/fvlm.env/bin/python app/fastvlm.py -p 9994
ExecStart=/share/ymq/run/fvlm/start.sh
ExecStop=/share/ymq/run/fvlm/stop.sh
StandardOutput=append:/var/log/fvlm/fvlm.log
StandardError=append:/var/log/fvlm/fvlm.log
SyslogIdentifier=DeepSeek32B-kyyds671b.log
[Install]
WantedBy=multi-user.target

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
llava
# git+https://github.com/apple/ml-fastvlm
git+https://git.kaiyuancloud.cn/yumoqing/apppublic
git+https://git.kaiyuancloud.cn/yumoqing/sqlor
git+https://git.kaiyuancloud.cn/yumoqing/ahserver

3
start.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/bash
CUDA_VISIBLE_DEVICES=6 /share/ymq/run/fvlm/fvlm.env/bin/python app/fastvlm.py -p 9994

3
stop.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/bash
/d/ymq/bin/killname fastvlm.py