Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

[LLVM Integrate] Bump llvm, torch-mlir #105

Merged
merged 10 commits into from
Jan 25, 2025

Conversation

zezhang
Copy link
Contributor

@zezhang zezhang commented Jan 21, 2025

LLVM (Nov 13)
Torch-MLIR (Jan 21)
StableHlo (Oct 25 - No Change)

Also fix a lit test

Comment on lines 103 to 107
// ##READ_REFERENCE_TENSORS_INTO_NPY_ARRAY##//
// cnpy::NpyArray refInput0 = reference_tensors["Input0"];
// cnpy::NpyArray refInput1 = reference_tensors["Input1"];
// cnpy::NpyArray refInput2 = reference_tensors["Input2"];
// cnpy::NpyArray refOutput0 = reference_tensors["Output0"];
Copy link
Collaborator

@sjain-stanford sjain-stanford Jan 22, 2025

Choose a reason for hiding this comment

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

(pre-emptive, I know this is very much WIP but wanted to throw it out there)
I'd avoid clang-format changes on this file, since it might break some of the match-replace patterns when we instantiate this template in aot_compile. You might want to ignore this file from clang-format, or make sure the patterns are correctly updated.

Comment on lines 56 to 58
find . -type f -name "*.cpp" -a ! -name "*execute_test.template.cpp" -o -name "*.h" | xargs clang-format -i
if [ -n "$(git status --porcelain)" ]; then
echo "Please run 'find . -type f -name "*.cpp" -o -name "*.h" | xargs clang-format -i' and commit changes."
echo "Please run 'find . -type f -name "*.cpp" -a ! -name "*execute_test.template.cpp" -o -name "*.h" | xargs clang-format -i' and commit changes."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Prefer using a .clang-format-ignore file at the project root to track ignored files, to avoid this command from blowing up.

jain-sambhaav

This comment was marked as duplicate.

Copy link
Collaborator

@sjain-stanford sjain-stanford left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for working on this.

@zezhang zezhang merged commit 4d5c3dc into cruise-automation:main Jan 25, 2025
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants