|
| 1 | +easyblock = 'CargoPythonBundle' |
| 2 | + |
| 3 | +name = 'Kornia' |
| 4 | +version = '0.7.1' |
| 5 | +versionsuffix = '-CUDA-12.1.1' |
| 6 | + |
| 7 | +homepage = 'https://kornia.github.io/' |
| 8 | +description = """ |
| 9 | +Kornia is a differentiable computer vision library that provides a rich set of |
| 10 | +differentiable image processing and geometric vision algorithms. Built on top |
| 11 | +of PyTorch, Kornia integrates seamlessly into existing AI workflows, allowing |
| 12 | +you to leverage powerful batch transformations, auto-differentiation and GPU |
| 13 | +acceleration. Whether you’re working on image transformations, augmentations, |
| 14 | +or AI-driven image processing, Kornia equips you with the tools you need to |
| 15 | +bring your ideas to life.""" |
| 16 | + |
| 17 | +toolchain = {'name': 'foss', 'version': '2023a'} |
| 18 | + |
| 19 | +builddependencies = [ |
| 20 | + ('maturin', '1.1.0'), |
| 21 | +] |
| 22 | +dependencies = [ |
| 23 | + ('Python', '3.11.3'), |
| 24 | + ('PyTorch', '2.1.2', versionsuffix), |
| 25 | +] |
| 26 | + |
| 27 | +_whl_tmpl = '%(name)s-%(version)s-cp311-cp311-manylinux_2_17_{}.manylinux2014_{}.whl' |
| 28 | + |
| 29 | +exts_list = [ |
| 30 | + ('kornia_rs', '0.1.9', { |
| 31 | + 'sources': [_whl_tmpl.format('%(arch)s', '%(arch)s')], |
| 32 | + 'checksums': [{ |
| 33 | + _whl_tmpl.format('x86_64', 'x86_64'): '6cdda9133297c4cff2c2c54be44d5c39bce715306d0bccb8ab1fae7c0dc7cf63', |
| 34 | + _whl_tmpl.format('aarch64', 'aarch64'): '54604bc8eb7d4d703eac19963378b4d6a72432a3f0da765edb1b0396d10def01', |
| 35 | + }], |
| 36 | + }), |
| 37 | + ('kornia', version, { |
| 38 | + 'checksums': ['65b54a50f70c1f88240b557fda3fdcc1ab866982a5d062e52213130f5a48465c'], |
| 39 | + }), |
| 40 | +] |
| 41 | + |
| 42 | +moduleclass = 'vis' |
0 commit comments