|
| 1 | +easyblock = 'PythonBundle' |
| 2 | + |
| 3 | +name = 'Flax' |
| 4 | +version = '0.11.2' |
| 5 | +versionsuffix = '-CUDA-%(cudaver)s' |
| 6 | + |
| 7 | +homepage = 'https://flax.readthedocs.io' |
| 8 | +description = """Flax is a high-performance neural network library and ecosystem for JAX that is |
| 9 | +designed for flexibility: Try new forms of training by forking an example and |
| 10 | +by modifying the training loop, not by adding features to a framework.""" |
| 11 | + |
| 12 | +toolchain = {'name': 'gfbf', 'version': '2024a'} |
| 13 | + |
| 14 | +builddependencies = [ |
| 15 | + ('hatchling', '1.27.0'), |
| 16 | + ('trove-classifiers', '2026.1.14.14'), # needed for hatchling to recognize Python :: 3.15 |
| 17 | +] |
| 18 | + |
| 19 | +dependencies = [ |
| 20 | + ('CUDA', '12.6.0', '', SYSTEM), |
| 21 | + ('Python', '3.12.3'), |
| 22 | + ('SciPy-bundle', '2024.05'), |
| 23 | + ('jax', '0.6.2', versionsuffix), |
| 24 | + ('Optax', '0.2.8', versionsuffix), |
| 25 | + ('protobuf-python', '5.28.0'), |
| 26 | + ('PyYAML', '6.0.2'), |
| 27 | + ('tensorstore', '0.1.72'), |
| 28 | +] |
| 29 | + |
| 30 | +exts_list = [ |
| 31 | + ('nest_asyncio', '1.6.0', { |
| 32 | + 'checksums': ['6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe'], |
| 33 | + }), |
| 34 | + ('aiofiles', '25.1.0', { # for orbax_checkpoint |
| 35 | + 'checksums': ['a8d728f0a29de45dc521f18f07297428d56992a742f0cd2701ba86e44d23d5b2'], |
| 36 | + }), |
| 37 | + ('humanize', '4.16.0', { # for orbax_checkpoint |
| 38 | + 'preinstallopts': "sed -i '/^license = /d' pyproject.toml && ", |
| 39 | + 'checksums': ['7dc2244a2f84a4bfb1d36c37bac80cd78e35cdc5c119206d87b018e1445f3a3f'], |
| 40 | + }), |
| 41 | + ('orbax_checkpoint', '0.11.24', { |
| 42 | + 'modulename': 'orbax.checkpoint', |
| 43 | + 'checksums': ['4e7afe927d1ed6d8160bacf5ed4fef56c1370320e0ebdfda213c6351a2e3c0d0'], |
| 44 | + }), |
| 45 | + ('treescope', '0.1.10', { |
| 46 | + 'checksums': ['20f74656f34ab2d8716715013e8163a0da79bdc2554c16d5023172c50d27ea95'], |
| 47 | + }), |
| 48 | + ('flax', version, { |
| 49 | + 'checksums': ['55452529b70c704128075a17f7a54d94f1f90b0f2d9498bdc9578cae3646e460'], |
| 50 | + }), |
| 51 | +] |
| 52 | + |
| 53 | +moduleclass = 'ai' |
0 commit comments