microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 293 forks source link

consomme beaucoup de ressources #15734

Closed IrobotA closed 2 weeks ago

IrobotA commented 6 months ago

Type: Bug

quand je lance un notebook, prends beaucoup de ressources, bisect l'a désactivé et puis la demande en CPU à diminuer drastiquement

Extension version: 1.89.2024050109 VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (4 x 2295)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.70GB (10.05GB free)| |Process Argv|| |Screen Reader|no| |VM|40%|
csigs commented 6 months ago

Thank you for your feedback. We are currently reviewing it (reference 969858).

crsuzukimsft commented 6 months ago

hello @TylerLeonhardt could you please review this one? from copilot: Issue Report: bug where launching a notebook consumes a lot of resources. Disabling an unspecified feature through bisect reduced the CPU demand significantly.

vscodenpa commented 5 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

TylerLeonhardt commented 5 months ago

@IrobotA are these Jupyter Notebooks that you are opening using the Jupyter extension in VS Code? If so, we should move this over to http://github.com/microsoft/vscode-jupyter/

IrobotA commented 5 months ago

@IrobotA are these Jupyter Notebooks that you are opening using the Jupyter extension in VS Code? If so, we should move this over to http://github.com/microsoft/vscode-jupyter/

Yes

DonJayamanne commented 5 months ago

Sorry you are running into this issue.

Please do try to provide information for all of the above.

IrobotA commented 5 months ago

Is it possible to do a team visio to debug the problem faster please ?

Le lun. 3 juin 2024 à 15:51, Don Jayamanne @.***> a écrit :

Sorry you are running into this issue.

  • Please can you share more details on what you mean by resources, is this CPU or memory?
  • Does this issue repro when you run a simple cell like print("Hello World") in the notebook?
  • Does the notebook produce a large output?
  • If not, then this is likely due to the code thats executed or the outputs.

Please do try to provide information for all of the above.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-jupyter/issues/15734#issuecomment-2145260683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJC5VJYZNAUU772LW64YSX3ZFRYHXAVCNFSM6AAAAABITH5IT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVGI3DANRYGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Cordialement,

                     Daline WILLIAM
DonJayamanne commented 3 months ago

@IrobotA I'm not sure I follow your response, please can you reply to the following requests here https://github.com/microsoft/vscode-jupyter/issues/15734#issuecomment-2145260683

IrobotA commented 3 months ago

@IrobotA I'm not sure I follow your response, please can you reply to the following requests here https://github.com/microsoft/vscode-jupyter/issues/15734#issuecomment-2145260683

When I am using Jupiter notebook sometime it does directly take ressources sometimes later after and I don't know why

DonJayamanne commented 3 months ago

t does directly take ressources sometimes later after and I don't know why

What do you mean by resources, Are you referring to memory cpu? Does this issue repro when you run a simple cell like print("Hello World") in the notebook? Does the notebook produce a large output? If not, then this is likely due to the code thats executed or the outputs.

IrobotA commented 3 months ago

t does directly take ressources sometimes later after and I don't know why

What do you mean by resources, Are you referring to memory cpu? Does this issue repro when you run a simple cell like print("Hello World") in the notebook? Does the notebook produce a large output? If not, then this is likely due to the code thats executed or the outputs.

Not it does not directly, will try to mak a video recording and send it to you

vs-code-engineering[bot] commented 3 weeks ago

Hey @DonJayamanne, this issue might need further attention.

@IrobotA, you can help us out by closing this issue if the problem no longer exists, or adding more information.

DonJayamanne commented 2 weeks ago

Will re-open once we have the requested information, or please feel free to file a new issue. As its been almost 3 months, since the last request, I'm closing this for now.