Skip to main content

bujang-mila

bujang plugin with the Mila cluster configuration: the clusters (bujang_mila/config/clusters.yaml), their node types and slurm profiles (bujang_mila/config/nodes/*.yaml, profiles.yaml).

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.5

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.5
File Size Uploaded Provenance Actions
bujang_mila-0.1.5.tar.gz 21.4 kB With provenance Details for bujang_mila-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 74.6 kB

Release files / bujang_mila-0.1.5.tar.gz

Download URL bujang_mila-0.1.5.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
34e285a4339f3911c918ae3ce9f3ed4abc8b43435bc73e7f1391c0efe35dc09b
BLAKE2b-256 checksum
How to use checksums
2ae6f2505f6c414ff37040f92e48f67e45593ea5622edf4193dc928a67a5f37b
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.5-py3-none-any.whl

Download URL bujang_mila-0.1.5-py3-none-any.whl
Size 53.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36a43c51359b66bcc6df2982077512e35d2dacdffadb2795c98252fc85c0b9ec
BLAKE2b-256 checksum
How to use checksums
f7e82e418fdc721eab7ec1b6ff30fa73cc5912a3abc7d364a30e44a0741aaa46
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.5

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.5.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