Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

gaia-ml

Latest version: v0.14.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: ixiotidi
1 Versions
45 Downloads

Scan summary

gaia-ml was last scanned on 29 Nov 2026 at version 0.14.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.14.3.
  • Downloads: 45 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.14.3 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.14.3

Findings

Findings for v0.14.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.14.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

GAIA-ML

GAIA-ML compiles supported ONNX models into C++ kernels and streaming graphs for AMD AI Engine v1, targeting the Versal Premium VP2802-2M.

  • Dense/MLP networks, supported CNNs, tree ensembles and custom ONNX arithmetic.
  • FP32, INT32, INT16 and INT8 kernels, with explicit ONNX quantization semantics.
  • Aggressive first-output latency search by default, with steady-state II and burst objectives available.
  • Native ADF generation, experimental MLIR-AIE export and optional aieBLAS/DSPLib implementations.

Project generation does not require Vitis. AMD compilation and simulation are separate, explicit steps. Latency estimates are not hardware guarantees.

Install GAIA

Python 3.9 or newer:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install gaia-ml
gaia_ml version

For development from this repository, use python -m pip install -e . instead. The normal installation includes GAIA's native backend. MLIR-AIE, aieBLAS, DSPLib, and licensed AMD tools are separately installed dependencies. GAIA's CI builds and publishes only GAIA; optional compiler builds do not block its releases.

Compile and validate

gaia_ml compile model.onnx -o native_project

# Optimize steady-state initiation interval instead:
gaia_ml compile model.onnx -o throughput_project --objective interval

# Generate representative simulation vectors:
gaia_ml compile model.onnx -o validation_project --data-file input.csv --simulation-events 4

Compilation defaults to aggressive native first-output latency search. Use --objective balanced or --objective burst --burst-events N for other rankings, or --search standard to reduce exploration. Search is bounded and uses the available candidate cost models; it does not prove global optimality. optimization.json records the requested policy and its timing scope.

Each CSV row is one flattened input event. Resolve dynamic model dimensions with --input-shape, for example 1,3,18,18. Use --force to regenerate native projects. Common options are shown by gaia_ml compile --help; --help-all exposes advanced controls. Legacy explicit scheduling controls remain supported.

After sourcing your separately installed AMD environment:

make -C validation_project aie
make -C validation_project aiesim
gaia_ml verify validation_project

Choose a backend

Option Supported path
--backend native Default: GAIA builtin kernels and ADF graphs.
--backend mlir-aie Experimental supported FP32 kernels with one physical input/output stream pair and 32-bit streams.
--backend aieblas Batch-one FP32 Dense networks via static GEMV; batched inputs use the matrix adapter for one supported Dense operation.
--backend dsplib FP32 linear 16→16 pilot with physical batch 16 and runtime weight transfers.

Cross-backend timing models are not yet calibrated for automatic winner selection. Selecting a backend does not imply it is fastest. Missing libraries and unsupported models fail explicitly; GAIA does not silently switch backends. External math providers use native ADF graphs internally. The advanced --math-provider selector remains supported for existing scripts.

MLIR-AIE

GAIA uses Ioannis Xiotidis's VP2802 fork of AMD/Xilinx MLIR-AIE, an LLVM/MLIR-based project. The fork adds the VP2802 AIE1 target, streaming support and runtime adaptations required by GAIA. The compiler is pinned to commit 39e331e. An arbitrary upstream Ryzen-NPU wheel is not a substitute.

The custom binary distribution is named gaia-mlir-aie==0.1.0. It is installed separately from a wheel supplied through the fork's GitHub Releases or by the release maintainer. Use a clean CPython 3.12, Linux x86_64 environment without upstream mlir-aie packages. Download the matching wheel first, then:

# Replace this path with the downloaded gaia_mlir_aie-0.1.0-cp312-...whl:
python -m pip install /path/to/gaia_mlir_aie-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
python -m pip install 'gaia-ml[with-mlir]==0.14.3'
gaia_ml mlir-info --probe

For a local GAIA checkout, the second command is python -m pip install -e '.[with-mlir]'. A published asset is required before the GitHub download route is usable; if no matching release asset is listed, obtain the wheel from the maintainer. The extra alone does not download GitHub assets and will fail in a fresh environment while the companion is unavailable on PyPI. Installing the wheel first satisfies its pinned dependency without a compiler rebuild. It includes Python/IRON bindings; GAIA currently invokes MLIR-AIE directly.

gaia_ml compile model.onnx -o mlir_project --backend mlir-aie \
  --stream-width-bits 32 --data-file input.csv --simulation-events 4

# After sourcing the separately installed AMD environment:
python -m gaia_ml.backend.native_compile \
  --package mlir_project --output mlir_native --aie-tools /path/to/Vitis/aietools

Export does not run AMD tools. Native compilation discovers the installed companion automatically and generates AIE1 runtime IR in the output directory. Explicit paired --mlir-source and --tool-directory paths remain supported for development. Integer streams, replicated multiport batch plans and board deployment are not qualified by this bridge. Installing the extra does not change the default backend.

aieBLAS / aieBLASLt

Install a compatible aieBLAS SDK or runtime on the system before selecting this backend. GAIA does not bundle, download or install aieBLAS automatically. Supported discovery routes, in priority order, are:

  1. --aieblas-root /path/to/aieblas.
  2. AIEBLAS_ROOT=/path/to/aieblas.
  3. The installed SDK's aieblas-config on PATH, or its path in AIEBLAS_CONFIG.
  4. A compatible aieblas-stack Python runtime installed in GAIA's environment.

For a system SDK, expose its executable directory and check discovery:

export PATH="/path/to/aieblas-sdk/bin:$PATH"
gaia_ml aieblas-info
# Optional check of the separately installed AMD toolchain:
aieblas-config --json --check-toolchain

gaia_ml compile dense.onnx -o blas_project --backend aieblas \
  --data-file input.csv --simulation-events 4

Alternatively, pass --aieblas-root when compiling. A missing or incompatible installation produces an actionable error. SDK discovery does not imply that every library operation has a GAIA lowering; the runtime must contain the selected kernel. gaia_ml aieblas-info checks the system SDK route specifically.

Batch-one static GEMV supports admitted FP32 sequential Dense networks with constant weights, bias and ReLU. To select the aieBLASLt matrix adapter explicitly:

gaia_ml compile dense.onnx -o matrix_project --backend aieblas \
  --aieblas-kernel matrix --max-tiles 3 --aieblas-tile-columns 8 \
  --aieblas-input-groups per_worker --stream-width-bits 128 \
  --data-file input.csv --simulation-events 4

The matrix adapter supports one static FP32 MatMul/Gemm with supported bias, residual and activation operations. Approximate tanh, sigmoid and tanh-GELU require --aieblas-allow-approximate-activations; exact erf-GELU is rejected. Replicated inputs increase upstream bandwidth; multi-layer matrix composition is not supported. Matching measurements supplied through --aieblas-measured-results can select for first-complete latency or II. Without records, it screens feasibility rather than claiming the fastest implementation.

DSPLib

Install the Vitis Libraries checkout separately at revision e22b32c885e1803fc0ada751e912b02cfcd24f87, then provide its root:

gaia_ml compile dense16.onnx -o dsp_project --backend dsplib \
  --dsplib-root /path/to/Vitis_Libraries --allow-provider-padding \
  --data-file input.csv --simulation-events 4

This pilot executes physical batch 16. Smaller logical batches require explicit padding consent; the additional work and traffic remain part of the latency. Fixed provider pilots require 312.5 MHz PLIO. Backend packages record their build commands and transport contracts; estimates/certificates for builtin kernels do not transfer to external providers. AMD tools and licenses remain separate.

Precision and advanced tuning

Use --quantize int8, int16 or int32 to request supported integer conversion. For ONNX QuantizeLinear/DequantizeLinear models, omit dtype overrides to preserve the model's quantization contract. Batched Q/DQ Dense execution is not validated. --stream-width-bits 32|64|128 controls transport independently of arithmetic. Surrogate kernel selection requires a trained bundle for the supported compute family; see gaia_ml compile --help-all for the explicit selection controls.

Developed by the NGT WP2.1 Group. Core developer: Ioannis Xiotidis. Distributed under the MIT license.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases gaia-ml

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229