-
-
Notifications
You must be signed in to change notification settings - Fork 3
Using the AI Server on a different computer from the Stash Server
skier233 edited this page Jan 1, 2025
·
4 revisions
A common setup is to run the AI Server on a different computer than the stash server to be able to take advantage of a more powerful GPU than what is available on the stash server. Here is how to setup this setup:
- Ensure the computer that will be running the AI Server can access the files on the stash server
- For example, if the videos for stash are in C:\stash\scenes, ensure you have the stash server's drive mapped to the computer that will run the AI Server so you could access those files at
F:\stash\scenes
for example.
- For example, if the videos for stash are in C:\stash\scenes, ensure you have the stash server's drive mapped to the computer that will run the AI Server so you could access those files at
- Install the AI Server on the desired computer.
- Install the Stash Plugin.
- Navigate to the Stash Plugin config.py file and change the
API_BASE_URL
to the IP address of the AI Tagger computer, ie:API_BASE_URL = 'http://192.168.1.125:8000'
- In the Stash Plugin config.py file, add a mapping into path_mutation that will be used to convert paths on the Stash server into a format that can be read by the computer running the AI Server. For example from above:
path_mutation = {r"C:\stash\scenes": r"F:\stash\scenes"}