As it still using deprecated resource class, see https://hud.pytorch.org/ci/pytorch/pytorch/master?name_filter=binary_linux_manywheel_3_7m_cu102_devtoolset7_test



See example of the failure in https://app.circleci.com/jobs/github/pytorch/pytorch/16987033?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
def __init__(self,
                 template_name,
                 build_env_parts,
                 docker_image,
                 job_name,
                 is_master_only=False,
                 requires=None,
                 has_libtorch_variant=False,
                 extra_props=None):
        self.template_name = template_name
        self.build_env_parts = build_env_parts
        self.docker_image = docker_image
        self.job_name = job_name
        self.is_master_only = is_master_only
        self.requires = requires or []
        self.has_libtorch_variant = has_libtorch_variant
        self.extra_props = extra_props or {}
    def gen_tree(self):