Skip to main content

Queuing, storage, metering, rate limiting for AI

Project description

Meteron AI

Installation:

pip install meteron

Usage:

import json

from meteron import Cluster

# Create your cluster that has one or more servers.
# In this example we will use https://lightning.ai/muse
cluster = Cluster(cluster='lightning-muse',
                  servers=[{
                      'url': 'https://ulhcn-01gd3c9epmk5xj2y9a9jrrvgt8.litng-ai-03.litng.ai/api/predict'
                  }])

cluster.initialize()

# Send the request to the cluster
result = cluster.image_gen(data=json.dumps({'prompt': 'spaceships above alien planet'}))

# Do whatever you want with the result

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meteron-0.1.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meteron-0.1.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file meteron-0.1.4.tar.gz.

File metadata

  • Download URL: meteron-0.1.4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for meteron-0.1.4.tar.gz
Algorithm Hash digest
SHA256 67fa9239b068e8ca9b4cce5278f1656ca1f9a23aab5ec81348aeb9d70b6d1088
MD5 b7aa4d4790dbde994f3925ff7e58462c
BLAKE2b-256 001788c10e93f790673fc524f5b6d6fb864bcaa57b5031296041f482b422b583

See more details on using hashes here.

File details

Details for the file meteron-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: meteron-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for meteron-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fbdb897c5b037e512c923a5e86fe4b9a4f1dcc3d8bc02e05de119110338ab5b3
MD5 0aeda2787d86768205613399e6f02993
BLAKE2b-256 524fae98a11dd4019cc7b8af5bf1c0ccc9c827d5e430030f1e1fa78b887051b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page