{
  "hardware": {
    "machine": "Apple Mac Studio (M5 Ultra)",
    "hw_model": "Mac17,15",
    "gpu_cores": 80,
    "unified_memory_gib": 512.0,
    "sustained_dram_bw_gbs": 950.0,
    "theoretical_dram_bw_gbs": 1024.0,
    "iogpu_wired_limit_mb": "0"
  },
  "software": {
    "macos_version": "27.2.1",
    "macos_build": "26B131",
    "python_version": "3.12.16",
    "mlx_version": "0.32.5",
    "omlx_base": "oMLX 0.8.4 (private local Wave 43 development fork; not yet upstreamed)",
    "omlx_git_sha": "6562345",
    "speculative_decoding_note": "DSpark/PCTree runs on the checkpoint's built-in 8.05 GB MTP head (mtp_enabled=true, dflash_enabled=false; the dflash_draft_model entry in model_settings.json is an unused default). Verification uses exact target-model acceptance to preserve the target sampling distribution."
  },
  "v1_oq25e_run_config": {
    "model_repo": "apetersson/DeepSeek-V4.1-Flash-1017-Abliterated-MLX",
    "quant_format": "oQ2.5e mixed precision (aff8 dense + 2-bit/3-bit routed MoE + SSD-offloaded Engram tables + MTP)",
    "isolated_port": 18199,
    "max_model_len": 1048576,
    "max_concurrent_requests": 32,
    "hot_cache_max_size": "64GB",
    "max_tokens_matrix": 192,
    "max_tokens_cold_1m": 16,
    "top_p": 0.95,
    "top_k": 20,
    "trials_per_cell": 1,
    "co_resident_model_note": "Qwen3.8-27B (~27.4 GB) was present in the shared model directory during the V1 run.",
    "custom_env_flags": {
      "OMLX_DSPARK_CONFIDENCE_SCHED": "1",
      "OMLX_DSPARK_PCTREE": "1",
      "OMLX_DSPARK_PCTREE_BUDGET": "8",
      "OMLX_DSPARK_PRIME_PERSIST": "1",
      "OMLX_DSV41_MAX_VERIFY_ROWS": "256",
      "OMLX_V41_GATE25_FAST_DENSE": "1",
      "OMLX_V41_MOE_TILED_MODE": "auto",
      "OMLX_V41_SHARED_KV_VERIFY_ATTN": "1",
      "OMLX_WIRED_BASELINE_GIB": "12",
      "MLX_METAL_RESIDENCY_REFRESH_INTERVAL_MS": "1000"
    },
    "model_settings_redacted": {
      "temperature": 1.0,
      "top_p": 0.95,
      "top_k": 20,
      "force_sampling": false,
      "chat_template_kwargs": {
        "reasoning_effort": "high"
      },
      "enable_thinking": true,
      "qwen4_ple_ssd_offload": false,
      "qwen4_gdn_decode_wide_proj": false,
      "deepseek_v41_engram_ssd_offload": true,
      "hy4_engram_ssd_offload": false,
      "deepseek_v41_ced_prefill_enabled": true,
      "activation_fp16_enabled": false,
      "preserve_thinking": true,
      "cache_reasoning_output": true,
      "thinking_budget_enabled": false,
      "guided_grammar_enabled": false,
      "turboquant_kv_enabled": false,
      "turboquant_kv_scheme": "turboquant",
      "turboquant_kv_bits": 4.0,
      "turboquant_skip_last": true,
      "qwen35_ane_prefill_enabled": false,
      "qwen35_ane_prefill_sequence_length": 2048,
      "qwen35_ane_prefill_tail_padding_min_tokens": 0,
      "qwen35_ane_prefill_shared_fraction": 1.0,
      "qwen35_ane_prefill_fused_down": false,
      "qwen35_ane_prefill_max_layers": 64,
      "qwen35_ane_prefill_dual_ane": true,
      "qwen35_ane_prefill_gdn": true,
      "qwen35_ane_prefill_gdn_fraction": 0.5,
      "qwen35_ane_prefill_gdn_max_layers": 48,
      "qwen35_ane_prefill_cpu_enabled": false,
      "qwen35_ane_prefill_cpu_fraction": 0.135,
      "qwen35_ane_prefill_cpu_down_fraction": 0.0,
      "qwen35_ane_prefill_cpu_gdn_fraction": 0.0,
      "qwen35_ane_prefill_cpu_threads": 8,
      "qwen35_ane_prefill_cpu_shared_resource": true,
      "a8_prefill_min_tokens": 128,
      "moe_expert_offload_enabled": false,
      "moe_expert_offload_resident_fraction": 0.25,
      "specprefill_enabled": false,
      "dflash_enabled": false,
      "dflash_draft_model": "<HOME>/models/dsp41_stage2_final",
      "dflash_draft_window_size": 8192,
      "dflash_block_size": 16,
      "dflash_verify_mode": "adaptive",
      "mtp_enabled": true,
      "vlm_mtp_enabled": false,
      "loopcd_enabled": false,
      "loopcd_skip_thinking": false,
      "is_pinned": true,
      "is_default": true,
      "is_hidden": false,
      "is_favorite": false,
      "trust_remote_code": false,
      "embedding_audio_enabled": false,
      "max_context_window": 1048576
    },
    "temperature_matrix": 1.0,
    "temperature_cold_1m": 0.0
  },
  "v2_oq4e_run_config": {
    "model_repo": "niyazirsaliev/DeepSeek-V4.1-Flash-1017-oQ4e-mtp-uncensored",
    "quant_format": "oQ4e mixed precision (4.529 bpw: native MXFP4 routed experts, native MXFP8 attention/shared/indexer/engram projections, affine-4 gs=32 SSD-offloaded Engram tables, built-in 8.05 GB MTP head; zero-requantization Heretic ablation on 38 attn.wo_b tensors)",
    "isolated_port": 18199,
    "single_model_isolated_dir": true,
    "max_model_len": 1048576,
    "max_concurrent_requests": 16,
    "concurrencies_tested": [
      1,
      2,
      4,
      8,
      12,
      16
    ],
    "hot_cache_max_size": "16GB",
    "max_tokens_prose_thinking": 384,
    "max_tokens_tool": 640,
    "max_tokens_1m_sustained_decode": 512,
    "temperature_matrix": 1.0,
    "temperature_niah": 0.0,
    "temperature_1m_decode": [
      1.0,
      0.0
    ],
    "top_p": 0.95,
    "top_k": 20,
    "corpus_meta": {
      "corpus_a_files": 123,
      "corpus_a_tokens": 762450,
      "corpus_b_files": 213,
      "corpus_b_tokens": 1009411,
      "disjoint": true
    },
    "memory_sampling": "Continuous 250 ms background vm_stat + sysctl vm.swapusage polling per cell",
    "engine_compatibility_patch": "Private local oMLX 0.8.4 Wave 43 fork (base commit 6562345) plus a 4-line compatibility fix in omlx/patches/deepseek_v41/decode_moe.py allowing native mxfp4 routed experts to enter _fused_decode_moe_gather_qmm (stock MLX sorted mx.gather_qmm with mode=e.w*.mode) at NB > 16 (batched token rows B * verify_len > 16 under DSpark verification) instead of hitting Wave 43's custom fp8_mma16 kernel static_assert(NB <= 16). Production omlx-084 stayed untouched at 6562345.",
    "ablation_note": "Wave 43's affine tiled Metal kernels (GATE25_FAST_DENSE, MOE_TILED_MODE=auto) target affine-quantized weights (oQ2.5e). On native MXFP4/MXFP8 oQ4e, dspark_off and base_no_opt run the same stock MLX quantized_matmul / gather_qmm path and match within ~1.3% on prose/thinking overlap (up to ~3.7% on variable-length buffered tool decode-union).",
    "custom_env_flags_by_stage": {
      "common": {
        "MLX_METAL_RESIDENCY_REFRESH_INTERVAL_MS": "1000",
        "OMLX_WIRED_BASELINE_GIB": "12",
        "OMLX_V41_PHASE_PROFILE": "1",
        "OMLX_MTP_LOG": "1"
      },
      "wave43_dspark_on": {
        "mtp_enabled": true,
        "OMLX_DSPARK_CONFIDENCE_SCHED": "1",
        "OMLX_DSPARK_PCTREE": "1",
        "OMLX_DSPARK_PCTREE_BUDGET": "8",
        "OMLX_DSPARK_PRIME_PERSIST": "1",
        "OMLX_DSV41_MAX_VERIFY_ROWS": "256",
        "OMLX_V41_GATE25_FAST_DENSE": "1",
        "OMLX_V41_MOE_TILED_MODE": "auto",
        "OMLX_V41_SHARED_KV_VERIFY_ATTN": "1"
      },
      "wave43_dspark_off": {
        "mtp_enabled": false,
        "OMLX_DSPARK_CONFIDENCE_SCHED": "0",
        "OMLX_DSPARK_PCTREE": "0",
        "OMLX_DSPARK_PRIME_PERSIST": "0",
        "OMLX_DSV41_MAX_VERIFY_ROWS": "256",
        "OMLX_V41_GATE25_FAST_DENSE": "1",
        "OMLX_V41_MOE_TILED_MODE": "auto",
        "OMLX_V41_SHARED_KV_VERIFY_ATTN": "1"
      },
      "base_no_opt": {
        "mtp_enabled": false,
        "OMLX_DSPARK_CONFIDENCE_SCHED": "0",
        "OMLX_DSPARK_PCTREE": "0",
        "OMLX_DSPARK_PRIME_PERSIST": "0",
        "OMLX_V41_GATE25_FAST_DENSE": "0",
        "OMLX_V41_MOE_TILED_MODE": "off",
        "OMLX_V41_SHARED_KV_VERIFY_ATTN": "0"
      }
    },
    "model_settings_redacted": {
      "temperature": 1.0,
      "top_p": 0.95,
      "top_k": 20,
      "force_sampling": false,
      "chat_template_kwargs": {
        "reasoning_effort": "high"
      },
      "enable_thinking": true,
      "qwen4_ple_ssd_offload": false,
      "qwen4_gdn_decode_wide_proj": false,
      "deepseek_v41_engram_ssd_offload": true,
      "hy4_engram_ssd_offload": false,
      "deepseek_v41_ced_prefill_enabled": true,
      "activation_fp16_enabled": false,
      "preserve_thinking": true,
      "cache_reasoning_output": true,
      "thinking_budget_enabled": false,
      "guided_grammar_enabled": false,
      "turboquant_kv_enabled": false,
      "turboquant_kv_scheme": "turboquant",
      "turboquant_kv_bits": 4.0,
      "turboquant_skip_last": true,
      "qwen35_ane_prefill_enabled": false,
      "qwen35_ane_prefill_sequence_length": 2048,
      "qwen35_ane_prefill_tail_padding_min_tokens": 0,
      "qwen35_ane_prefill_shared_fraction": 1.0,
      "qwen35_ane_prefill_fused_down": false,
      "qwen35_ane_prefill_max_layers": 64,
      "qwen35_ane_prefill_dual_ane": true,
      "qwen35_ane_prefill_gdn": true,
      "qwen35_ane_prefill_gdn_fraction": 0.5,
      "qwen35_ane_prefill_gdn_max_layers": 48,
      "qwen35_ane_prefill_cpu_enabled": false,
      "qwen35_ane_prefill_cpu_fraction": 0.135,
      "qwen35_ane_prefill_cpu_down_fraction": 0.0,
      "qwen35_ane_prefill_cpu_gdn_fraction": 0.0,
      "qwen35_ane_prefill_cpu_threads": 8,
      "qwen35_ane_prefill_cpu_shared_resource": true,
      "a8_prefill_min_tokens": 128,
      "moe_expert_offload_enabled": false,
      "moe_expert_offload_resident_fraction": 0.25,
      "specprefill_enabled": false,
      "dflash_enabled": false,
      "dflash_draft_model": "<HOME>/models/dsp41_stage2_final",
      "dflash_draft_window_size": 8192,
      "dflash_block_size": 16,
      "dflash_verify_mode": "adaptive",
      "mtp_enabled": true,
      "vlm_mtp_enabled": false,
      "loopcd_enabled": false,
      "loopcd_skip_thinking": false,
      "is_pinned": true,
      "is_default": true,
      "is_hidden": false,
      "is_favorite": false,
      "trust_remote_code": false,
      "embedding_audio_enabled": false,
      "max_context_window": 1048576
    }
  }
}