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
Built Distribution
File details
Details for the file robbie-0.1.17.tar.gz
.
File metadata
- Download URL: robbie-0.1.17.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcce26cd98e97ae1801f2c7de0fc946092e37b02d85e16d349476193fbaf01fb |
|
MD5 | 9eaac1ab65cc0b20f1665880812ce7ba |
|
BLAKE2b-256 | 1d9006c9e33dd705081f1d9fa0dc9a2f8ea647e6fabcafe6c4e0258e76389f60 |
File details
Details for the file robbie-0.1.17-py3-none-any.whl
.
File metadata
- Download URL: robbie-0.1.17-py3-none-any.whl
- Upload date:
- Size: 52.9 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 | f33b45b7fd857314d26668110c0242abb31dd38ca757ea8a67931c38a9fe46b1 |
|
MD5 | 9b76ea6552da1b264d85d48a09a9739a |
|
BLAKE2b-256 | e3d8a811a439ebf7ca5c65d54df9514a5cd6bf33a169fa2d40aa33bccb8cd49c |