PyKeOps: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
No edit summary
(Marked this version for translation)
Line 5: Line 5:
The [https://www.kernel-operations.io/keops/index.html KeOps] library lets you compute reductions of large arrays whose entries are given by a mathematical formula or a neural network. It combines efficient C++ routines with an automatic differentiation engine and can be used with [[Python]] (NumPy, [[PyTorch]]), [[MATLAB]] and [[R]].
The [https://www.kernel-operations.io/keops/index.html KeOps] library lets you compute reductions of large arrays whose entries are given by a mathematical formula or a neural network. It combines efficient C++ routines with an automatic differentiation engine and can be used with [[Python]] (NumPy, [[PyTorch]]), [[MATLAB]] and [[R]].


= Available versions = <!--T:2-->
= Available versions = <!--T:2-->
PyKeOps is available on our clusters as prebuilt Python packages (wheels). You can list available versions with <code>avail_wheels</code>.
PyKeOps is available on our clusters as prebuilt Python packages (wheels). You can list available versions with <code>avail_wheels</code>.
{{Command
{{Command
Line 15: Line 15:
}}
}}


= Installing PyKeOps in a [[Python#Creating_and_using_a_virtual_environment | Python virtual environment]] = <!--T:3-->
= Installing PyKeOps in a [[Python#Creating_and_using_a_virtual_environment | Python virtual environment]] = <!--T:3-->
1. Load runtime dependencies.
1. Load runtime dependencies.
{{Command|module load StdEnv/2023 python/3.11}}
{{Command|module load StdEnv/2023 python/3.11}}
Line 62: Line 62:
}}
}}


= Running KeOps = <!--T:9-->
= Running KeOps = <!--T:9-->
You can run PyKeOps on CPU or GPU.  
You can run PyKeOps on CPU or GPU.  


Line 137: Line 137:
You can do a quick test in an [[Running_jobs#Interactive_jobs|interactive job]].
You can do a quick test in an [[Running_jobs#Interactive_jobs|interactive job]].


<!--T:22-->
3. Submit your job to the scheduler.
3. Submit your job to the scheduler.
{{Command
{{Command
rsnt_translations
56,420

edits

Navigation menu