airunner-nexus


Nameairunner-nexus JSON
Version 1.5.3 PyPI version JSON
download
home_pagehttps://github.com/Capsize-Games/airunner_nexus
SummaryRun a socket server for AI models.
upload_time2024-08-17 09:28:47
maintainerNone
docs_urlNone
authorCapsize LLC
requires_python>=3.10.0
licenseGPL-3.0
keywords ai llm mistral
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Capsize-Games/airunner_nexus",
    "name": "airunner-nexus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": null,
    "keywords": "ai, LLM, mistral",
    "author": "Capsize LLC",
    "author_email": "contact@capsizegames.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/5b/67d69dff6fb1af36eb8abb85c2c950d5fd661d52fcd2de3744c384776881/airunner_nexus-1.5.3.tar.gz",
    "platform": null,
    "description": "# AI Runner Nexus\n\nRun Mistral LLM offline on your computer using a socket server.\n\n---\n\n## Features\n\n- Offline friendly - works completely locally with no internet connection (must first download models)\n- **Sockets**: handles byte packets of an arbitrary size\n- **Threaded**: asynchronously handle requests and responses\n- **Queue**: requests and responses are handed off to a queue\n\n---\n\n## Limitations\n\n### Data between server and client is not encrypted\n\nThis only matters if someone wants to create a production ready version of this\nserver which would be hosted on the internet. This server is not designed for\nthat purpose. It was designed with a single use-case in mind: the ability to run\nStable Diffusion (and other AI models) locally. It was designed for use with the\nKrita Stable Diffusion plugin, but can work with any interface provided someone \nwrites a client for it.\n\n### Only works with Mistral\n\nThis library was designed to work with the Mistral model, but it can be expanded\nto work with any LLM.\n\n---\n\n## Installation\n\n```bash\npip install airunner-nexus\ncp src/airunner_nexus/default.settings.py src/airunner_nexus/settings.py\n```\n\nModify `settings.py` as you see fit.\n\n---\n\n## Run server and client\n\nSee `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 \nthe client. Both of these files can be run directly from the command line.\n\nThe socket client will continuously attempt to connect to the server until it is successful. The server will accept\nconnections from any client on the given port.\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "Run a socket server for AI models.",
    "version": "1.5.3",
    "project_urls": {
        "Homepage": "https://github.com/Capsize-Games/airunner_nexus"
    },
    "split_keywords": [
        "ai",
        " llm",
        " mistral"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb8b390be616e104a1fbc88a372d4d986932a2dfeda5fdecfa437076bb286942",
                "md5": "7d98df5399ce567d2505cc3f941bbde2",
                "sha256": "5430ed7b2609103ec9767f92d121018173c80c29d1f616cd14b6049ea62fa498"
            },
            "downloads": -1,
            "filename": "airunner_nexus-1.5.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7d98df5399ce567d2505cc3f941bbde2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 29794,
            "upload_time": "2024-08-17T09:28:45",
            "upload_time_iso_8601": "2024-08-17T09:28:45.872888Z",
            "url": "https://files.pythonhosted.org/packages/eb/8b/390be616e104a1fbc88a372d4d986932a2dfeda5fdecfa437076bb286942/airunner_nexus-1.5.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d05b67d69dff6fb1af36eb8abb85c2c950d5fd661d52fcd2de3744c384776881",
                "md5": "5a6beb9f2e81ded81493418fa6676102",
                "sha256": "7c85ed3c2a54eb664aa82b97beb94998fdf3916b3ec635c046f0c1ce6f268434"
            },
            "downloads": -1,
            "filename": "airunner_nexus-1.5.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5a6beb9f2e81ded81493418fa6676102",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 27949,
            "upload_time": "2024-08-17T09:28:47",
            "upload_time_iso_8601": "2024-08-17T09:28:47.232423Z",
            "url": "https://files.pythonhosted.org/packages/d0/5b/67d69dff6fb1af36eb8abb85c2c950d5fd661d52fcd2de3744c384776881/airunner_nexus-1.5.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-17 09:28:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Capsize-Games",
    "github_project": "airunner_nexus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "airunner-nexus"
}
        
Elapsed time: 1.60667s