html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/2074#issuecomment-383817119,https://api.github.com/repos/pydata/xarray/issues/2074,383817119,MDEyOklzc3VlQ29tbWVudDM4MzgxNzExOQ==,306380,2018-04-24T06:22:39Z,2018-04-24T06:22:39Z,MEMBER,"When doing benchmarks with things that might call BLAS operations in
multiple threads I recommend setting the OMP_NUM_THREADS environment
variable to 1. This will avoid oversubscription.
On Mon, Apr 23, 2018 at 7:32 PM, Keisuke Fujii
wrote:
> @crusaderky , Thanks for the detailed
> benchmarking.
> Further note:
>
> - xr.dot uses tensordot if possible, as when I implemented dask did
> not have einsum.
> In the other cases, we use dask.atop with np.einsum.
>
> In your example, bench(100, False, ['t'], '...i,...i') uses dask.tensordot
> ,
> bench(100, True, ['t'], '...i,...i') uses np.einsum.
>
> bench(100, True, [], ...i,...i->...i) also uses np.einsum.
> But I have no idea yet why dot(a, b, dims=[]) is faster than a * b.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> , or mute
> the thread
>
> .
>
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,316618290
https://github.com/pydata/xarray/issues/2074#issuecomment-383651390,https://api.github.com/repos/pydata/xarray/issues/2074,383651390,MDEyOklzc3VlQ29tbWVudDM4MzY1MTM5MA==,306380,2018-04-23T17:12:04Z,2018-04-23T17:12:04Z,MEMBER,See also https://github.com/dask/dask/issues/2225,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,316618290