AI Runner Nexus
Run Mistral LLM offline on your computer using a socket server.
Features
- Offline friendly - works completely locally with no internet connection (must first download models)
- Sockets: handles byte packets of an arbitrary size
- Threaded: asynchronously handle requests and responses
- Queue: requests and responses are handed off to a queue
Limitations
Data between server and client is not encrypted
This only matters if someone wants to create a production ready version of this server which would be hosted on the internet. This server is not designed for that purpose. It was designed with a single use-case in mind: the ability to run Stable Diffusion (and other AI models) locally. It was designed for use with the Krita Stable Diffusion plugin, but can work with any interface provided someone writes a client for it.
Only works with Mistral
This library was designed to work with the Mistral model, but it can be expanded to work with any LLM.
Installation
pip install airunner-nexus
cp src/airunner_nexus/default.settings.py src/airunner_nexus/settings.py
Modify settings.py as you see fit.
Run server and client
See src/airunner_nexus/server.py for an example of how to run the server and src/airunner_nexus/client.py for an example of how to run
the client. Both of these files can be run directly from the command line.
The socket client will continuously attempt to connect to the server until it is successful. The server will accept connections from any client on the given port.
Metadata
Release files for airunner-nexus 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| airunner_nexus-1.5.3.tar.gz | 27.9 kB | Without provenance | Details for airunner_nexus-1.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airunner_nexus-1.5.3-py3-none-any.whl | Python 3 | none | any | Details for airunner_nexus-1.5.3-py3-none-any.whl |
Total release size: 57.7 kB
Release files / airunner_nexus-1.5.3.tar.gz
| Download URL | airunner_nexus-1.5.3.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c85ed3c2a54eb664aa82b97beb94998fdf3916b3ec635c046f0c1ce6f268434
|
|
BLAKE2b-256 checksum How to use checksums |
d05b67d69dff6fb1af36eb8abb85c2c950d5fd661d52fcd2de3744c384776881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / airunner_nexus-1.5.3-py3-none-any.whl
| Download URL | airunner_nexus-1.5.3-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5430ed7b2609103ec9767f92d121018173c80c29d1f616cd14b6049ea62fa498
|
|
BLAKE2b-256 checksum How to use checksums |
eb8b390be616e104a1fbc88a372d4d986932a2dfeda5fdecfa437076bb286942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for airunner-nexus 1.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.