Skip to content

issues Search Results · repo:microsoft/onnxscript language:Python

Filter by

690 results
 (77 ms)

690 results

inmicrosoft/onnxscript (press backspace or delete to remove)

- Introduce a class called PatternMatchContext to capture information about the context describing a match to a given pattern, containing the information described below. - Create an instance of ...
  • gramalingam
  • Opened 
    22 hours ago
  • #2454

It would be useful to expose the part of a rewrite-rule application that matches a pattern against a subgraph (rooted at a node) as standalone functionality. To enable this, first: - Extract a base-class ...
module: rewriter
  • gramalingam
  • 1
  • Opened 
    4 days ago
  • #2446

Hi there, While using onnxscript to convert a torch model into ONNX format, I encountered an error that, to the best of my guess, likely comes from https://github.com/microsoft/onnxscript/blob/f42c2bbfd31edc99a849e0381ae4992da32479de/onnxscript/function_libs/torch_lib/ops/core.py#L6761-L6763 ...
category: question
module: torchlib
  • shuheng-liu
  • 3
  • Opened 
    6 days ago
  • #2442

I would like to know if it is possible to customize the hidden tensors for nodes created by a rewriter replacement function through a rule format (e.g. regex, prefix, ...). Today I see all are created ...
enhancement
  • Johansmm
  • 5
  • Opened 
    6 days ago
  • #2440

Im running into an issue with a symbolic variable issue when I run the torch exporter. The error is shown below. img width= 1349 height= 662 alt= Image src= https://github.com/user-attachments/assets/4e4d85db-28a4-4415-84d6-42d33464e35c ...
module: torchlib
  • NarenR21
  • Opened 
    7 days ago
  • #2439

The existing onnxscript.rewriter.pattern.py file is a remnant of the older version maintained for backward compatibility. Cleanup its use internally as follows: (a) Export the symbols RewriteRule, RewriteRuleClassBase, ...
  • gramalingam
  • Opened 
    12 days ago
  • #2436

Currently, when applying a rewrite rule, I cannot pass a name with the replacement op. Minimal example import onnx import onnx_ir as ir from onnxscript.rewriter import pattern, rewrite def custom_rewrite(model): ...
module: rewriter
  • AyoubMDL
  • 2
  • Opened 
    12 days ago
  • #2435

In onnxscript/rewriter/redundant_scatter_nd.py, fail was not called correctly. Follow onnxscript/rewriter/matmul_add_to_gemm.py as an example to improve the calls. Traceback (most recent call last): ...
bug
module: rewriter
  • justinchuby
  • Opened 
    14 days ago
  • #2430

- Move the rule for eliminating redundant scatternd from onnxscript.rewriter.collapse_slices.py into onnxscript.rewriter.redundant_scatter_nd.py. - Move the corresponding test-cases also from the ...
  • gramalingam
  • Opened 
    15 days ago
  • #2425

I m currently experimenting with various BART-based models and noticed that attention fusion (SDPA/MHA) is broken for BART. Dependencies: (onnxruntime) markusbilz@Markuss-Mini onnxruntime % uv pip show ...
  • KarelZe
  • 1
  • Opened 
    16 days ago
  • #2424
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub