Skip to content

Conversation

@christopherlmunoz
Copy link
Contributor

llvm: b270525f730be6e7196667925f5a9bfa153262e9
stablehlo: 459e481b

Copy link
Collaborator

@hamptonm1 hamptonm1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but I had one comment

Copy link
Collaborator

@AlexandreEichenberger AlexandreEichenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hamptonm1 thanks for reviewing this, I will assume that you will approve it once you are satisfied with the answers to your question.

Signed-off-by: Christopher Munoz <[email protected]>

formatting fixes
@christopherlmunoz christopherlmunoz force-pushed the llvm_update branch 2 times, most recently from 272152d to 3784890 Compare January 30, 2025 13:02
@hamptonm1
Copy link
Collaborator

@AlexandreEichenberger @tungld I think Chris mentioned he was working with you guys to resolve the round backend test but if we can not get it resolved, would it be okay to comment it out and open an issue to fix it later on?

----------------------------- Captured stderr call -----------------------------
failed to legalize operation 'vector.shape_cast'
=========================== short test summary info ============================
 Release/test.py::OnnxBackendNodeModelTest::test_round_cpu - subprocess.Calle...

Signed-off-by: Christopher Munoz <[email protected]>
@christopherlmunoz christopherlmunoz force-pushed the llvm_update branch 2 times, most recently from 8b9e8b1 to c6307f4 Compare February 6, 2025 02:42
@christopherlmunoz
Copy link
Contributor Author

@AlexandreEichenberger @tungld I think Chris mentioned he was working with you guys to resolve the round backend test but if we can not get it resolved, would it be okay to comment it out and open an issue to fix it later on?

----------------------------- Captured stderr call -----------------------------
failed to legalize operation 'vector.shape_cast'
=========================== short test summary info ============================
 Release/test.py::OnnxBackendNodeModelTest::test_round_cpu - subprocess.Calle...

I spoke with Tung again. Created issue #3068 and commented out tests. Will continue the investigation and work to resolve this asap.

Signed-off-by: Christopher Munoz <[email protected]>
@hamptonm1
Copy link
Collaborator

@christopherlmunoz Before I approve, please reach out to @jorickert via slack to answer the question above. I want to make sure the TOSA updates are fine before merging in.

@AlexandreEichenberger
Copy link
Collaborator

AlexandreEichenberger commented Feb 6, 2025

I spoke with Tung again. Created issue #3068 and commented out tests. Will continue the investigation and work to resolve this asap.

I can look at that issue, since it impacts quantization operations. Can we quantize benchmarks without this fix? If we cannot, then this PR should not go in.

Copy link
Collaborator

@jorickert jorickert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tosa.pad will need to be changed again when the LLVM bump containing llvm/llvm-project#123133 lands

@hamptonm1
Copy link
Collaborator

@AlexandreEichenberger Were you able to resolve the backend test? I know you wanted to fix that before merging this PR.

@AlexandreEichenberger
Copy link
Collaborator

Please go ahead with this, if the path that generates the error listed in #3068 is disabled. I.e. not just the test, but the options that generates the offending code.

@tungld tungld merged commit df601dc into onnx:main Feb 14, 2025
6 checks passed
@jenkins-droid
Copy link
Collaborator

Jenkins Linux amd64 Build #16305 [push] null... failed after 2 hr 10 min

@jenkins-droid
Copy link
Collaborator

Jenkins Linux s390x Build #16307 [push] null... failed after 2 hr 22 min

jorickert pushed a commit to Xilinx/onnx-mlir that referenced this pull request Mar 21, 2025
Upgrading llvm and stablehlo hash (onnx#3053)

* upgrading llvm and stablehlo hash. Fixing mlir tests

Signed-off-by: Christopher Munoz <[email protected]>

* fixing vector shapecast bug introduced by upgraded llvm

Signed-off-by: Christopher Munoz <[email protected]>

---------

Signed-off-by: Christopher Munoz <[email protected]>
jorickert pushed a commit to Xilinx/onnx-mlir that referenced this pull request Mar 21, 2025
Upgrading llvm and stablehlo hash (onnx#3053)

* upgrading llvm and stablehlo hash. Fixing mlir tests

Signed-off-by: Christopher Munoz <[email protected]>

* fixing vector shapecast bug introduced by upgraded llvm

Signed-off-by: Christopher Munoz <[email protected]>

---------

Signed-off-by: Christopher Munoz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants