question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecate warning for some Python and CUDA codes

See original GitHub issue

See, for example, https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=101105

Python:

  • PyThread_get_key_value (observed starting 3.7)
  • PyThread_set_key_value (observed starting 3.7)
  • PyThread_create_key (observed starting 3.7)

CUDA:

  • cuParamSetTexRef (based on the doc this was already marked deprecated at least starting 8.0)
  • cudaPointerAttributes::isManaged (observed starting 9.2, but the doc says 10.0)
  • cudaPointerAttributes::memoryType (observed starting 9.2, but the doc says 10.0)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
niboshicommented, Dec 5, 2019

Thank you for raising an issue! Just a pointer to a related issue: #1940

0reactions
leofangcommented, Mar 9, 2020
  • cudaPointerAttributes::isManaged (observed starting 9.2, but the doc says 10.0)
  • cudaPointerAttributes::memoryType (observed starting 9.2, but the doc says 10.0)

As far as I can tell, these attributes are never used in the codebase. How about just removing them entirely so as to suppress the deprecation warning? We’re gonna remove them when they are removed from CUDA anyway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suppressing Deprecation warnings - Numba documentation
However, first is a small section on how to suppress deprecation warnings that may be raised from Numba so as to prevent warnings...
Read more >
Suppressing Deprecation warnings - Numba
However, first is a small section on how to suppress deprecation warnings that may be raised from Numba so as to prevent warnings...
Read more >
python - How to suppress these warnings - Stack Overflow
The following workaround will stop showing the Tensorflow warnings import tensorflow as tf tf.logging.set_verbosity(tf.logging.ERROR).
Read more >
Should deprecation warnings be re-enabled for all code by ...
DeprecationWarnings absolutely are of interest to the enduser, because ultimately they're the ones running (and depending on) the code that's ...
Read more >
TensorRT 7.2.1 release notes - NVIDIA Documentation Center
To perform inference concurrently in multiple CUDA streams, use one IExecutionContext per CUDA stream. Deprecated Features. The following features are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found