Skip to main content

Efficient gpu algorithms for 3D computer vision

Project description

Kerops

Fast algorithms for GPU

Install

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.5.tar.gz (19.4 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.5-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kerops-0.0.5.tar.gz
  • Upload date:
  • Size: 19.4 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.5.tar.gz
Algorithm Hash digest
SHA256 66a501ebd5d1e67b2a562924f13c61ddfd8c868f2b2588b4e7b139f0727b5451
MD5 22da61c610dea818c5e97c606ca03b74
BLAKE2b-256 193e89232aae647de80943267467bf66216e37cccb48befbc9fec251af255156

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kerops-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 30.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 161c94b141eeaa958ddb735bfc94764f6edc7c4abea88ab58bb7f851790d9781
MD5 86c05869d3d7479dbb605d9f563c41ee
BLAKE2b-256 3d3b0cc7140f40429a58a88ab9088b26dc38a0f24905f3ec9ca63d868efb592a

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