Views
No views yet
google/diffusiongemma-26B-A4B-it.Marketing title: Infinite-Context
Technical boundary: external evidence context, not native unlimited model context.
1DiffusionGemma native context
2+ NZFC-GRAM external evidence memory
3+ large-document indexing
4+ scoped retrieval
5+ tombstone guard
6+ bounded evidence packs
7=
8Infinite-Context as an external evidence runtime, not native unlimited context1{
2 "runtime_only": true,
3 "model_loaded": false,
4 "repo_root_runtime_exists": true,
5 "repo_root_meta_exists": true,
6 "repo_root_memory_tensors_exists": true,
7 "exact_slot_passed": true,
8 "large_document_passed": true,
9 "large_document_query_count": 2,
10 "tombstone_guard_passed": true,
11 "technical_boundary": "external evidence context, not native unlimited model context"
12}google/diffusiongemma-26B-A4B-it| Layer | Purpose | Status in this repo |
|---|---|---|
nzfc_gram_runtime/ | NZFC-GRAM runtime package | Included |
runtime/ | Hybrid exact-recall runtime assets | Included |
meta/ | Static archive metadata required by runtime | Included |
memory_tensors/ | Static archive tensors / manifest | Included |
| SQLite local memory | User/project/session long-term memory | Runtime-supported |
| Exact slot mapper | Deterministic recall for short key-value facts | Runtime-supported |
| Tombstone guard | Filters deleted MEM_* records from retrieval | Runtime-supported |
| Large-document profile | Chunking + SQLite FTS5 retrieval | Runtime-supported |
| Legal-document profile | Article-style chunking and retrieval | Runtime-supported |
| DiffusionGemma adapter | Optional base-model generation adapter | Included |
| DiffusionGemma weights | Base model weights | External, not included |
1User question
2 -> NZFC-GRAM runtime
3 -> scoped SQLite memory
4 -> static NZFC archive assets
5 -> large-document / legal-document SQLite FTS5 index
6 -> tombstone guard
7 -> exact slot mapper
8 -> malicious-memory redaction
9 -> bounded evidence pack
10 -> optional DiffusionGemma generationMemory is evidence, not instruction.
Infinite-Context is used as a product-facing title.1external memory
2+ indexed documents
3+ query-conditioned retrieval
4+ bounded evidence packs1Infinite Evidence Context
2or
3External Evidence Contextruntime/ asset discoverymeta/complex_math_10m_meta.jsonl discoverymemory_tensors/ discoveryNZFCGramLongMemoryChat(repo_dir='.') initialization1{
2 "created_at": "2026-06-11 02:43:54",
3 "repo_id": "SingularityPrinciple/DiffusionGemma-26B-A4B-it-Infinite-Context",
4 "base_model": "google/diffusiongemma-26B-A4B-it",
5 "runtime_only": true,
6 "model_loaded": false,
7 "repo_root_runtime_exists": true,
8 "repo_root_meta_exists": true,
9 "repo_root_memory_tensors_exists": true,
10 "exact_slot_answer": "PROJECT_CODE_DIFFUSIONGEMMA_SMOKE",
11 "exact_slot_passed": true,
12 "exact_slot_profile": {
13 "version": "v1.2.4b",
14 "description": "Strict deterministic exact slot mapper for short explicit scoped key-value recall questions.",
15 "auto_short_circuit": true,
16 "strict_trigger_gate": true
17 },
18 "large_document_chunk_count": 3,
19 "large_document_query_count": 2,
20 "large_document_method": "fts5_bm25",
21 "large_document_passed": true,
22 "tombstone_guard_profile": {
23 "version": "v1.2.4c",
24 "description": "Filters inactive or tombstoned MEM_* records from memory_store.retrieve results.",
25 "db_path": "/kaggle/working/diffusiongemma_infinite_context_evidence_pack_update/runtime_only_smoke_final/memory.sqlite3",
26 "guarded_method": "memory_store.retrieve"
27 },
28 "tombstone_test": {
29 "available": true,
30 "before_found": true,
31 "after_found": false,
32 "passed": true,
33 "tombstoned": 1
34 },
35 "technical_boundary": "external evidence context, not native unlimited model context",
36 "status": "passed"
37}LOAD_MODEL=1 python examples/optional_diffusiongemma_model_load_check.pyAutoProcessor load1git lfs install
2git clone https://huggingface.co/SingularityPrinciple/DiffusionGemma-26B-A4B-it-Infinite-Context
3cd DiffusionGemma-26B-A4B-it-Infinite-Context
4pip install -r requirements.txtpython validation/run_runtime_only_smoke.py[PASS] runtime-only smoke passedpython examples/high_frequency_multi_context_runtime_only.pyThe project high-frequency test code is PROJECT_CODE_RUNTIME_ONLY.What was the project high-frequency test code? Answer only with the code.PROJECT_CODE_RUNTIME_ONLYpython examples/large_document_runtime_only.pyLOAD_MODEL=1 python examples/optional_diffusiongemma_model_load_check.pygoogle/diffusiongemma-26B-A4B-it.1from nzfc_gram_runtime import NZFCGramLongMemoryChat
2from nzfc_gram_runtime.quality import attach_answer_quality_governor
3from nzfc_gram_runtime.large_document import attach_large_document_memory
4
5bot = NZFCGramLongMemoryChat(
6 repo_dir='.',
7 model_id='google/diffusiongemma-26B-A4B-it',
8 memory_db_path='./memory.sqlite3',
9 load_model=False,
10 require_model=False,
11 preload_static_memory=False,
12)
13
14attach_large_document_memory(bot)
15attach_answer_quality_governor(bot)
16
17bot.remember(
18 'The project high-frequency test code is PROJECT_CODE_DEMO.',
19 user_id='demo_user',
20 project_id='demo_project',
21 session_id='demo_session',
22 scope='project',
23 tags=['project_code'],
24 trust_level=0.95,
25)
26
27res = bot.quality_chat(
28 'What was the project high-frequency test code? Answer only with the code.',
29 user_id='demo_user',
30 project_id='demo_project',
31 session_id='new_session',
32)
33
34print(res['answer'])1from nzfc_gram_runtime.diffusiongemma_adapter import attach_diffusiongemma_block_diffusion
2
3attach_diffusiongemma_block_diffusion(
4 bot,
5 model_id='google/diffusiongemma-26B-A4B-it',
6 device_map='auto',
7 dtype='auto',
8)MEM_* records are filtered at the retrieval layer when the guard is available.What was the project high-frequency test code? Answer only with the code.ingest -> chunk -> SQLite FTS5 index -> retrieve evidence -> bounded answer1nzfc_gram_runtime/ Python runtime package
2runtime/ Hybrid exact-recall runtime assets
3meta/ Static archive metadata
4memory_tensors/ Static archive tensor manifests and assets
5archive/ Optional static archive assets when available
6configs/ Optional runtime configs when available
7docs/ Architecture and technical boundary notes
8examples/ Runtime-only and optional model-load examples
9validation/ Validation scripts
10validation_evidence/ Saved validation evidence
11release_notes/ Release notesModuleNotFoundError: No module named 'nzfc_gram_runtime'sys.path before importing nzfc_gram_runtime.python validation/run_runtime_only_smoke.pyCannot find runtime/runtime/ assets required by NZFCGramLongMemoryChat.1ls runtime
2ls meta
3ls memory_tensorsgoogle/diffusiongemma-26B-A4B-it is hardware-dependent. Runtime-only validation does not load the base model.google/diffusiongemma-26B-A4B-it model card and its license/terms.DiffusionGemma-26B-A4B-it-Infinite-Context is an NZFC-GRAM runtime overlay for external evidence context around Google's DiffusionGemma 26B A4B-IT. It includes runtime assets, scoped memory, exact-slot recall, tombstone filtering, large-document retrieval, validation scripts, and runtime-only validation evidence. The title is marketing-facing; the technical mechanism is external evidence context, not native unlimited model context.