Skip to main content

bujang-mila

bujang plugin with the Mila cluster configuration: the clusters (bujang_mila/config/clusters.yaml), their slurm profiles by node type (bujang_mila/config/profiles/<cluster>.yaml) and example scripts (bujang_mila/config/scripts/<cluster>/).

uv add "bujang[mila]"          # or: pip install "bujang[mila]", or bujang-mila on its own

Installed, the clusters show up in bujang serve with no other setup (GET /api/slurm/config/sources shows them coming from mila). Override a field in a user file, e.g. ~/.config/bujang/mila.yaml:

clusters:
  mila:
    remote_folder: ~/scratch/bujang

SSH config

bujang reaches each cluster with ssh <alias>. bujang_mila/config/ssh_config holds the matching ~/.ssh/config entries for every cluster above, plus the Trillium data mover tri-dm1. Install them with your usernames (MILA_USER is also used for Lynx, ALLIANCE_USER is your CCDB username):

bujang ssh install --plugin mila --set MILA_USER=... --set ALLIANCE_USER=...
bujang ssh test --plugin mila      # connect to every cluster, read only

The block goes between # >>> bujang:mila ... anchors (a backup of the file is made first); running install again after an upgrade updates it in place, bujang ssh remove --plugin mila removes it. On clusters with MFA, run ssh <alias> once in a terminal. bujang then reuses that connection (ControlMaster) until ControlPersist expires.

Examples

bujang_mila/config/scripts/<cluster>/ has a job per cluster (<cluster>_gpu_example.sh, a CPU one on trillium) that trains the MNIST example of pytorch/examples (mnist/main.py, checked out at a pinned commit; the scripts carry no Python code). On mila, fir and nibi the job clones the code and downloads MNIST itself. The clusters whose compute nodes have no internet (rorqual, tamia, trillium-gpu, trillium, lynx) have a <cluster>_download_example.sh step and a pipeline/<cluster>_gpu_example.json (trillium_cpu_example.json) that runs it first on the login node or the data mover, plus a <cluster>_proxy_example.json that runs it as a Slurm job through the SOCKS proxy (not on trillium): see docs/EXAMPLES.md. Rorqual, tamIA and Lynx have a login node type (ssh executor on the login node) for those steps. The examples use # {START} / # {END} for bujang's bookkeeping (see Script placeholders).

Metadata

Release files for bujang-mila 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bujang-mila 0.1.7
File Size Uploaded Provenance Actions
bujang_mila-0.1.7.tar.gz 20.8 kB With provenance Details for bujang_mila-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bujang-mila 0.1.7
File Interpreter ABI Platform Actions
bujang_mila-0.1.7-py3-none-any.whl Python 3 none any Details for bujang_mila-0.1.7-py3-none-any.whl

Total release size: 73.2 kB

Release files / bujang_mila-0.1.7.tar.gz

Download URL bujang_mila-0.1.7.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
806313e10a47e33a498a01675db5c1e3c4675ebd2231b00cb7afe64d5e4b1eed
BLAKE2b-256 checksum
How to use checksums
adfd9c726626456d86878c37b6074908d0f57857511f6e5f6fca8afab3353989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / bujang_mila-0.1.7-py3-none-any.whl

Download URL bujang_mila-0.1.7-py3-none-any.whl
Size 52.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc3bdcb2adb07cda7c18ff9bbd2395601d14661b20ca707a13b86651eff35448
BLAKE2b-256 checksum
How to use checksums
072c6207f8fb3f8f1d5218d27d429c5b67fe5b34e342535efa84aab20bffc32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for bujang-mila 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bujang_mila-0.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page