Skip to content

Commit a6df90e

Browse files
committed
Update initial_program.py
1 parent 1dd7f4e commit a6df90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mlx_metal_kernel_opt/initial_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class MockArgs:
245245
tokens_per_sec = seq_len / avg_time
246246

247247
print(f" Custom GQA: {avg_time*1000:.2f} ms, {tokens_per_sec:.1f} tokens/sec")
248-
print(f" Memory: {mx.metal.get_active_memory() / 1e9:.2f} GB")
248+
print(f" Memory: {mx.get_active_memory() / 1e9:.2f} GB")
249249

250250

251251
def test_custom_gqa_correctness():

0 commit comments

Comments
 (0)