Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
vvauijij committed May 23, 2024
1 parent 3abb126 commit df1a733
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## Genai network client
# Project GenAi client node

This is a client implementation for GenAI network project. `tauri-app` package contains client node with UI and `client-package` contains a separate NPM package that can be used via CLI or as an NPM library.
Node is the serving component of the [project](https://paipe.io/) backend: an image generation and pipeline builder infrastructure as a service. Node is hosted on the client side and interacts with the [server](https://github.com/paipe-labs/project-genai/) as follows:
- node recieves an image generation request
- node performs the task generation, using client computing resources
- node sends the generation result to the server

Node components:
- `SessionManager` class acts as a coordinator: it establishes a session by creating a WebSocket connection to the server and serves the process of data flow between the server and the node
- `TasksManager` class is responsible for creating and managing image generation tasks
- `InferenceServer` class declares the interface of interaction with Inference. Currently the following types are available depending on the type of inference:
- `AutomaticInferenceServer`
- `ComfyUIInferenceServer`
- `VoltaMLInferenceServer`
- `TestInferenceServer`

![node](doc/node.png)

# Inference
Inference is a node part responsible for the image generation process. [Сog-comfyui](https://github.com/fofr/cog-comfyui) and [ai-dock comfyui](https://github.com/ai-dock/comfyui/) are integrated into node component as base Docker images - configuration can be found in `build` directory.
Binary file added doc/node.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit df1a733

Please sign in to comment.