Commit 2a8fa55
authored
Summary:
As titled, by adding the alg_id, we now have chance to select most appropriate algorithm for optimal perf for specific gemm shapes ~
Fixes:
- Fixed typo "activiation" → "activation" in test
- Fixed formatting: line length violations and inconsistent indentation in `mm_search` call
- Moved `__post_init__` API usage logging into `__init__` in `SemiSparseWeightConfig`, since the class is not a `dataclass` and `__post_init__` was dead code
---
> Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/)
[Session](https://www.internalfb.com/confucius?session_id=b3d5061c-31f8-11f1-9a22-a5a2fb0b80aa&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=b3d5061c-31f8-11f1-9a22-a5a2fb0b80aa&tab=Trace)
Differential Revision: D99485146
1 parent 4efd83a commit 2a8fa55
File tree
2 files changed
+15
-3
lines changed- test/sparsity
- torchao/sparsity
2 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
91 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
| |||
0 commit comments