Skip to content

Releases: sdpython/onnx-diagnostic

0.6.0

26 May 17:16
ac301d1

Choose a tag to compare

  • #111: support ModelBuilder with command line validate
  • #108, #109, #110: first version of an algorithm rendering small onnx graph in ascii, patch for torch.vmap

0.5.0

20 May 13:38
d357b28

Choose a tag to compare

  • #105: more options to tune control flow rewriting
  • #104: add summarization task, add rewrite to command line validate
  • #101: first draft to rewrite loops
  • #100: implements a context to automatically rewrite methods or function with control flows
  • #96: implements is_stealing, steal_append to complement steal_forward
  • #95: fixzq Scan implementation for OnnxruntimeEvaluator
  • #93: introduces patched expressions to get around annoying export issues
  • #92: supports errors distribution in max_diff
  • #91: enables strings in guess_dynamic_shapes
  • #88`, #89: extends steal_forward to dump input, outputs in onnx models
  • #83, #85: improves the automated rewriting of control flow (test)

0.4.4

02 May 17:42
94d9508

Choose a tag to compare

  • #82: exposes register_flattening_functions, add option --subfolder
  • #81: fixes missing intermediate_size in configuration
  • #79: implements task object-detection
  • #78: uses onnx-weekly instead of onnx to avoid conflicts with onnxscript

0.4.3

28 Apr 09:55
7eb831c

Choose a tag to compare

  • #75: renames bypass_export_some_patches into torch_export_patches, keeps the old name
  • #74: increases the list of class/architectures
  • #73: supports MambaCache in max_diff, torch_deepcopy

0.4.1

24 Apr 21:42
8ce2aaa

Choose a tag to compare

  • #72: fix change_dynamic_dimension for custom classes, second set of inputs for every task
  • #70: support model options in command lines (--mop, --iop)

0.4.0

22 Apr 07:36
3c361b1

Choose a tag to compare

  • #65: support SlidingWindowCache
    *#63: support option --trained
  • #61: improves dynamic shapes for EncoderDecoderCache
  • #58: add function use_dyn_not_str to replace string by torch.export.Dim.DYNAMIC,
    use string instead of torch.export.Dim.DYNAMIC when returning the dynamic shapes
    for a specific models, it is a valid definition for torch.onnx.export
    which can reuse the names
  • #55: add support for text-classification
  • #54: add support for fill-mask, refactoring
  • #52: add support for zero-shot-image-classification
  • #50: add support for onnxruntime fusion
  • #48: add support for EncoderDecoderCache, test with openai/whisper-tiny
  • #45: improve change_dynamic_dimension to fix some dimensions

0.3.0

05 Apr 21:29
84817ab

Choose a tag to compare

  • #43: uses custom patches
  • #38: uses the registered serialization functions when it is available
  • #30, #31: adds command to test a model id, validate the export
  • #29: adds helpers to measure the memory peak and run benchmark on different processes
  • #28: adds command line to print out the configuration for a model id, support image-text-to-text
  • #26: creates a folder helpers to gather all the functions used in many places
  • #25: improve patches for DynamicCache (issue with register_pytree_flatten_spec being deprecated)
  • #24: dummy inputs for text2text-generation, add new function convert_dynamic_axes_into_dynamic_shapes to convert dynamic axes into dynamic shapes, add support for T5ForConditionalGeneration
  • #23: dummy inputs for image-classification
  • #22, #27: api to create untrained model copying the architecture of the trained models and dummy inputs for them, support for text-generation

0.2.2

26 Mar 14:03
f7bdb1a

Choose a tag to compare

  • #16: refactors patches, add model Phi2, implements a tweak to raise an exception with a dynamic dimension becomes static when exporting a model

0.2.1

25 Mar 15:45
dec843b

Choose a tag to compare

  • #16: refactors patches

0.2.0

24 Mar 13:16
3df4bc0

Choose a tag to compare

  • #11: adds ModelInputs to guess dynamic shapes
  • #9: adds OnnxruntimeEvaluator
  • #8: adds ExtendedReferenceEvaluator
  • #7: improves function investigate_onnxruntime_issue