-
Notifications
You must be signed in to change notification settings - Fork 298
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
delayed execution in notebooks #15743
Comments
@arman258 - Does the delay go away if you disable the copilot extension? From what I can see in the log output, jupyter is receiving the execution request fairly quickly and takes a fairly long time to complete it. |
@amunger - Yes, it does. In fact, I'm working on the same notebook without a Copilot and, so far, haven't seen any delay. Note that once the delay starts, Pylance syntax highlighting is not working either (gray color) - the video doesn't show this behavior, but I experienced this with every notebook with Copilot enabled. I haven't figured out what causes this; sometimes, without doing much, the delay starts. Sometimes, after a few hours of heavy use. It's very inconsistent. The only solution is to reload vscode. It's been like this for at least a month or so. None of the release and pre-release versions of copilot have fixed this issue. |
Can you provide the trace logs from jupyter:
|
I will test it. But there doesn't seem to be a But setting it to verbose still shows the [debug] level in the Jupyter output. I even set
|
ah sorry, the value is being switched to |
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! |
Originally posted by @arman258 in microsoft/vscode#214040 (comment)
coming from microsoft/vscode#211154, I think copilot has something to do with this issue. Take a look at the videos below; I just started working on another .ipynb file, not even 2 cells with about 20-30 lines of codes, the slowness started. You can clearly see the copilot trying to do something and lagging the jupyter to show the output.
I also face the same issue with another AI code completion called Codeium. The behavior is the same. Disabling them seems to handle the jupyter files better, but as the file starts to get complicated, it gets slow again.
ms-toolsai.jupyter-unresponsive.cpuprofile.txt
2024-06-04.15-05-36.mp4
2024-06-04.15-09-52.mp4
The text was updated successfully, but these errors were encountered: