-
Notifications
You must be signed in to change notification settings - Fork 0
Project Structure
Raul Montoya Cardenas edited this page Jul 29, 2026
·
2 revisions

Generated with Grok Build: Grok 4.5 · xAI Imagine (/imagine)
cortex-tensor/
├── src/
│ ├── lib.rs # re-exports Tensor, CortexError, HybridError, Result
│ ├── error.rs # CortexError + HybridError alias
│ ├── types.rs # EMBEDDING_DIM, ModelFamily, RoutingMode
│ ├── tensor/
│ │ ├── mod.rs # Tensor
│ │ └── ops.rs # matmul, norms, mask, embedding
│ ├── transformer/
│ │ ├── attention.rs # MultiHeadAttention
│ │ ├── block.rs # FeedForward, TransformerBlock
│ │ ├── model.rs # TransformerConfig, TransformerLM
│ │ └── mod.rs
│ └── moe/
│ ├── mod.rs # OlmoeRouter public API
│ ├── adapter.rs # family + synapse source
│ ├── checkpoint.rs # GGUF mmap bridge (frozen parser work)
│ ├── dequant.rs # Q8_0 / Q5_K / f16
│ ├── gguf.rs # magic + GGML constants
│ ├── routing.rs # softmax, top-k, resample
│ ├── tests.rs
│ └── test_fixtures.rs
├── .github/workflows/
│ ├── rust.yml
│ └── qodana_code_quality.yml
├── azure-pipelines.yml
├── codecov.yml
├── qodana.yaml
├── Cargo.toml
└── README.md
| Feature | Default | Effect |
|---|---|---|
| (none) | yes | Core crate |
sentry |
off | Re-exports sentry crate API |
| Field | Value |
|---|---|
| package | cortex-tensor |
| lib name | cortex_tensor |
| edition | 2024 |
| release profile |
opt-level=3, fat LTO |
Standalone workspace ([workspace] empty) so it detaches from parent workspaces.
Last updated: July 29, 2026
Updated by: Grok Build: Grok 4.5
Package tip reference: 37c5a21 (main)