Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tvm commit hash retrieval for out-of-tree execution #1393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sott0n
Copy link

@sott0n sott0n commented Mar 7, 2025

Ticket

N/A

Problem description

The tvm cache path retrieval assumed execution within the Forge tree, causing an error when run out-of-tree as the tvm submodule could not be found.

What's changed

This change modifies the commit hash retrieval method to use the path from tvm.__file__, allowing the cache to be saved correctly even in out-of-tree scenarios.

Checklist

  • New/Existing tests provide coverage for changes

The tvm cache path retrieval assumed execution within the Forge tree,
causing an error when run out-of-tree as the tvm submodule could not be
found. This change modifies the commit hash retrieval method to use the
path from `tvm.__file__`, allowing the cache to be saved correctly even
in out-of-tree scenarios.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.40%. Comparing base (787d802) to head (40a5e82).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1393   +/-   ##
=======================================
  Coverage   43.40%   43.40%           
=======================================
  Files          48       48           
  Lines        7860     7860           
=======================================
  Hits         3412     3412           
  Misses       4448     4448           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Mar 7, 2025

TestsPassed ✅Skipped ⚠️Failed
TT-Forge-FE Tests634 ran493 passed141 skipped0 failed
TestResult
No test annotations available

1 similar comment
Copy link

github-actions bot commented Mar 7, 2025

TestsPassed ✅Skipped ⚠️Failed
TT-Forge-FE Tests634 ran493 passed141 skipped0 failed
TestResult
No test annotations available

Copy link

github-actions bot commented Mar 7, 2025

TestsPassed ✅Skipped ⚠️Failed
TT-Forge-FE Tests693 ran557 passed136 skipped0 failed
TestResult
No test annotations available

1 similar comment
Copy link

github-actions bot commented Mar 7, 2025

TestsPassed ✅Skipped ⚠️Failed
TT-Forge-FE Tests693 ran557 passed136 skipped0 failed
TestResult
No test annotations available

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.

2 participants