-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d3e75b
commit 16e8855
Showing
6 changed files
with
542 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'DECAF-synthetic-data' | ||
version = '0.1.6' | ||
|
||
homepage = 'https://github.com/vanderschaarlab/DECAF' | ||
description = """DEbiasing CAusal Fairness - | ||
Generating Fair Synthetic Data Using Causally-Aware Generative Networks""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('Python-bundle-PyPI', '2023.06'), | ||
('SciPy-bundle', '2023.07'), | ||
('PyTorch-Lightning', '2.2.1'), | ||
('PyTorch-bundle', '2.1.2'), | ||
('XGBoost', '2.0.2'), | ||
('scikit-learn', '1.3.1'), | ||
('networkx', '3.1'), | ||
] | ||
|
||
use_pip = True | ||
sanity_pip_check = True | ||
|
||
# unpin dependencies versions | ||
local_preinstallopts = ( | ||
"sed -i" | ||
" -e 's/networkx>=2.0,<3.0/networkx/'" | ||
" -e 's/pytorch-lightning<2.0/pytorch-lightning/'" | ||
" %(builddir)s/%(name)s/DECAF-%(version)s/requirements.txt && " | ||
) | ||
|
||
exts_list = [ | ||
('loguru', '0.7.2', { | ||
'checksums': ['e671a53522515f34fd406340ee968cb9ecafbc4b36c679da03c18fd8d0bd51ac'], | ||
}), | ||
(name, version, { | ||
'modulename': 'decaf', | ||
'preinstallopts': local_preinstallopts, | ||
'source_urls': ['https://github.com/vanderschaarlab/DECAF/archive/'], | ||
'sources': ['v%(version)s.tar.gz'], | ||
'checksums': ['8f34e99937d2ccc43bff97b310c371c450e27313c0801cdd36aa91664c8e3180'], | ||
}), | ||
] | ||
|
||
sanity_check_commands = ["python -c 'from decaf import DECAF, DataModule'"] | ||
|
||
moduleclass = 'bio' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'DECAF-synthetic-data' | ||
version = '0.1.1' | ||
local_commit = "db6333a" | ||
|
||
homepage = 'https://github.com/trentkyono/DECAF' | ||
description = """DEbiasing CAusal Fairness.""" | ||
|
||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('Python-bundle-PyPI', '2023.06'), | ||
('SciPy-bundle', '2023.07'), | ||
('PyTorch-Lightning', '2.2.1'), | ||
('PyTorch-bundle', '2.1.2'), | ||
('XGBoost', '2.0.2'), | ||
('scikit-learn', '1.3.1'), | ||
('networkx', '3.1'), | ||
] | ||
|
||
use_pip = True | ||
sanity_pip_check = True | ||
|
||
# unpin dependencies versions | ||
local_preinstallopts = ( | ||
"sed -i" | ||
" -e 's/networkx == 2.\*/networkx/'" | ||
" -e 's/numpy == 1.19.\*/numpy/'" | ||
" -e 's/pytorch-lightning == 1.4.\*/pytorch-lightning/'" | ||
" -e 's/torch == 1.9.\*/torch/'" | ||
" -e 's/torchtext == 0.10.\*/torchtext/'" | ||
" %(builddir)s/decaf_synthetic_data/DECAF-db6333aced375ef14961e06e805bf7412f378f29/requirements.txt && " | ||
) | ||
|
||
exts_list = [ | ||
('loguru', '0.7.2', { | ||
'checksums': ['e671a53522515f34fd406340ee968cb9ecafbc4b36c679da03c18fd8d0bd51ac'], | ||
}), | ||
('decaf_synthetic_data', version, { | ||
'modulename': 'decaf', | ||
'preinstallopts': local_preinstallopts, | ||
'source_urls': ['https://github.com/trentkyono/DECAF/archive/'], | ||
'sources': [{'download_filename': 'db6333a.tar.gz', 'filename': '%(name)s-%(version)s-db6333a.tar.gz'}], | ||
'checksums': ['9df50a5b4ee96a6dcf53e2d845702ad48ebdbb0a31bb0cb2968b2217a1c8886e'], | ||
}), | ||
] | ||
|
||
sanity_check_commands = ["python -c 'from decaf import DECAF, DataModule'"] | ||
|
||
moduleclass = 'bio' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
easyblock = 'PythonBundle' | ||
|
||
name = 'fastai' | ||
version = '2.7.15' | ||
|
||
homepage = 'https://www.fast.ai/' | ||
description = """The fastai deep learning library.""" | ||
|
||
toolchain = {'name': 'foss', 'version': '2023a'} | ||
|
||
use_pip = True | ||
|
||
dependencies = [ | ||
('Python', '3.11.3'), | ||
('PyTorch-bundle', '2.1.2'), | ||
('matplotlib', '3.7.2'), | ||
('SciPy-bundle', '2023.07'), | ||
('PyYAML', '6.0'), | ||
('Pillow', '10.0.0'), | ||
('scikit-learn', '1.3.1'), | ||
('spaCy', '3.7.4'), | ||
] | ||
|
||
exts_list = [ | ||
('fastdownload', '0.0.7', { | ||
'checksums': ['20507edb8e89406a1fbd7775e6e2a3d81a4dd633dd506b0e9cf0e1613e831d6a'], | ||
}), | ||
('fastcore', '1.5.54', { | ||
'checksums': ['3f23dfadd77428be99558fdad66bf04c79a9c626e694c7404ede816ed8372987'], | ||
}), | ||
('fastprogress', '1.0.3', { | ||
'checksums': ['7a17d2b438890f838c048eefce32c4ded47197ecc8ea042cecc33d3deb8022f5'], | ||
}), | ||
(name, version, { | ||
'checksums': ['f2cc20fd18cdf5ec738cc56d29d54de75887d48ad15f9d35cf50c38d3a856923'], | ||
}), | ||
] | ||
|
||
sanity_pip_check = True | ||
|
||
moduleclass = 'lib' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.