zzd1992/GBDTMO

Kernel Python is dead

Closed this issue · 0 comments

After running the model on a dataset with a size (78823, 100), the kernel freeze.

The log is as follows;

Jupyter Extension Version: 2021.11.1001550889.
Python Extension Verison: 2021.12.1559732655.
Info 14:26:05: Experimentation service retrieved: [object Object]
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'jupyterEnhancedDataViewer'
Info 14:26:05: ZMQ install verified.
Info 14:26:05: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
Info 14:26:05: Process Execution: > /bin/python3 -m pip list
> /bin/python3 -m pip list
Info 14:29:41: Creating controller for interactive with interpreter /bin/python3
Info 14:29:41: Starting interactive window with controller ID ms-toolsai.jupyter/.jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher (Interactive)
Info 14:29:41: Setting setActiveController for vscode-interactive:Interactive-1.interactive
Info 14:29:42: Registering dummy command feature
Info 14:29:42: Starting Notebook in kernel.ts id = .jvsc74a57bd0916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1./bin/python3./bin/python3.-m#ipykernel_launcher
Info 14:29:42: Creating raw notebook for vscode-interactive:Interactive-1.interactive
Info 14:29:42: Getting preferred kernel for vscode-interactive:Interactive-1.interactive
Info 14:29:42: Computing working directory vscode-interactive:Interactive-1.interactive
Info 14:29:42: Starting raw kernel Python 3.8.10 64-bit
Info 14:29:42: installMissingDependencies /bin/python3
Info 14:29:42: IPykernel found previously in this enviornment /bin/python3
Info 14:29:42: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
Info 14:29:42: Launching kernel daemon for Python 3.8.10 64-bit # /bin/python3
Info 14:29:42: No custom variables for Kernel as interpreter is not conda, but is Global
Info 14:29:42: Creating daemon process for /bin/python3 with env variables count 0
Info 14:29:42: Process Execution: > /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> /bin/python3 -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 14:29:43: Starting kernel from scratch
Warn 14:29:53: StdErr from Kernel Process /home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.

Warn 14:29:53: StdErr from Kernel Process   warn(

Warn 14:29:53: StdErr from Kernel Process /home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.

Warn 14:29:53: StdErr from Kernel Process   warn(

Warn 14:29:53: Didn't get response for requestKernelInfo after 21ms.
Info 14:29:53: Raw session started and connected
Started kernel Python 3.8.10 64-bit
Info 14:29:53: Finished connecting d6ce208b-ea4c-448e-b186-ee23b150ce58
Info 14:29:53: UpdateWorkingDirectoryAndPath in Kernel
Info 14:29:53: changeDirectoryIfPossible
Info 14:29:53: Executing (status unknown) silently Code = import os\nimport sys\n%cd "/home/oem/Programming/exp/bash_gbdtmo"\nif os.getcwd() not in sys.path:
Info 14:29:53: Executing silently Code (completed) = import os\nimport sys\n%cd "/home/oem/Programming/exp/bash_gbdtmo"\nif os.getcwd() not in sys.path:
Info 14:29:53: Executing (status idle) silently Code = %config Completer.use_jedi = False
Info 14:29:53: Executing silently Code (completed) = %config Completer.use_jedi = False
Info 14:29:53: Executing (status idle) silently Code = %config InlineBackend.figure_formats = ['png']
Info 14:29:53: Executing silently Code (completed) = %config InlineBackend.figure_formats = ['png']
Info 14:29:53: Executing (status idle) silently Code = import sys\nprint(sys.executable)
Info 14:29:53: Executing silently Code (completed) = import sys\nprint(sys.executable)
Info 14:29:53: Waiting for idle on (kernel): e95884b7-d6b4-4918-b3e2-7adcc710c1f9 -> idle
Info 14:29:53: Finished waiting for idle on (kernel): e95884b7-d6b4-4918-b3e2-7adcc710c1f9 -> idle
Info 14:29:53: IPyWidgetScriptSource.initialize
Info 14:29:53: Executing (status idle) silently Code = __file__ = '/home/oem/Programming/exp/bash_gbdtmo/Sensit2.py'
Info 14:29:54: Executing silently Code (completed) = __file__ = '/home/oem/Programming/exp/bash_gbdtmo/Sensit2.py'
Info 14:29:54: Adding hash for 1 = b0febfa6541c with 65 lines
Info 14:30:04: Cancel all remaining cells true || Error
Info 14:30:04: Cancel pending cells
Info 14:30:04: Cell 1 executed with state Error
Info 14:30:04: Finished execution for 9f39f705-05b1-450c-9e9c-b16fa775a32b
Info 14:30:10: Executing (status idle) silently Code = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 14:30:10: Executing silently Code (completed) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
Info 14:30:10: Executing (status idle) silently Code = _rwho_ls = %who_ls\nprint(_VSCODE_getVariableTypes(_rwho_ls))
Info 14:30:10: Executing silently Code (completed) = _rwho_ls = %who_ls\nprint(_VSCODE_getVariableTypes(_rwho_ls))
Info 14:30:16: Adding hash for 2 = a01dd017e41a with 65 lines
Error 14:30:45: Kernel died [o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details. 
Error: warn(....
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:1023351
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:695951
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:696169
	at Immediate._onImmediate (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:697734)
	at processImmediate (internal/timers.js:461:21)] {
  category: 'kerneldied',
  errorMessage: 'warn(. \n',
  stdErr: `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\n` +
    '  warn(\n' +
    `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.\n` +
    '  warn(\n',
  exitCode: -6,
  reason: `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\n` +
    '  warn(\n' +
    `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.\n` +
    '  warn(\n'
} /home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.
  warn(

Error 14:30:45: KernelProcess Exit Exit - -6, /home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.
  warn(
 [o [Error]: The kernel died. View Jupyter [log](command:jupyter.viewOutput) for further details. 
Error: warn(....
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:1023351
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:695951
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:696169
	at Immediate._onImmediate (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:697734)
	at processImmediate (internal/timers.js:461:21)] {
  category: 'kerneldied',
  errorMessage: 'warn(. \n',
  stdErr: `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\n` +
    '  warn(\n' +
    `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.\n` +
    '  warn(\n',
  exitCode: -6,
  reason: `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.\n` +
    '  warn(\n' +
    `/home/oem/.local/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '0e1f0b94-77cf-4127-98a7-98b0a70536a4' instead of 'b"0e1f0b94-77cf-4127-98a7-98b0a70536a4"'.\n` +
    '  warn(\n'
}
Error 14:30:45: Disposing session as kernel process died ExitCode: -6, Reason: undefined
Info 14:30:45: Dispose Kernel process
Info 14:30:45: kill daemon
Error 14:30:45: Raw kernel process exited code: -6
Error 14:30:45: Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:426364)
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:328821
	at Map.forEach (<anonymous>)
	at y._clearKernelState (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:328807)
	at y.dispose (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:66:322239)
	at /home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:188455
	at t.swallowExceptions (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:1:139012)
	at dispose (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:51:188434)
	at t.RawSession.dispose (/home/oem/.vscode/extensions/ms-toolsai.jupyter-2021.11.1001550889/out/client/extension.js:104:352774)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)]
Info 14:30:45: Cancel all remaining cells due to dead kernel
Info 14:30:45: Cancel pending cells
Info 14:30:45: Cell 1 executed with state Success
Info 14:30:45: Finished execution for 2868f862-2057-43f2-91d6-4bc2e3a7d5d3
Info 14:31:07: Cell 2 executed with state Error due to kernel state.
Info 14:31:07: Finished execution for dfa1ee77-9436-4d44-90dc-6da6a3e00699