THUDM / CodeGeeX2

CodeGeeX2: A More Powerful Multilingual Code Generation Model
https://codegeex.cn
Apache License 2.0
7.55k stars 532 forks source link

Performance Issue, Difficult running Notebooks #219

Open naveenpartha17 opened 3 months ago

naveenpartha17 commented 3 months ago

Type: Performance Issue

Python notebooks take a long time to execute

Extension version: 2.7.1 VS Code version: Code 1.87.2 (Universal) (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z) OS version: Darwin arm64 23.2.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (8 x 24)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 5, 7| |Memory (System)|16.00GB (1.48GB free)| |Process Argv|--crash-reporter-id 07d80cc9-1129-464c-ba61-d584e217085f| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 43 246 777 code main 0 98 810 gpu-process 0 49 811 utility-network-service 0 475 812 window [1] (Running Extensions — GA) 0 66 832 ptyHost 0 0 847 /bin/zsh -il 0 0 1916 /bin/zsh 0 131 843 shared-process 0 66 2317 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork ms-vscode.pwa-node {"common.vscodemachineid":"730dbc31675d8bf6b9687d36973a4475907d2e8947856c17a26723a3e0c30fb8","common.vscodesessionid":"fe2991a1-c7e9-4c8a-a57e-96893bceb6c11711033708050"} 0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255 0 0 2360 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 164 1287 window 0 377 1908 extensionHost [1] 0 49 1921 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/naveenmsu/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 16 1976 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/naveenmsu/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_runner.py 0 328 2053 electron-nodejs (bundle.js ) 0 213 2174 electron-nodejs (B.js ) 0 66 1911 fileWatcher [1] 0 147 2222 window 0 98 2355 window [2] (Issue Reporter) ```
Workspace Info ``` | Window (Running Extensions — GA) | Folder (GA): 424 files | File types: csv(78) ipynb(63) png(37) md(35) xlsx(31) DS_Store(13) | gitignore(13) pdf(10) jpg(9) py(4) | Conf files: settings.json(1); ```
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes516:30244333 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 f8hc8238:30694864 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30992801 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:30979542 d34g3935:30971562 fegfb526:30981948 bg6jg535:30979843 ccp2r3:30993541 dsvsc020:30976470 7ghi1836:30988842 ```