This document covers repository layout, validation, contribution expectations, release packaging, and the current roadmap.
include/edge-dit.h Public C API
src/edge_dit.cpp C API implementation
src/core/runtime/ Engine, model loading, runtime setup
src/core/backend/ ggml and CUDA/cuDNN integration
src/core/parallel/ CFG/SP process-group infrastructure
src/core/optimization/cache/ Cache runtime, policies, and contracts
src/dit_models/ Model and pipeline implementations
examples/cli/ ed-cli, ed-sample, and ed-convert
examples/server/ Native HTTP server
bindings/python/ Python package, tests, Python Server, console
scripts/ Build, bootstrap, validation, release tools
docs/ User and developer documentation
benchmark/ Cross-system benchmark harness (jobs, models, sites, reports)
third_party/ Submodules and vendored dependencies
Bootstrap submodules:
bash scripts/bootstrap.shBuild CPU path:
bash scripts/build_cpu.shBuild minimal CUDA path:
ED_BUILD_PROFILE=minimal bash scripts/build_cuda.shFor Python tests, use the source tree package:
PYTHONPATH=bindings/python/src python3 -m pytest bindings/python/testsRecommended local validation for documentation and release-engineering changes:
git diff --check
bash -n scripts/build_cuda.sh scripts/build_cpu.sh scripts/build_metal.sh scripts/build_vulkan.sh scripts/bootstrap.sh scripts/create_source_release.shCPU configure/build:
cmake -S . -B build-release-check \
-DCMAKE_BUILD_TYPE=Release \
-DED_BUILD_EXAMPLES=ON
cmake --build build-release-check -j 8CUDA performance release gate:
CUDA_HOME=/path/to/cuda \
NCCL_ROOT=/path/to/nccl \
CUDNN_ROOT=/path/to/cudnn \
MPI_HOME=/path/to/mpi \
ED_BUILD_PROFILE=performance \
BUILD_DIR=build-cuda-performance \
bash scripts/build_cuda.shThen validate:
complete configure/build
CLI smoke
real model single-GPU CUDA smoke
NCCL/MPI multi-GPU path
cuDNN SDPA path confirmation
fixed benchmark regression
For release source packages that include exact submodule content:
VERSION=0.1.0 OUT_DIR=dist bash scripts/create_source_release.shThe package records:
- edge-dit.cpp commit
- ggml commit
- submodule manifest data
It excludes .git, build outputs, model weights, logs, caches, generated
images, and generated videos.
Model additions should include:
- loader detection or explicit component loading rules
- pipeline implementation
- public CLI/API behavior
- memory and backend expectations
- at least one smoke path
- documentation in Supported models and usage
Do not add a model to the public support matrix until a real checkpoint has been loaded and a minimal generation path has been verified.
Operator/backend work must document:
- build flags and dependency requirements
- fallback behavior, if any
- supported tensor dtypes and layouts
- backend selection behavior
- tests or reproducible smoke commands
- performance risk and validation results
Changes touching kernel selection, graph construction, tensor layout, precision policy, cache behavior, NCCL/MPI semantics, sequence parallelism, CFG parallelism, scheduler math, or model outputs require targeted runtime validation.
Before opening a PR:
- Keep changes scoped.
- Do not commit model weights, generated images/videos, logs, caches, or build outputs.
- Run the relevant validation commands.
- Update the appropriate topic document instead of expanding the root README.
- Include benchmark metadata for performance claims.
- State whether full CUDA performance validation was run.
See CONTRIBUTING.md for contribution licensing and workflow notes.
Current release state:
Version: v0.1.0
Stage: alpha (APIs and performance-sensitive internals may still change)
The checklist below is the release gate each subsequent tagged build runs through:
- Clean clone with submodules.
- CPU configure/build.
- Minimal CUDA configure/build.
- Full
performanceCUDA configure/build on complete dependency machine. - Native CLI smoke.
- Python tests.
- Native server and Python server smoke as applicable.
- Real model single-GPU smoke.
- NCCL/MPI multi-GPU smoke.
- cuDNN SDPA path confirmation.
- Fixed benchmark regression.
- Source package generation and manifest review.
Near-term work:
- Keep the full CUDA performance release gate green across tagged builds.
- Stabilize public C API and runtime interfaces.
- Expand verified model/backend matrix.
- Improve benchmark reproducibility and metadata capture.
- Improve model conversion and packaging workflows.
- Continue operator and memory optimization.
This roadmap is intentionally limited to active project directions, not a promise to support every model scaffold present in the source tree.