optimum
c3914e90 - Support for custom input shapes in exporters onnx (#575)

Comment changes are shownComment changes are hidden
Commit
2 years ago
Support for custom input shapes in exporters onnx (#575) * add support for custom input shapes in exporters onnx * add tests * fix test * fix bug * Update tests/exporters/test_onnx_export.py Co-authored-by: regisss <15324346+regisss@users.noreply.github.com> * remove run slow * fix _get_models_to_test * fixup post merge * yet fixup post merge * use f string * authorize unused arguments in input generators * use hf-internal-testing models * remove redundant argument * fixup merge * remove redundant arg * fix messed merge * change blenderbot * workign deit * valid gptj * valid marian * add whisper * fix test * fix marian * nit * fix bloom Co-authored-by: regisss <15324346+regisss@users.noreply.github.com>
Author
Parents
  • .github/workflows
    • File
      test_exporters.yml
  • optimum
    • commands/export
      • File
        onnx.py
    • exporters
      • onnx
        • File
          __main__.py
        • File
          base.py
        • File
          config.py
        • File
          convert.py
        • File
          model_configs.py
        • File
          utils.py
      • File
        tasks.py
    • onnxruntime
      • File
        modeling_decoder.py
      • File
        modeling_ort.py
      • File
        modeling_seq2seq.py
      • File
        trainer.py
      • File
        trainer_seq2seq.py
    • utils
      • File
        input_generators.py
      • File
        testing_utils.py
  • tests/exporters
    • File
      exporters_utils.py
    • File
      test_onnx_config_loss.py
    • File
      test_onnx_export.py