-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IR] Create tensor adaptor for mlx #2060
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2060 +/- ##
==========================================
- Coverage 72.21% 66.79% -5.42%
==========================================
Files 215 215
Lines 28729 28746 +17
Branches 3412 3414 +2
==========================================
- Hits 20747 19202 -1545
- Misses 6861 8449 +1588
+ Partials 1121 1095 -26 ☔ View full report in Codecov by Sentry. |
@@ -39,14 +40,20 @@ | |||
|
|||
from onnxscript import ir | |||
from onnxscript.ir import _core | |||
import ml_dtypes |
Check notice
Code scanning / lintrunner
PYLINT/C0411 Note
See wrong-import-order. To disable, use # pylint: disable=wrong-import-order
@@ -39,14 +40,20 @@ | |||
|
|||
from onnxscript import ir | |||
from onnxscript.ir import _core | |||
import ml_dtypes |
Check warning
Code scanning / lintrunner
PYLINT/W0611 Warning
See unused-import. To disable, use # pylint: disable=unused-import
@@ -39,14 +40,20 @@ | |||
|
|||
from onnxscript import ir | |||
from onnxscript.ir import _core | |||
import ml_dtypes |
Check warning
Code scanning / lintrunner
RUFF/F401 Warning
See https://docs.astral.sh/ruff/rules/unused-import
@@ -39,14 +40,20 @@ | |||
|
|||
from onnxscript import ir | |||
from onnxscript.ir import _core | |||
import ml_dtypes | |||
import numpy as np |
Check notice
Code scanning / lintrunner
PYLINT/C0411 Note
See wrong-import-order. To disable, use # pylint: disable=wrong-import-order
@@ -39,14 +40,20 @@ | |||
|
|||
from onnxscript import ir | |||
from onnxscript.ir import _core | |||
import ml_dtypes | |||
import numpy as np |
Check notice
Code scanning / lintrunner
PYLINT/C0412 Note
See ungrouped-imports. To disable, use # pylint: disable=ungrouped-imports
|
||
if TYPE_CHECKING: | ||
import torch | ||
import mlx.core as mx |
Check failure
Code scanning / lintrunner
MYPY/import-not-found Error
|
||
if TYPE_CHECKING: | ||
import torch | ||
import mlx.core as mx |
Check failure
Code scanning / lintrunner
MYPY/import-not-found Error
No description provided.