Skip to content
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

Support of PyTorch FX diagnosis in Neural Insights #1190

Merged
merged 23 commits into from
Sep 12, 2023

Conversation

bmyrcha
Copy link
Contributor

@bmyrcha bmyrcha commented Aug 25, 2023

Type of Change

Support for PyTorch to Neural Insights
API not changed

Description

Adjusted code to support weights summary for PyTorch FX models

Expected Behavior & Potential Risk

Weights summary visible in terminal for PyTorch FX models diagnosis.

How has this PR been tested?

Manual tests of PyTorch FX models. (WIP)

Dependency Change?

Added torchinfo for summarizing pytorch models

bmyrcha and others added 19 commits August 28, 2023 17:09
…cha/ni_pytorch_fx_support

# Conflicts:
#	neural_compressor/config.py
#	neural_compressor/utils/neural_insights_utils.py
#	neural_insights/components/diagnosis/diagnosis.py
#	neural_insights/components/diagnosis/factory.py
#	neural_insights/ni.py
* pytorch initial changes

Signed-off-by: aradys-intel <[email protected]>

* improve styling

Signed-off-by: aradys-intel <[email protected]>

* model summary enabled

Signed-off-by: aradys-intel <[email protected]>

* remove buttons from table

Signed-off-by: aradys-intel <[email protected]>

* gui compiled

Signed-off-by: aradys-intel <[email protected]>

---------

Signed-off-by: aradys-intel <[email protected]>
* pytorch initial changes

Signed-off-by: aradys-intel <[email protected]>

* improve styling

Signed-off-by: aradys-intel <[email protected]>

* model summary enabled

Signed-off-by: aradys-intel <[email protected]>

* remove buttons from table

Signed-off-by: aradys-intel <[email protected]>

* gui compiled

Signed-off-by: aradys-intel <[email protected]>

* fix warning and styling

Signed-off-by: aradys-intel <[email protected]>

* add spinners

Signed-off-by: aradys-intel <[email protected]>

* gui compiled

Signed-off-by: aradys-intel <[email protected]>

---------

Signed-off-by: aradys-intel <[email protected]>
@chensuyue chensuyue marked this pull request as ready for review September 9, 2023 09:20
@chensuyue chensuyue closed this Sep 11, 2023
@chensuyue chensuyue reopened this Sep 11, 2023
@chensuyue chensuyue merged commit 74a785e into master Sep 12, 2023
@chensuyue chensuyue deleted the bmyrcha/ni_pytorch_fx_support branch September 12, 2023 06:24
chensuyue pushed a commit to chensuyue/lpot that referenced this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants