-
Notifications
You must be signed in to change notification settings - Fork 143
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
Implementation of Pause and Run Continuous with refactoring of Runtime #171
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.
Great that this is implemented.
However, you should work on some of the docstrings. In particular there seem to be a couple of automatic renaming errors scattered throughout the whole code base in this PR that make absolutely no sense when you read the resulting docstrings.
I have made most of the changes and have noted down what I haven't done. I need to merge this pull request.
@@ -92,6 +92,7 @@ def setup_conv() -> Tuple[ | |||
class TestConvProcessModels(unittest.TestCase): | |||
"""Tests for all ProcessModels of Conv""" | |||
|
|||
@unittest.skip |
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.
What is the reason for skipping test_conv_float and test_conv_fixed?
@@ -75,66 +57,3 @@ def test_source_sink(self) -> None: | |||
f'{output[output!=input]=}\n' | |||
f'{input[output!=input] =}\n' | |||
) | |||
|
|||
def test_read(self) -> None: |
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.
Also why remove test_read and test_reset?
I don't know why the MacOs unit test run is taking 25m plus. I'm restarting CI run to check if this is persistent. |
Third time's a charm. Seems there is some intermittent failure for MacOS unit test:
|
Filed #186 for the above failure. It doesn't seem related to code in this PR. |
lava-nc#171) * Implementation of the refactored runtime with pause and run-continous feature * Fixed the constructor of ProcessModel * Fixed the issue with missing HostCPU * Made set_var blocking call * Fixed a bug in runtime service which was causing monitor tests to fail
Issue Number: 86, 53
Objective of pull request: Implementation of Pause and Run Continuous with refactoring of Runtime
Pull request checklist
Your PR fulfills the following requirements:
pyb
) passes locallypyb -E unit
) or (python -m unittest
) passes locallyPull request type
Please check your PR type:
What is the current behavior?
What is the new behavior?
Does this introduce a breaking change?
AbstractProcessModel has been refactored which will change most of the user defined ProcessModel.
Supplemental information