Lsf Hydra Launcher plugin
Project description
hydra-lsf-launcher
This is a simple launcher for launching Hydra jobs on LSF clusters. It is a simple wrapper around the bsub
command that allows you to launch Hydra jobs with a single command.
Run at your own risk, expect bugs. This is not an official Hydra project.
Here is an example using hydra-zen to launch a job on an LSF cluster:
from hydra_zen import store, zen
import time
def main_func(sentence):
time.sleep(120)
print(sentence)
store(
main_func,
hydra_defaults=[
"_self_",
]
)
if __name__ == "__main__":
store.add_to_hydra_store()
zen(main_func).hydra_main(
config_name="main_func", version_base="1.1", config_path=None
)
Then you can run it with:
python myscript.py hydra/launcher=lsf sentence="Hello World!" -m
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 hydra-lsf-launcher-0.1.0.tar.gz
.
File metadata
- Download URL: hydra-lsf-launcher-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74cebfd9c83646d6f88ed6f6421a5f96c19c9e185105b276e95b060743d7357f |
|
MD5 | 89af9b55c28d1e1e6a630bb9b2073bcb |
|
BLAKE2b-256 | a3c821f42be25d5af624db212d8cd6a981581773dd689a6e1d40c69422aee6fd |
File details
Details for the file hydra_lsf_launcher-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hydra_lsf_launcher-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec93a3692dd4f24b98f08395931dabb81e7906e14cd1bb4eaf77e1e3a13792e |
|
MD5 | da8bc15e98c912aa3a66aca2286833d2 |
|
BLAKE2b-256 | 3dfdec85f132183b078a6bb4a0a586bc232b7ce54019b7d0fe8580863b03a633 |