-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eventhough interpereter is selected from Anaconda virtual environment, Jupyter notebook is stuck in detecting kernel loop #16051
Comments
@amentes1 Can you share logs from Output > Python? |
I'm struggling with the same problem. |
Python output does not produce any logs. I temporarily solved the issue by switching to prerelease version of python extention. If I compile the same code in this extention, python doesnt see the gpu but somehow i can run it in jupyter-notebook now. I'm sharing the outputs for same code from jupyter and python. import tensorflow as tf if tf.test.is_gpu_available(): jupyter output: WARNING:tensorflow:From C:\Users\Ozan\AppData\Local\Temp\ipykernel_28204\1265001584.py:3: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Python output: |
@amentes1 I'm struggling to understand the problem at this stage, looks like you're running into a few issues or have been trying a few things, hence the confusion at my end Please help me understand the following
|
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Applies To
What happened?
When I initially installed visual studio code with anaconda. I installed basic libraries for deep learning development such as tensor flow and jupyter notebook support both in anaconda virual env and visual studio code. I deleted the previous environment since it was not recognizing my gpu.I created a fresh env with tensorflow 2.10.0 and tensorflow-gpu and finally i could see my gpu recognized. However, I got stuck in Visual studio code. Eventhough I chose the conda virtual env interpreter the code is not running . When I run in my previously working jupyter notebook files, the notebook is stuck in detecting kernel loop. I use the same setup (my virtual environment exported as yaml) in my other notebook. But on this machine both vs code and jupyter extention gets stuck.
I tried cleaning cache, deleting environment and recreating, fresh install of anaconda and visual studio code.
I run the same environment and visual studio, anaconda, python versions in another computer.
VS Code Version
1.93.1
Jupyter Extension Version
2023.8.1
Jupyter logs
Coding Language and Runtime Version
python 3.9, tensorflow 2.10.0, notebook 7.2.2
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
24.5.0
Running Jupyter locally or remotely?
None
The text was updated successfully, but these errors were encountered: