Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hydra-lsf-launcher-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

hydra_lsf_launcher-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for hydra-lsf-launcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74cebfd9c83646d6f88ed6f6421a5f96c19c9e185105b276e95b060743d7357f
MD5 89af9b55c28d1e1e6a630bb9b2073bcb
BLAKE2b-256 a3c821f42be25d5af624db212d8cd6a981581773dd689a6e1d40c69422aee6fd

See more details on using hashes here.

File details

Details for the file hydra_lsf_launcher-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hydra_lsf_launcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec93a3692dd4f24b98f08395931dabb81e7906e14cd1bb4eaf77e1e3a13792e
MD5 da8bc15e98c912aa3a66aca2286833d2
BLAKE2b-256 3dfdec85f132183b078a6bb4a0a586bc232b7ce54019b7d0fe8580863b03a633

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page