Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vwxyzjn/launcha-sb3-example
https://github.com/vwxyzjn/launcha-sb3-example
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vwxyzjn/launcha-sb3-example
- Owner: vwxyzjn
- Created: 2021-11-17T01:41:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T02:31:14.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T05:51:00.301Z (about 1 month ago)
- Language: Python
- Size: 3.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# launcha-sb3-example
```
pip install launcha
launcha init
``````
terraform init
terraform apply
``````
launcha -d vwxyzjn/sb3:latest --build --push --command "python sb3_example.py"
docker pull vwxyzjn/sb3:latest
docker run -d -e WANDB_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx vwxyzjn/sb3:latest /bin/bash -c "python sb3_example.py"
```
[![asciicast](https://asciinema.org/a/LAnbPd3Vv6qUJHoaKTGZUdp82.svg)](https://asciinema.org/a/LAnbPd3Vv6qUJHoaKTGZUdp82)### Submitting experiments to the cloud
```
launcha -d vwxyzjn/sb3:latest --build --push \
--command "python sb3_example.py" \
--job-queue c5a-large \
--num-vcpu 1 \
--num-memory 2000 \
--num-hours 48.0 \
--provider aws
```![1](imgs/1.png)
![1](imgs/2.png)
![1](imgs/3.png)
![1](imgs/4.png)