config.RemoteConfig

config.RemoteConfig(
    cpu=8.0,
    memory=16384,
    timeout=3600,
    gpu=None,
    auto_sized=False,
    idle_timeout=1200,
)

Configuration for remote sampling.

Methods

Name Description
describe Human-readable description for progress display.
from_instance Resolve resource config from instance hint, or auto-size from the model.

describe

config.RemoteConfig.describe()

Human-readable description for progress display.

from_instance

config.RemoteConfig.from_instance(
    instance,
    model=None,
    sample_kwargs=None,
    nuts_sampler='pymc',
)

Resolve resource config from instance hint, or auto-size from the model.

If instance is a preset name (“small”, “large”, etc.), use the preset. If instance is None, auto-size based on model and sampling config.