-
Notifications
You must be signed in to change notification settings - Fork 9
Support torch int4 #100
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
base: main
Are you sure you want to change the base?
Support torch int4 #100
Conversation
Signed-off-by: Justin Chu <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #100 +/- ##
==========================================
- Coverage 74.52% 74.50% -0.03%
==========================================
Files 38 38
Lines 4687 4687
Branches 957 957
==========================================
- Hits 3493 3492 -1
Misses 841 841
- Partials 353 354 +1 ☔ View full report in Codecov by Sentry. |
@@ -72,6 +72,8 @@ | |||
torch.int32: ir.DataType.INT32, | |||
torch.int64: ir.DataType.INT64, | |||
torch.int8: ir.DataType.INT8, | |||
torch.int4: ir.DataType.INT4, |
Check failure
Code scanning / lintrunner
MYPY/attr-defined Error
@@ -72,6 +72,8 @@ | |||
torch.int32: ir.DataType.INT32, | |||
torch.int64: ir.DataType.INT64, | |||
torch.int8: ir.DataType.INT8, | |||
torch.int4: ir.DataType.INT4, | |||
torch.uint4: ir.DataType.UINT4, |
Check failure
Code scanning / lintrunner
MYPY/attr-defined Error
@@ -108,6 +110,8 @@ | |||
ir.DataType.INT32: torch.int32, | |||
ir.DataType.INT64: torch.int64, | |||
ir.DataType.INT8: torch.int8, | |||
ir.DataType.INT4: torch.int4, |
Check failure
Code scanning / lintrunner
MYPY/attr-defined Error
@@ -108,6 +110,8 @@ | |||
ir.DataType.INT32: torch.int32, | |||
ir.DataType.INT64: torch.int64, | |||
ir.DataType.INT8: torch.int8, | |||
ir.DataType.INT4: torch.int4, | |||
ir.DataType.UINT4: torch.uint4, |
Check failure
Code scanning / lintrunner
MYPY/attr-defined Error
No description provided.