mirror of
https://github.com/ollama/ollama.git
synced 2026-10-20 18:41:17 +00:00
MLX: version bump (#18720)
* MLX: version bump * add scopes for unit tests to reduce memory usage
This commit is contained in:
parent
ec318f4d11
commit
18846f8a9b
2 changed files with 6 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
64ea011cb65f14d9ce2737e60db9a4ae91ed7441
|
||||
264c14fe650e1dd9bb0c3902dc06b08033d8f89c
|
||||
|
|
@ -34,7 +34,11 @@ func mlxTestThread(tb testing.TB) *mlxthreadtest.Thread {
|
|||
|
||||
func withMLXThread(t *testing.T, fn func(*mlxthreadtest.T)) {
|
||||
t.Helper()
|
||||
mlxthreadtest.Run(t, mlxTestThread(t), fn)
|
||||
mlxthreadtest.Run(t, mlxTestThread(t), func(t *mlxthreadtest.T) {
|
||||
Scoped(func() {
|
||||
fn(t)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
func TestThreadedMLXOperations(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue