ukisai commited on
Commit
80896f2
·
verified ·
1 Parent(s): c62a35c

Clarify standard MLX memory handling in validation evidence

Browse files

The stock batch generator uses Apple's recommended GPU wired limit. No manual override or macOS memory setting was changed. Measured results, test script, runtime patch and weights are unchanged.

FULL_MAC_VALIDATION.md CHANGED
@@ -3,7 +3,7 @@
3
  Both complete, existing Swift checkpoints passed native Metal text generation
4
  and two cached follow-up requests on an AWS M4 Pro Mac with 48 GiB RAM.
5
  All weight shards were verified against their recorded SHA-256 hashes before
6
- loading. No quantization, tensor edits, context changes or memory-limit overrides
7
  were performed. Hub offline mode was enabled during testing.
8
 
9
  The input is our own synthetic repeated-record conversation, followed by a short
@@ -45,8 +45,12 @@ HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 python \
45
  ```
46
 
47
  Output directories must be new. The harness uses the real server and complete
48
- released weights, without building or quantizing any synthetic model. It disables
49
- the server's optional wired-limit adjustment and reports the actual Metal device.
 
 
 
 
50
 
51
  These results establish the tested text workload on the stated 48 GiB machine.
52
  They do not establish 24 GiB operation, arbitrary 262k-token workloads, GUI/plugin
 
3
  Both complete, existing Swift checkpoints passed native Metal text generation
4
  and two cached follow-up requests on an AWS M4 Pro Mac with 48 GiB RAM.
5
  All weight shards were verified against their recorded SHA-256 hashes before
6
+ loading. No quantization, tensor edits, context changes or manual memory-limit overrides
7
  were performed. Hub offline mode was enabled during testing.
8
 
9
  The input is our own synthetic repeated-record conversation, followed by a short
 
45
  ```
46
 
47
  Output directories must be new. The harness uses the real server and complete
48
+ released weights, without building or quantizing any synthetic model. It suppresses
49
+ the server startup helper's wired-limit call. The unchanged stock BatchGenerator
50
+ still calls MLX's set_wired_limit with Apple's recommended working-set size;
51
+ macOS memory settings are not changed. The legacy result field
52
+ `memory_limit_overrides=false` denotes no manual override, not suppression of this
53
+ normal batch-generator behavior. The actual Metal device is recorded in the results.
54
 
55
  These results establish the tested text workload on the stated 48 GiB machine.
56
  They do not establish 24 GiB operation, arbitrary 262k-token workloads, GUI/plugin
UPLOAD_MANIFEST.json CHANGED
@@ -8,8 +8,8 @@
8
  },
9
  {
10
  "path": "FULL_MAC_VALIDATION.md",
11
- "bytes": 3246,
12
- "sha256": "a3a164e3affcfbe8a506b0205f4d4e63a69807ea56f4a8baa06b2201b20b1faa"
13
  },
14
  {
15
  "path": "LICENSE",
@@ -75,13 +75,13 @@
75
  },
76
  {
77
  "path": "compatibility/cache-tests/full-mac-4bit-results.json",
78
- "bytes": 2699,
79
- "sha256": "6087feec8158cd3f1df6e7c3394a51a5091ee96649066ad875f6b6ac866dd76b"
80
  },
81
  {
82
  "path": "compatibility/cache-tests/full-mac-5bit-results.json",
83
- "bytes": 2695,
84
- "sha256": "274b30cdac2d75d0258ff79a91ec53ce9b7029f36d1d64edf8783037a9c67459"
85
  },
86
  {
87
  "path": "compatibility/cache-tests/offline-4bit-results.json",
 
8
  },
9
  {
10
  "path": "FULL_MAC_VALIDATION.md",
11
+ "bytes": 3562,
12
+ "sha256": "92cf16c5549a39fd8176028053bf57181eaf2c5fe31b142b36b961d0a5f6bf4a"
13
  },
14
  {
15
  "path": "LICENSE",
 
75
  },
76
  {
77
  "path": "compatibility/cache-tests/full-mac-4bit-results.json",
78
+ "bytes": 3127,
79
+ "sha256": "57c1c0924fadfec93f70a0787e31af02c36e8c996e30529ebd318b3a680b9f6f"
80
  },
81
  {
82
  "path": "compatibility/cache-tests/full-mac-5bit-results.json",
83
+ "bytes": 3123,
84
+ "sha256": "92f539012ef169ada9ab9970b077425664c80c7369f70c0faa58c927c6005951"
85
  },
86
  {
87
  "path": "compatibility/cache-tests/offline-4bit-results.json",
compatibility/cache-tests/full-mac-4bit-results.json CHANGED
@@ -93,5 +93,12 @@
93
  "retained_limit_observed_in_all_samples": true
94
  },
95
  "model_repository": "ukisai/Swift-1.5-4bit-MLX",
96
- "tested_revision": "c4765c752caee282928f62685722e11000ec64cf"
 
 
 
 
 
 
 
97
  }
 
93
  "retained_limit_observed_in_all_samples": true
94
  },
95
  "model_repository": "ukisai/Swift-1.5-4bit-MLX",
96
+ "tested_revision": "c4765c752caee282928f62685722e11000ec64cf",
97
+ "memory_limit_scope": {
98
+ "manual_overrides": false,
99
+ "macos_settings_changed": false,
100
+ "server_startup_wired_limit_helper": "suppressed by the HTTP harness",
101
+ "batch_generator_wired_limit": "unchanged stock MLX-LM behavior: uses Apple's recommended working-set size",
102
+ "legacy_boolean_meaning": "memory_limit_overrides=false records no manual override; it does not suppress stock batch-generator behavior"
103
+ }
104
  }
compatibility/cache-tests/full-mac-5bit-results.json CHANGED
@@ -93,5 +93,12 @@
93
  "retained_limit_observed_in_all_samples": true
94
  },
95
  "model_repository": "ukisai/Swift-1.5-5bit-MLX",
96
- "tested_revision": "5359607ded7c88e3c7379a0adfb879eaf483cd98"
 
 
 
 
 
 
 
97
  }
 
93
  "retained_limit_observed_in_all_samples": true
94
  },
95
  "model_repository": "ukisai/Swift-1.5-5bit-MLX",
96
+ "tested_revision": "5359607ded7c88e3c7379a0adfb879eaf483cd98",
97
+ "memory_limit_scope": {
98
+ "manual_overrides": false,
99
+ "macos_settings_changed": false,
100
+ "server_startup_wired_limit_helper": "suppressed by the HTTP harness",
101
+ "batch_generator_wired_limit": "unchanged stock MLX-LM behavior: uses Apple's recommended working-set size",
102
+ "legacy_boolean_meaning": "memory_limit_overrides=false records no manual override; it does not suppress stock batch-generator behavior"
103
+ }
104
  }