Skip to content

Commit

Permalink
Merge branch 'common' into juno
Browse files Browse the repository at this point in the history
  • Loading branch information
mboisson committed Dec 11, 2024
2 parents 1e0033e + d92a9e4 commit 88f5ee9
Show file tree
Hide file tree
Showing 18 changed files with 75 additions and 21 deletions.
4 changes: 2 additions & 2 deletions cgpu101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ profile::software_stack::lmod_default_modules: ['StdEnv/2023', 'gcc', 'cuda/12.2

profile::accounts::skel_archives:
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
- filename: master.zip
source: https://github.com/calculquebec/formation_cpu-gpu/archive/refs/heads/master.zip
- filename: cifar-10-python.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion cip201/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
cpu = 1
cpupool = 8
gpu = 2
gpupool = 1
gpupool = 10
}
mig = {
gpu = { "2g.10gb" = 3 }
Expand Down
4 changes: 2 additions & 2 deletions ciq101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ profile::accounts::skel_archives:
- filename: ciq101-main.zip
source: https://github.com/calculquebec/ciq101/archive/refs/heads/main.zip
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
1 change: 1 addition & 0 deletions ciq102/common.tf
35 changes: 35 additions & 0 deletions ciq102/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
jupyterhub::jupyterhub_config_hash:
SbatchForm:
account:
def: 'def-sponsor00'
runtime:
min: 3.5
def: 4.0
max: 5.0
nprocs:
min: 1
def: 1
max: 1
memory:
min: 1024
max: 4098
def: 4098
oversubscribe:
def: true
lock: true
ui:
def: 'lab'
SlurmFormSpawner:
disable_form: true

jupyterhub::kernel::venv::packages: ['pennylane==0.37.0', 'numpy', 'pandas', 'matplotlib']

profile::software_stack::lmod_default_modules: ['StdEnv/2023', 'python/3.11']

profile::accounts::skel_archives:
- filename: ciq102-introduction-pennylane-main.zip
source: https://github.com/calculquebec/ciq102-introduction-pennylane/archive/refs/heads/main.zip
- filename: cache.zip
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
10 changes: 10 additions & 0 deletions ciq102/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
locals {
name = "ciq102"

custom = {
nnode_cpu = 0
nnode_cpupool = 4
nnode_gpupool = 0
image_cpu = "snapshot-cpunode-2024-R810.ciq102"
}
}
4 changes: 2 additions & 2 deletions cirq/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jupyterhub::kernel::venv::packages: ['cirq==1.1.0']

profile::accounts::skel_archives:
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
8 changes: 8 additions & 0 deletions dat101/cli/cloud.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
terraform {
cloud {
organization = "CalculQuebec"
workspaces {
name = "dat101"
}
}
}
2 changes: 1 addition & 1 deletion dat101/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ locals {

custom = {
nnodes = {
cpu = 55
cpu = 16
}

instances_type_map = {
Expand Down
4 changes: 2 additions & 2 deletions dat201/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ profile::accounts::skel_archives:
- filename: data-analysis-python-main.zip
source: https://github.com/calculquebec/data-analysis-python/archive/refs/heads/main.zip
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
- filename: next.zip
source: https://github.com/vega/vega-datasets/archive/refs/heads/next.zip
4 changes: 2 additions & 2 deletions dat202/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ profile::accounts::skel_archives:
- filename: main.zip
source: https://github.com/calculquebec/cq_formation_spark/archive/refs/heads/main.zip
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
4 changes: 2 additions & 2 deletions example/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ profile::freeipa::mokey::require_verify_admin: false

profile::accounts::skel_archives:
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
- filename: master.zip
source: https://github.com/calculquebec/formation_cpu-gpu/archive/refs/heads/master.zip
- filename: cifar-10-python.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lab101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ profile::accounts::skel_archives:
source: https://github.com/calculquebec/lab101-exercices/archive/refs/heads/main.zip

- filename: jupyter.zip
source: https://drive.google.com/uc?export=download&id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip

- filename: matplotlib.zip
source: https://drive.google.com/uc?export=download&id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH
2 changes: 1 addition & 1 deletion pyt101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ profile::software_stack::lmod_default_modules: ['StdEnv/2020']

profile::accounts::skel_archives:
- filename: jupyter.zip
source: https://drive.google.com/uc?export=download&id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip

- filename: matplotlib.zip
source: https://drive.google.com/uc?export=download&id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH
4 changes: 2 additions & 2 deletions pyt301/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ profile::accounts::skel_archives:
- filename: main.zip
source: https://github.com/calculquebec/cq-intro-python-gpu/archive/refs/heads/main.zip
- filename: cache.zip
source: https://drive.google.com/uc?id=1vwrd7xNAy9WwFQLbSbZuBPQ0YtupiNnH&export=download
source: https://github.com/calculquebec/.cache/releases/download/v1/cache-v1.zip
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
2 changes: 1 addition & 1 deletion pyt302/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jupyterhub::kernel::venv::packages: ['cupy']

profile::accounts::skel_archives:
- filename: jupyter.zip
source: https://drive.google.com/uc?id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB&export=download
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
2 changes: 1 addition & 1 deletion r101/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ profile::accounts::skel_archives:
source: https://github.com/hgingras/Formation-R/archive/refs/heads/main.zip

- filename: jupyter.zip
source: https://drive.google.com/uc?export=download&id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip
2 changes: 1 addition & 1 deletion snowflurry/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ profile::accounts::skel_archives:
source: https://github.com/calculquebec/cq-formation-intro-snowflake/archive/refs/heads/main.zip

- filename: jupyter.zip
source: https://drive.google.com/uc?export=download&id=1hFNla811miJFnfSGg7Lw3GZhb7VPDYZB
source: https://github.com/calculquebec/jupyterlab-settings/releases/download/v1/jupyter-v1.zip

0 comments on commit 88f5ee9

Please sign in to comment.