optimum
b14379e9 - Fix PyTorch tied weights being duplicated in the exported ONNX models (#1326)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Fix PyTorch tied weights being duplicated in the exported ONNX models (#1326) * fix tied weights * overwrite external data as well * add transpose rather on MatMul node and not Gather * update on review * Update optimum/exporters/onnx/base.py Co-authored-by: Joshua Lochner <admin@xenova.com> --------- Co-authored-by: Joshua Lochner <admin@xenova.com>
Author
Parents
  • optimum
    • exporters/onnx
      • File
        __main__.py
      • File
        base.py
      • File
        config.py
    • onnx
      • File
        __init__.py
      • File
        graph_transformations.py
      • File
        transformations_utils.py