use fp32 for testing, add more complex ops (#2322)

This commit is contained in:
Awni Hannun
2025-07-01 07:30:00 -07:00
committed by GitHub
parent 3d5e17e507
commit dd4f53db63
6 changed files with 68 additions and 40 deletions

View File

@@ -1,6 +1,10 @@
# Copyright © 2023 Apple Inc.
import os
# Use regular fp32 precision for tests
os.environ["MLX_ENABLE_TF32"] = "0"
import platform
import unittest
from typing import Any, Callable, List, Tuple, Union