Skip to content

0.9.1

Choose a tag to compare

@justinmerrell justinmerrell released this 16 Mar 18:27
· 2153 commits to main since this release

SDK

  • Improved verbose feedback

Upload Utility

  • Faster file uploads

Download Utility

  • Accepts URLs that have file attachments vs only files in paths

Upload Utility

  • Upload status shown when uploading file to S3 bucket

Language Library - Endpoints

  • Endpoints can now be interacted with natively within Python
import runpod

runpod.api_key = "YOUR_API_KEY"
endpoint = runpod.Endpoint("ENDPOINT_ID")

run_request = endpoint.run(
    {"YOUR_MODEL_INPUT_JSON": "YOUR_MODEL_INPUT_VALUE"}
)

# Check the status of the endpoint run request
print(run_request.status())

# Get the output of the endpoint run request, blocking until the endpoint run is complete.
print(run_request.output())
import runpod

runpod.api_key = "YOUR_API_KEY"
endpoint = runpod.Endpoint("ENDPOINT_ID")

run_request = endpoint.run_sync(
    {"YOUR_MODEL_INPUT_JSON": "YOUR_MODEL_INPUT_VALUE"}
)

# Returns the job results if completed within 90 seconds, otherwise, returns the job status.
print(run_request )

Full Changelog: 0.8.4...0.9.1