Skip to main content

Run experiments on the Robbie Cloud

Project description

Robbie

Run experiments on the Robbie Cloud

Installation

Install the package from PyPi:

pip install robbie

Getting Started

Log in to your account

positron login

Create a python file and decorate it.

from robbie import remote

@remote(
    funding_group_id ='44d273ad-75b4-4af4-8a33-0ab652c2c315',
    environment_id = 'c2fab2e7-7e1c-4180-8d77-53ddbe2af281',
    image = 'pytorch-training:2.2.0-cpu-py310-ubuntu20.04-ec2',
)
def main():
    print("Running my function")

if __name__ == "__main__":
    main()

Deploy the job

python main.py

Positron CLI Usage

Explore the help dialogs.

robbie --help

robbie run --help

Job Types

Generic Job

Defined in job_config.yaml as a commands block.

Example at test/cli.

Run with robbie run

Decorator Job

Defined as a python native decorator.

Example at test/decorator/test.py.

Run with python test.py

Rather than specify configuration options in the src code, you can put them in job_config.yaml.

Example at test/decorator/with_config/main.py.

Positron Job Runner

Located at app/positron_job_runner, this get's deployed as positron-job-runner and is used in the deployed container to launch the user's project.

License

This project is licensed under the Apache 2 License. See the LICENSE file for details.

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

robbie-0.1.24.1.tar.gz (69.4 kB view details)

Uploaded Source

Built Distribution

robbie-0.1.24.1-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

Details for the file robbie-0.1.24.1.tar.gz.

File metadata

  • Download URL: robbie-0.1.24.1.tar.gz
  • Upload date:
  • Size: 69.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for robbie-0.1.24.1.tar.gz
Algorithm Hash digest
SHA256 42c3fa8b6d130860b968a08cc1c74f8ad54ed356d5131866525b883dd9f1251e
MD5 ae63570ff7cf29ac61bfe642226f0592
BLAKE2b-256 3144eeb32fc7aa5b67c4dda381852cb5b6cad90b77e9e09e175ecd40ff3a7a4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for robbie-0.1.24.1.tar.gz:

Publisher: workflow.yaml on Positron-Networks/python-decorator

Attestations:

File details

Details for the file robbie-0.1.24.1-py3-none-any.whl.

File metadata

  • Download URL: robbie-0.1.24.1-py3-none-any.whl
  • Upload date:
  • Size: 92.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for robbie-0.1.24.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c300a25c9c7c9ff5ba920b0659153ed3e0775ca07fa36cd05225becaa3a61170
MD5 c1c15395cc5d99d01ee65ec5c151db4e
BLAKE2b-256 d3f933df10d970d0652eda004d942613254592e6a6f4ca17f1de0c7d62119075

See more details on using hashes here.

Provenance

The following attestation bundles were made for robbie-0.1.24.1-py3-none-any.whl:

Publisher: workflow.yaml on Positron-Networks/python-decorator

Attestations:

Supported by

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