Skip to content
#

tensor

Here are 320 public repositories matching this topic...

akamaus
akamaus commented Nov 19, 2020

🐛 Bug

I stumbled upon excessive CPU usage for my training code running on GPU. After some investigations I found the culprit.
It basically was

x = torch.eye(256).to('cuda') 

To Reproduce

This is quick and loads single CPU core.

%%timeit
    torch.eye(181)
6.43 µs ± 218 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

This is 3 times slowe

momohatt
momohatt commented Aug 12, 2020

Tests for following standard libraries seem to be missing. Although some libraries might be difficult to test (such as random.egi or io.egi), it'd be nice to have some tests that make sure all the functions in these libraries can be (at least) executed without dynamic errors.

  • lib/core/io.egi
  • lib/core/random.egi
  • lib/core/shell.egi
  • lib/core/sort.egi
  • Every

Improve this page

Add a description, image, and links to the tensor topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tensor topic, visit your repo's landing page and select "manage topics."

Learn more