Skip to content

Commit ae61100

Browse files
authored
Remove assert for ArgSchema
Differential Revision: D65316894 Pull Request resolved: #6638
1 parent 3813f42 commit ae61100

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exir/pass_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ def update(key: K, args: MutableMapping[K, PyTree], schema: ArgSchema) -> None:
726726
args[key] = fn(args[key], schema)
727727

728728
for i, schema in enumerate(op._schema.arguments):
729-
assert isinstance(schema, ArgSchema)
730729
if schema.name in kwargs:
731730
update(schema.name, kwargs, schema)
732731
elif not schema.kwarg_only and i < len(args):

0 commit comments

Comments
 (0)