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

[AutoScheduler][Relay] Control compile engine cache via PassContext #7220

Merged
merged 3 commits into from Jan 7, 2021

Conversation

comaniac
Copy link
Contributor

@comaniac comaniac commented Jan 6, 2021

Use PassContext to disable the compile engine cache, so that we can maintain all required information (i.e., in the TracingEnvironment).

cc @merrymercy @jcf94 @zhiics @icemelon9

@junrushao
Copy link
Member

The PR looks reasonable. I was wondering from time to time, when compiler cache could be potentially useful?

@comaniac
Copy link
Contributor Author

comaniac commented Jan 6, 2021

The PR looks reasonable. I was wondering from time to time, when compiler cache could be potentially useful?

I think it's useful to reduce the compile time when building a model? Like we only extract 25 tasks from a model with 50 conv2ds, meaning that we only compile 25 of them instead of 50.

Copy link
Member

@zhiics zhiics left a comment

Choose a reason for hiding this comment

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

LGTM

@junrushao junrushao merged commit 93d79ba into apache:main Jan 7, 2021
@comaniac comaniac deleted the disable_compile_cache branch January 7, 2021 02:04
tkonolige pushed a commit to tkonolige/incubator-tvm that referenced this pull request Jan 11, 2021
…pache#7220)

* [AutoScheduler][Relay] Control compile engine cache via PassContext

* lint

* lint
masahi pushed a commit to masahi/tvm that referenced this pull request Jan 14, 2021
…pache#7220)

* [AutoScheduler][Relay] Control compile engine cache via PassContext

* lint

* lint
TusharKanekiDey pushed a commit to TusharKanekiDey/tvm that referenced this pull request Jan 20, 2021
…pache#7220)

* [AutoScheduler][Relay] Control compile engine cache via PassContext

* lint

* lint
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jan 21, 2021
…pache#7220)

* [AutoScheduler][Relay] Control compile engine cache via PassContext

* lint

* lint
electriclilies pushed a commit to electriclilies/tvm that referenced this pull request Feb 18, 2021
…pache#7220)

* [AutoScheduler][Relay] Control compile engine cache via PassContext

* lint

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants