Commit 7cb4556
Fix Sapphire Rapids never loading in Python bindings (facebookresearch#4209)
Summary:
If both `avx512` and `avx512_spr` are compiled, Sapphire Rapids capabilities are never loaded when using the Python bindings, as the `avx512` import always overrides the `avx512_spr` one.
This very small PR solves the issue.
Pull Request resolved: facebookresearch#4209
Reviewed By: mengdilin
Differential Revision: D70015045
Pulled By: gtwang01
fbshipit-source-id: d3553a6c9048a534c0901ee29e7e2354de96e79f1 parent 20c7ca3 commit 7cb4556
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments