Skip to content

To resolve warnings : np is deprecated#2719

Merged
vfdev-5 merged 16 commits intopytorch:masterfrom
puhuk:np_warn
Sep 23, 2022
Merged

To resolve warnings : np is deprecated#2719
vfdev-5 merged 16 commits intopytorch:masterfrom
puhuk:np_warn

Conversation

@puhuk
Copy link
Copy Markdown
Contributor

@puhuk puhuk commented Sep 21, 2022

Description: To resolve warnings : np is deprecated

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actions github-actions bot added the module: distributed Distributed module label Sep 21, 2022
@vfdev-5 vfdev-5 closed this Sep 21, 2022
@vfdev-5 vfdev-5 reopened this Sep 21, 2022
@vfdev-5
Copy link
Copy Markdown
Collaborator

vfdev-5 commented Sep 22, 2022

tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_no_dist
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_1
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_1
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_2
tests/ignite/distributed/comp_models/test_horovod.py::test__hvd_dist_model_create_dist_2
  /usr/share/miniconda3/envs/test/lib/python3.8/site-packages/horovod/runner/__init__.py:200: DeprecationWarning: np is deprecated, use num_proc instead
    warnings.warn('np is deprecated, use num_proc instead', DeprecationWarning)

Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @puhuk !

@vfdev-5 vfdev-5 merged commit daa3c96 into pytorch:master Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: distributed Distributed module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants