Commit 89af81b
committed
Make Blas flags check lazy
It replaces the old warning that does not actually apply by a more informative and actionable one.
This warning was for Ops that might use the alternative blas_headers, which rely on the Numpy C-API.
However, regular PyTensor user has not used this for a while. The only Op that would use C-code with this alternative headers is the GEMM Op which is not included in current rewrites. Instead Dot22 or Dot22Scalar are introduced, which refuse to generate C-code altogether if the blas flags are missing.1 parent a0fe30d commit 89af81b
2 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2947 | 2947 | | |
2948 | 2948 | | |
2949 | 2949 | | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
2950 | 2957 | | |
2951 | 2958 | | |
2952 | 2959 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
745 | 750 | | |
746 | 751 | | |
747 | 752 | | |
| |||
1003 | 1008 | | |
1004 | 1009 | | |
1005 | 1010 | | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | 1011 | | |
1011 | 1012 | | |
1012 | 1013 | | |
| |||
0 commit comments