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
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.25.tar.gz
.
File metadata
- Download URL: robbie-0.1.25.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3039169b50a97f2d26443f7d131488214d70adcddf3640bed472f999469c402 |
|
MD5 | e36c58375a25ff2744a621742fd99cd5 |
|
BLAKE2b-256 | 2d384af6996b2e7cdbd8493f69f3304262761cf633318245fc636ffa11cbc75f |
Provenance
The following attestation bundles were made for robbie-0.1.25.tar.gz
:
Publisher:
workflow.yaml
on Positron-Networks/python-decorator
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
robbie-0.1.25.tar.gz
- Subject digest:
b3039169b50a97f2d26443f7d131488214d70adcddf3640bed472f999469c402
- Sigstore transparency entry: 151487496
- Sigstore integration time:
- Predicate type:
File details
Details for the file robbie-0.1.25-py3-none-any.whl
.
File metadata
- Download URL: robbie-0.1.25-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7251925d0f2d043c4626b5ca9be7168775a83d854adedd46b6bbf5412d693bb6 |
|
MD5 | 1607e56224da49ba64cfed37e49b72ce |
|
BLAKE2b-256 | 8e4199f0fca775c2a569763cd260ca10922645c2fb5adb4042a3f3327fdceed5 |
Provenance
The following attestation bundles were made for robbie-0.1.25-py3-none-any.whl
:
Publisher:
workflow.yaml
on Positron-Networks/python-decorator
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
robbie-0.1.25-py3-none-any.whl
- Subject digest:
7251925d0f2d043c4626b5ca9be7168775a83d854adedd46b6bbf5412d693bb6
- Sigstore transparency entry: 151487499
- Sigstore integration time:
- Predicate type: