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

[Conda] Specify python version in build-environment #13047

Merged
merged 1 commit into from
Oct 12, 2022
Merged

[Conda] Specify python version in build-environment #13047

merged 1 commit into from
Oct 12, 2022

Conversation

ehsanmok
Copy link
Contributor

@ehsanmok ehsanmok commented Oct 11, 2022

The current build-environment.yaml doesn't specify the python version for tvm-build conda environment and as a result, any python version might be selected depending on the available base conda. In my case, the base conda is 3.10 so tvm won't work given tvm is unsupported for python >= 3.9.

To validate run on tvm-build env

conda env update -f conda/build-environment.yaml

@tvm-bot
Copy link
Collaborator

tvm-bot commented Oct 11, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: conda See #10317 for details
  • Built docs for commit 88ec9d7 can be found here.

Generated by tvm-bot

@ehsanmok
Copy link
Contributor Author

@driazati

@driazati driazati self-requested a review October 12, 2022 06:04
@driazati driazati merged commit a752b74 into apache:main Oct 12, 2022
@ehsanmok ehsanmok deleted the conda-python-set branch October 12, 2022 14:26
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
The current [build-environment.yaml](https://github.com/apache/tvm/blob/main/conda/build-environment.yaml) doesn't specify the python version for `tvm-build` conda environment and as a result, any python version might be selected depending on the available base conda. In my case, the base conda is 3.10 so tvm won't work given [tvm is unsupported for python >= 3.9](apache#8577).

To validate run on `tvm-build` env 

```
conda env update -f conda/build-environment.yaml
```
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