diff --git a/fvlm.service b/fvlm.service new file mode 100644 index 0000000..bd9178b --- /dev/null +++ b/fvlm.service @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..66ee57d --- /dev/null +++ b/requirements.txt @@ -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 diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..02f82c3 --- /dev/null +++ b/start.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +CUDA_VISIBLE_DEVICES=6 /share/ymq/run/fvlm/fvlm.env/bin/python app/fastvlm.py -p 9994 diff --git a/stop.sh b/stop.sh new file mode 100755 index 0000000..5b4db65 --- /dev/null +++ b/stop.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +/d/ymq/bin/killname fastvlm.py