Skip to main content

Efficient gpu algorithms for 3D computer vision

Project description

Kerops

Fast algorithms for GPU

Install

pip is not available right now

pip install kerops

How fast is it?

Time comparison (ms) for NVidia RTX 3090. Input is an array of size (1, channels, 350, 350, 128); float16; channels_last_3d. Compared to usual 3d convolution from torch (kernel_size=3, padding=1, stride=1, bias=False, in_channels=channels, out_channels=channels). Slowdown compared to copying is shown in parentheses.

channels torch.clone kerops.ops.DWConv torch.nn.Conv3d(C->C)
8 0.61 0.79 (x1.30) 2.45 (x4.00)
16 1.21 1.41 (x1.17) 4.48 (x3.70)
32 2.40 2.99 (x1.25) 15.3 (x6.38)
64 4.78 6.29 (x1.32) 52.0 (x10.89)
128 9.55 12.8 (x1.34) 195.0 (x20.44)
channels torch.clone kerops.ops.DWConvWGRAD torch.nn.Conv3d(C->C)
8 0.61 2.55 (x4.18) 7.14 (x11.70)
16 1.21 3.01 (x2.49) 12.1 (x10.00)
32 2.40 4.80 (x2.00) 24.6 (x10.25)
64 4.78 8.72 (x1.82) 71.3 (x14.91)
128 9.55 17.9 (x1.87) 245.0 (x25.65)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kerops-0.0.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kerops-0.0.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file kerops-0.0.4.tar.gz.

File metadata

  • Download URL: kerops-0.0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kerops-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2d1300e918bbf1d6447a378131abbbafa2cf4544eccf64a68fd2115a78146496
MD5 c060165e7fe5a20af3899484e0402146
BLAKE2b-256 4928d2ed13822809ddb4f22864a06cb430ee3691e460faf260eab7e675f5c0e7

See more details on using hashes here.

File details

Details for the file kerops-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: kerops-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kerops-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3336c089659d15045a4f17d278b8cd68d906ea24ffceb77797fd1144a92fd234
MD5 42957f9c003b498d7beff848012af264
BLAKE2b-256 c5dcca1787078cc9a8b2823726034fd14f1517bc0da6a4ed10e3eb8c592b4afc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page