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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Preserve exact accepted runtime, locks and license bytes across checkouts.
aureon/** -text
packaging/lock-*.txt -text
pyproject.toml -text
packaging/runtime-files.json -text
packaging/review/SOURCE-NOTICE-OVERLAYS.json -text
packaging/review/SELECTED-ENGINE.json -text
packaging/review/LICENSE -text
packaging/review/third-party-licenses/*.txt -text
LICENSE -text
121 changes: 121 additions & 0 deletions .github/workflows/cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,128 @@ jobs:
persist-credentials: false
- name: Static source and public documentation (no network)
run: python3.12 -I -B tools/check_public_source.py --report "$RUNNER_TEMP/aureon-static-result.json"
- name: Locked Best runtime and dependency identity (no model imports)
run: |
python3.12 -I -B tools/check_selected_engine.py --report "$RUNNER_TEMP/aureon-selected-identity.json"
python3.12 -I -B tools/test_selected_engine.py
- name: Reusable-library boundary (no private tools or model calls)
run: python3.12 -I -B packaging/check_library_scope.py --output "$RUNNER_TEMP/library-scope.json"
- name: Engine layers and compatibility imports
run: python3.12 -I -B packaging/check_architecture.py --output "$RUNNER_TEMP/architecture.json"
- name: Standard-library contracts (no models or package installation)
run: |
python3.12 -B packaging/ci_cpu.py --output "$RUNNER_TEMP/aureon-cpu-result.json"
cat "$RUNNER_TEMP/aureon-cpu-result.json"
- name: Bounded stages and replica protocol (loopback and separate CPU processes)
run: python3.12 -I -B -S packaging/ci_scaling.py --runtime . --scratch "$RUNNER_TEMP/source-scaling" --output "$RUNNER_TEMP/source-scaling.json"
- name: Linux service process contracts (fake workers, no model runtime)
run: python3.12 -I -B packaging/ci_extended.py service --scratch "$RUNNER_TEMP/aureon-service-new" --output "$RUNNER_TEMP/aureon-service-result.json"
typed-installed:
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
torch: ["2.10.0", "2.11.0"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Isolated CPU validation tools
run: |
python3.12 -m venv "$RUNNER_TEMP/aureon-check"
python3.12 -m venv "$RUNNER_TEMP/aureon-build"
"$RUNNER_TEMP/aureon-build/bin/python" -m pip install --disable-pip-version-check "setuptools==84.2.1"
"$RUNNER_TEMP/aureon-check/bin/python" -m pip install --disable-pip-version-check "mypy==1.11.2" "numpy==2.2.6" "rasterio==1.5.2"
"$RUNNER_TEMP/aureon-check/bin/python" -m pip install --disable-pip-version-check --index-url https://download.pytorch.org/whl/cpu "torch==${{ matrix.torch }}"
# Read pinned factory source in compatibility tests; never import TerraTorch or load weights.
"$RUNNER_TEMP/aureon-check/bin/python" -m pip install --disable-pip-version-check --no-deps "terratorch==1.2.13"
- name: Source types and NumPy contracts
run: |
"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/check_types.py --scratch "$RUNNER_TEMP/source-types" --output "$RUNNER_TEMP/source-types.json"
"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/check_implementation.py --scratch "$RUNNER_TEMP/source-implementation" --output "$RUNNER_TEMP/source-implementation.json"
"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_extended.py numpy --scratch "$RUNNER_TEMP/source-numpy" --output "$RUNNER_TEMP/source-numpy.json"
"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_extended.py tensor --scratch "$RUNNER_TEMP/source-tensor" --output "$RUNNER_TEMP/source-tensor.json"
- name: Resource policies and contributor adapter conformance (CPU only)
run: '"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_scalability.py --scratch "$RUNNER_TEMP/source-scalability" --output "$RUNNER_TEMP/source-scalability.json"'
- name: Core profile dependency resolution in existing CPU environment
run: |
case "${{ matrix.torch }}" in
2.10.0) extra=borrowed-torch210 ;;
2.11.0) extra=borrowed-torch211 ;;
*) exit 1 ;;
esac
"$RUNNER_TEMP/aureon-check/bin/python" -B -m pip install --dry-run --disable-pip-version-check --report "$RUNNER_TEMP/core-resolver.json" ".[${extra}]" --config-settings aureon-profile=core
- name: EO route and offline STAC contracts (NumPy and Rasterio only)
run: '"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_eo.py --scratch "$RUNNER_TEMP/source-eo" --output "$RUNNER_TEMP/source-eo.json"'
- name: Rasterio and bounded HTTP source contracts (loopback only)
run: '"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_sources.py --scratch "$RUNNER_TEMP/source-windows" --output "$RUNNER_TEMP/source-windows.json"'
- name: Experimental COP-GEN CPU contracts (fake runtime, no assets)
run: '"$RUNNER_TEMP/aureon-check/bin/python" -I -B packaging/ci_copgen.py --scratch "$RUNNER_TEMP/source-copgen" --output "$RUNNER_TEMP/source-copgen.json"'
- name: Build and install a wheel offline without project dependencies
run: |
"$RUNNER_TEMP/aureon-build/bin/python" -I -B packaging/build_review.py --output "$RUNNER_TEMP/candidate"
"$RUNNER_TEMP/aureon-check/bin/python" -m pip install --no-index --no-deps --no-compile --target "$RUNNER_TEMP/installed" "$RUNNER_TEMP/candidate/dist/aureon_inference-0.1.0-py3-none-any.whl"
mkdir "$RUNNER_TEMP/extracted"
tar -xzf "$RUNNER_TEMP/candidate/dist/aureon_inference-0.1.0.tar.gz" -C "$RUNNER_TEMP/extracted"
- name: Installed imports, types and CPU contracts from matching sdist
run: |
cd "$RUNNER_TEMP"
source="$RUNNER_TEMP/extracted/aureon_inference-0.1.0"
python="$RUNNER_TEMP/aureon-check/bin/python"
"$python" -I -B "$source/packaging/check_installed.py" --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-imports" --output "$RUNNER_TEMP/installed-imports.json"
"$python" -I -B "$source/packaging/check_types.py" --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-types" --output "$RUNNER_TEMP/installed-types.json"
"$python" -I -B "$source/packaging/check_implementation.py" --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-implementation" --output "$RUNNER_TEMP/installed-implementation.json"
"$python" -I -B "$source/packaging/ci_extended.py" numpy --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-numpy" --output "$RUNNER_TEMP/installed-numpy.json"
"$python" -I -B "$source/packaging/ci_extended.py" tensor --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-tensor" --output "$RUNNER_TEMP/installed-tensor.json"
"$python" -I -B "$source/packaging/ci_extended.py" service --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-service" --output "$RUNNER_TEMP/installed-service.json"

"$python" -I -B -S "$source/packaging/ci_scaling.py" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-scaling" --output "$RUNNER_TEMP/installed-scaling.json"
"$python" -I -B "$source/packaging/ci_scalability.py" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-scalability" --output "$RUNNER_TEMP/installed-scalability.json"
"$python" -I -B "$source/packaging/ci_eo.py" --source "$source" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-eo" --output "$RUNNER_TEMP/installed-eo.json"
"$python" -I -B "$source/packaging/ci_sources.py" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-windows" --output "$RUNNER_TEMP/installed-windows.json"
"$python" -I -B "$source/packaging/ci_copgen.py" --runtime "$RUNNER_TEMP/installed" --scratch "$RUNNER_TEMP/installed-copgen" --output "$RUNNER_TEMP/installed-copgen.json"
- name: Build and install explicit core profile with normal dependency resolution
run: |
"$RUNNER_TEMP/aureon-build/bin/python" -I -B packaging/build_review.py --profile core --output "$RUNNER_TEMP/core-candidate"
"$RUNNER_TEMP/aureon-check/bin/python" -m pip install --no-index --no-compile --target "$RUNNER_TEMP/core-installed" "$RUNNER_TEMP/core-candidate/dist/aureon_inference-0.1.0-py3-none-any.whl"
mkdir "$RUNNER_TEMP/core-extracted"
tar -xzf "$RUNNER_TEMP/core-candidate/dist/aureon_inference-0.1.0.tar.gz" -C "$RUNNER_TEMP/core-extracted"
source="$RUNNER_TEMP/core-extracted/aureon_inference-0.1.0"
"$RUNNER_TEMP/aureon-check/bin/python" -I -B "$source/packaging/ci_scalability.py" --runtime "$RUNNER_TEMP/core-installed" --scratch "$RUNNER_TEMP/core-scalability" --output "$RUNNER_TEMP/core-scalability.json"
python3.12 -I -B -S "$source/packaging/ci_scaling.py" --runtime "$RUNNER_TEMP/core-installed" --scratch "$RUNNER_TEMP/core-scaling" --output "$RUNNER_TEMP/core-scaling.json"
upstream-cpu:
runs-on: ubuntu-24.04
timeout-minutes: 45
env:
CUDA_VISIBLE_DEVICES: ""
LIGHTLY_DID_VERSION_CHECK: "True"
HF_HUB_OFFLINE: "1"
TRANSFORMERS_OFFLINE: "1"
NO_ALBUMENTATIONS_UPDATE: "1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Existing generation profile with full upstream dependencies
run: |
python3.12 -m venv "$RUNNER_TEMP/upstream"
python="$RUNNER_TEMP/upstream/bin/python"
"$python" -m pip install --disable-pip-version-check --require-hashes -r packaging/lock-bootstrap-generation.txt
"$python" -m pip install --disable-pip-version-check --require-hashes --no-build-isolation --no-cache-dir -r packaging/lock-generation-linux-py312-cu128.txt
"$python" -m pip check
- name: Actual upstream CPU source contracts (network and CUDA init blocked)
run: '"$RUNNER_TEMP/upstream/bin/python" -I -B packaging/ci_terratorch.py --scratch "$RUNNER_TEMP/upstream-source" --output "$RUNNER_TEMP/upstream-source.json"'
- name: Build matching wheel and sdist, then install offline
run: |
python3.12 -m venv "$RUNNER_TEMP/upstream-build"
"$RUNNER_TEMP/upstream-build/bin/python" -m pip install --disable-pip-version-check "setuptools==84.2.1"
python="$RUNNER_TEMP/upstream/bin/python"
"$RUNNER_TEMP/upstream-build/bin/python" -I -B packaging/build_review.py --output "$RUNNER_TEMP/upstream-candidate"
"$python" -m pip install --no-index --no-deps --no-compile --target "$RUNNER_TEMP/upstream-installed" "$RUNNER_TEMP/upstream-candidate/dist/aureon_inference-0.1.0-py3-none-any.whl"
mkdir "$RUNNER_TEMP/upstream-extracted"
tar -xzf "$RUNNER_TEMP/upstream-candidate/dist/aureon_inference-0.1.0.tar.gz" -C "$RUNNER_TEMP/upstream-extracted"
- name: Actual installed upstream contracts from matching sdist
run: |
cd "$RUNNER_TEMP"
"$RUNNER_TEMP/upstream/bin/python" -I -B "$RUNNER_TEMP/upstream-extracted/aureon_inference-0.1.0/packaging/ci_terratorch.py" --runtime "$RUNNER_TEMP/upstream-installed" --scratch "$RUNNER_TEMP/upstream-installed-tests" --output "$RUNNER_TEMP/upstream-installed-tests.json"
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ runs/
*.sqlite*
*.db
credentials*.json

# Internal development and research assets stay outside the public repository.
/research/
/preservation/
/publication/
/.scratch/
/ui-evidence/
/internal/

# Private hosted product workspace
/cloud/
35 changes: 34 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ For suspected vulnerabilities, follow [SECURITY.md](SECURITY.md) and report priv

| Path | Responsibility |
| --- | --- |
| [`aureon/api/`](aureon/api) | Public requests, results, model discovery and session interfaces |
| [`aureon/api/`](aureon/api) | Stable user imports, requests, results, model discovery and session/scene orchestration |
| [`aureon/planning/`](aureon/planning) | Framework-free placement, resource estimates and admission credits |
| [`aureon/integrations/`](aureon/integrations) | Model/task/checkpoint bridges and explicit preprocessing |
| [`aureon/terramind_native/`](aureon/terramind_native) | TerraMind execution, graph/reuse and model-state ownership |
| [`aureon/scaling/`](aureon/scaling) | Replica execution and transport contracts |
| [`aureon/sources/`](aureon/sources) | Local/STAC and controlled HTTP-range raster input |
| [`aureon/prepare/`](aureon/prepare) | Input-preparation command line |
| [`aureon/scene_pipeline/`](aureon/scene_pipeline) | Scene execution and geospatial streaming |
| [`aureon/serving/`](aureon/serving) | Local service and client |
Expand All @@ -37,12 +42,31 @@ are implementation details, not a promise of API stability.

## Make and check a change

This repository contains the reusable library, supported local service, examples,
tests and public documentation. Product operations, customer records, private
research material and competitor experiment environments are maintained separately.
Main inference uses PyTorch/TerraTorch; an optional comparator is not a required
runtime dependency. Shared checkpoint compatibility and third-party attribution
remain where the supported workflows need them.

See [library boundaries](packaging/LIBRARY-SCOPE.md) for what belongs in runtime,
source-only tests and separate private operations. Tests of the reusable library
stay public; private experiment drivers and provider/account tooling do not.

Bring changes from experimental work into this repository as focused source,
test and documentation changes. Follow the existing build allowlists instead of
copying an entire development workspace. Record which exact artifact was tested;
acceptance of an experimental wheel does not qualify a differently rebuilt wheel.
Preserve immutable release tags and archives. Sanitized benchmark methods/results
can be reviewed for public documentation separately from private data and tooling.

Work in your own branch or fork with Python 3.12. Keep changes focused so reviewers
can understand their effects on users, dependencies and numerical behavior.
From the repository root, run:

```sh
python3.12 -I -B tools/check_public_source.py
python3.12 -I -B packaging/check_architecture.py
python3.12 -B packaging/ci_cpu.py --output /tmp/aureon-cpu-result.json
```

Expand Down Expand Up @@ -80,3 +104,12 @@ Identify third-party sources and preserve their notices. Keep discussions focuse
on the work, provide reproducible evidence and give other contributors useful context.

Contact: [norviccompanylimited@gmail.com](mailto:norviccompanylimited@gmail.com).

## Typed consumers and process tests

Follow [Python contracts and CPU validation](packaging/TYPING.md) for strict
consumer checks, bounded NumPy contracts and Linux service process tests.

For a new model adapter, use the [resource and serving guide](packaging/SCALABLE-POLICY.md)
and its CPU conformance runner. Declare lifecycle ownership and exact tested
dependency profiles; distinguish executable capability from model/hardware evidence.
14 changes: 11 additions & 3 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ Copyright 2025 IBM.
These notices appear in the upstream TerraTorch model wrapper consulted
for AUREON interoperability. The recorded wrapper blob
ce04acc72d379f0ebd8314d831a301ae02271a4f is present at vLLM commit
8a5cf5438728180210aea43897d6a717de4b46ec. AUREON's bundle and client code
references this wrapper and the vLLM 0.19.0 pooling protocol; the wrapper
implementation is not vendored by this candidate.
8a5cf5438728180210aea43897d6a717de4b46ec. The retained checkpoint bundle
format originated in that interoperability work. The external service client
has been removed; this attribution records provenance, not a runtime dependency.
The upstream wrapper implementation is not vendored by this candidate.

See THIRD-PARTY-NOTICES.md for exact source links, scope, and license files.
Model weights, satellite imagery, labels, and private training data are
Expand All @@ -69,3 +70,10 @@ in aureon/terramind_native/upstream-source.json. AUREON adds strict local
loading, request isolation, unchanged-conditioning reuse, guarded denoiser
capture and synthetic geospatial delivery. No model/tokenizer weights or
upstream runtime source are bundled by this integration.

Experimental COP-GEN adapter
---------------------------
This package includes AUREON's optional adapter, not upstream COP-GEN code or
weights. Separately supplied source/assets retain their own terms and attribution.
See aureon/copgen_native/NOTICE.md and PROFILE.md for pinned source/model references
and the explicit dependency profiles. Default dependencies are unchanged.
Loading
Loading