sudo apt install -y docker.io
sudo usermod -aG docker $USER
newgrp docker
sudo apt install -y nvidia-container-toolkit
Manually edit the etc/properties.json file if needed to use the port you need.
make docker-build-gvirtus
make run-gvirtus-backend
make attach-gvirtus-backend
/fastapi/setup.sh
Edit fastapi/server.py line 20 to serve the model(s) and API endpoint of your choice. Optionally, change the model you want for each task.
nano /fastapi/server.py
/fastapi/deploy_native <port>
Manually edit the etc/properties.json file if needed to set the IP and port of your GVirtuS backend.
make docker-build-gvirtus
make run-gvirtus-frontend
/fastapi/setup.sh
/fastapi/deploy_gvirtus <port>
Edit fastapi/sender.py lines 17-23 to reflect your machines' IP and set up which one is the GPU machine.
Also, edit line 44 to select the models of your choice.
Optionally, edit other parameters if you need to.
nano /fastapi/sender.py
/fastapi/query.sh
11 commits
C++
89.6%
Cuda
6.8%
Python
2.1%
CMake
1.2%
sudo apt install -y docker.io
sudo usermod -aG docker $USER
newgrp docker
sudo apt install -y nvidia-container-toolkit
Manually edit the etc/properties.json file if needed to use the port you need.
make docker-build-gvirtus
make run-gvirtus-backend
make attach-gvirtus-backend
/fastapi/setup.sh
Edit fastapi/server.py line 20 to serve the model(s) and API endpoint of your choice. Optionally, change the model you want for each task.
nano /fastapi/server.py
/fastapi/deploy_native <port>
Manually edit the etc/properties.json file if needed to set the IP and port of your GVirtuS backend.
make docker-build-gvirtus
make run-gvirtus-frontend
/fastapi/setup.sh
/fastapi/deploy_gvirtus <port>
Edit fastapi/sender.py lines 17-23 to reflect your machines' IP and set up which one is the GPU machine.
Also, edit line 44 to select the models of your choice.
Optionally, edit other parameters if you need to.
nano /fastapi/sender.py
/fastapi/query.sh
11 commits
C++
89.6%
Cuda
6.8%
Python
2.1%
CMake
1.2%