dmlc / dgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.
http://dgl.ai
Apache License 2.0
13.56k stars 3.02k forks source link

[UserWarning] Eliminating the use of the deprecated `verbose` parameter. #7812

Closed drivanov closed 1 month ago

drivanov commented 1 month ago

Description

By removing the use of the deprecated verbose parameter, we are eliminating the associated warnings.

/usr/local/lib/python3.10/dist-packages/torch/optim/lr_scheduler.py:63: UserWarning: The verbose parameter is deprecated.
Please use get_last_lr() to access the learning rate.
  warnings.warn(

Checklist

Please feel free to remove inapplicable items for your PR.

Changes

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: c34bb9bfedcd8e78858bd96c10c7222d7fd728cd

Build ID: 1

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

dgl-bot commented 1 month ago

Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:

dgl-bot commented 1 month ago

Commit ID: 4c8cf1974c75a4b25909cf888bfe0423d7a59e11

Build ID: 2

Status: ❌ CI test failed in Stage [Authentication].

Report path: link

Full logs path: link

jermainewang commented 1 month ago

Thanks for the fix!