Results 596 comments of Vadim Kantorov

torch.sum and torch.count_nonzero for bool types should be equivalent. is it the case? Do they allocate any intermediate tensors and upcast? In the ideal case, the should also not upcast...

I agree that that there are workaround (and thanks for bringing attention to `copyto`!), but many other regular functions already have `out=` argument, so having it supported also for often-allocating...

The new setting `Preserve newlines in Markdown` in v0.25.0 playground ![Image](https://github.com/user-attachments/assets/26142e14-0259-40f4-aff6-245837b787d1) solves the extra-newline appearing (might be nice to have it enabled by default), but the `javascript` lang-specifier still appears...

For me this was happening on the latest Chrome on Win11, flow: - I open playground - delete all default content - click on M↓ to go to markdown source...

Maybe this issue is duplicate of: - https://github.com/facebook/lexical/issues/4355 The advantage of this dup is that it has some playground screenshots :)

+ maybe a separate search/filter bar would be helpful for keybindings window