Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# OS and repository metadata
**/.DS_Store
.git/

# Python environments, caches, and build output
**/.venv*/
dist/
**/dist/
build/
**/build/
__pycache__/
**/__pycache__/
.pytest_cache/
**/.pytest_cache/
.mypy_cache/
**/.mypy_cache/
.ruff_cache/
**/.ruff_cache/
.coverage
**/.coverage
coverage.xml
**/coverage.xml
htmlcov/
**/htmlcov/
*.egg-info/
**/*.egg-info/
*.pyc
**/*.pyc
*.so
**/*.so
*.dylib
**/*.dylib

# Rust build output
target/
**/target/
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
python/aisimulate/src/aiconfigurator_core/systems/**/*.txt filter=lfs diff=lfs merge=lfs -text
python/aisimulate/src/aiconfigurator_core/systems/**/INCOMPLETE.txt -filter -diff -merge text
python/aisimulate/src/aiconfigurator_core/systems/**/*.parquet diff=parquet -text
python/aisimulate/ATTRIBUTIONS.md filter=lfs diff=lfs merge=lfs -text
# ModelOpt MIXED_PRECISION checkpoint quant configs are verbatim HF artifacts
# (byte-identical to the hub file; the M3 one enumerates 22k quantized
# tensors) — mark generated so review diffs collapse them.
Expand Down
40 changes: 40 additions & 0 deletions .github/actions/setup-manylinux-python-rust/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: Set up manylinux Python and Rust
description: Select bundled CPython 3.12 and prepare Rust in the pinned manylinux images

runs:
using: composite
steps:
- name: Select bundled Python and verify image tools
shell: bash
env:
MANYLINUX_PYTHON_ROOT: /opt/python/cp312-cp312
run: |
set -euo pipefail
"${MANYLINUX_PYTHON_ROOT}/bin/python" -c \
'import sys; assert sys.version_info[:2] == (3, 12), sys.version'
for tool in cc c++ make auditwheel patchelf; do
command -v "${tool}" >/dev/null || {
echo "::error::manylinux image is missing required tool: ${tool}"
exit 1
}
done
# Versions are pinned by the container digest. Exercise and record
# the tools before exporting an environment for the wheel build.
auditwheel --version
patchelf --version
echo "${MANYLINUX_PYTHON_ROOT}/bin" >> "${GITHUB_PATH}"
{
echo "PYO3_PYTHON=${MANYLINUX_PYTHON_ROOT}/bin/python"
echo "LIBRARY_PATH=${MANYLINUX_PYTHON_ROOT}/lib"
# HOME is the checkout; keep toolchain manifests outside the source
# tree inspected by build_release_artifacts.py and cargo package.
echo "CARGO_HOME=${RUNNER_TEMP}/cargo"
echo "RUSTUP_HOME=${RUNNER_TEMP}/rustup"
} >> "${GITHUB_ENV}"
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable
with:
# Match the existing nightly release builder.
toolchain: "1.98.0"
12 changes: 6 additions & 6 deletions .github/codeowners/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ be merge-blocking.

## Migrated AIConfigurator Snapshot

The full AIC source import preserves `python/aisimulate/CODEOWNERS` and
`python/aisimulate/.github/codeowners/` as inactive provenance. GitHub only
discovers CODEOWNERS at the repository root, `.github/`, or `docs/`, so the
generated root file in this PR is the only active repository policy. The root
policy routes changes to those preserved ownership artifacts to AISimulate
Infra plus maintainers to keep the active and historical policies from being
The full AIC source import preserves `python/aisimulate/.github/codeowners/` as
inactive provenance, but its generated `CODEOWNERS` file is not retained.
GitHub only discovers CODEOWNERS at the repository root, `.github/`, or `docs/`,
so the generated root file is the only active repository policy. The root
policy routes changes to the preserved ownership tooling to AISimulate Infra
plus maintainers to keep the active and historical policies from being
confused. The DevOps team is not listed in the active policy and is never a
required code-owner approver.
18 changes: 10 additions & 8 deletions .github/codeowners/areas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ areas:
- label: maintainers
github_team: "@ai-dynamo/access-aisimulate-maintain"
path_globs:
- AGENTS.md
- CODE_OF_CONDUCT.md
- DEVELOPMENT.md
- LICENSE
- THIRD_PARTY_NOTICES.md
- README.md
- SECURITY.md
- CONTRIBUTING.md
Expand Down Expand Up @@ -58,6 +62,7 @@ areas:
github_team: "@ai-dynamo/aisimulate-infra-codeowners"
path_globs:
- .github/
- .dockerignore
- .gitignore
- CODEOWNERS
- Cargo.lock
Expand All @@ -70,6 +75,7 @@ areas:
- tests/test_aic_sync.py
- tests/test_pages_site.py
- tests/test_e2e_accuracy_overview.py
- tests/test_source_compliance.py

# More-specific shared entries are emitted after base area rules, preserving
# GitHub's last-match-wins behavior. As in AIConfigurator, the maintainer team
Expand Down Expand Up @@ -168,6 +174,10 @@ shared:
owners: [infra, maintainers]
- glob: SECURITY.md
owners: [infra, maintainers]
- glob: AGENTS.md
owners: [infra, maintainers]
- glob: DEVELOPMENT.md
owners: [infra, maintainers]
- glob: .gitattributes
owners: [infra, maintainers]
# Imported AIC repository metadata is inactive in this monorepo, but changes
Expand All @@ -187,12 +197,6 @@ shared:
owners: [infra, maintainers]
- glob: python/aisimulate/.pre-commit-config.yaml
owners: [infra, maintainers]
- glob: python/aisimulate/AGENTS.md
owners: [infra, maintainers]
- glob: python/aisimulate/DEVELOPMENT.md
owners: [infra, maintainers]
- glob: python/aisimulate/SECURITY.md
owners: [infra, maintainers]
- glob: python/aisimulate/eslint.config.js
owners: [infra, maintainers]
- glob: python/aisimulate/pyproject.toml
Expand All @@ -209,8 +213,6 @@ shared:
owners: [infra, maintainers]
- glob: python/aisimulate/.github/workflows/codeowners.yml
owners: [infra, maintainers]
- glob: python/aisimulate/CODEOWNERS
owners: [infra, maintainers]
- glob: .github/codeowners/
owners: [infra, maintainers]
- glob: .github/workflows/codeowners.yml
Expand Down
5 changes: 4 additions & 1 deletion .github/codeowners/test_aisimulate_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def test_representative_routing_contract() -> None:
assert _owners(".github/workflows/ci.yml") == {INFRA}
assert _owners(".gitattributes") == {INFRA, MAINTAINERS}
assert _owners("scripts/build_release_artifacts.py") == {INFRA, MAINTAINERS}
assert _owners("tests/test_source_compliance.py") == {INFRA}
assert _owners("python/aisimulate/.github/workflows/build-test.yml") == {
INFRA,
MAINTAINERS,
Expand All @@ -139,7 +140,6 @@ def test_representative_routing_contract() -> None:
INFRA,
MAINTAINERS,
}
assert _owners("python/aisimulate/CODEOWNERS") == {INFRA, MAINTAINERS}
assert _owners("crates/core/deny.toml") == {
FPE,
MOCKER,
Expand All @@ -149,6 +149,9 @@ def test_representative_routing_contract() -> None:
}
assert _owners("deny.toml") == {INFRA, MAINTAINERS}
assert _owners("CODEOWNERS") == {INFRA, MAINTAINERS}
assert _owners("AGENTS.md") == {INFRA, MAINTAINERS}
assert _owners("DEVELOPMENT.md") == {INFRA, MAINTAINERS}
assert _owners("CODE_OF_CONDUCT.md") == {MAINTAINERS}
assert _owners("README.md") == {MAINTAINERS}
assert _owners("SECURITY.md") == {INFRA, MAINTAINERS}
assert _owners("CONTRIBUTING.md") == {MAINTAINERS}
Expand Down
Loading