Skip to content

About

Memory-constrained single-server inference for dense omni-modal generative models (MiniMax-H3 class)

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Omni-Infinity

CI License: Apache 2.0 Python

Cost-effective single-server inference for dense omni-modal generative models — starting with MiniMax-H3-Base — on memory-constrained GPUs.

Overview

Omni-Infinity runs omni-modal generation models that are bigger than your GPU by exploiting model structure and fast storage. It is the sibling project of MoE-Infinity (same philosophy), scoped by the RFC in MoE-Infinity#222.

Where MoE-Infinity's lever is routed-expert offloading, H3-class models have no routed experts, so Omni-Infinity's levers are component-level offloading, AdaLN branch caching, denoising-step scheduling, latent/VRAM budgeting, and job-oriented serving. The full encode → denoise → decode window for MiniMax-H3-Base fits under a 22 GiB budget while reproducing the reference latents bitwise.

Start at the Documentation Hub for the longer guides, design contracts, and measurement reports.

Contents

Key Features

  • Component-level offloading. The H3-Base pipeline spans a 33B transformer, a Qwen3-VL-32B text encoder, and two VAEs that never need to be co-resident: encode text → release encoder → denoise → decode latents, swapping components through the GPU with prefetch overlap.
  • AdaLN branch caching. ~13B of H3's 33B params are AdaLN branches that are cacheable at inference. Keeping them host-resident and materializing them per-modality on demand drops the GPU-resident set from 66.28 → 40.26 GB with bitwise parity.
  • bf16 block-streaming. Native group offload streams the transformer blocks (and the 64-layer Qwen3-VL text encoder, leaf-level) through the GPU instead of holding them resident. The whole encode+denoise+decode window peaks at 9.96 GiB under an emulated 22 GiB envelope, bitwise-identical to the goldens.
  • FP8 weight-only kernel (opt-in). A fused block-scaled Triton GEMM behind the omni_infinity/kernels/ facade halves FP8 weight bytes and lowers peak memory on large Linears. H3 is not FP8-native, so FP8 is an opt-in memory/bandwidth tradeoff, not the accuracy-preserving default.
  • Denoising-step scheduling. Cross-step weight prefetch overlaps H2D copies with denoising compute (measured H2D/compute overlap of 0.637 and 0.599 at steps 2 and 3), with step-granular checkpointing for preemption.
  • Opt-in caches (C1–C5). Exact condition, encoder-prefix, vision-embedding, and calibrated denoise-step caches. Nothing is on by default; contributions are quantified in docs/cache_benchmarks.md.
  • Job-oriented serving. Generation jobs with progress and artifact polling — not OpenAI chat completions — plus opt-in WebSocket streaming playback and a multi-prompt demo.
  • VDN-Minimax-H3 hybrid. A frame-wise linear-attention branch + window softmax + merged LoRA adapters on the frozen H3 backbone: dense→hybrid+fp8 2.15× per-NFE with bitwise golden parity, block-streamed to ~20 GiB.
  • moe-store backed. Checkpoint conversion and an arch-aware v2 on-disk store via moe-store.

Supported model architectures

Two orthogonal category axes (omni_infinity/registry.py) describe every supported configuration; the smoke CLIs and the ablation harness (benchmarks/ablation_vdn.py) resolve their flags through the registry.

model-arch runner checkpoint
h3-dense omni_infinity.runner.ReferenceRunner MiniMaxAI/MiniMax-H3
vdn-hybrid omni_infinity.arch.vdn.VdnRunner OpenVDN/vdn-minimax-h3 (Hub repo-id only — see the cross-repo trust_remote_code note in docs/repro_vdn.md)
optimization h3-dense vdn-hybrid
adaln-host-cache (moe-store AdaLN branch cache) ✓ —
fp8 (weight-only FP8 on wide Linears) ✓ ✓
block-stream (transformer block_level group offload) ✓ ✓
compile-blocks (regional compile; resident only, measured fail at rtol=2e-2) ✓ —
cuda-graph (resident graph + pinned AdaLN, 1.54× combined; with block-stream: pointer-stable weight arenas, whole-forward capture, 2.24× step wall vs the streamed baseline, 13.40 GiB denoise peak; bitwise parity in both profiles) ✓ —
text-encoder-stream (Qwen3-VL leaf_level streaming) ✓ ✓

vdn-hybrid is VDN-Minimax-H3 ("Video DeltaNet", OpenVDN/vdn-minimax-h3, pinned at third_party/vdn-minimax-h3): a frame-wise linear-attention branch + window softmax + two merged LoRA adapters on the frozen H3 backbone. Reproduction on RTX PRO 6000 Blackwell (sm120): docs/repro_vdn.md — dense→hybrid+fp8 2.15× per-NFE, bitwise golden parity (tests/test_vdn_parity.py), block streaming ~20 GiB peak. Ablation study: docs/ablation_vdn.md. Speedup attribution study: docs/attribution_vdn.md. Baseline tracking — VDN-H3 as the strongest tracked baseline plus the survey of claimed-stronger challengers: docs/baselines_vdn.md. Tracking: #10.

Opt-in caches

Nothing is on by default. The shared interfaces are tracked by the cache contract plan for issue #24.

cache opt-in interface status
C1 condition-cache Registry optimization.
C2 encoder-cache C2 is an exact encoder-prefix cache.
C3 vision-cache Registry optimization.
C4 — C4 is unchanged upstream.
C5 --denoise-cache-coefficients plus --denoise-cache-threshold Off the registry. C5 refuses to run without H3-calibrated coefficients.

Benchmarks quantifying each cache level's contribution (microbenchmarks, one-factor ablation, VidProM serving trace, C5 calibration probe): docs/cache_benchmarks.md. The per-level design notes are indexed in the Documentation Hub.

Storage

Omni-Infinity consumes moe-store (>= 0.2.1) for checkpoint conversion and the arch-aware v2 on-disk store. moe-store convert MiniMaxAI/MiniMax-H3 <store> ingests the full modular pipeline: per-block non-AdaLN groups, per-block AdaLN bundle groups, and one group per VAE/encoder shard. The transfer engine is Omni-Infinity's own step-synchronous loop, not shared with MoE-Infinity.

Installation

Omni-Infinity targets Python 3.12 (CI) and depends on torch>=2.0 and moe-store>=0.2.1.

# core runtime
pip install -e .

# + job-serving / streaming stack (FastAPI, uvicorn, websockets, av, soundfile, pillow)
pip install -e '.[serve]'

# + benchmark dataset refresh (datasets)
pip install -e '.[bench]'

# development: tests, ruff, coverage, and the serving deps
pip install -e '.[dev]'

A reproducible CUDA 12.9 / Python 3.12 Docker image for the VDN-Minimax-H3 results — including the parity gate and the upstream native ladder — is documented in docker/README.md.

Quickstart

Reference smoke (diffusers >= 0.40; --offload runs components sequentially when the ~144 GB FL2VA set exceeds one GPU; H3 generates 5-15 s at 24 fps, so --frames must be >= 120):

python examples/fl2va_smoke.py --prompt "a red ball bouncing" \
    --seed 0 --steps 8 --resolution 256p --frames 120 --offload \
    --record-goldens tests/fixtures/goldens

Memory-constrained path — host-resident AdaLN cache + bf16 block-streaming from a moe-store, bitwise-identical latents (the transformer's blocks stream one at a time; parity is preserved because bf16 weights move device-only):

python examples/fl2va_smoke.py --prompt "a red ball bouncing" \
    --seed 0 --steps 8 --resolution 256p --frames 120 \
    --checkpoint <local-H3-snapshot-dir> --offload \
    --store-dir <moe-store> --store-components transformer,vae,audio_vae \
    --adaln-host-cache --block-stream-blocks-per-group 1 \
    --goldens tests/fixtures/goldens/fl2va_goldens.pt

Ref2VA store path + denoising-step prefetch overlap (see docs/ref2va_step_overlap.md for golden provenance, store inspection, parity, and overlap commands):

python examples/ref2va_smoke.py --ref tests/fixtures/ref.png --seed 0 --steps 8 --resolution 256p --frames 120 --max-vram 22GiB

Job-serving API

Install the optional serving stack:

pip install -e '.[serve]'

The server loads one immutable registry profile at startup and reuses that runner for every job. GPU generation is serialized through one in-process worker; requests for a different model architecture or optimization set return HTTP 409 rather than loading another pipeline.

Example startup for the streamed dense profile and a 22 GiB budget:

CUDA_VISIBLE_DEVICES=0 \
HF_HOME=/mnt/raid0nvme0/leyang/hf-home \
HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 \
OMNI_CHECKPOINT=/mnt/raid0nvme0/leyang/hf-home/hub/models--MiniMaxAI--MiniMax-H3/snapshots/42ed227ee7df40d41602854ae760620d6eb651fe \
OMNI_STORE_DIR=/mnt/raid0nvme0/leyang/h3-store-v2 \
OMNI_STORE_COMPONENTS=transformer,vae,audio_vae \
OMNI_MODEL_ARCH=h3-dense \
OMNI_OPTIMIZATIONS=adaln-host-cache,block-stream,text-encoder-stream \
OMNI_MAX_VRAM=22GiB \
OMNI_JOBS_DIR=./jobs \
OMNI_HOST=127.0.0.1 \
OMNI_PORT=8000 \
python -m omni_infinity.serve

OMNI_HOST, OMNI_PORT, and OMNI_JOBS_DIR default to 127.0.0.1, 8000, and ./jobs. The checkpoint and store variables are optional in the configuration schema but are required for the offline streamed recipe above.

Create and poll an FL2VA job:

curl -i http://127.0.0.1:8000/v1/jobs \
  -H 'content-type: application/json' \
  -d '{
    "type": "fl2va",
    "prompt": "a red ball bouncing",
    "model_arch": "h3-dense",
    "optimizations": [
      "adaln-host-cache", "block-stream", "text-encoder-stream"
    ],
    "seed": 0,
    "num_inference_steps": 8,
    "resolution": "256p",
    "num_frames": 120,
    "first_frame_base64": "<optional-base64-PNG>",
    "last_frame_base64": null
  }'

# HTTP 202, Location: /v1/jobs/0123456789abcdef0123456789abcdef
# {
#   "id": "0123456789abcdef0123456789abcdef",
#   "status": "queued",
#   "progress": {"completed_steps": 0, "total_steps": 8, "percent": 0.0},
#   ...
# }

curl http://127.0.0.1:8000/v1/jobs/0123456789abcdef0123456789abcdef
curl -o artifact.mp4 \
  http://127.0.0.1:8000/v1/jobs/0123456789abcdef0123456789abcdef/artifacts

The prompt is required; the remaining generation fields have the defaults shown above. First/last frames are optional base64-encoded images in the JSON body (20 MiB decoded limit per image). Requests must repeat the server's exact fixed model_arch and ordered optimization list.

Jobs move through queued -> running -> succeeded|failed|cancelled. Progress reports completed denoising transformer forwards, not a wall-clock estimate: queued jobs are 0/N, running jobs advance after each forward, and successful jobs finish at N/N. Artifact access returns HTTP 409 until the job succeeds, then returns an H.264/AAC MP4 with one video stream and one stereo audio stream. N is num_inference_steps for h3-dense and model evaluations for vdn-hybrid. There is no public cancellation endpoint in issue #9; cancelled records arise when clean shutdown cancels queued work.

Each job is persisted atomically under the configured jobs directory:

jobs/<uuid>/
  job.json
  input-first.png   # only when supplied
  input-last.png    # only when supplied
  output.wav
  output.mp4

Successful records optionally include graph_telemetry in job.json and the job API response when the loaded runner has a CUDA-graph manager. It reports per-job capture/replay counts, capture failures and time, warmup and eager fallback counts, plus final live-graph, pool-byte, and manager-generation gauges. Profiles without a manager and older records expose graph_telemetry: null.

On process restart, persisted running jobs become failed with a restart message; denoising is not resumed. Queued records remain on disk but are not automatically resubmitted. Terminal records remain pollable directly by their job ID (the same 32-hex value used as <uuid> above). output.wav is an internal stereo sidecar; the public artifacts endpoint returns only the MP4, whose AAC stream contains the same audio. type="ref2va" is schema-valid on both POST /v1/jobs and POST /v1/streams, and both return HTTP 501. The supported Ref2VA path is examples/ref2va_smoke.py. Unknown job IDs return HTTP 404. OMNI_DEVICE defaults to cuda. OMNI_WORKERS must stay 1. Webhooks remain deferred from issue #9: the v0.1 contract is polling because callback authentication, signing, delivery persistence, and retry semantics have not yet been specified.

Streaming playback

Streaming is opt-in and sits beside the job API. Set OMNI_STREAM_ENABLED=1 before starting the same python -m omni_infinity.serve process. The browser player is then served at http://127.0.0.1:8000/.

POST /v1/streams creates a passive stream with the same generation fields as a job:

curl http://127.0.0.1:8000/v1/streams \
  -H 'content-type: application/json' \
  -d '{
    "type": "fl2va",
    "prompt": "a red ball bouncing",
    "model_arch": "h3-dense",
    "optimizations": [
      "adaln-host-cache", "block-stream", "text-encoder-stream"
    ],
    "resolution": "256p",
    "num_frames": 120,
    "source": "clip",
    "action_script": [
      {"t": 0, "action": "forward", "instruction": "move forward"}
    ]
  }'

# HTTP 202: {"stream_id":"0123456789abcdef0123456789abcdef"}

The response is HTTP 202 {"stream_id": "<32 hex>"}.

Connect a WebSocket player to WS /v1/streams/{id}/ws. The server sends, in order:

  • init: codec, init_b64, and action_script
  • chunk: index, pts, duration, keyframe, video_b64, audio_b64, prompt, instruction, action, and done
  • end: artifact_url, sent after the MP4 is written

audio_b64 is null, and audio is muxed into the fMP4 fragment. Failures are {"type": "error", "detail": "..."}.

source="clip" ignores client input messages. source="native" is the 16×16 stub. It consumes {"type":"input","key","down","action","prompt"}. Arrow keys map to forward/back/left/right and space maps to jump. The real H3-World native chunk producer is not included.

The behavior contract is docs/streaming_chunk_playback.md. The metric contract and the 2026-09-29 SKIP snapshot are in docs/streaming_bench.md.

source="clip" runs the existing one-shot dense or VDN runner, then fragments the decoded result. ClipChunker does not overlap generation with playback. It provides the player and prompt-timeline contract without changing model execution. GPU generation still shares the job API's single serialized worker.

Every completed stream publishes the ordinary job artifact. Download it from GET /v1/jobs/{id}/artifacts; the existing status and artifact endpoints are unchanged. The local reference client is:

python examples/stream_play.py \
  --url ws://127.0.0.1:8000/v1/streams/<id>/ws \
  --player av \
  --interactive

Streaming settings:

  • OMNI_STREAM_ENABLED defaults off and controls all stream routes and /.
  • OMNI_STREAM_MAX_SESSIONS defaults to 1.
  • OMNI_STREAM_SESSION_TTL defaults to 30 seconds. Sessions that never connect are checked when the next session is created, then cancelled. This is not a background timer.
  • OMNI_STREAM_CHUNK_FRAMES defaults to 124 (one 5.167-second H3 clip).
  • OMNI_STREAM_QUEUE_CHUNKS defaults to 8 and bounds socket buffering.
  • OMNI_STREAM_FALLBACK_HLS defaults off. When enabled, it adds /v1/streams/{id}/playlist.m3u8, init.mp4, seg/{n}.m4s, and prompts.json for passive clients.

Multi-prompt demo

The stream monitor's length control is a dropdown (15s, 1min, 2min, 5min). Choose multi-prompt demo as the chunk source. Each prompt is one 124-frame clip at 24 fps. The dropdown asks for 3, 12, 24, or 59 prompts. Playback of the nominal length is 360, 1440, 2880, or 7200 frames.

Playback starts when the first clip is generated. The encoder, backbone, and decoder then stay pipelined on the same worker: a later prompt's encoder can run before the previous clip's decoder. Each later prompt starts at a random whole second from X through Y, inclusive, after playback begins. The monitor defaults are X = 1 and Y = 5. The prompt row whose interval contains the playhead is highlighted; clips still rendering stay on the timeline. POST /v1/jobs is unchanged. H3-World weights are not included; the loaded runner is called once per prompt.

Submit a demo with POST /v1/demos:

curl http://127.0.0.1:8000/v1/demos \
  -H 'content-type: application/json' \
  -d '{
    "prompts": ["opening", "middle", "close"],
    "duration": "15s",
    "model_arch": "h3-dense",
    "optimizations": [
      "adaln-host-cache", "block-stream", "text-encoder-stream"
    ],
    "resolution": "256p",
    "first_frame_base64": "<png-base64>"
  }'

5min requires 59 prompts. The first clip is the one that starts playback.

Roadmap and status

Scope (v0.1)

  • Target: MiniMax-H3-Base only (MiniMaxAI/MiniMax-H3, FL2VA + Ref2VA, 768p). H3-Context-IR and H3-Regenerate-2K are hosted/API-only and out of local scope until (if ever) their weights are released.
  • Memory story: component offload + AdaLN caching + FP8 weights (FP4 where kernels allow).
  • Non-goals: multimodal understanding on MoE backbones (that is MoE-Infinity, #221); sparse-attention inference (the H3 open release supports full attention only).

Bootstrap task list

Tracked in the task list:

  • Task 0 — moe-store multi-component H3 converter with AdaLN bundle groups (moe-store#9, released in v0.2.1)
  • Task 1 — repo skeleton + reference-parity harness: runner API (omni_infinity/runner.py), smoke CLI (examples/fl2va_smoke.py), and the bitwise parity gate (tests/test_reference_parity.py) — validated on real H3-Base weights: a fresh generation reproduces the committed golden latents bitwise (#1)
  • [~] Task 2 — component offload + AdaLN caching + FP8 on a single 24 GB GPU (#2):
    • Store-sourced components (StoreComponentSource, one-read group fetches) reproduce the goldens bitwise (inc 1, 2, 2b)
    • Host-resident AdaLN branch cache — 66.28 → 40.26 GB GPU-resident, bitwise parity (inc 3)
    • FP8 weight path (opt-in) + offline QA harness — validated 40.26 → 20.19 GB, but H3 is not FP8-native so it can't meet rtol=2e-2 (~16-25% latent error); memory tradeoff only (inc 4)
    • bf16 block-streaming — native enable_group_offload(block_level) streams the transformer blocks (attn/ff) with prefetch; the AdaLN host cache is untouched. Reproduces the goldens bitwise (rms_rel=0.0000) with a trivial transformer weight footprint (inc 5)
    • Text-encoder streaming — the 64-layer Qwen3-VL encoder is leaf-level group-offloaded (bf16), so its layers stream through the GPU instead of the whole 64 GB staying resident. Reproduces the goldens bitwise with the transformer block-streamed too (inc 6). leaf_level (not block_level) is required so embed_tokens self-onloads.
    • Whole-pipeline ≤22 GiB gate — the full encode+denoise+decode window peaks at 9.96 GiB under the emulated 22 GiB offload envelope, with rms_rel=0.0000, elementwise allclose(rtol=2e-2), and 38.1 s wall-clock (inc 7)
    • Fused block-scaled FP8 weight-only kernel — vendored+hardened Triton GEMM behind an omni_infinity/kernels/ facade (op-centric, pure-torch reference fallback). ScaledFp8Linear and the AdaLN FP8 branch dequantize inside the GEMM (no bf16 weight materialization); block-wise 128×128 scaling. Benchmark: FP8 weight bytes halved and lower peak memory on large Linears (e.g. N=28672: 3330→2600 MB); latency ~matches/trails bf16 at large M (bf16 MMA, no fp8-TC on the weight-only path). Accuracy gate (256p/120f vs goldens): block rms_rel=0.2135, per-row 0.2373 — both FAIL allclose(rtol=2e-2). H3 is not FP8-native; block-wise beats per-row but does not close the gap. FP8 remains an opt-in memory/bandwidth tradeoff (select via --fp8-scale block); bf16 block-streaming stays the accuracy-preserving default (inc 5-7). (inc 8)
    • Confirm the emulated envelope on a true 24 GB card before release
  • Task 3 — Ref2VA store path + denoising-step prefetch overlap (#8):
    • Ref2VA selects transformer_ref and passes an ordered MiniMaxH3ImageReference list. Its packed reference rows now use the same store-backed, host-AdaLN, bf16 block-streamed, and text-encoder-streamed execution path as FL2VA.
    • The final transformer weight group now prefetches the first group for the next denoising step. CUDA-event QA measured H2D/compute overlap ratios of 0.637 and 0.599 for destination steps 2 and 3.
    • The required 256p/120-frame smoke reproduced the full-resident video and audio latents bitwise in 77.0 s, peaking at 10.72 GiB.

P7 — multi-GPU serving (6× RTX PRO 6000, PCIe)

Tracked in #42:

  • Phase 0 — platform validation (P2P + NCCL, measured on-host; the D2D-handoff and intra-socket-collective rules) — docs/multigpu_platform.md.
  • Phase 1 — stage pipelining. OMNI_ROLE=pipeline serves the job API from encoder/denoiser/decoder role processes (one GPU each, fully resident), bitwise per stage. Measured over the VidProM trace: 135 jobs/h (1-GPU streamed) → 1247 (2-GPU, 9.2×) → 2481 (4-GPU) → 3397 (6-GPU, 25×). The denoiser is the unit bottleneck, so a 2-GPU {enc+dec | denoiser} replica is the scaling unit (benchmarks/role_pipeline_bench.py). CFG parallel dropped (H3 is guidance-distilled).
  • [~] Phase 2 — single-request latency (USP + parallel VAE): parked. A degree-2 Ulysses denoiser spike runs at 1.30× but fails the parity gate under diffusers' experimental context parallelism (benchmarks/ulysses_spike.py), and a seam-exact spatial-shard VAE is blocked by the global-attention ViT decoder. Documented in docs/multigpu_platform.md; Phase 1 stage pipelining already delivers the multi-GPU win.

Deferred: shared moe-kernels package

Deferred — shared moe-kernels. Kernels currently live behind the omni_infinity/kernels/ facade. Extract to a standalone moe-kernels package (sibling to moe-store, one-way dep) when the first COMPILED CUDA/CUTLASS kernel (e.g. BatchGen's SM120 cutlass GEMM) must be shared across ≥2 EfficientMoE runtimes (per-arch prebuilt wheels are the real cost driver; pure-Triton copy-paste is nearly free). Layout: flat op-centric API (moe_kernels.fused_fp8_gemm, .mxfp4_gemm, …); internal _impls/<op>/{triton,cutlass_sm120,…}.py self-registering into a (op, qtype, backend, arch) registry with a pure-torch reference as lowest-priority fallback; base wheel pure-Python (Triton + reference + registry, universal), compiled CUTLASS in optional [cutlass-cuXYZ] extras (flash-attn/sgl-kernel-style per-(torch,cuda) wheels, multi-arch fatbin). Consumers pin ranges (>=0.x,<0.y); the reference fallback is the forward-compat valve (no lockstep releases). Extraction = git mv impls + swap the facade's imports; call sites are already stable.

Architecture

For a contributor-oriented map of the codebase — the core inference path (registry → ReferenceRunner/VdnRunner → store / AdaLN / FP8 / kernels / caches), the job-serving and streaming paths under omni_infinity/serve/, the module layout, and the request lifecycle — see ARCHITECTURE.md.

Development

GitHub Actions (.github/workflows/ci.yml) runs on Python 3.12:

pip install -e '.[dev]'
ruff check .
ruff format --check .
pytest tests/ -m "not gpu and not weights" -q --timeout 180 \
  --cov=omni_infinity --cov-report=term-missing --cov-fail-under=80

Tests marked gpu or weights need a CUDA device and a local checkpoint. The per-PR CI excludes both marks; the CPU job installs a CPU torch wheel before the editable install, and pins diffusers/transformers to the golden-recording stack.

A nightly workflow (.github/workflows/nightly-gpu.yml) runs the gpu and weights suites — the bitwise parity gates, the store-backed path, and the real job/stream API gates — on a self-hosted sm120 runner. The suite runs in a non-root container (docker/Dockerfile.ci) with the H3 snapshot and moe-store mounted read-only and reports written to a host-owned output directory. It is schedule/manual only, so pull requests never execute on the self-hosted runner.

Contributing and Security

  • Contributing. Development setup, the Ruff and pytest gates, coding standards, and the commit and pull-request conventions are documented in CONTRIBUTING.md; the quick commands are in Development above.
  • Security. See SECURITY.md for how to report a vulnerability. Note that the job-serving server has no built-in authentication and binds 127.0.0.1 by default — do not expose it on an untrusted network without your own auth or reverse proxy.

Citation

Omni-Infinity is scoped by the RFC in MoE-Infinity#222 and is the sibling of MoE-Infinity. If you use MoE-Infinity for your research, please cite the paper:

@misc{moe-infinity,
  author       = {Leyang Xue and
                  Yao Fu and
                  Zhan Lu and
                  Chuanhao Sun and
                  Luo Mai and
                  Mahesh Marina},
  title        = {MoE{-}Infinity: Efficient MoE Inference on Personal Machines with Sparsity-Aware Expert Cache},
  archivePrefix= {arXiv},
  eprint       = {2401.14361},
  year         = {2024}
}

License

Apache-2.0. See LICENSE.

About

Memory-constrained single-server inference for dense omni-modal generative models (MiniMax-H3 class)

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages