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

robbie 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 gets 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.31.tar.gz (236.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robbie-0.1.31-py3-none-any.whl (260.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robbie-0.1.31.tar.gz
  • Upload date:
  • Size: 236.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for robbie-0.1.31.tar.gz
Algorithm Hash digest
SHA256 a6ad832fbf68bc08c34ede92d94f5da5da1ff1653ae4b1d551d09bda19a5dfef
MD5 b175a86837c92a0b92ce224d479feaa1
BLAKE2b-256 b2cb55ec43bfcf1a9f670d713be99d882c6d4eb74fb0438b6bebca4702427440

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: robbie-0.1.31-py3-none-any.whl
  • Upload date:
  • Size: 260.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for robbie-0.1.31-py3-none-any.whl
Algorithm Hash digest
SHA256 767a0f698e05596a6fa87d0f40f7d341c2a3e76c242c134fa89c95ba919b65cc
MD5 d77003490efe33d88f41cc4435ffed3d
BLAKE2b-256 4a6bb73c17289f193713cf8140e2d6cd28ebdf34bf16be4dfcb2863a2f68764f

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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