Skip to content

Commit

Permalink
#357 2023b PR version
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Nov 13, 2024
1 parent 867ad6f commit 311d567
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 129 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exts_list = [
('torchmetrics', '1.5.1', {
'checksums': ['9701632cf811bc460abf07bd7b971b79c1ae9c8231e03d495b53a0975e43fe07'],
}),
('pytorch-lightning', version, {
('%(namelower)s', version, {
'checksums': ['925fe7b80ddf04859fa385aa493b260be4000b11a2f22447afb4a932d1f07d26'],
}),
]
Expand Down
12 changes: 0 additions & 12 deletions 357_Synthcity/2023b_v0.2.11_new/decaf-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ Generating Fair Synthetic Data Using Causally-Aware Generative Networks"""

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

# DEPS:
# ok loguru
# ok networkx>=2.0,<3.0 -> in EB v3.2.1 -> to exts
# OK numpy>=1.19
# OK pandas
# OK pytorch-lightning<2.0
# OK scikit-learn
# OK scipy
# OK torch>=1.9
# OK - created: torchtext>=0.10
# OK xgboost

local_pytorch_version = '2.1.2'
dependencies = [
('Python', '3.11.5'),
Expand Down
16 changes: 0 additions & 16 deletions 357_Synthcity/2023b_v0.2.11_new/fastai-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@ toolchain = {'name': 'foss', 'version': '2023b'}

use_pip = True

# DEPS:
# OK fastdownload>=0.0.5,<2
# OK fastcore>=1.5.29,<1.8
# OK torchvision>=0.11
# OK matplotlib
# OK pandas
# OK requests
# OK pyyaml
# OK fastprogress>=0.2.4
# OK pillow>=9.0.0
# OK scikit-learn
# OK scipy
# OK spacy<4
# OK packaging
# OK torch>=1.10,<2.6

dependencies = [
('Python', '3.11.5'),
('PyTorch', '2.1.2'),
Expand Down
56 changes: 0 additions & 56 deletions 357_Synthcity/2023b_v0.2.11_new/monai-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,6 @@ source_urls = [GITHUB_SOURCE]
sources = [{'download_filename': '%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}]
checksums = ['3ed592c7a760f5c3084021da5585cd1ba5e52a969b85a62e1f15495cb71ae26e']

# DEPS:
# setup_requires =
# torch
# OK ninja
# install_requires =
# torch>=1.9
# numpy>=1.20
# extras =
# nibabel
# ninja
# scikit-image>=0.14.2
# scipy>=1.7.1
# pillow
# tensorboard
# gdown>=4.7.3
# pytorch-ignite==0.4.11
# torchvision
# itk>=5.2
# tqdm>=4.47.0
# lmdb
# psutil
# cucim-cu12; python_version >= '3.9' and python_version <= '3.10'
# openslide-python
# tifffile
# imagecodecs
# pandas
# einops
# transformers>=4.36.0, <4.41.0; python_version <= '3.10'
# mlflow>=2.12.2
# clearml>=1.10.0rc0
# matplotlib>=3.6.3
# tensorboardX
# pyyaml
# fire
# jsonschema
# pynrrd
# pydicom
# h5py
# nni
# optuna
# onnx>=1.13.0
# onnxruntime; python_version <= '3.10'
# zarr
# lpips==0.1.4
# nvidia-ml-py
# huggingface_hub - NEW one

builddependencies = [
('Ninja', '1.11.1'),
]
Expand All @@ -79,15 +32,6 @@ download_dep_fail = True

preinstallopts = 'BUILD_MONAI=1'

# exts_list = [
# (name, version, {
# 'preinstallopts': 'BUILD_MONAI=1',
# 'source_urls': ['https://github.com/%(github_account)s/%(name)s/archive'],
# 'sources': ['%(version)s.tar.gz'],
# 'checksums': ['3ed592c7a760f5c3084021da5585cd1ba5e52a969b85a62e1f15495cb71ae26e'],
# }),
# ]

sanity_pip_check = True

sanity_check_commands = ["python -c 'import monai; monai.config.print_config()'"]
Expand Down
6 changes: 0 additions & 6 deletions 357_Synthcity/2023b_v0.2.11_new/spaCy-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,3 @@ exts_list = [
sanity_pip_check = True

moduleclass = 'data'

# language-data 1.2.0 requires marisa-trie, which is not installed.
# E1: OK
# -> use typer v 0.12.0 - there is no pdm dep
# <- failed on build
# ModuleNotFoundError: No module named 'pdm'
23 changes: 0 additions & 23 deletions 357_Synthcity/2023b_v0.2.11_new/tensorboard-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,6 @@ understanding your TensorFlow runs and graphs."""

toolchain = {'name': 'gfbf', 'version': '2023b'}

# postinstallpatches = [
# ('tensorboard-2.10_jupyterhub-support.patch', 'lib/python%(pyshortver)s/site-packages'),
# ]

# DEPS:
# ok absl-py >= 0.4
# OK grpcio >= 1.48.2
# OK markdown >= 2.6.8
# OK numpy >= 1.12.0
# OK packaging
# OK protobuf >= 3.19.6, != 4.24.0
# OK setuptools >= 41.0.0
# ok tensorboard-data-server >= 0.7.0, < 0.8.0
# ok werkzeug >= 1.0.1

builddependencies = [
('poetry', '1.6.1'),
]
Expand Down Expand Up @@ -71,12 +56,4 @@ exts_list = [
}),
]

# Relax restriction on protobuf dependency as issue was fixed
# in https://github.com/protocolbuffers/upb/pull/1514
# see also: https://github.com/easybuilders/easybuild-easyconfigs/pull/19671
# postinstallcmds = [
# 'sed -i "s/Requires-Dist: protobuf.*/Requires-Dist: protobuf >=3.19.6/g" ' +
# '%(installdir)s/lib/python%(pyshortver)s/site-packages/%(name)s-%(version)s.dist-info/METADATA',
# ]

moduleclass = 'lib'
6 changes: 3 additions & 3 deletions 357_Synthcity/2023b_v0.2.11_new/torchdata-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ easyblock = 'PythonBundle'
name = 'torchdata'
version = '0.7.1'
local_pytorch_version = '2.1.2'
# versionsuffix = '-PyTorch-' + local_pytorch_version
versionsuffix = '-PyTorch-%s' % local_pytorch_version

homepage = 'https://github.com/pytorch/data'
description = """
Expand All @@ -23,10 +23,10 @@ use_pip = True

exts_list = [
(name, version, {
'source_tmpl': 'v%(version)s.tar.gz',
'preinstallopts': "USE_SYSTEM_LIBS=1 ",
'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}],
'source_urls': ['https://github.com/pytorch/data/archive'],
'checksums': ['ef9bbdcee759b53c3c9d99e76eb0a66da33d36bfb7f859a25a9b5e737a51fa23'],
'preinstallopts': "USE_SYSTEM_LIBS=1 ",
}),
]

Expand Down
4 changes: 2 additions & 2 deletions 357_Synthcity/2023b_v0.2.11_new/torchtext-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ toolchain = {'name': 'foss', 'version': '2023b'}

# Sources are no longer available in PyPI, it only has wheels
source_urls = ['https://github.com/pytorch/text/archive/']
sources = [{'download_filename': 'v%(version)s.tar.gz', 'filename': '%(name)s-%(version)s.tar.gz'}]
sources = [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}]
patches = [
{'name': 'torchtext-0.14.1_use-system-libs.patch', 'alt_location': 'PyTorch-bundle'},
{'name': 'torchtext-0.16.2_download-to-project-root.patch', 'alt_location': 'PyTorch-bundle'},
Expand All @@ -38,7 +38,7 @@ dependencies = [
('PyTorch', local_pytorch_version),
('double-conversion', '3.3.0'),
('utf8proc', '2.9.0'),
('torchdata', '0.7.1'),
('torchdata', '0.7.1', '-PyTorch-%s' % local_pytorch_version),
]

download_dep_fail = True,
Expand Down
8 changes: 0 additions & 8 deletions 357_Synthcity/2023b_v0.2.11_new/torchvision-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,4 @@ dependencies = [
('PyTorch', '2.1.2'),
]

# runtest = (
# 'pytest'
# ' -m "not xfail"' # don't run tests that are expected that they might fail
# ' -k "not test_frame_reading_mem_vs_file"' # this one hangs
# '" and not test_antialias_default_warning"' # flaky test which is removed in later versions
# )
# testinstall = True

moduleclass = 'vis'
2 changes: 0 additions & 2 deletions 357_Synthcity/2023b_v0.2.11_new/tsai-2023b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ description = """Time series Timeseries Deep Learning Machine Learning Python Py

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

# pyts 0.13.0 requires numba, which is not installed. -> no NUMBA for 2023b
# PR: https://github.com/easybuilders/easybuild-easyconfigs/pull/21691
dependencies = [
('Python', '3.11.5'),
('fastai', '2.7.18'),
Expand Down

0 comments on commit 311d567

Please sign in to comment.