-
Notifications
You must be signed in to change notification settings - Fork 68
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
[WIP] Unit test with random seed failure #909
Merged
KexinFeng
merged 2 commits into
deepjavalibrary:master
from
KexinFeng:unit_test_random_seed
Jul 6, 2023
Merged
[WIP] Unit test with random seed failure #909
KexinFeng
merged 2 commits into
deepjavalibrary:master
from
KexinFeng:unit_test_random_seed
Jul 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lanking520
suggested changes
Jul 6, 2023
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.
we removed those PT files since it violates the Jacoco test rules
KexinFeng
force-pushed
the
unit_test_random_seed
branch
from
July 6, 2023 04:46
6ade6c0
to
3c233c5
Compare
lanking520
approved these changes
Jul 6, 2023
frankfliu
suggested changes
Jul 6, 2023
engines/python/setup/djl_python/scheduler/seq_batch_scheduler.py
Outdated
Show resolved
Hide resolved
engines/python/setup/djl_python/scheduler/seq_batch_scheduler.py
Outdated
Show resolved
Hide resolved
KexinFeng
changed the title
Unit test with random seed failure
[wip] Unit test with random seed failure
Jul 6, 2023
KexinFeng
changed the title
[wip] Unit test with random seed failure
Unit test with random seed failure
Jul 6, 2023
KexinFeng
changed the title
Unit test with random seed failure
[WIP] Unit test with random seed failure
Jul 6, 2023
KexinFeng
force-pushed
the
unit_test_random_seed
branch
from
July 6, 2023 18:00
31296e5
to
b7c8f83
Compare
KexinFeng
force-pushed
the
unit_test_random_seed
branch
from
July 6, 2023 18:01
b7c8f83
to
5d583a0
Compare
lanking520
approved these changes
Jul 6, 2023
frankfliu
approved these changes
Jul 6, 2023
KexinFeng
added a commit
to KexinFeng/djl-serving-forked
that referenced
this pull request
Aug 16, 2023
KexinFeng
added a commit
to KexinFeng/djl-serving-forked
that referenced
this pull request
Aug 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tries to enable the unit test for the sampling autoregressive searching. The assertion is true when locally testing it. But in the PR continueous test, the assertion becomes false.
Update:
Now the assertion in the unit test passes the PR test. However, local test will fail at that assertion.
So the issue is, after setting the random seed, the outputs, even though fixed, are different between local testing and PR testing.