-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[BYOC][ACL] Enable remote device via environment variables #6279
Conversation
Meanwhile, I am not a fan of this style to be honest. From the unit test and CI point of view we should not depend on environment variables if we don't have to. Would like to hear from other's opinions. |
Apologies for the delay following up on this. I agree this isn't the most elegant, I think our options are limited though. One idea I did have was to check for the presence of an Open to other suggestions though :) |
This solution is much better for sure, as it still makes ACL test infra self-contained. cc @zhiics for comments. |
@u99127, @leandron, please take another look and approve or comment as per https://tvm.apache.org/docs/contribute/code_review.html#approve-and-request-changes-explicitly |
Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21
a5281bb
to
65fa7f2
Compare
Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b
65fa7f2
to
a75776c
Compare
Change-Id: If718b5d163e399711111830f878db325db9c5f84
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a nit.
Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
* [BYOC][ACL] Enable remote device via environment variables Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21 * Use json file as configuration for tests Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b * Do not load the test config during class creation Change-Id: If718b5d163e399711111830f878db325db9c5f84 * Add check for existence of file Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
* [BYOC][ACL] Enable remote device via environment variables Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21 * Use json file as configuration for tests Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b * Do not load the test config during class creation Change-Id: If718b5d163e399711111830f878db325db9c5f84 * Add check for existence of file Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
* [BYOC][ACL] Enable remote device via environment variables Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21 * Use json file as configuration for tests Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b * Do not load the test config during class creation Change-Id: If718b5d163e399711111830f878db325db9c5f84 * Add check for existence of file Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
* [BYOC][ACL] Enable remote device via environment variables Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21 * Use json file as configuration for tests Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b * Do not load the test config during class creation Change-Id: If718b5d163e399711111830f878db325db9c5f84 * Add check for existence of file Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
* [BYOC][ACL] Enable remote device via environment variables Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped. Change-Id: I8fc0b88106683ac6f1cbff44c8954726325cda21 * Use json file as configuration for tests Change-Id: Iadce931d91056ed3a2d57a49f14af1ce771ae14b * Do not load the test config during class creation Change-Id: If718b5d163e399711111830f878db325db9c5f84 * Add check for existence of file Change-Id: I2568bca7f4c3ad22ee8f9d065a9486ee3114f35c
Improves the ACL remote testing infrastructure by allowing a remote device to be specified via environment variables. This means external scripts can be used to enable the runtime tests. By default an RPC server will not be used and the runtime tests will be skipped.
cc @leandron @u99127 @comaniac @zhiics