optimum
ab4341b2 - Refactor diffusers tasks (#1947)

Commit
347 days ago
Refactor diffusers tasks (#1947) * refactor diffusers tasks "stable-diffusion" and "stable-diffusion-xl" into "text-to-image", "image-to-image" and "inpainting" * warn depreated tasks * generalize diffusion export * fix * fix * fix * clean up * trocr * fix * standardise model/pipeline mapping task lookup * add latent consistency * test * fix * fix * final * refactor * fix * fix offline hub support * remove unnecessary * misc * test * style * update docs
Parents
  • docs/source/exporters
    • onnx/usage_guides
      • File
        export_a_model.mdx
    • tflite/usage_guides
      • File
        export_a_model.mdx
  • optimum
    • exporters
      • onnx
        • File
          __init__.py
        • File
          __main__.py
        • File
          convert.py
        • File
          utils.py
      • File
        tasks.py
      • File
        utils.py
    • utils
      • File
        import_utils.py
  • tests/exporters
    • File
      exporters_utils.py
    • onnx
      • File
        test_exporters_onnx_cli.py
      • File
        test_onnx_export.py