Skip to content

Commit

Permalink
[fbsync] Put back disable_beta_transforms_warning and make it a noop (#…
Browse files Browse the repository at this point in the history
…7897)

Summary: (Note: this ignores all push blocking failures!)

Reviewed By: matteobettini

Differential Revision: D48900409

fbshipit-source-id: 67646ec2775059971e8b499039ed03721c3abf47
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Sep 6, 2023
1 parent 9708e9f commit c201717
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions torchvision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,9 @@ def get_video_backend():

def _is_tracing():
return torch._C._get_tracing_state()


def disable_beta_transforms_warning():
# Noop, only exists to avoid breaking existing code.
# See https://github.com/pytorch/vision/issues/7896
pass

0 comments on commit c201717

Please sign in to comment.