Skip to content

Get rid of "parallel" and "oneDNN" parameters in "build_graph"#223

Merged
allnes merged 13 commits into
mainfrom
Semyon1104/ReplaceParameters
Nov 11, 2025
Merged

Get rid of "parallel" and "oneDNN" parameters in "build_graph"#223
allnes merged 13 commits into
mainfrom
Semyon1104/ReplaceParameters

Conversation

@Semyon1104

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Nov 8, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.97%. Comparing base (2a2b9df) to head (51dc947).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
include/graph/graph.hpp 85.71% 1 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
+ Coverage   83.84%   83.97%   +0.13%     
==========================================
  Files          44       44              
  Lines        2655     2665      +10     
  Branches     1466     1466              
==========================================
+ Hits         2226     2238      +12     
  Misses        219      219              
+ Partials      210      208       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread app/Graph/acc_check.cpp Outdated
int main(int argc, char* argv[]) {
std::string model_name = "alexnet_mnist";
bool parallel = false;
// bool parallel = false;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please, remove all debugging leftovers

Comment thread app/Graph/graph_build.cpp Outdated
int main(int argc, char* argv[]) {
std::string model_name = "alexnet_mnist";
bool parallel = false;
// bool parallel = false;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here

Comment thread app/Graph/graph_build.cpp
// bool parallel = false;
bool onednn = false;
for (int i = 1; i < argc; ++i) {
if (std::string(argv[i]) == "--parallel") {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Having --parallel as a runtime parameter still sounds reasonable. Why it was removed?

It we have decided to remove this then it feels like --onednn flag needs to be removed as well

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

static analizys complained about an unused parallel variable

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder why onednn is used then. They hold the similar purpose at this point

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

onednn we can only set it this way, when Andrey implements his version with parallel, he will most likely return the --parallel processing here, if I understand the question correctly

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok, I got it. This explains what I was concerned about

Comment thread include/graph/graph.hpp Outdated
}
};
} // namespace it_lab_ai
} // namespace it_lab_ai No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Revert

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed

Comment thread test/inference/test_inference.cpp Outdated
Tensor output = make_tensor(vec, sh1);
InputLayer a1(kNhwc, kNchw, 1, 2);

// Используем shared_ptr для всех слоев

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unnecessary comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@allnes allnes merged commit 4220c19 into main Nov 11, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants