How useplx/myelin works
MyeLiN provides a C++ model-authoring SDK, shared contracts for compiled deployment artifacts, and a runtime that loads those artifacts and streams invocation output. The primary path is graph and orchestration authoring, external compilation via SYNaPSe, then artifact loading and session invocation. The README also documents weights, native providers, state, assets, metadata, diagnostics, and C/Python interfaces. Runtime internals are only partly sampled; unsampled subsystem links are included only where README claims support, not as inferred call chains.
Main entry points: runtime.cpp Runtime · module.hpp Tensor Graphs · package.hpp MLN Artifact · runtime.hpp Session Execution
Components 22
SDK Authoring
- Tensor Graphs
include/mln/sdk/module.hpp - Tensor Operations
include/mln/sdk/operations.hpp - Neural Layers
src/sdk/nn - Audio DSP
src/sdk/audio/dsp.cpp - Orchestration
include/mln/sdk/orchestration.hpp - Parameters
src/sdk/parameters.cpp
Artifact Contracts
- Weight Formats
include/mln/weight.hpp - Native Providers
include/mln/sdk/native/export.hpp - MLN Artifact
include/mln/package.hpp
Runtime Execution
- Runtime
src/runtime/runtime.cpp - Package Loading
src/runtime/package.cpp - Runtime Configuration
src/runtime/configuration.hpp - Device Drivers
src/runtime/driver_registry.cpp - Session Execution
include/mln/runtime/runtime.hpp - State and Assets
include/mln/runtime/runtime.hpp - Metadata
src/runtime/metadata.cpp - Diagnostics
include/mln/error.hpp
Language Interfaces
- C Runtime ABI
src/runtime/c_api.cpp - Python Wrapper
python/src/myelin/runtime.py
Other components
- Package Author
- SYNaPSe Compiler
- Output Consumer
Connections 24
- Package Author → Tensor Graphs: authors
README.md - Tensor Graphs → Tensor Operations: builds with
README.md - Tensor Graphs → Neural Layers: composes
README.md - Package Author → Orchestration: authors
README.md - Package Author → Parameters: configures
README.md - Package Author → Audio DSP: uses
- Package Author → Weight Formats: chooses formats
README.md - Package Author → Native Providers: defines providers
README.md - Tensor Graphs → SYNaPSe Compiler: compiled by
README.md - Orchestration → SYNaPSe Compiler: compiled by
README.md - Weight Formats → SYNaPSe Compiler: configures formats
README.md - Native Providers → MLN Artifact: packaged in
README.md - SYNaPSe Compiler → MLN Artifact: produces
README.md - MLN Artifact → Package Loading: loaded from
README.md - Package Loading → Runtime: provides package
- Runtime Configuration → Runtime: configures
src/runtime/runtime.cpp - Runtime → Device Drivers: uses registry
src/runtime/runtime.cpp - Runtime → Session Execution: creates
README.md - Session Execution → Output Consumer: streams output
README.md - Session Execution → State and Assets: reads and writes
README.md - MLN Artifact → Metadata: carries metadata
README.md - Runtime → Diagnostics: reports diagnostics
README.md - Python Wrapper → C Runtime ABI: calls
README.md - C Runtime ABI → Runtime: exposes runtime
src/runtime/c_api.cpp