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

Update networkx and remove pyparsing limitation #2241

Merged
merged 13 commits into from
Nov 13, 2023

Conversation

vshampor
Copy link
Contributor

@vshampor vshampor commented Nov 2, 2023

Changes

Networkx was updated to allow 3.1, pyparsing limitation was removed. Will now replace the disallowed colon symbols : during reads and writes of .dot graphs.

Reason for changes

OV is now at the networkx 3.1, and we should be aligned at least on the major version for better DX.

Related tickets

69520

Tests

Existing graph-checking tests

@vshampor vshampor requested a review from a team as a code owner November 2, 2023 16:58
@github-actions github-actions bot added dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM NNCF Common Pull request that updates NNCF Common labels Nov 2, 2023
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #2241 (91b1209) into develop (96de397) will increase coverage by 0.22%.
Report is 8 commits behind head on develop.
The diff coverage is 98.38%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2241      +/-   ##
===========================================
+ Coverage    90.49%   90.71%   +0.22%     
===========================================
  Files          485      485              
  Lines        43659    43685      +26     
===========================================
+ Hits         39511    39631     +120     
+ Misses        4148     4054      -94     
Flag Coverage Δ
COMMON 15.83% <95.16%> (+0.06%) ⬆️
ONNX 33.82% <66.12%> (-0.03%) ⬇️
OPENVINO 38.59% <66.12%> (+0.12%) ⬆️
TENSORFLOW 30.06% <58.06%> (-0.03%) ⬇️
TORCH 62.70% <90.32%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
nncf/common/graph/graph.py 96.51% <100.00%> (+0.13%) ⬆️
...common/quantization/quantizer_propagation/graph.py 89.36% <100.00%> (-0.02%) ⬇️
setup.py 0.00% <ø> (ø)
nncf/common/utils/dot_file_rw.py 90.00% <98.30%> (+36.15%) ⬆️

... and 27 files with indirect coverage changes

@github-actions github-actions bot added NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Nov 8, 2023
@github-actions github-actions bot removed NNCF OpenVINO Pull requests that updates NNCF OpenVINO NNCF ONNX Pull requests that updates NNCF ONNX labels Nov 9, 2023

class _Direction(IntEnum):
TO_DOT = 0
FROM_DOT = 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is that ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused, removed, thanks!

@vshampor vshampor merged commit 13e794b into openvinotoolkit:develop Nov 13, 2023
9 checks passed
vshampor added a commit that referenced this pull request Jan 2, 2024
### Changes

As stated in the title

### Reason for changes
These are the leftovers from #2241.

### Related tickets
69520

### Tests
torch/TF precommit

---------

Co-authored-by: Vasily Shamporov <[email protected]>
vshampor added a commit to vshampor/nncf that referenced this pull request Jan 2, 2024
### Changes

As stated in the title

### Reason for changes
These are the leftovers from openvinotoolkit#2241.

### Related tickets
69520

### Tests
torch/TF precommit

---------

Co-authored-by: Vasily Shamporov <[email protected]>
@vshampor vshampor deleted the networkx_3 branch January 9, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM NNCF Common Pull request that updates NNCF Common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants