mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
--dynamic-ci-skips now works for all backends (#93369)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/93369 Approved by: https://github.com/albanD
This commit is contained in:
parent
4d504a9ce8
commit
811e95a15e
|
|
@ -1918,11 +1918,6 @@ def run(runner, args, original_dir=None):
|
|||
if args.dynamic_ci_skips_only:
|
||||
args.dynamic_shapes = True
|
||||
args.ci = True
|
||||
# We only have a CI skip list for aot_eager right now. When inductor
|
||||
# comes online, add that skip list too.
|
||||
assert (
|
||||
args.backend == "aot_eager"
|
||||
), "--dynamic-ci-skips only works with aot_eager backend at the moment"
|
||||
if args.dynamic_shapes:
|
||||
torch._dynamo.config.dynamic_shapes = True
|
||||
torch._functorch.config.use_dynamic_shapes = True
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user