Cannot specify number of threads for kernel?
See original GitHub issueEnvironment data
- VS Code version: 1.59.0-insider (Universal)
- Jupyter Extension version (available under the Extensions sidebar): v2021.8.1055544705
- Python Extension version (available under the Extensions sidebar): v2021.7.1060902895
- OS (Windows | Mac | Linux distro) and version: MAC OS X BigSur
- Python and/or Anaconda version: Python 3.8.8 (default, Apr 13 2021, 12:59:45)
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Jupyter server running: Local
Expected behaviour
Julia kernel 1.6.2 (8 threads) starts
Actual behaviour
Kernel does not start
Steps to reproduce:
Create a 8 threads julia kernel with
using IJulia
installkernel("Julia_8_threads", env=Dict("JULIA_NUM_THREADS"=>"8"))
Jupyter: Create new blank notebook (from VSCODE) -> set kernel to Julia_8_threads.
The kernel does not start: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details.
- XXX
Logs
/Applications/Julia-1.6.app/Contents/Resources/julia/bin/julia -i --color=yes ~/.julia/packages/IJulia/e8kqU/src/kernel.jl /var/folders/3r/g2x6wc792nx9j1zvy02vj_tw0000gn/T/tmp-80853YO9nRm0bExu3.json cwd: / Error 2021-07-26 09:23:47: Disposing kernel process due to an error [Error: timeout at Timeout.<anonymous> (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:781106) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)] Error 2021-07-26 09:23:47: Timed out waiting to get a heartbeat from kernel process. Error 2021-07-26 09:23:47: Raw session failed to start in given timeout Error 2021-07-26 09:23:47: failed to create INotebook in kernel, UI Disabled = false [_ [Error]: at new o (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:16:34883) at new _ (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:559661) at w.connect (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:561521) at async E.createNotebookInstance (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:90:447450)
Error: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’, originalException: [i [Error]: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’ } } Error 2021-07-26 09:23:47: DataScience Error [i [Error]: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’ } Error 2021-07-26 09:23:47: failed to start INotebook in kernel, UI Disabled = false [_ [Error]: at new o (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:16:34883) at new _ (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:559661) at w.connect (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:561521) at async E.createNotebookInstance (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:90:447450)
Error: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’, originalException: [i [Error]: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’ } } Error 2021-07-26 09:23:47: Failed to execute cells in CellExecutionQueue [_ [Error]: at new o (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:16:34883) at new _ (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:559661) at w.connect (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:37:561521) at async E.createNotebookInstance (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:90:447450)
Error: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’, originalException: [i [Error]: Timed out waiting to get a heartbeat from kernel process. View Jupyter log for further details. at b.launch (/Users/pagnani/.vscode-insiders/extensions/ms-toolsai.jupyter-2021.8.1055544705/out/client/extension.js:52:775919)] { category: ‘timeout’ } }
Output for Jupyter
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Jupyter
)
XXX
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
Did not try in a while … I’ll report here as soon as i get my hands on my computer
On Mon, Aug 15, 2022, 03:13 Don Jayamanne @.***> wrote:
Lets close this for now, do feel free to create a new issue if this problem persists.