From 35d7e4fb2bb9aa594c6f88a8ddb17a3e0b0bcc0e Mon Sep 17 00:00:00 2001 From: rzou Date: Wed, 29 May 2024 06:22:55 -0700 Subject: [PATCH] Update base for Update on "opcheck should be usable without optional dependencies" This PR excises opcheck's dependency on torch.testing._internal.common_utils, (which comes with dependencies on expecttest and hypothesis). We do this by moving what we need to torch.testing._utils and adding a test for it. Fixes #126870, #126871 Test Plan: - new tests [ghstack-poisoned]