Skip to content

Commit

Permalink
add 3.12 inductor CI tests (#126218)
Browse files Browse the repository at this point in the history
Summary:
X-link: pytorch/pytorch#126218
Approved by: https://github.com/huydhn, https://github.com/desertfire

Reviewed By: huydhn

Differential Revision: D57474313

Pulled By: williamwen42

fbshipit-source-id: 4206f05e93d7e91aea34799bf27c8219b06b6514
  • Loading branch information
williamwen42 authored and facebook-github-bot committed May 17, 2024
1 parent 218fffe commit b80b9cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions userbenchmark/dynamo/dynamobench/_dynamo/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,12 @@ def xfailIfPy312(fn):
return fn


def skipIfPy312(fn):
if sys.version_info >= (3, 12):
return unittest.skip(fn)
return fn


# Controls tests generated in test/inductor/test_torchinductor_dynamic_shapes.py
# and test/dynamo/test_dynamic_shapes.py
def expectedFailureDynamic(fn):
Expand Down

0 comments on commit b80b9cf

Please sign in to comment.