Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Parser Cleanup #126

Merged
merged 3 commits into from
Jan 16, 2019
Merged

Parser Cleanup #126

merged 3 commits into from
Jan 16, 2019

Conversation

barrh
Copy link
Contributor

@barrh barrh commented Jan 13, 2019

  • Move parser to its own file
  • Enhance API to support more activation logging options
  • Case-insensitive arguments

Enable logging activation both durning training and validation at
the same session.
* Parser is moved from compress_classifier into its own file.
* Torch version check is moved to precede main() call.
* Move main definition to the top of the file.
Copy link
Contributor

@nzmora nzmora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look fine.
@guyjacob - please weigh-in regarding the timing, since you want to do a large merge of your branch.

@guyjacob
Copy link
Contributor

It's not a big deal from my side. We can merge this now. Thanks @barrh

@nzmora
Copy link
Contributor

nzmora commented Jan 15, 2019

Hey @barrh ,
Did you test this code?
See distiller/tests:

$ cd distiller/tests
$ pytest
$ python3 full_flow_tests.py

Thanks
Neta

@barrh
Copy link
Contributor Author

barrh commented Jan 15, 2019

Just did - failed miserably in my environment.
Note that I do not confirm with Distiller's strict requirements.

@nzmora
Copy link
Contributor

nzmora commented Jan 16, 2019

All test are successful on my machine. I'll merge shortly.

@nzmora nzmora merged commit cfbc379 into IntelLabs:master Jan 16, 2019
@barrh barrh deleted the parser_update branch January 20, 2019 13:47
michaelbeale-IL pushed a commit that referenced this pull request Apr 24, 2023
* Support for multi-phase activations logging

Enable logging activation both durning training and validation at
the same session.

* Refactoring: Move parser to its own file

* Parser is moved from compress_classifier into its own file.
* Torch version check is moved to precede main() call.
* Move main definition to the top of the file.
* Modify parser choices to case-insensitive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants