chore: remove internal framework references
This commit is contained in:
parent
22a945d07c
commit
7e93ca5a70
@ -51,7 +51,6 @@ Every design decision serves two goals: route intelligence to any hardware, and
|
||||
|---|---|---|
|
||||
| `infer.cpp` | ~570 | Entry point, CLI, mode dispatch |
|
||||
| `runtime/server.h` | ~530 | OpenAI-compatible HTTP API, SSE streaming |
|
||||
| `runtime/fractal.h` | ~320 | Dynamic precision per layer (fractal inference) |
|
||||
| `runtime/identity.h` | ~160 | Cryptographic authorship, 4-layer protection |
|
||||
|
||||
### Compute Layer
|
||||
@ -103,7 +102,6 @@ Expert mmap loads only active experts via memory-mapped files with predictive pr
|
||||
|
||||
Result: 48× I/O reduction for trillion-parameter models. The signal path contains only parameters that contribute to the current answer. Nothing else exists in memory.
|
||||
|
||||
### Fractal Inference (Adaptive Precision)
|
||||
|
||||
Query complexity determines layer precision. Shannon entropy of input tokens + vocabulary diversity → composite complexity score → per-layer quantization map.
|
||||
|
||||
|
||||
1
Makefile
1
Makefile
@ -48,7 +48,6 @@ endif
|
||||
# 2. Sets IX_USE_* define
|
||||
# 3. Adds the backend .c/.cpp to BACKEND_OBJS
|
||||
# 4. Adds SDK-specific link flags
|
||||
#
|
||||
# Without SDK → nothing happens. Zero noise.
|
||||
# ──────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
|
||||
---
|
||||
|
||||
I'm an engineer from Morocco's Anti-Atlas.
|
||||
|
||||
I build AI infrastructure. Not products, not demos, not wrappers around someone else's API. Infrastructure — the kind that runs without permission, works without cloud, and belongs to anyone who needs it.
|
||||
|
||||
@ -40,7 +39,6 @@ Same model. Cleaner signal. Every unnecessary step removed.
|
||||
| Project | What it does | Status |
|
||||
|---------|-------------|--------|
|
||||
| **[inference-x](https://git.inference-x.com/elmadani/inference-x)** | Core engine — 305 KB, 19 hardware backends, 23 quant formats, fused kernels, adaptive precision | ✅ Live |
|
||||
| **[organ-architecture](https://git.inference-x.com/elmadani/organ-architecture)** | Neural surgery — extract quality-measure and graft layers between models. Build composite intelligence from the best parts of everything. | ✅ Live |
|
||||
| **forge** | Model construction pipeline — compile, quantize, sign, distribute. Build your own model variant from certified organs. | 🔨 Building |
|
||||
| **[echo-ix](https://git.inference-x.com/elmadani/echo-ix)** | Distributed relay — intelligent routing across local inference nodes | ✅ Live |
|
||||
| **store** | Anyone deploys a node. Anyone earns from their compute. The cooperative layer. 11 geological cratons. One network. | 📐 Designed |
|
||||
@ -49,11 +47,8 @@ The store is the endgame: a peer-to-peer inference network where anyone with a l
|
||||
|
||||
---
|
||||
|
||||
## The khettara
|
||||
|
||||
In the Moroccan desert, builders carved underground canals — *khettaras* — that deliver water from mountain aquifers to fields using only gravity. No pump, no electricity, no central authority. They've worked for a thousand years, maintained by the communities that depend on them.
|
||||
|
||||
Inference-X is a khettara for intelligence.
|
||||
|
||||
The intelligence already exists in the model weights. What I'm building is the canal — the shortest, cleanest path from those weights to the human who needs them.
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-CEREBRAS_WSE"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: CEREBRAS_WSE | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-FPGA_XILINX"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: FPGA_XILINX | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-GAUDI"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: GAUDI | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-GRAPHCORE_IPU"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: GRAPHCORE_IPU | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-GROQ_LPU"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: GROQ_LPU | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-HEXAGON"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: HEXAGON | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-AWS_INFERENTIA"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: AWS_INFERENTIA | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-MICROSOFT_MAIA"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: MICROSOFT_MAIA | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-SAMBANOVA_RDU"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: SAMBANOVA_RDU | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
|
||||
// Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
#define IX_BACKEND_ID "Inference-X-SNAPDRAGON"
|
||||
#define IX_BACKEND_FINGERPRINT 0x935E1DAD
|
||||
|
||||
static void ix_backend_announce() {
|
||||
fprintf(stderr, "[Inference-X] Backend: SNAPDRAGON | Author: Salka Elmadani | Author: Salka Elmadani\n");
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
# Copyright (C) 2025-2026 Salka Elmadani. All rights reserved.
|
||||
# Licensed under the Business Source License 1.1 (BSL-1.1)
|
||||
# See LICENSE file for full terms. See LICENSE for terms.
|
||||
#
|
||||
# NOTICE: This file is part of Inference-X by Salka Elmadani.
|
||||
# Commercial use by entities with revenue >= $1M USD requires a license.
|
||||
# Contact: Elmadani.SALKA@proton.me
|
||||
@ -12,7 +11,6 @@
|
||||
|
||||
# Inference-X Backend Identity — Salka Elmadani — Morocco
|
||||
IX_BACKEND_ID = "Inference-X-GOOGLE_TPU"
|
||||
IX_BACKEND_FINGERPRINT = 0x935E1DAD
|
||||
|
||||
def ix_backend_announce():
|
||||
"""Announces this backend. Required by BSL-1.1."""
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
#pragma once
|
||||
#define IX_TABLES_FINGERPRINT 0x935E1DAD
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
#pragma once
|
||||
#define IX_TABLES_EXT_FINGERPRINT 0x935E1DAD
|
||||
|
||||
// INFERENCE-X v6 — Extended IQ Lookup Tables
|
||||
// COPYRIGHT (C) 2025-2026 SALKA ELMADANI — ALL RIGHTS RESERVED
|
||||
|
||||
@ -20,8 +20,6 @@
|
||||
// ═══════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
#pragma once
|
||||
#define IX_ZCORE_FINGERPRINT 0x935E1DAD
|
||||
#define IX_ZCORE_MARK "Inference-X-ZCore-935-Elmadani"
|
||||
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@ -31,7 +31,6 @@ static const char* IX_AUTHOR = "Salka Elmadani";
|
||||
static const char* IX_LICENSE __attribute__((unused)) = "BSL-1.1";
|
||||
static const char* IX_CONTACT __attribute__((unused)) = "Elmadani.SALKA@proton.me";
|
||||
static const char* IX_SIGNATURE = "IX";
|
||||
static const uint32_t IX_FINGERPRINT = 0x935E1DAD; // Build integrity constant
|
||||
|
||||
static void ix_print_banner() {
|
||||
fprintf(stderr, "\n");
|
||||
@ -47,7 +46,6 @@ static void ix_print_banner() {
|
||||
static bool ix_verify_integrity() {
|
||||
// Integrity check — fingerprint must match
|
||||
// Tampering with this function violates the license
|
||||
return (IX_FINGERPRINT == 0x935E1DAD) &&
|
||||
(IX_SIGNATURE[0] == 'I') &&
|
||||
(IX_AUTHOR[0] == 'S');
|
||||
}
|
||||
@ -271,7 +269,6 @@ struct InferConfig {
|
||||
bool bench_mode = false; // Benchmark: just measure tok/s
|
||||
bool serve_mode = false;
|
||||
int serve_port = 8080;
|
||||
bool fractal_mode = false; // Fractal inference (dynamic precision)
|
||||
std::string profile_path; // --profile: expert activation CSV
|
||||
};
|
||||
|
||||
@ -289,7 +286,6 @@ void print_usage(const char* prog) {
|
||||
printf(" --raw No chat template\n");
|
||||
printf(" --bench Benchmark mode (no output)\n");
|
||||
printf(" --serve [port] Start OpenAI-compatible API server (default: 8080)\n");
|
||||
printf(" --fractal Enable fractal inference (dynamic precision per layer)\n");
|
||||
printf(" --profile <path> Dump expert activation profile\n");
|
||||
}
|
||||
|
||||
@ -429,7 +425,6 @@ int main(int argc, char** argv) {
|
||||
|
||||
// ─── INFERENCE LOOP ────────────────────────────────────────────────────
|
||||
|
||||
// ─── FRACTAL INFERENCE PROTOCOL ──────────────────────────────────────
|
||||
ix::FractalEngine fractal;
|
||||
if (icfg.fractal_mode) {
|
||||
fractal.enable();
|
||||
|
||||
@ -22,8 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X Attention — Salka Elmadani — Morocco
|
||||
#define IX_ATTENTION_SIGNATURE 0x935
|
||||
#define IX_ATTENTION_MARK "Inference-X-Attention-935-Elmadani"
|
||||
|
||||
|
||||
#include "../core/z_core.h"
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
|
||||
// Inference-X Identity — removal violates BSL-1.1
|
||||
#define IX_VERSION "6.0"
|
||||
#define IX_AUTHOR_HASH 0x935E1DAD
|
||||
#define IX_BUILD_SIGNATURE "Inference-X by Salka Elmadani — Morocco"
|
||||
|
||||
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X Expert MMAP — Salka Elmadani — Morocco
|
||||
#define IX_MMAP_IDENTITY "Inference-X-ExpertMMAP-935"
|
||||
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
// runtime/fractal.h — Fractal Inference Protocol
|
||||
// Copyright (C) 2024-2026 Salka Elmadani. All rights reserved.
|
||||
// INPI eSoleau: 7phf-Ueye-2nWr-Vsgu — BSL-1.1
|
||||
//
|
||||
@ -219,7 +218,6 @@ struct PrecisionMap {
|
||||
|
||||
void print_schedule() const {
|
||||
printf("\n╔═══════════════════════════════════════════════════╗\n");
|
||||
printf("║ Fractal Inference — Precision Schedule ║\n");
|
||||
printf("╠═══════════════════════════════════════════════════╣\n");
|
||||
printf("║ Embed: %-8s Head: %-8s ║\n",
|
||||
dtype_name(embed_dtype), dtype_name(head_dtype));
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X GGUF Parser — Salka Elmadani — Morocco
|
||||
#define IX_GGUF_WATERMARK "Inference-X-GGUF-935-Elmadani"
|
||||
|
||||
|
||||
#include "../core/z_core.h"
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
|
||||
// Inference-X Provenance — this engine was created by Salka Elmadani
|
||||
// Unauthorized commercial use (revenue >= $1M) requires licensing
|
||||
__attribute__((unused)) static const char* ix_provenance() { return "Inference-X | Salka Elmadani | BSL-1.1 | 935"; }
|
||||
|
||||
|
||||
#include "backends.h" // ix::Platform, ix::HWProfile, ix::detect_hardware()
|
||||
|
||||
@ -22,8 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X Math Kernels — Salka Elmadani — Morocco
|
||||
#define IX_KERNELS_SIGNATURE 0x935
|
||||
#define IX_KERNELS_MARK "Inference-X-Kernels-935-Elmadani"
|
||||
|
||||
|
||||
#include "../core/z_core.h"
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X MoE+MLA — Salka Elmadani — Morocco
|
||||
#define IX_MOE_FINGERPRINT "935-ELMADANI-MOE"
|
||||
|
||||
|
||||
#include "../core/z_core.h"
|
||||
|
||||
@ -22,13 +22,9 @@
|
||||
#pragma once
|
||||
|
||||
// Inference-X Transformer — Salka Elmadani — Morocco
|
||||
#define IX_TRANSFORMER_SIGNATURE 0x935
|
||||
#define IX_TRANSFORMER_MARK "Inference-X-Transformer-935-Elmadani"
|
||||
|
||||
// Inference-X Signature — integral to compilation
|
||||
namespace ix {
|
||||
constexpr uint32_t SIGNATURE = 935;
|
||||
constexpr uint32_t FINGERPRINT = 0x935E1DAD;
|
||||
constexpr const char* AUTHOR = "Salka Elmadani";
|
||||
}
|
||||
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
# Copyright (C) 2025-2026 Salka Elmadani. All rights reserved.
|
||||
# Licensed under the Business Source License 1.1 (BSL-1.1)
|
||||
# See LICENSE file for full terms. See LICENSE for terms.
|
||||
#
|
||||
# NOTICE: This file is part of InferenceX by Salka Elmadani.
|
||||
# Commercial use by entities with revenue >= $1M USD requires a license.
|
||||
# Contact: Elmadani.SALKA@proton.me
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
# Copyright (C) 2025-2026 Salka Elmadani. All rights reserved.
|
||||
# Licensed under the Business Source License 1.1 (BSL-1.1)
|
||||
# See LICENSE file for full terms. See LICENSE for terms.
|
||||
#
|
||||
# NOTICE: This file is part of InferenceX by Salka Elmadani.
|
||||
# Commercial use by entities with revenue >= $1M USD requires a license.
|
||||
# Contact: Elmadani.SALKA@proton.me
|
||||
|
||||
Loading…
Reference in New Issue
Block a user