Remove Longformers from ONNX-supported models (#15273)
This commit is contained in:
@@ -210,7 +210,7 @@ def check_onnx_model_list(overwrite=False):
|
||||
"""Check the model list in the serialization.mdx is consistent with the state of the lib and maybe `overwrite`."""
|
||||
current_list, start_index, end_index, lines = _find_text_in_file(
|
||||
filename=os.path.join(PATH_TO_DOCS, "serialization.mdx"),
|
||||
start_prompt="<!--This table is automatically generated by make style, do not fill manually!-->",
|
||||
start_prompt="<!--This table is automatically generated by `make fix-copies`, do not fill manually!-->",
|
||||
end_prompt="The ONNX conversion is supported for the PyTorch versions of the models.",
|
||||
)
|
||||
new_list = get_onnx_model_list()
|
||||
|
||||
Reference in New Issue
Block a user