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

ensure that all venv use a python from cvmfs and use our wheelhouse #3

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions cgpu101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
def: true
lock: true
ui:
def: 'lab' # ['notebook', 'lab', 'terminal']

Check warning on line 24 in cgpu101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment

Check warning on line 24 in cgpu101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment
SlurmFormSpawner:
disable_form: true
start_timeout: 900

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/bin/python3

Check warning on line 29 in cgpu101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

29:121 [line-length] line too long (122 > 120 characters)

Check warning on line 29 in cgpu101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

29:121 [line-length] line too long (122 > 120 characters)
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.10
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-avx2-gentoo.conf
jupyterhub::kernel::venv::packages: ['cupy', 'jax==0.4.2', 'torchvision', 'matplotlib']

profile::freeipa::mokey::enable_user_signup: false
Expand Down
5 changes: 0 additions & 5 deletions cip201/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
jupyterhub::kernel::venv::packages: ['numpy', 'cupy']

profile::slurm::base::suspend_time: 7200
Expand Down
8 changes: 0 additions & 8 deletions ciq101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/Compiler/gcccore/python/3.11.5/bin/python3
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.11
lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-x86-64-v3-gentoo2023.conf
jupyterhub::kernel::venv::packages: ['pennylane==0.37.0']

profile::software_stack::lmod_default_modules: ['StdEnv/2023', 'python/3.11']
Expand Down
5 changes: 0 additions & 5 deletions cirq/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
jupyterhub::kernel::venv::packages: ['cirq==1.1.0']

profile::accounts::skel_archives:
Expand Down
8 changes: 8 additions & 0 deletions common/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
profile::slurm::base::slurm_version: '23.02'

profile::software_stack::lmod_default_modules: ['StdEnv/2023']
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2023/x86-64-v3/Compiler/gcccore/python/3.11.5/bin/python3

Check warning on line 24 in common/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:121 [line-length] line too long (139 > 120 characters)

Check warning on line 24 in common/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:121 [line-length] line too long (139 > 120 characters)
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.11
lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-x86-64-v3-gentoo2023.conf

prometheus::global_config:
scrape_interval: '1m'
Expand Down
8 changes: 0 additions & 8 deletions dat201/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1

jupyterhub::kernel::venv::packages: ['numpy', 'pandas', 'matplotlib', 'plotnine', 'altair']
jupyterhub::kernel::venv::python: "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/bin/python"
profile::software_stack::lmod_default_modules: ['StdEnv/2020']

profile::accounts::skel_archives:
- filename: analyse-donnees-python-main.zip
Expand Down
6 changes: 3 additions & 3 deletions dat202/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.9.6/bin/python3

Check warning on line 25 in dat202/config.yaml

View workflow job for this annotation

GitHub Actions / lint

25:121 [line-length] line too long (121 > 120 characters)

Check warning on line 25 in dat202/config.yaml

View workflow job for this annotation

GitHub Actions / lint

25:121 [line-length] line too long (121 > 120 characters)
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.9
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-avx2-gentoo.conf
jupyterhub::kernel::venv::packages: ['pyspark', 'numpy', 'pandas<2.0.0']


Expand Down
9 changes: 1 addition & 8 deletions example/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,16 @@
def: true
lock: true
ui:
def: 'lab' # ['notebook', 'lab', 'terminal']

Check warning on line 24 in example/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment

Check warning on line 24 in example/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment
SlurmFormSpawner:
disable_form: true
start_timeout: 900

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
jupyterhub::kernel::venv::packages: ['cupy', 'jax==0.4.2', 'torchvision', 'matplotlib']
jupyterhub::kernel::venv::packages: ['cupy', 'jax==0.4.30', 'torchvision', 'matplotlib']

profile::freeipa::mokey::enable_user_signup: true
profile::freeipa::mokey::require_verify_admin: false

profile::software_stack::lmod_default_modules: ['StdEnv/2020', 'gcc', 'cuda/11.4']

profile::accounts::skel_archives:
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
Expand Down
7 changes: 3 additions & 4 deletions lab101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/bin/python3
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.10
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-avx2-gentoo.conf
jupyterhub::kernel::venv::packages: ['numpy', 'matplotlib']

profile::software_stack::lmod_default_modules: ['StdEnv/2020', 'ir-kernel/4.2', 'ijulia-kernel/1.8']

profile::accounts::skel_archives:
Expand Down
8 changes: 3 additions & 5 deletions pyt101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/bin/python3

Check warning on line 25 in pyt101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

25:121 [line-length] line too long (122 > 120 characters)

Check warning on line 25 in pyt101/config.yaml

View workflow job for this annotation

GitHub Actions / lint

25:121 [line-length] line too long (122 > 120 characters)
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.10
jupyterhub::kernel::venv::pip_environment:
PYTHONPATH: "/cvmfs/soft.computecanada.ca/custom/python/site-packages"
PIP_CONFIG_FILE: "/cvmfs/soft.computecanada.ca/config/python/pip-%{facts.cpu_ext}-gentoo.conf"
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-avx2-gentoo.conf
jupyterhub::kernel::venv::packages: ['numpy<2', 'pandas', 'matplotlib']
profile::software_stack::lmod_default_modules: ['StdEnv/2020']

Expand Down
7 changes: 3 additions & 4 deletions pyt301/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@
def: true
lock: true
ui:
def: 'lab' # ['notebook', 'lab', 'terminal']

Check warning on line 24 in pyt301/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment

Check warning on line 24 in pyt301/config.yaml

View workflow job for this annotation

GitHub Actions / lint

24:24 [comments] too few spaces before comment
SlurmFormSpawner:
disable_form: true


lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::python: /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/bin/python3
jupyterhub::kernel::venv::prefix: /opt/ipython-kernel-3.10
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
PIP_CONFIG_FILE: /cvmfs/soft.computecanada.ca/config/python/pip-avx2-gentoo.conf
jupyterhub::kernel::venv::packages: ['numba==0.53.1', "numpy==1.23.5", 'pycuda', 'matplotlib']

profile::software_stack::lmod_default_modules: ['StdEnv/2020', 'gcc', 'cuda']
Expand Down
5 changes: 0 additions & 5 deletions pyt302/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
disable_form: true

lookup_options:
jupyterhub::kernel::venv::pip_environment:
merge: deep
jupyterhub::kernel::venv::pip_environment:
PIP_NO_INDEX: 1
jupyterhub::kernel::venv::packages: ['cupy']

profile::accounts::skel_archives:
Expand Down
Loading