This repository was archived by the owner on Aug 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ def x_fail_activation_hooks(request):
6
6
use_activation_hooks = request .getfixturevalue ("use_activation_hooks" )
7
7
if use_activation_hooks :
8
8
request .node .add_marker (
9
- pytest .mark .xfail (reason = "use_activation_hooks is not supported for AOT" )
9
+ pytest .mark .xfail (
10
+ reason = "use_activation_hooks is not supported for AOT" , strict = True
11
+ )
10
12
)
11
13
12
14
@@ -16,5 +18,7 @@ def x_fail_activation_hooks_with_delayed(request):
16
18
use_activation_hooks = request .getfixturevalue ("use_activation_hooks" )
17
19
if use_activation_hooks and linear_type == linear_type .DELAYED :
18
20
request .node .add_marker (
19
- pytest .mark .xfail (reason = "use_activation_hooks is not supported for AOT" )
21
+ pytest .mark .xfail (
22
+ reason = "use_activation_hooks is not supported for AOT" , strict = True
23
+ )
20
24
)
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ def forward(self, x):
141
141
return x_hp
142
142
return x_fp8
143
143
144
- @pytest .mark .xfail (reason = "TODO: Fix this test, see TODO in MockLinear" )
145
144
def test_float8_with_graph_break_in_the_middle (self ):
146
145
"""Test that having Float8Tensor object at the boundary of a subgraph"""
147
146
cnts = CompileCounterWithBackend ("inductor" )
@@ -174,7 +173,6 @@ def to_float(x):
174
173
)
175
174
torch .testing .assert_close (y2_eager , y2_compiled )
176
175
177
- @pytest .mark .xfail (reason = "TODO: Fix this test, see TODO in MockLinear" )
178
176
def test_float8_graph_output (self ):
179
177
"""Test that having Float8Tensor object as a graph output works"""
180
178
cnts = CompileCounterWithBackend ("inductor" )
You can’t perform that action at this time.
0 commit comments