Open RunDevelopment opened 1 year ago
It seems like one stepping stone on the way to this goal would be to change how the --no-backend
flag works. Currently, it takes no arguments (it's just a boolean flag), and if specified, it assumes the backend is at http://localhost:8000/
. It might be helpful to allow specifying the backend address as an argument, e.g. chainner --remote-backend http://localhost:8000/
would be the equivalent of the current behavior of chainner --no-backend
. (This would also be independently helpful for use cases where the user wants to run the backend on a different port or different loopback address, e.g. if the current default port is already in use.)
Would such a change be welcome?
Yes that would be a welcome addition for sure
Motivation We have been getting a lot of requests to run chainner on a server, so this issue to intended to track progress towards that.
The main goal of this is to support offloading the heavy computational cost of some operations (e.g. upscaling) to cloud servers such that low-end and mid-range devices can use the full range of chainner's features. Users would be able to use the frontend to connect to some remote backend and use chainner as normal while the remote server does the computations.
Description Remote backends should support the following:
As I see it, the main technical challenges will be the following:
Note: We may be able to get away with not supporting multiple tenants at first.