Skip to content
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

Pylance Performance #6947

Open
ge75xuv opened this issue Feb 14, 2025 · 0 comments
Open

Pylance Performance #6947

ge75xuv opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@ge75xuv
Copy link

ge75xuv commented Feb 14, 2025

Type: Bug

Cannot recognize the import

Extension version: 2025.2.1
VS Code version: Code 1.97.1 (e249dada235c2083c83813bd65b7f4707fb97b76, 2025-02-10T13:13:58.153Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.14.0-284.25.1.el9_2.x86_64

System Added Logs
2025-02-14 10:02:17.181 [info] [Info  - 10:02:17 AM] (43604) Server root directory: file:///home/guests/tuna_gurbuz/.vscode-server/extensions/ms-python.vscode-pylance-2025.2.1/dist
2025-02-14 10:02:17.181 [info] [Info  - 10:02:17 AM] (43604) Pylance language server 2025.2.1 (pyright version 1.1.393, commit 3763156f) starting
2025-02-14 10:02:17.188 [info] [Info  - 10:02:17 AM] (43604) Starting service instance "prototype"
2025-02-14 10:02:17.230 [info] [Info  - 10:02:17 AM] (43604) Setting environmentName for service "prototype": "3.12.8 (trainenv conda)"
2025-02-14 10:02:17.230 [info] [Info  - 10:02:17 AM] (43604) Setting pythonPath for service "prototype": "/home/guests/tuna_gurbuz/miniforge3/envs/trainenv/bin/python"
2025-02-14 10:02:17.231 [info] [Info  - 10:02:17 AM] (43604) No include entries specified; assuming /home/guests/tuna_gurbuz/prototype
2025-02-14 10:02:17.231 [info] [Info  - 10:02:17 AM] (43604) Auto-excluding **/node_modules
2025-02-14 10:02:17.232 [info] [Info  - 10:02:17 AM] (43604) Auto-excluding **/__pycache__
2025-02-14 10:02:17.232 [info] [Info  - 10:02:17 AM] (43604) Auto-excluding **/.*
2025-02-14 10:02:17.315 [info] [Info  - 10:02:17 AM] (43604) Assuming Python version 3.12.8.final.0
2025-02-14 10:02:25.553 [info] [Info  - 10:02:25 AM] (43604) Found 160 source files
2025-02-14 10:02:25.583 [info] [Info  - 10:02:25 AM] (43604) Background analysis(1) root directory: file:///home/guests/tuna_gurbuz/.vscode-server/extensions/ms-python.vscode-pylance-2025.2.1/dist
2025-02-14 10:02:25.583 [info] [Info  - 10:02:25 AM] (43604) Background analysis(1) started
2025-02-14 10:02:27.508 [info] (Client) The existing extension didn't exit within 10 seconds. New instance will start, but you might encounter issues.
2025-02-14 10:02:27.508 [info] (Client) Pylance async client (2025.2.1) started with python extension (2025.0.0)
2025-02-14 10:02:29.324 [info] [Info  - 10:02:29 AM] (43604) [FG] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/run.py (3736ms)
2025-02-14 10:02:29.424 [info] [Info  - 10:02:29 AM] (43604) [BG(1)] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/custom_model_builder.py (2951ms)
2025-02-14 10:02:29.424 [info] [Info  - 10:02:29 AM] (43604) [BG(1)] Long operation: indexing: file:///home/guests/tuna_gurbuz/prototype/custom_models/custom_model_builder.py (2955ms)
2025-02-14 10:02:29.424 [info] [Info  - 10:02:29 AM] (43604) Indexer background runner(2) root directory: file:///home/guests/tuna_gurbuz/.vscode-server/extensions/ms-python.vscode-pylance-2025.2.1/dist (index)
2025-02-14 10:02:29.424 [info] [Info  - 10:02:29 AM] (43604) Indexing(2) started
2025-02-14 10:02:37.522 [info] [Info  - 10:02:37 AM] (43604) [BG(1)] Long operation: parsing: file:///home/guests/tuna_gurbuz/miniforge3/envs/trainenv/lib/python3.12/site-packages/torch/__init__.py (3734ms)
2025-02-14 10:02:37.813 [info] [Info  - 10:02:37 AM] (43604) [BG(1)] Long operation: checking: file:///home/guests/tuna_gurbuz/prototype/custom_models/custom_model_builder.py (5329ms)
2025-02-14 10:02:37.813 [info] [Info  - 10:02:37 AM] (43604) [BG(1)] Long operation: analyzing: file:///home/guests/tuna_gurbuz/prototype/custom_models/custom_model_builder.py (5330ms)
2025-02-14 10:02:41.021 [info] [Info  - 10:02:41 AM] (43604) [IDX(2)] Long operation: scan packages file:///home/guests/tuna_gurbuz/prototype (14915ms)
2025-02-14 10:02:41.021 [info] [Info  - 10:02:41 AM] (43604) scanned(2) 147 files over 1 exec env
2025-02-14 10:02:41.954 [info] [Info  - 10:02:41 AM] (43604) indexed(2) 147 files over 1 exec env
2025-02-14 10:02:42.042 [info] [Info  - 10:02:42 AM] (43604) Indexing finished(2).
2025-02-14 10:08:11.486 [info] [Info  - 10:08:11 AM] (43604) Found 159 source files
2025-02-14 10:12:08.879 [info] [Info  - 10:12:08 AM] (43604) [FG] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/run.py (2165ms)
2025-02-14 10:32:12.320 [info] [Info  - 10:32:12 AM] (43604) Found 163 source files
2025-02-14 10:32:17.129 [info] [Info  - 10:32:17 AM] (43604) Found 163 source files
2025-02-14 10:33:20.137 [info] [Info  - 10:33:20 AM] (43604) Found 163 source files
2025-02-14 10:33:23.959 [info] [Info  - 10:33:23 AM] (43604) Found 163 source files
2025-02-14 10:33:34.666 [info] [Info  - 10:33:34 AM] (43604) Found 163 source files
2025-02-14 10:33:47.218 [info] [Info  - 10:33:47 AM] (43604) Found 164 source files
2025-02-14 10:35:33.837 [info] [Info  - 10:35:33 AM] (43604) Found 165 source files
2025-02-14 10:36:38.139 [info] [Info  - 10:36:38 AM] (43604) Setting environmentName for service "prototype": "3.12.8 (trainenv conda)"
2025-02-14 10:36:38.139 [info] [Info  - 10:36:38 AM] (43604) Setting pythonPath for service "prototype": "/home/guests/tuna_gurbuz/miniforge3/envs/trainenv/bin/python"
2025-02-14 10:36:38.171 [info] [Info  - 10:36:38 AM] (43604) No include entries specified; assuming /home/guests/tuna_gurbuz/prototype
2025-02-14 10:36:38.171 [info] [Info  - 10:36:38 AM] (43604) Auto-excluding **/node_modules
2025-02-14 10:36:38.171 [info] [Info  - 10:36:38 AM] (43604) Auto-excluding **/__pycache__
2025-02-14 10:36:38.171 [info] [Info  - 10:36:38 AM] (43604) Auto-excluding **/.*
2025-02-14 10:36:41.236 [info] [Info  - 10:36:41 AM] (43604) Assuming Python version 3.12.8.final.0
2025-02-14 10:36:41.410 [info] [Info  - 10:36:41 AM] (43604) Found 164 source files
2025-02-14 10:36:41.823 [info] [Info  - 10:36:41 AM] (43604) Indexer background runner(3) root directory: file:///home/guests/tuna_gurbuz/.vscode-server/extensions/ms-python.vscode-pylance-2025.2.1/dist (index)
2025-02-14 10:36:41.823 [info] [Info  - 10:36:41 AM] (43604) Indexing(3) started
2025-02-14 10:36:42.333 [info] [Info  - 10:36:42 AM] (43604) scanned(3) 147 files over 1 exec env
2025-02-14 10:36:46.989 [info] [Info  - 10:36:46 AM] (43604) indexed(3) 147 files over 1 exec env
2025-02-14 10:36:47.084 [info] [Info  - 10:36:47 AM] (43604) Indexing finished(3).
2025-02-14 10:59:39.416 [info] [Info  - 10:59:39 AM] (43604) [BG(1)] Long operation: checking: file:///home/guests/tuna_gurbuz/prototype/models/sam2/training/train.py (2794ms)
2025-02-14 10:59:39.416 [info] [Info  - 10:59:39 AM] (43604) [BG(1)] Long operation: analyzing: file:///home/guests/tuna_gurbuz/prototype/models/sam2/training/train.py (2799ms)
2025-02-14 10:59:44.780 [info] [Info  - 10:59:44 AM] (43604) [BG(1)] Long operation: SemanticTokens full at file:///home/guests/tuna_gurbuz/prototype/models/sam2/training/trainer.py (5351ms)
2025-02-14 10:59:53.984 [info] [Info  - 10:59:53 AM] (43604) [BG(1)] Long operation: checking: file:///home/guests/tuna_gurbuz/prototype/models/sam2/training/trainer.py (9197ms)
2025-02-14 10:59:53.984 [info] [Info  - 10:59:53 AM] (43604) [BG(1)] Long operation: analyzing: file:///home/guests/tuna_gurbuz/prototype/models/sam2/training/trainer.py (9197ms)
2025-02-14 11:03:02.771 [info] [Info  - 11:03:02 AM] (43604) [FG] Long operation: parsing: file:///home/guests/tuna_gurbuz/miniforge3/envs/trainenv/lib/python3.12/site-packages/torch/__init__.py (3274ms)
2025-02-14 11:20:58.951 [info] [Info  - 11:20:58 AM] (43604) Found 165 source files
2025-02-14 11:21:01.616 [info] [Info  - 11:21:01 AM] (43604) [FG] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/train.py (2664ms)
2025-02-14 11:21:01.780 [info] [Info  - 11:21:01 AM] (43604) [BG(1)] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/__init__.py (2727ms)
2025-02-14 11:21:01.781 [info] [Info  - 11:21:01 AM] (43604) [BG(1)] Long operation: indexing: file:///home/guests/tuna_gurbuz/prototype/custom_models/__init__.py (2827ms)
2025-02-14 11:21:04.773 [info] [Info  - 11:21:04 AM] (43604) [FG] Long operation: parsing: file:///home/guests/tuna_gurbuz/prototype/custom_models/train.py (2447ms)

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 2918)
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
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.65GB (7.03GB free)
Process Argv --crash-reporter-id f6d9bc1e-ee61-46dc-8a92-4199c294fbfc
Screen Reader no
VM 0%
Item Value
Remote ifl-slurm-vscode
OS Linux x64 5.14.0-284.25.1.el9_2.x86_64
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 3643)
Memory (System) 125.21GB (79.30GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
a9j8j154:30646983
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputscf:31238124
customenabled:31237564
8did9651:31230678
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants