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

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.3
File Size Uploaded Provenance Actions
bujang_mila-0.1.3.tar.gz 20.9 kB With provenance Details for bujang_mila-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 73.5 kB

Release files / bujang_mila-0.1.3.tar.gz

Download URL bujang_mila-0.1.3.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
daa1294b2908af783ba69180fbf1b7aec7b8dadc6d10f4ae0e607495242af83e
BLAKE2b-256 checksum
How to use checksums
8a6bfb7c4f26f21f9f1d803d683b3b1bcc8dbfcfec5fdd1e7cb8cfad7d24748a
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.3-py3-none-any.whl

Download URL bujang_mila-0.1.3-py3-none-any.whl
Size 52.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b31881a3e5e57d3e7c17617ee22dbc79841e782daa200a50d6885deddab149c
BLAKE2b-256 checksum
How to use checksums
be441ee6db804858f1f8717631eb9cbfc3dc661bb30d38991ae0b735e923ab39
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.3

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