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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robbie-0.1.19.tar.gz
.
File metadata
- Download URL: robbie-0.1.19.tar.gz
- Upload date:
- Size: 45.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fda34255c7e58995eb961a68c323726fd34cf5dd11148d8d3d3dcbcfb6df273b |
|
MD5 | 1090a2ce5c634239b412c53aa7651aa9 |
|
BLAKE2b-256 | 2ed98989a911a2611b4481354d4535b8145a98c452457bb93cbea0c1109443ce |
File details
Details for the file robbie-0.1.19-py3-none-any.whl
.
File metadata
- Download URL: robbie-0.1.19-py3-none-any.whl
- Upload date:
- Size: 63.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa977d4b9c6eed4291553114cd92b3a812ad547479e424b8f0771e825c75665b |
|
MD5 | 3d0e69a072789c24041ebb0da450f956 |
|
BLAKE2b-256 | 46868b6f7a5a4f4737c058d3fe2cbdacee2cc4dc041e1e82a7987032f79f391e |