René's URL Explorer Experiment


Title: IntelliSense not working for torch.nn · Issue #1799 · microsoft/python-language-server · GitHub

Open Graph Title: IntelliSense not working for torch.nn · Issue #1799 · microsoft/python-language-server

X Title: IntelliSense not working for torch.nn · Issue #1799 · microsoft/python-language-server

Description: Environment data Language Server version: 0.4.114.0 OS and version: Debian 10 Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (Miniconda - CondaForge) PyTorch version: 1.3.0 and 1.3.1 Expected behaviour Auto-completio...

Open Graph Description: Environment data Language Server version: 0.4.114.0 OS and version: Debian 10 Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (Miniconda - CondaForge) PyTorch version: 1.3.0 and...

X Description: Environment data Language Server version: 0.4.114.0 OS and version: Debian 10 Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (Miniconda - CondaForge) PyTorch version: 1.3.0...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1799

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IntelliSense not working for torch.nn","articleBody":"\u003c!-- \r\nRead the guidelines for filing an issue first. \r\n\r\nhttps://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue\r\n-->\r\n\r\n## Environment data\r\n\u003c!--\r\nTo find your version: \r\n\r\nSelect \"View: Toggle Output\" from the command palette (Ctrl+Shift+P on Windows/Linux, Command+Shift+P on macOS), then select \"Python\" in the dropdown on the right (\"Python Language Server\" if running Insiders build of VS Code). Look for the line Microsoft Python Language Server version X in the console.\r\n-->\r\n\r\n- Language Server version: 0.4.114.0   \r\n- OS and version: Debian 10\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (Miniconda - CondaForge)\r\n- PyTorch version: 1.3.0 and 1.3.1\r\n\r\n## Expected behaviour\r\n\r\nAuto-completion through IntelliSense when typing (i.e. torch.nn. ).\r\n\r\n## Actual behaviour\r\n\r\nAuto-completion does not work for **torch.nn**. However, it works for other modules like **torch.nn.functional**.\r\n\r\nI already tried to delete the language server directory and restarting VSCode. In addition, I already switched to beta, but nothing changed.\r\n\r\nThere are already closed related issues:\r\n[Intellisense doesnt work for all Pytorch methods](https://github.com/microsoft/python-language-server/issues/1098)\r\n[torch.nn missing from torch module and `from torch import` completions](https://github.com/microsoft/python-language-server/issues/1301)\r\n\r\n\r\n## Logs\r\n\r\n\u003c!-- \r\nEnable trace logging by adding \"python.analysis.logLevel\": \"Trace\" to your settings.json configuration file.\r\n\r\nAdding this will cause a large amount of info to be printed to the Python output panel. This should not be left long term, as the performance impact of the logging is significant.\r\n-->\r\n\r\n```\r\nAnalysis of models.GAN.gan (User) queued. Dependencies: torch, torch.nn\r\nCompletions in file:///home/p***/Generative-models/models/GAN/gan.py at (19, 24)\r\nAnalysis version 4594 of 1 entries has started.\r\nAnalysis of models.GAN.gan (User) on depth 0 completed in 0.48 ms.\r\nAnalysis complete: 1 modules in 17.34 ms.\r\nAnalysis version 4594 of 1 entries has been completed in 0.66 ms.\r\nIntelliCode identified 3 likely completion items.\r\n```\r\n\r\n## Code Snippet / Additional lnformation\r\n\r\n\u003c!--\r\nNote: If you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n-->\r\n\r\n```python\r\nfrom torch import nn\r\n\r\nclass Net(nn.Module):\r\n    def __init__(self):\r\n        super(Net, self).__init__()\r\n        self.model = nn.\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/25642195/68995014-53576680-0889-11ea-9914-b0fae271e87c.png)\r\n","author":{"url":"https://github.com/Salzy","@type":"Person","name":"Salzy"},"datePublished":"2019-11-16T14:45:00Z","url":"https://github.com/microsoft/python-language-server/issues/1799"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bb32043a-e313-962f-91ba-6d5744b63bd0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8976:2826BD:3FB6C2:534504:6AFE617F
html-safe-nonce4dbc5e33a5679c5ab35e796c02d862981af37304d449ad0defc6edfd4df9ce6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTc2OjI4MjZCRDozRkI2QzI6NTM0NTA0OjZBRkU2MTdGIiwidmlzaXRvcl9pZCI6Ijg0NTcwNjg3MjI5MDY5NzU5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdbf3ed2293f497338389df36e350e037f90b834842d63a6d0f8575187c0f66b2
hovercard-subject-tagissue:523853432
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1799/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a6f071f487581a72d02716d5a4b6898644ce0c5d6e9e304d55e4e4dcb2b2daa1/microsoft/python-language-server/issues/1799
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6f071f487581a72d02716d5a4b6898644ce0c5d6e9e304d55e4e4dcb2b2daa1/microsoft/python-language-server/issues/1799
og:image:altEnvironment data Language Server version: 0.4.114.0 OS and version: Debian 10 Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (Miniconda - CondaForge) PyTorch version: 1.3.0 and...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSalzy
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1799#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1799
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1799
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1799
Reloadhttps://github.com/microsoft/python-language-server/issues/1799
Reloadhttps://github.com/microsoft/python-language-server/issues/1799
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
IntelliSense not working for torch.nnhttps://github.com/microsoft/python-language-server/issues/1799#top
https://github.com/Salzy
Philipp Brandauer (Salzy)https://github.com/Salzy
on Nov 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issue-523853432
Intellisense doesnt work for all Pytorch methodshttps://github.com/microsoft/python-language-server/issues/1098
torch.nn missing from torch module and from torch import completionshttps://github.com/microsoft/python-language-server/issues/1301
https://user-images.githubusercontent.com/25642195/68995014-53576680-0889-11ea-9914-b0fae271e87c.png
Nexthttps://github.com/microsoft/python-language-server/issues/1799?timeline_page=1
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Nov 18, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-555141768
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Nov 18, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-555229581
https://gist.github.com/vict0rsch/99510e0e527cb3bef6dfad04265999c3https://gist.github.com/vict0rsch/99510e0e527cb3bef6dfad04265999c3
https://github.com/Salzy
Philipp Brandauer (Salzy)https://github.com/Salzy
on Nov 20, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-555884714
trace.txthttps://github.com/microsoft/python-language-server/files/3867956/trace.txt
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Nov 29, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-559868564
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://github.com/dasturge
D. Sturgeon (dasturge)https://github.com/dasturge
on Dec 13, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-565638279
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 13, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-565639025
https://user-images.githubusercontent.com/12820357/70837278-f97a8b80-1db7-11ea-9a9d-1b981e05d5c0.png
https://github.com/dasturge
D. Sturgeon (dasturge)https://github.com/dasturge
on Dec 15, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-565851824
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566029738
https://user-images.githubusercontent.com/9283470/70904788-916bb580-2002-11ea-83e4-25a30f119991.png
trace gisthttps://gist.github.com/vict0rsch/e60ae478063ddde2d6bf334b0f371c42
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566163109
#1841https://github.com/microsoft/python-language-server/pull/1841
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566272759
#1841https://github.com/microsoft/python-language-server/pull/1841
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566278177
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566278753
https://github.com/microsoft/python-language-server/wiki/Versioning-and-download-channelshttps://github.com/microsoft/python-language-server/wiki/Versioning-and-download-channels
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566279206
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566282063
trace gisthttps://gist.github.com/vict0rsch/b45cbbd8e8d8e2f766aba78fc6a31573
https://user-images.githubusercontent.com/9283470/70949533-4ed7c680-205e-11ea-8efa-b237be325daa.gif
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566297664
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1799#issuecomment-566304382
https://user-images.githubusercontent.com/9283470/70952897-f73e5880-2067-11ea-953a-7178a6efd988.png
https://user-images.githubusercontent.com/9283470/70952896-f73e5880-2067-11ea-9068-20273dac78f3.png
https://user-images.githubusercontent.com/9283470/70952895-f73e5880-2067-11ea-9002-08b6194e4485.png
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Feb 5, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-582491191
https://medium.com/@jimkang/complete-uninstall-remove-vscode-mac-5e48bef3bdechttps://medium.com/@jimkang/complete-uninstall-remove-vscode-mac-5e48bef3bdec
https://github.com/sachit-menon
Sachit Menon (sachit-menon)https://github.com/sachit-menon
on Apr 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-620800475
https://github.com/vict0rsch
Victor Schmidt (vict0rsch)https://github.com/vict0rsch
on Apr 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-620874265
Sachit Menon (@sachit-menon)https://github.com/sachit-menon
https://user-images.githubusercontent.com/9283470/80541371-09ff5d00-8979-11ea-9640-8dca15cb0ab8.png
https://github.com/sachit-menon
Sachit Menon (sachit-menon)https://github.com/sachit-menon
on Apr 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-620897047
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
Victor Schmidt (@vict0rsch)https://github.com/vict0rsch
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Apr 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-620897953
#1937https://github.com/microsoft/python-language-server/issues/1937
https://github.com/sachit-menon
Sachit Menon (sachit-menon)https://github.com/sachit-menon
on Apr 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-620898632
https://github.com/saeedizadi
Saeed Izadi (saeedizadi)https://github.com/saeedizadi
on May 28, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-635481226
https://github.com/zlcnup
Zhao Lei (zlcnup)https://github.com/zlcnup
on Jun 1, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-636882300
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://user-images.githubusercontent.com/11495192/83415759-331c7d00-a452-11ea-9b1c-63c42ff78be0.png
https://user-images.githubusercontent.com/11495192/83416804-d1f5a900-a453-11ea-8418-119af7063152.png
https://github.com/markste-in
Tommy Markstein (markste-in)https://github.com/markste-in
on Aug 4, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-668480522
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Aug 4, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-668721417
https://github.com/akwasigroch
Arkadiusz Kwasigroch (akwasigroch)https://github.com/akwasigroch
on Aug 13, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-673670867
https://github.com/toddwyl
Wen Yongliang (toddwyl)https://github.com/toddwyl
on Aug 20, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-677540601
Tommy Markstein (@markste-in)https://github.com/markste-in
Zhao Lei (@zlcnup)https://github.com/zlcnup
Mikhail Arkhipov (@MikhailArkhipov)https://github.com/MikhailArkhipov
https://user-images.githubusercontent.com/20945688/90763245-eb064b80-e318-11ea-8e37-0aaf7fe2c694.png
https://user-images.githubusercontent.com/20945688/90763157-c6aa6f00-e318-11ea-9b25-cf10f05b36da.png
https://user-images.githubusercontent.com/20945688/90763436-46d0d480-e319-11ea-842e-e7b7a1a08cc4.png
https://user-images.githubusercontent.com/20945688/90763103-b6928f80-e318-11ea-9f42-e1d73d21b0a4.png
https://user-images.githubusercontent.com/20945688/90766774-ada4bc80-e31e-11ea-97ab-c7e37d982447.png
https://user-images.githubusercontent.com/20945688/90765092-f018ca00-e31b-11ea-9336-f7019af54536.png
https://user-images.githubusercontent.com/20945688/90765266-39691980-e31c-11ea-965c-2dbd3186a149.png
https://user-images.githubusercontent.com/20945688/90766469-28210c80-e31e-11ea-9404-4243301186a4.png
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Aug 20, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-677883262
https://github.com/toddwyl
Wen Yongliang (toddwyl)https://github.com/toddwyl
on Aug 21, 2020https://github.com/microsoft/python-language-server/issues/1799#issuecomment-678044453
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1799
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1799
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.