Page history
30 September 2024
no edit summary
+1
no edit summary
−1
no edit summary
+8
no edit summary
−40
no edit summary
−60
no edit summary
+52
no edit summary
−2
Created page with "2. Pour savoir si votre script contient des erreurs, testez-le avec une tâche ointeractoive."
−111
no edit summary
−8
Updating to match new version of source page
+40
Created page with "3. Soumettez la tâche à l'ordonnanceur. {{Command |sbatch submit-keops.sh }}"
−51
no edit summary
−40
Created page with "= Installation dans un environnement virtuel Python = 1. Chargez les dépendances. {{Command|module load StdEnv/2023 python/3.11}}"
−52
no edit summary
−41
Created page with "__FORCETOC__ La bibliothèque [https://www.kernel-operations.io/keops/index.html KeOps] permet de calculer des réductions de tableaux de grande taille dont les entrées sont des formules mathématiques ou des réseaux de neurones. Elle combine des routines C++ efficaces avec un moteur de différentiation automatique et peut être utilisée avec Python (NumPy, PyTorch), MATLAB et R."
+32
Updating to match new version of source page
+209
Created page with "= Versions disponibles = Les versions disponibles sur nos grappes sopnt des wheels Python. Voyez la liste en lançant <code>avail_wheels</code>. {{Command |avail_wheels pykeops |result= name version python arch ------- --------- -------- ------- pykeops 2.2.3 py3 generic }}"
−72
Created page with "# test that nvrtc binding are also found python -c 'import pykeops; pykeops.test_numpy_bindings()' }} </tab> </tabs>"
−56
Created page with "# Load modules dependencies. The custom-ctypes is critical here. module load StdEnv/2023 python/3.11 cuda/12 custom-ctypes"
−168
Created page with "# Load modules dependencies. module load StdEnv/2023 python/3.11"
−224
Created page with "1. Préparez votre script d'exécution. <tabs> <tab name="CPU"> {{File |name=submit-pykeops-cpu.sh |lang="bash" |contents= #!/bin/bash"
−53
Created page with "= Exécution = Vous pouvez exécuter PyKeOps sur un CPU ou un GPU."
−41
Created page with "6. Supprimez l'environnemnent virtuel local. {{Command |prompt=(pykeops_env) [name@server ~] |deactivate && rm -r ~/pykeops_env }}"
−52
Created page with "5. Gelez l'environnement et l'ensemble des exigences. {{Command |prompt=(pykeops_env) [name@server ~] |pip freeze --local > ~/pykeops-2.2.3-requirements.txt }}"
−50
Created page with "4. Validez. {{Commands |prompt=(pykeops_env) [name@server ~] |python -c 'import pykeops; pykeops.test_numpy_bindings()' }}"
−60
Created page with "3. Installez une version de PyKeOps avec ses dépendances Python. {{Commands |prompt=(pykeops_env) [name@server ~] |pip install --no-index --upgrade pip |pip install --no-index pykeops{{=}}{{=}}X.Y.Z }} where <code>X.Y.Z</code> is the exact desired version, for instance <code>2.2.3</code>. You can omit to specify the version in order to install the latest one available from the wheelhouse."
−59
Created page with "2. Créez et activez un environnement virtuel Python. {{Commands |virtualenv --no-download ~/pykeops_env |source ~/pykeops_env/bin/activate }}"
−55
Created page with "#SBATCH --account=def-someprof # adjust this to match the accounting group you are using to submit jobs #SBATCH --time=08:00:00 # adjust this to match the walltime of your job #SBATCH --cpus-per-task=4 # adjust this to match the number of cores to use #SBATCH --mem-per-cpu=4G # adjust this according to the memory you need per cpu #SBATCH --gpus=1"
−56
Created page with "PyKeOps"
+5,030