Wistfare Serverless GPU Platform SDK
Project description
Wistfare Python SDK
The official Python SDK for the Wistfare Serverless GPU Platform.
Installation
pip install wistfare
Quick Start
from wistfare import endpoint, Image
image = Image(
python_version="3.12",
python_packages=["torch", "transformers"],
cuda_version="12.4",
)
@endpoint(name="predict", cpu=2, memory="16Gi", gpu="H100", image=image)
def predict(context, prompt: str = ""):
model = context.on_start_result
return model.generate(prompt)
@predict.on_start()
def load_model(context):
from transformers import pipeline
return pipeline("text-generation", model="meta-llama/Llama-3-8B", device="cuda")
wistfare deploy app.py:predict
Features
- Decorators:
@endpoint,@function,@task_queue,@schedule - GPU Support: RTX 4090, A100, H100 with per-second billing
- Image Builder: Define container environments with
Image() - CLI:
wistfare deploy,wistfare serve,wistfare logs - Client: Programmatic invocation via
WistfareClient
Documentation
See the Getting Started Guide.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wistfare-0.1.0.tar.gz.
File metadata
- Download URL: wistfare-0.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28a696928e2d01ef9d7ff96cdcc6ef0cf72b6928812449f7012982942b4ba414
|
|
| MD5 |
89472bca7fdc056d807890618feb72bc
|
|
| BLAKE2b-256 |
d73b306315ecdf01f643b023f675b2c766d854ee1d5ac0cab87a5da33488ba1a
|
Provenance
The following attestation bundles were made for wistfare-0.1.0.tar.gz:
Publisher:
publish.yml on Wistfare/wistfare-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wistfare-0.1.0.tar.gz -
Subject digest:
28a696928e2d01ef9d7ff96cdcc6ef0cf72b6928812449f7012982942b4ba414 - Sigstore transparency entry: 1238621570
- Sigstore integration time:
-
Permalink:
Wistfare/wistfare-python@904a6bdd38f3e0e9dec5fb54ae81b7d492e39ef4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Wistfare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@904a6bdd38f3e0e9dec5fb54ae81b7d492e39ef4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wistfare-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wistfare-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84c858a616e12aa6557a224693a6aded57fd583ceaa0e508ca04ef863714c02c
|
|
| MD5 |
5aa61cf744fea261f0125c04568c25e6
|
|
| BLAKE2b-256 |
3715a87e18468369a68b922560558259af494d1dad996888084592a65678be2e
|
Provenance
The following attestation bundles were made for wistfare-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Wistfare/wistfare-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wistfare-0.1.0-py3-none-any.whl -
Subject digest:
84c858a616e12aa6557a224693a6aded57fd583ceaa0e508ca04ef863714c02c - Sigstore transparency entry: 1238621574
- Sigstore integration time:
-
Permalink:
Wistfare/wistfare-python@904a6bdd38f3e0e9dec5fb54ae81b7d492e39ef4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Wistfare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@904a6bdd38f3e0e9dec5fb54ae81b7d492e39ef4 -
Trigger Event:
release
-
Statement type: