Skip to main content

Run experiments on the Positron Cloud

Project description

Positron Networks

This package facilitates interacting with the Positron Supercompute infrastructure.

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.18.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

robbie-0.1.18-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robbie-0.1.18.tar.gz
  • Upload date:
  • Size: 43.0 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.18.tar.gz
Algorithm Hash digest
SHA256 40c23049fc6bd3588edd73c1e20f0fb8023ab2657eea263f71d14db83ac477ba
MD5 e5af98955bca882e3bbfab5fbabe3cd8
BLAKE2b-256 8b3409535e03992f2bf534c0c9989ff6c2a6402b69b3300a2b0742c9a79bd6e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robbie-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 59.6 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 65cdf564120a468587d253df146421496d1789a43f5d872372cd54f6cef3e09e
MD5 2b68ff41a1bb6565c22b7a76dfe01a18
BLAKE2b-256 2938a74ef06c29229227b860b5e079eb13dcd761e12e0690baa5355a999e680f

See more details on using hashes here.

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