How pr1mo-productions/oliana works
Main Components
a) Core Components:
• Oliana-Lib (Shared utilities)
• Oliana-Images (Image generation service)
• Oliana-Text (Text generation service)
• Oliana-Server (Network communication layer)
• Oliana-CLI (Command-line interface)
• Oliana-GUI (Graphical interface)
b) External Dependencies:
• Python 3.10+
• CUDA/GPU Services
• System Python Libraries
• LibTorch
Component Relationships
• [External Services Layer]
• CUDA/GPU ---- Python 3.10+
• /
• /
[Client Layer] [Service Layer] [Core Layer]
• Oliana-CLI |---------------|Oliana-Server |--------------|Oliana-Lib |
• RPC +---------------+ Uses +------------+
• Oliana-GUI |----------------+ |
• RPC |
• [Processing Layer]
• Oliana-Images |
• Oliana-Text |
Important Details
a) Cache Management:
• Local cache system (~/.cache/oliana_lib/ or %LOCALAPPDATA%\oliana_lib\)
• Model file storage locations
b) Communication Flows:
• Bi-directional RPC communication between clients and server
• Async nature of the server-client communication
• TCP/IPv4/IPv6 support
c) Processing Pipelines:
• GPU-accelerated pipelines for both image and text generation
• Model file management flow
Technical Specifications to Note
• A note about the tarpc + serde implementation for binary transport
• Supported protocols (TCP over IPv4/IPv6)
• Separation of concerns between components
• Cache directory structure