facebookresearch / d2go

D2Go is a toolkit for efficient deep learning
Apache License 2.0
829 stars 197 forks source link

Fix empty context manager #608

Closed frabu6 closed 11 months ago

frabu6 commented 11 months ago

Summary: In the current form, unit test fails with (https://fburl.com/ssrymti4)

 with get_monitoring_service():
E       AttributeError: __enter__

Return nullcontext to address.

Differential Revision: D48113440

facebook-github-bot commented 11 months ago

This pull request was exported from Phabricator. Differential Revision: D48113440

facebook-github-bot commented 11 months ago

This pull request has been merged in facebookresearch/d2go@f59dbb04869fa4291ba8e118428fff9ea98a4a24.