pytorch / pytorch/audio

Torchaudio.load() reference not found in Pycharm

Open
#3,715 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
799
Avg merge
58m
Merged PRs (30d)
3

Description

🐛 Describe the bug

Pycharm Professional 2023.3 is unable to locate the reference to basic functions like torchaudo.save() or torchaudio.load(). I do not not why this happens, maybe the refs are generated on execution? The code execution works without any errors. I am using the newest version of torchaudio.

Versions

[pip3] flake8==6.1.0
[pip3] numpy==1.26.2
[pip3] onnxruntime==1.16.3
[pip3] pytest-flake8==1.1.1
[pip3] torch==2.1.1
[pip3] torch-audiomentations==0.11.0
[pip3] torch-pitch-shift==1.2.4
[pip3] torchaudio==2.1.1
[pip3] torcheval==0.0.7
[pip3] triton==2.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing-reference behavior in PyCharm Professional 2023.3 with torchaudio 2.1.1, checking torchaudio.load() and torchaudio.save() while confirming that execution still works. The issue does not name a repository file or test; done would require identifying the cause and documenting or fixing reference resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.