pytorch / pytorch/vision

Ton of DEPRECATE_MESSAGE warnings

Open
#1,173 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted module: models
Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

Sample:

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wformat -fPIC -I/remote/wheel/vision/test -I/remote/wheel/vision/torchvision/csrc/models -I/opt/python/cp37-cp37m/lib/python3.7/site-packages/torch/include -I/opt/python/cp37-cp37m/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/opt/python/cp37-cp37m/lib/python3.7/site-packages/torch/include/TH -I/opt/python/cp37-cp37m/lib/python3.7/site-packages/torch/include/THC -I/opt/python/cp37-cp37m/include/python3.7m -c /remote/wheel/vision/torchvision/csrc/models/shufflenetv2.cpp -o build/temp.linux-x86_64-3.7/remote/wheel/vision/torchvision/csrc/models/shufflenetv2.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C_tests -D_GLIBCXX_USE_CXX11_ABI
=0 -std=c++11          #warning DEPRECATE_MESSAGE [-Wcpp]                            :
 #  warning DEPRECATE_MESSAGEthon3.7/site-packages/torch/include/torch/csrc/api/include/torch/    ^


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

Start by reproducing the gcc build shown in the issue for torchvision/csrc/models/shufflenetv2.cpp with Python 3.7 and the referenced PyTorch headers. Inspect where the DEPRECATE_MESSAGE warning is emitted and review the 14-comment thread for context. Done means the extension builds without the reported warning, with relevant build or test coverage updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, machine-learning
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.