Michael Abbott

Results 1143 comments of Michael Abbott

> Rethinking, I can understand that it is probably interpreted by moving both sums (over k and over l) to the very outside. Yes, this is exactly right. Unlike Einstein...

If you have `c` then this will avoid the allocations: ``` mul!(c, a, transpose(b)) mul!(c, transpose(a), b, true, true) ``` So will things like `@tullio y[j,i] += a[m,j] * b[m,i]`,...

I don't know what to make of this error. The recursive code for scalar reductions is here, and perhaps something about this looks problematic? E.g. the number of recursions depends...

Reading the linked issue https://github.com/EnzymeAD/Enzyme.jl/issues/1279 I see that perhaps the suggestion is that Tullio should have Enzyme gradient rules -- as it currently does for Zygote & Tracker. That would...

Many thanks for taking a look. I'm really swamped but I believe that adding a simple reverse-mode rule would be quite simple. Tullio already writes functions for computing all the...

Pipes aren't syntax, `|> (generic function with 1 method)`, so this transformation seems in principle dangerous. I don't know if anyone has yet, but any package could add methods to...

Your first example could be written: ```julia julia> testm2 == @reduce _[_,j] := sum(i) table[i,j,1,1] true ``` In the second, are you hoping to get an array of arrays? Perhaps...

Can you say which packages? I would prefer not to touch most of these bounds. But e.g. LazyArrays could probably allow 1.0? Haven't tested but would prefer to change exactly...

Forgot about this, sorry. Just pushed https://github.com/mcabbott/TensorCast.jl/commit/2c500cc76ca713baad58408dba4ec295762fb6cf to allow Strided@2, needs https://github.com/mcabbott/TransmuteDims.jl/pull/43 Locally, LazyArrays@1 led to an error, let's see what CI thinks. ``` Test Summary: | Pass Total Time...

Thanks, that's a bug. I think this isolates it to https://github.com/mcabbott/LazyStack.jl/issues/15 ```julia julia> euclideanize(P[:,4,:]) 2×100 Matrix{Float64}: 1.93102 1.61322 0.727326 0.626134 1.35614 … 1.27111 0.463712 2.29733 2.68379 0.113882 1.52248 1.03129 0.626155...