Skip to content

Commit

Permalink
Merge pull request easybuilders#20264 from ThomasHoffmann77/202404021…
Browse files Browse the repository at this point in the history
…13802_new_pr_Optuna350

{tools}[foss/2023a] Optuna v3.5.0
  • Loading branch information
Micket authored Apr 3, 2024
2 parents 37688e1 + 957a4a5 commit 9a653b4
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 0 deletions.
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/g/Greenlet/Greenlet-3.0.2-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'PythonPackage'

name = 'Greenlet'
version = '3.0.2'

homepage = 'https://github.com/python-greenlet/greenlet'

description = """The greenlet package is a spin-off of Stackless, a version of CPython that
supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single
or a few OS-level threads) and are synchronized with data exchanges on "channels".
A "greenlet", on the other hand, is a still more primitive notion of micro-thread with no implicit
scheduling; coroutines, in other words. This is useful when you want to control exactly when your code runs.
"""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
builddependencies = [('binutils', '2.40')]
dependencies = [('Python', '3.11.3')]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['1c1129bc47266d83444c85a8e990ae22688cf05fb20d7951fd2866007c2ba9bc']

moduleclass = 'devel'
57 changes: 57 additions & 0 deletions easybuild/easyconfigs/o/Optuna/Optuna-3.5.0-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
easyblock = 'PythonBundle'

name = 'Optuna'
version = '3.5.0'

homepage = "https://optuna.org/"
description = """Optuna is an automatic hyperparameter optimization software framework,
particularly designed for machine learning. It features an imperative,
define-by-run style user API. Thanks to our define-by-run API, the code written
with Optuna enjoys high modularity, and the user of Optuna can dynamically
construct the search spaces for the hyperparameters."""


toolchain = {'name': 'foss', 'version': '2023a'}

dependencies = [
('Python', '3.11.3'),
('PyYAML', '6.0'),
('SciPy-bundle', '2023.07'),
('tqdm', '4.66.1'),
('matplotlib', '3.7.2'), # optional
('plotly.py', '5.16.0'), # optional
('redis-py', '5.0.1'), # optional
('scikit-learn', '1.3.1'), # optional
('Mako', '1.2.4'),
('Greenlet', '3.0.2'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('alembic', '1.13.0', {
'checksums': ['ab4b3b94d2e1e5f81e34be8a9b7b7575fc9dd5398fccb0bef351ec9b14872623'],
}),
('cmaes', '0.10.0', {
'checksums': ['48afc70df027114739872b50489ae6b32461c307b92d084a63c7090a9742faf9'],
}),
('colorlog', '6.8.0', {
'checksums': ['fbb6fdf9d5685f2517f388fb29bb27d54e8654dd31f58bc2a3b217e967a95ca6'],
}),
('SQLAlchemy', '2.0.23', {
'checksums': ['c1bda93cbbe4aa2aa0aa8655c5aeda505cd219ff3e8da91d1d329e143e4aff69'],
}),
('optuna', version, {
'use_pip_extras': 'optional',
'checksums': ['ca9e1ce16aa6c6a5af0e1cc1d0cbcd98eb1c75b6a2f06be6bd9c0c5ab0698724'],
}),
]

sanity_check_paths = {
'files': ['bin/optuna'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
sanity_check_commands = [('optuna', '--help')]

moduleclass = 'tools'
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/r/Redis/Redis-7.2.3-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'ConfigureMake'

name = 'Redis'
version = '7.2.3'

homepage = 'https://redis.io'
description = """Redis is an open source (BSD licensed), in-memory data structure store, used as
a database, cache, and message broker. Redis provides data structures such as
strings, hashes, lists, sets, sorted sets with range queries, bitmaps,
hyperloglogs, geospatial indexes, and streams. Redis has built-in replication,
Lua scripting, LRU eviction, transactions, and different levels of on-disk
persistence, and provides high availability via Redis Sentinel and automatic
partitioning with Redis Cluster."""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = ['https://download.redis.io/releases']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['3e2b196d6eb4ddb9e743088bfc2915ccbb42d40f5a8a3edd8cb69c716ec34be7']

builddependencies = [
('pkgconf', '1.9.5'),
('binutils', '2.40'),
]

skipsteps = ['configure']

# tests must be run from a local filesystem
# runtest = 'test'

installopts = 'PREFIX="%(installdir)s"'

sanity_check_paths = {
'files': ['bin/redis-cli', 'bin/redis-server'],
'dirs': [],
}

sanity_check_commands = [('redis-server', '--version')]

moduleclass = 'data'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/r/redis-py/redis-py-5.0.1-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'PythonBundle'

name = 'redis-py'
version = '5.0.1'

homepage = 'https://github.com/redis/redis-py'
description = "The Python interface to the Redis key-value store."

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

builddependencies = [('binutils', '2.40')]
dependencies = [
('Python', '3.11.3'),
('typing-extensions', '4.9.0'),
('Redis', '7.2.3'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('async-timeout', '4.0.3', {
'checksums': ['4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f'],
}),
(name, version, {
'modulename': 'redis',
'source_urls': ['https://github.com/redis/redis-py/archive/refs/tags/'],
'sources': ['v%(version)s.tar.gz'],
'checksums': ['0a40afc824a5a3b465db4ba868a056a83779482f22d7d003c48fca230d9fe93a'],
}),
]

moduleclass = "data"

0 comments on commit 9a653b4

Please sign in to comment.