You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/09 21:01:08 UTC
[GitHub] [tvm] mehrdadh opened a new pull request, #11655: [microTVM] Update Zephyr RVM name and box version
mehrdadh opened a new pull request, #11655:
URL: https://github.com/apache/tvm/pull/11655
cc @areusch @gromero @guberti
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] areusch commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
areusch commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r896104803
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
yeah then at least we retain the ability to specify the zephyr version in the box version scheme
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r897074564
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
I think 2.7.X as version number provides some information which is useful. X would be totally incremental because out RVM updates are not aligned with the minor version of Zephyr.
We could also use arduino CLI version or SDK for arduino RVM.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] guberti commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
guberti commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899360754
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
I agree that we want to support semantic versioning. This pretty much guarantees that the Arduino RVM version has to be purely incremental, because there are so many version numbers that matter.
For Zephyr, I'd still prefer a purely incremental version number for consistency, but anything that supports semantic versioning seems reasonable too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] areusch commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
areusch commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899472795
##########
apps/microtvm/reference-vm/zephyr/README.md:
##########
@@ -24,14 +24,7 @@ that are supported by [Zephyr Project](https://zephyrproject.org/).
Zephyr VM is published under [tlcpack](https://app.vagrantup.com/tlcpack).
Here is a list of different release versions and their tools.
-### [microtvm-zephyr-2.5](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr-2.5/versions/0.0.1)
+**Note**: We will release all microTVM RVM boxes under [microtvm-zephyr](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr) and use box versioning in Vagrant file. Previous versions like `microtvm-zephyr-2.5`, `microtvm-zephyr-2.4` are not continued and will be removed in future.
-- Zephyr [version 2.5.0]
-- Zephyr SDK [version 0.12.3]
-- nRFjProg [version 10.12.1]
-
-### [microtvm-zephyr-2.4](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr/versions/0.0.4)
-
-- Zephyr [version 2.4.0]
-- Zephyr SDK [version 0.11.3]
-- nRFjProg [version 10.9.0]
+## Versioning
+We use semantic versioning as it is recommended by [Vagrant](https://www.vagrantup.com/docs/boxes/versioning).
Review Comment:
can we state this a bit better?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899401816
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
we had discussion about RVM versioning. The conclusion was to be compatible semantic versioning we need to go fully incremental staring with version `1.0.0`. The reason is that there are cases where we want to do a major update on RVM without changing the Zephyr SDK version, in this case semantic versioning requires to release a new major version however if we want to keep Zephyr SDK version we cannot be backward compatible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899285596
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
I agree with that. For a box version like X.Y.Z I think we can keep X.Y aligned with Zephyr version, but loose the Z because there could be cases where we don't update the Zephyr minor version but we want to release boxes for other updates. So we can keep Z totally incremental based on our needs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r894878332
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
so I guess 2.7 is the zephyr version and .X is just an incremental number?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] guberti commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
guberti commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r897202060
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
For Arduino, using the CLI version doesn't make much sense, as it does not affect how code is compiled. We can't use the SDK version either, as we have one SDK for each board we support. My preference is still to have the version number be purely incremental, but I'll defer to you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] areusch commented on a diff in pull request #11655: [microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
areusch commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r894829673
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
what's the 0.5.0 signify? should we adopt 2.7.x as the version number?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #11655:
URL: https://github.com/apache/tvm/pull/11655#issuecomment-1152730186
Currently testing it with hardware CI. Let's wait until testing is confirmed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] areusch commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
areusch commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899254498
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
right, my apologies, i forgot @guberti and I discussed this concern a bit. upon more reading, here's what I think:
- to some degree the version number of the box is an implementation detail of that particular RVM.
- Vagrant is permissive in terms of what the box versioning can be, but [strongly suggests](https://www.vagrantup.com/docs/boxes/versioning) semver (see Version Constraints section)
- i think we should support semver with these boxes so that at least we maintain some operational commonality between them
- we could probably directly map the Zephyr versions into the box's version space if Zephyr does in fact support semver itself. I'm not so sure about that and would need to google a bit more to find out. if not, perhaps we should then rev the major version of the box each time we update Zephyr (or make any other breaking change).
- for Arduino, let's make a decision along similar lines--my understanding is that there isn't a singular version here, so we may have to be a bit more explicit about documenting the versions of tools we care about so that the community can rev the box revision appropriately.
thoughts?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] areusch merged pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
areusch merged PR #11655:
URL: https://github.com/apache/tvm/pull/11655
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r899477560
##########
apps/microtvm/reference-vm/zephyr/README.md:
##########
@@ -24,14 +24,7 @@ that are supported by [Zephyr Project](https://zephyrproject.org/).
Zephyr VM is published under [tlcpack](https://app.vagrantup.com/tlcpack).
Here is a list of different release versions and their tools.
-### [microtvm-zephyr-2.5](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr-2.5/versions/0.0.1)
+**Note**: We will release all microTVM RVM boxes under [microtvm-zephyr](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr) and use box versioning in Vagrant file. Previous versions like `microtvm-zephyr-2.5`, `microtvm-zephyr-2.4` are not continued and will be removed in future.
-- Zephyr [version 2.5.0]
-- Zephyr SDK [version 0.12.3]
-- nRFjProg [version 10.12.1]
-
-### [microtvm-zephyr-2.4](https://app.vagrantup.com/tlcpack/boxes/microtvm-zephyr/versions/0.0.4)
-
-- Zephyr [version 2.4.0]
-- Zephyr SDK [version 0.11.3]
-- nRFjProg [version 10.9.0]
+## Versioning
+We use semantic versioning as it is recommended by [Vagrant](https://www.vagrantup.com/docs/boxes/versioning).
Review Comment:
added some details. thoughts?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] guberti commented on a diff in pull request #11655: [skip ci][microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
guberti commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r896185060
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
I'm not a huge fan of the 2.7.X convention. For one, I don't think it's clear where the Zephyr version part ends and the incremental number begins, and it would be easy to believe e.g. 2.7.1 was a full version number.
Additionally, the Arduino VM won't have a relevant version number, so its `box_version` is bound to be purely incremental. For consistency, we might want to make the Zephyr `box_version` purely incremental as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on a diff in pull request #11655: [microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on code in PR #11655:
URL: https://github.com/apache/tvm/pull/11655#discussion_r894877286
##########
apps/microtvm/reference-vm/zephyr/Vagrantfile:
##########
@@ -16,7 +16,8 @@
# under the License.
Vagrant.configure("2") do |config|
- config.vm.box = "tlcpack/microtvm-zephyr-2.7"
+ config.vm.box = "tlcpack/microtvm-zephyr"
+ config.vm.box_version = "0.5.0"
Review Comment:
0.5.0 was just an incremental number. I like your suggestion
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] mehrdadh commented on pull request #11655: [microTVM] Update Zephyr RVM name and box version
Posted by GitBox <gi...@apache.org>.
mehrdadh commented on PR #11655:
URL: https://github.com/apache/tvm/pull/11655#issuecomment-1151622262
let's merge this after https://github.com/apache/tvm/pull/11634 is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org