Skip to main content

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-fix-google-validation-docs-404s.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This class provides a simple to use abstraction over the pyworker backend. All custom implementations of pyworker can be created by configuring a Worker object. The pyworker starts by calling Worker.run()

Import

from vastai import Worker

Constructor

Worker(config: WorkerConfig)
config
WorkerConfig
required
config

Methods

run_async

async run_async()

run

run()