Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 78ae0c6

Browse files
committed
Fix ravel
1 parent 3295ed3 commit 78ae0c6

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

test/discover_coverage.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ def get_top_ops_not_covered_by_opinfo(torch_threshold=0, nn_fn_threshold=0):
162162
'get_rng_state', 'get_default_dtype', 'initial_seed',
163163
'get_num_threads', 'quantize_per_tensor', 'logspace',
164164
'hann_window', 'is_tensor', 'as_tensor', 'randint', 'full', 'eye',
165-
'equal',
165+
'equal', 'enable_grad', 'seed', 'is_storage', 'hamming_window',
166+
'is_floating_point', 'nn.functional.torch',
166167
})
167168
torch_ops = [op[0] for op in top_ops.top_torch[:torch_threshold]]
168169
nn_fn_ops = [op[0] for op in top_ops.top_nn_functional[:nn_fn_threshold]]
@@ -265,10 +266,10 @@ def transpose_statuses():
265266
# for op in method_only_ops:
266267
# print(f' {op},')
267268

268-
top_ops_not_covered_by_opinfo = get_top_ops_not_covered_by_opinfo(100, 25)
269-
for op in top_ops_not_covered_by_opinfo:
270-
print(op)
271-
272-
# top_ops_not_covered_by_opinfo = get_top_ops_not_covered_by_opinfo(200, 50)
269+
# top_ops_not_covered_by_opinfo = get_top_ops_not_covered_by_opinfo(100, 25)
273270
# for op in top_ops_not_covered_by_opinfo:
274271
# print(op)
272+
273+
top_ops_not_covered_by_opinfo = get_top_ops_not_covered_by_opinfo(200, 40)
274+
for op in top_ops_not_covered_by_opinfo:
275+
print(op)

test/test_ops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ def test():
512512
xfail('gradient'),
513513
xfail('hsplit'),
514514
xfail('nn.functional.pad', 'circular'),
515-
xfail('ravel'),
516515
xfail('resolve_conj'),
517516
xfail('resolve_neg'),
518517
xfail('unfold'),

test/test_vmap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2978,7 +2978,6 @@ class TestVmapOperatorsOpInfo(TestCase):
29782978
xfail('gradient'),
29792979
xfail('hsplit'),
29802980
xfail('nn.functional.pad', 'circular'),
2981-
xfail('ravel'),
29822981
xfail('resize_as_'),
29832982
xfail('resolve_conj'),
29842983
xfail('resolve_neg'),

0 commit comments

Comments
 (0)