mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-27 08:18:30 +08:00
Detect cache thrashing in LRUCache (#2600)
* Detect cache thrashing in LRUCache * Do not check cache thrashing in tests
This commit is contained in:
@@ -5,6 +5,9 @@ import os
|
||||
# Use regular fp32 precision for tests
|
||||
os.environ["MLX_ENABLE_TF32"] = "0"
|
||||
|
||||
# Do not abort on cache thrashing
|
||||
os.environ["MLX_ENABLE_CACHE_THRASHING_CHECK"] = "0"
|
||||
|
||||
import platform
|
||||
import unittest
|
||||
from typing import Any, Callable, List, Tuple, Union
|
||||
|
Reference in New Issue
Block a user