Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{ai}[foss/2023a] Slideflow v3.0.1 w/ CUDA 12.1.1 #20857

Merged
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3ea2f47
adding easyconfigs: Slideflow-2.3.1-foss-2023a-CUDA-12.1.1.eb
lcniel Jun 19, 2024
8300bfe
checksums, style
lcniel Jun 20, 2024
6d5296c
add patches
lcniel Jun 20, 2024
9c3c4c3
Update easybuild/easyconfigs/s/Slideflow/Slideflow-2.3.1-foss-2023a-C…
lcniel Sep 16, 2024
dba8b67
Update easybuild/easyconfigs/s/Slideflow/Slideflow-2.3.1-foss-2023a-C…
lcniel Sep 16, 2024
1ba4fc9
Update Slideflow-2.3.1-foss-2023a-CUDA-12.1.1.eb
lcniel Sep 16, 2024
d8f72c0
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
lcniel Sep 30, 2024
54b6bde
updated version
lcniel Oct 2, 2024
ae76aba
Delete easybuild/easyconfigs/s/Slideflow/Slideflow-2.3.1_fix-opencv-d…
lcniel Oct 2, 2024
d0990a3
Delete easybuild/easyconfigs/s/Slideflow/Slideflow-2.3.1_fix-ninja-de…
lcniel Oct 2, 2024
a876709
Delete easybuild/easyconfigs/s/Slideflow/Slideflow-2.3.1-foss-2023a-C…
lcniel Oct 2, 2024
35ae810
Fixed patch
lcniel Oct 2, 2024
a437b40
added triangle dep
lcniel Oct 2, 2024
a470265
made tirangle checkout recursive
lcniel Oct 2, 2024
14d15ba
tried to fix triangle dep recursion
lcniel Oct 2, 2024
9636bcb
fixed checksums?
lcniel Oct 2, 2024
f37ed8c
style fisx
lcniel Oct 2, 2024
8ee0a1d
deleted old seaborn dep
lcniel Oct 2, 2024
dedda52
Update easybuild/easyconfigs/s/Slideflow/Slideflow-3.0.1-foss-2023a-C…
Micket Oct 3, 2024
68dadfc
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
lcniel Oct 3, 2024
c16930b
Update easybuild/easyconfigs/s/Slideflow/Slideflow-3.0.1-foss-2023a-C…
Micket Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
easyblock = 'PythonBundle'

name = 'Slideflow'
version = '3.0.1'
versionsuffix = '-CUDA-12.1.1'

homepage = 'https://slideflow.dev/'
description = """Slideflow is a Python package that provides a unified API for
building and testing deep learning models for histopathology, supporting both
Tensorflow/Keras and PyTorch."""

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

builddependencies = [
('CMake', '3.26.3'),
('scikit-build', '0.17.6'),
('poetry', '1.7.1'),
]

dependencies = [
('aiohttp', '3.8.5'),
('numba', '0.58.1'),
('Python', '3.11.3'),
('Python-bundle-PyPI', '2023.06'),
('pyvips', '2.2.3'),
('Pillow', '10.0.0'),
('PyTorch', '2.1.2', '-CUDA-12.1.1'),
('scikit-learn', '1.3.1'),
('scikit-image', '0.22.0'),
('torchvision', '0.16.0', '-CUDA-12.1.1'),
('tqdm', '4.66.1'),
('SWIG', '4.1.1'),
('SciPy-bundle', '2023.07'),
('PyOpenGL', '3.1.7'),
('spaCy', '3.7.4'),
('h5py', '3.9.0'),
('Ninja', '1.11.1'),
Micket marked this conversation as resolved.
Show resolved Hide resolved
('OpenCV', '4.8.1', '-CUDA-12.1.1-contrib'),
('rasterio', '1.3.9'),
('dask', '2023.9.2'),
('psutil', '5.9.8'),
('tensorboard', '2.15.1'),
('umap-learn', '0.5.5'),
('zarr', '2.17.1'),
('Arrow', '14.0.1'),
('BeautifulSoup', '4.12.2'),
('wrapt', '1.15.0'),
('GLFW', '3.4'),
('Seaborn', '0.13.2'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
('triangle', '20230923', {
'sources': [{
'filename': '%(name)s-v%(version)s.tar.gz',
'git_config': {
'url': 'https://github.com/drufat',
'repo_name': 'triangle',
'tag': 'v20230923', 'recursive': True
}
}],
'checksums': [None],
}),
(name, version, {
'patches': ['%(name)s-%(version)s_fix-opencv-dep.patch'],
'source_urls': ['https://github.com/jamesdolezal/%(namelower)s/archive/refs/tags/'],
'sources': ['%(version)s.tar.gz'],
'checksums': [
{'3.0.1.tar.gz': '7fd6ca92805943e3d9d0208471205049ba48e46a9d8b910528d12788a01d5c2b'},
{'Slideflow-3.0.1_fix-opencv-dep.patch':
'802438a42402a11de90fb09e1847336fa3664f0bca4d54512e15a1651171a8b9'},
],
}),
('crc32c', '2.4', {
'checksums': ['d985c4d9b1a1fd16c593d83f8735a8e4e156790a95338a1e0b199aac51ca1e5e'],
}),
('ConfigSpace', '0.7.1', {
'modulename': 'ConfigSpace',
'checksums': ['57b5b8e28ed6ee14ecf6206fdca43ca698ef63bc1531f081d482b26acf4edf1a'],
}),
('defusedxml', '0.7.1', {
'checksums': ['1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69'],
}),
('more-itertools', '9.1.0', {
'checksums': ['cabaa341ad0389ea83c17a94566a53ae4c9d07349861ecb14dc6d0345cf9ac5d'],
}),
('pyparsing', '3.1.0', {
'checksums': ['edb662d6fe322d6e990b1594b5feaeadf806803359e3d4d42f11e295e588f0ea'],
}),
('typing_extensions', '4.9.0', {
'checksums': ['23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783'],
}),
('fpdf2', '2.7.9', {
'modulename': 'fpdf',
'checksums': ['f364c0d816a5e364eeeda9761cf5c961bae8c946f080cf87fed7f38ab773b318'],
}),
('gdown', '5.2.0', {
'checksums': ['2145165062d85520a3cd98b356c9ed522c5e7984d408535409fd46f94defc787'],
}),
('glfw', '2.7.0', {
'checksums': ['0e209ad38fa8c5be67ca590d7b17533d95ad1eb57d0a3f07b98131db69b79000'],
}),
('imgui', '2.0.0', {
'checksums': ['2fbdb8eed3b8dbd7ea98af9e4c1c6582b0bc4da942a258de16333d8c653d67e1'],
}),
('lifelines', '0.28.0', {
'checksums': ['eecf726453fd409c94fef8a521f8e593bcd09337f920fe885131f01cfe58b25e'],
}),
('autograd', '1.6.2', {
'checksums': ['8731e08a0c4e389d8695a40072ada4512641c113b6cace8f4cfbe8eb7e9aedeb'],
}),
('autograd-gamma', '0.5.0', {
'checksums': ['f27abb7b8bb9cffc8badcbf59f3fe44a9db39e124ecacf1992b6d952934ac9c4'],
}),
('formulaic', '1.0.1', {
'checksums': ['64dd7992a7aa5bbceb1e40679d0f01fc6f0ba12b7d23d78094a88c2edc68fba1'],
}),
('interface_meta', '1.3.0', {
'checksums': ['8a4493f8bdb73fb9655dcd5115bc897e207319e36c8835f39c516a2d7e9d79a1'],
}),
('parameterized', '0.9.0', {
'checksums': ['7fc905272cefa4f364c1a3429cbbe9c0f98b793988efb5bf90aac80f08db09b1'],
}),
('pyperclip', '1.8.2', {
'checksums': ['105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57'],
}),
('cffi', '1.15.1', {
'checksums': ['d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9'],
}),
('saliency', '0.2.1', {
'checksums': ['79a3f64393a3ce89620bf46629af120c36a061019eff51b32b173378c8b18c63'],
}),
('shapely', '2.0.4', {
'checksums': ['5dc736127fac70009b8d309a0eeb74f3e08979e530cf7017f2f507ef62e6cfb8'],
}),
('smac', '1.4.0', {
'checksums': ['c58260af5ac2b2cd50b74f879202d5b5890c25d81e4c528abb51045ef4c679f9'],
}),
('emcee', '3.1.6', {
'checksums': ['11af4daf6ab8f9ca69681e3c29054665db7bbd87fd4eb8e437d2c3a1248c637d'],
}),
('joblib', '1.2.0', {
'checksums': ['e1cee4a79e4af22881164f218d4311f60074197fb707e082e803b61f6d137018'],
}),
('pynisher', '0.6.4', {
'checksums': ['111d91aad471375c0509a912415ff90053ef909100facf412511383af107c124'],
}),
('pyrfr', '0.9.0', {
'checksums': ['bc6e758317cf79579fe6b7ce5f01dd42f77c991bf707e33646e8c6a9112c186b'],
}),
('regex', '2023.6.3', {
'checksums': ['72d1a25bf36d2050ceb35b517afe13864865268dfb45910e2e17a84be6cbfeb0'],
}),
('protobuf', '3.20.3', {
'modulename': 'google.protobuf',
'checksums': ['2e3427429c9cffebf259491be0af70189607f365c2f41c7c3764af6f337105f2'],
}),
]

moduleclass = "ai"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Removes dependency on opencv-python-headless which causes conflicts.

--- 3.0.1/foss-2023a-CUDA-12.1.1/Slideflow/slideflow-3.0.1/setup.py.orig 2024-10-02 14:50:03.699316470 +0200
+++ 3.0.1/foss-2023a-CUDA-12.1.1/Slideflow/slideflow-3.0.1/setup.py 2024-10-02 14:50:31.615652542 +0200
@@ -128,7 +128,6 @@
'scikit-learn',
'matplotlib>=3.2',
'imageio',
- opencv_pkg,
'shapely',
'umap-learn',
'seaborn<0.14',
Loading