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

Warnings and FutureWarnings #24

Open
groadabike opened this issue Oct 24, 2024 · 0 comments
Open

Warnings and FutureWarnings #24

groadabike opened this issue Oct 24, 2024 · 0 comments

Comments

@groadabike
Copy link

Hi,

Thank you for this great tool
Just wanted to let you know that Natten is raising a lot of Warnings and FutureWarnings when running the model using CLI.

To make this simple, I am just copying here the 4 warnings I am getting. But notice that the process is printing these Warnings many times, at leats 40 times.

/home/gerardoroadabike/anaconda3/envs/allinone/lib/python3.11/site-packages/natten/functional.py:1264: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @custom_fwd
/home/gerardoroadabike/anaconda3/envs/allinone/lib/python3.11/site-packages/natten/functional.py:1336: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead.
  @custom_bwd

...

| 2024-10-24 16:41:04,459 | [[ natten.functional ]] [ WARNING ]: You're calling NATTEN op `natten.functional.natten1dqkrpb`, which is deprecated in favor of `natten.functional.na1d_qk`. Please consider switching, as this op will be removed soon.
| 2024-10-24 16:41:05,464 | [[ natten.functional ]] [ WARNING ]: You're calling NATTEN op `natten.functional.natten1dav`, which is deprecated in favor of `natten.functional.na1d_av`. Please consider switching, as this op will be removed soon.

My system
Linux.
CPU system
Pytorch 2.4.0
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 cpuonly -c pytorch

Natten
pip3 install natten==0.17.1+torch240cpu -f https://shi-labs.com/natten/wheels

pip install git+https://github.com/CPJKU/madmom # install the latest madmom directly from GitHub
pip install allin1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant