Parameterized kernel specs#1431
Parameterized kernel specs#1431AnastasiaSliusar wants to merge 20 commits intojupyter-server:mainfrom
Conversation
for more information, see https://pre-commit.ci
…liusar/jupyter_server into parametrizing_kernels
for more information, see https://pre-commit.ci
…liusar/jupyter_server into parametrizing_kernels
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
jupyter_server/serverapp.py
Outdated
| if self.open_browser and not self.sock: | ||
| self.launch_browser() | ||
| if self.allow_insecure_kernelspec_params: | ||
| print("yesssssssssssssssss") |
|
One of the challenges when working with kernels and custom specs for static programming languages without inherent error recovery (think c/omp/cuda/c++) is the current communication between the server and the kernel. That is, we rely on zeromq-like systems to send the relevant messages to the kernel which is a separate process. That's flexible, however, it is very difficult to debug and reproduce issues with the kernel because gdb (and other debuggers) lack the infrastructure to allow multiple runs of the same command without restarting the server and re-initializing the debugger. On the server side we hit timeouts because of the distributed nature of the setup. Such workflow is very hard for novices and even for experts. I am wondering, if we should check if the |
References
This work is in progress as JEP jupyter/enhancement-proposals#87.
This PR should be reviewed when the JEP has been accepted
Code changes
This PR includes support of
custom_kernel_specsvariable that is used to setup custom kernel specs before running a kernel.This
custom_kernel_specsincludes kernel parameters which a user has selected from a kernel dialog on JupyterLabHow to use
Parameterized kernel specs jupyterlab/jupyterlab#16487
Parameterized kernel specs jupyter/jupyter_client#1028
Add allow_insecure_kernelspec_params to page config jupyterlab/jupyterlab_server#460