Loading checkpoint shard
So, i want to run simple code:import os

os.environ['HF_HOME'] = 'E:/models'
import transformers
import torch
access_token = 'token'
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
pipeline = transformers.pipeline(
"text-generation", model=model_id, model_kwargs={"torch_dtype": torch.bfloat16}, token=access_token
)
print(pipeline("Hey how are you doing today?"))But every time i have this error:image718×144 4.67 KBMessage from log:[error] Disposing session as kernel process died ExitCode: 3221225477, Reason:Please help((
2025-01-18T16:45:30Z
Possibly bug of VSCode or node.jsgithub.com/microsoft/vscode-jupyterbug in VS Code using jupyternote:  ExitCode: 3221225477opened05:06PM - 01 Oct 24 UTCclosed08:45AM - 05 Oct 24 UTCDonJayamannebuginfo-needednotebook-execution### Discussed in https://github.com/microsoft/vscode-jupyter/discussions/16085…<div type='discussions-op-text'>

<sup>Originally posted by **Philipp-Ro** October  2, 2024</sup>
I am running since days into the following problem I am trying to use Jupyter notebooks in my VS Code with selection a venv as interpreter. 
The funny thing is there are old venvs which still work but a brand new project with new venv, new jupyter and ipykernel installed on are all running into the following issue. 
Help would be greatly apriciated =) 

here is the jupyter log :

```
Visual Studio Code (1.93.1, undefined, desktop)
Jupyter Extension Version: 2024.8.1.
Python Extension Version: 2024.14.1.
Pylance Extension Version: 2024.9.2.
Platform: win32 (x64).
Temp Storage folder ~\AppData\Roaming\Code\User\globalStorage\ms-toolsai.jupyter\version-2024.8.1
Workspace folder ~\codingProjects\Finance, Home = c:\Users\phili
13:33:12.271 [info] Starting Kernel (Python Path: ~\codingProjects\Finance\env_fin\Scripts\python.exe, Venv, 3.8.5) for '~\codingProjects\Finance\test.ipynb' (disableUI=true)
13:33:12.600 [info] Process Execution: ~\codingProjects\Finance\env_fin\Scripts\python.exe -m pip list
13:33:12.661 [info] Process Execution: ~\codingProjects\Finance\env_fin\Scripts\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
13:33:14.277 [info] Process Execution: c:\Anaconda3\python.exe c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 34008
    > cwd: ~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\pythonFiles\vscode_datascience_helpers
13:33:14.427 [info] Process Execution: ~\codingProjects\Finance\env_fin\Scripts\python.exe -m ipykernel_launcher --f=c:\Users\~\AppData\Roaming\jupyter\runtime\kernel-v32b97404c00f30dd3ac06b2c20d50b90b5870dd25.json
    > cwd: ~\codingProjects\Finance
13:33:15.517 [error] Disposing session as kernel process died ExitCode: 3221225477, Reason: 
13:33:15.518 [error] Failed to request kernel info [Canceled: Canceled
	at i.value (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:181:24587)
	at r.B (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:732)
	at r.fire (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:949)
	at A.cancel (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:5355)
	at T.cancel (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:5765)
	at L_.<anonymous> (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:11705)
	at r.B (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:732)
	at r.C (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:802)
	at r.fire (c:\Users\~\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:1018)
	at ChildProcess.<anonymous> (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:299:44443)
	at ChildProcess.emit (node:events:531:35)
	at ChildProcess._handle.onexit (node:internal/child_process:294:12)]
13:33:15.519 [warn] Failed to shutdown kernel, .jvsc74a57bd020429ee65a24c99876d5830e97ab2ff4af0af5f75ce9d959172a0d27192cba5b.c:\Users\~\codingProjects\Finance\env_fin\Scripts\python.exe.c:\Users\~\codingProjects\Finance\env_fin\Scripts\python.exe.-m#ipykernel_launcher [TypeError: Failed to parse URL from /api/kernels/b362c3a1-4636-44ae-bd4f-b9c8a540ea2f?1727782395519
	at new Request (node:internal/deps/undici/undici:4855:19)
	at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:2054)
	at Object.t [as makeRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:730)
	at Object.Vl [as shutdownKernel] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:5781)
	at n.shutdown (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:89571)
	at L_.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:12333)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:21270)
	at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:23577)
	at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:35993)
	at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:34001)
	at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:82604)] {
  [cause]: [TypeError: Invalid URL
  	at new URL (node:internal/url:797:36)
  	at new Request (node:internal/deps/undici/undici:4853:25)
  	at Object.t [as handleRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:2054)
  	at Object.t [as makeRequest] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:730)
  	at Object.Vl [as shutdownKernel] (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:5781)
  	at n.shutdown (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\node_modules\@jupyterlab\services\lib\kernel\nonSerializingKernel.js:11:89571)
  	at L_.start (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:12333)
  	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  	at async U_.startKernel (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:21270)
  	at async Ay.create (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:23577)
  	at async n_.createJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:35993)
  	at async n_.startJupyterSession (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:285:34001)
  	at async n.wrapKernelMethodImpl (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2024.8.1-win32-x64\dist\extension.node.js:304:82604)] {
    code: 'ERR_INVALID_URL',
    input: '/api/kernels/b362c3a1-4636-44ae-bd4f-b9c8a540ea2f?1727782395519'
  }
```</div>