-
Notifications
You must be signed in to change notification settings - Fork 1.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
Use current time when overwriting model configuration. #6727
Conversation
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.
You may also want to address the Python style issue raised by CodeQL
qa/L0_lifecycle/lifecycle_test.py
Outdated
@@ -3254,6 +3255,83 @@ def test_concurrent_model_instance_load_sanity(self): | |||
) | |||
self.assertTrue(triton_client.is_server_ready()) | |||
|
|||
def test_ensemble_config_overwite(self): |
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.
I don't see the test case is doing anything with ensemble, should probably change the name of the test case.
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.
👍 good call, updated.
e339e59
to
b82b401
Compare
qa/L0_lifecycle/lifecycle_test.py
Outdated
|
||
# Touch the local config.pbtxt and reload the file to ensure the local config | ||
# is preferred because it has a more recent mtime. | ||
Path(model_name + "/config.pbtxt").touch() |
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.
probably better to use os.path.join
to compose the file path
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.
good call, updated
qa/L0_lifecycle/test.sh
Outdated
fi | ||
|
||
set +e | ||
python $LC_TEST LifeCycleTest.test_ensemble_config_overwite >>$CLIENT_LOG 2>&1 |
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.
reflect the new test case name
qa/L0_lifecycle/test.sh
Outdated
@@ -1947,3 +1947,38 @@ else | |||
fi | |||
|
|||
exit $RET | |||
|
|||
# LifeCycleTest.test_ensemble_config_overwite |
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.
reflect the new test case name
b82b401
to
94a7b7f
Compare
601c3e5
to
31ebb73
Compare
@whoisj you might need to resolve conflicts on this branch. |
e668f6e
to
919417e
Compare
This validates the change made to ../core wrt how model configuration mtime is handled.
919417e
to
271848e
Compare
This validates the change made to ../core wrt how model configuration mtime is handled.
This validates the change This validates the change made to
../core
wrt how model configuration mtime is handled.MR to ../core