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

[VTA][Refactor] Introducing VTA_HW_PATH for easier migration #5163

Merged
merged 5 commits into from
Mar 29, 2020

Conversation

tmoreau89
Copy link
Contributor

@tmoreau89 tmoreau89 commented Mar 28, 2020

TVM community has voted for the vta/vta-hw directory migration (see #5102 for context). To make the switch easier:

  1. We're making it easier to migrate that sub-directory with a VTA_HW_PATH environment variable
  2. To run unit testing in the new vta-hw repo, we're introducing the TVM_PATH environment variable to point to TVM repo
  3. Updated the instructions to reflect that change
  4. Turned off building tsim/fsim libraries for VTA by default so average TVM users aren't asked to set these paths
  5. Remove VTA sources in vta-hw from doxygen -- vta-hw will have it's own doxygen generated docs
  6. Migrated pkg_config.py to vta-hw because it makes more sense to couple that with the config files.

@tmoreau89 tmoreau89 requested a review from tqchen March 28, 2020 21:22
@tmoreau89
Copy link
Contributor Author

@tqchen @liangfu

import os

def get_vta_hw_path():
"""Get the VTA HW path."""
Copy link
Member

Choose a reason for hiding this comment

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

It is still better to have a default

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks I've addressed them


def get_tvm_path():
"""Get the TVM path."""
TVM_PATH = os.getenv('TVM_PATH', None)
Copy link
Member

Choose a reason for hiding this comment

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

it is better to have a default

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, I'll set one

@tqchen tqchen merged commit bbad736 into apache:master Mar 29, 2020
@zhiics
Copy link
Member

zhiics commented Mar 29, 2020

@tmoreau89 Seems master CI is broken now. Could you please take a look?

@tqchen
Copy link
Member

tqchen commented Mar 29, 2020

@zhiics #5165 should fix the issue

tqchen pushed a commit to tqchen/tvm that referenced this pull request Mar 29, 2020
tqchen pushed a commit to tqchen/tvm that referenced this pull request Mar 29, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
@tmoreau89 tmoreau89 deleted the vta_path branch May 2, 2020 22:40
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.

3 participants