-
Notifications
You must be signed in to change notification settings - Fork 79
Adding weights manual selection bitwidth #1379
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
Merged
kawakami-masaki0
merged 38 commits into
SonySemiconductorSolutions:main
from
gouda-youichi:adding_weights_manual_selection_bitwidth
Mar 26, 2025
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a81fd1e
pytorch_activation_threshold_search(Debugging and exploration code re…
gouda-youichi 4c66805
Merge branch 'sony:main' into main
gouda-youichi 66a3bd9
pytorch_activation_threshold_search(refine a little)
gouda-youichi ffe0e6d
Merge branch 'main' of https://github.com/gouda-youichi/model_optimiz…
gouda-youichi 746cb57
Fixed ofirgo-san's review comment.
gouda-youichi 8128264
Fixed ofirgo-san's review comment.[2]
gouda-youichi 67b78b5
Fixed ofirgo-san's review comment.[3]
gouda-youichi 722380b
PR comment correction (in progress)
gouda-youichi 5564182
[DEBUG]about printout layer_type
gouda-youichi d5481a0
PR comment correction(fixed)
gouda-youichi 2f6e5fc
Merge branch 'sony:main' into main
gouda-youichi 947f56c
Merge branch 'main' of https://github.com/gouda-youichi/model_optimiz…
gouda-youichi 0926861
Merge branch 'main' of https://github.com/gouda-youichi/model_optimiz…
gouda-youichi 7d4ba38
add set_manual_weights_bit_width to bit_width_config.py
gouda-youichi 6eec34b
modified get_nodes_to_manipulate_bit_widths and etc
gouda-youichi 6c3c262
All implementations completed. Not yet tested.
gouda-youichi 50af865
Merge branch 'sony:main' into adding_weights_manual_selection_bitwidth
gouda-youichi 9411042
revert original setting for tpc.
gouda-youichi b283c81
add test for weights_manual_selection_bitwidth
gouda-youichi a776f4c
modified test_manual_weights_bitwidth_selection.py
gouda-youichi 424dde6
revert tpc.py
gouda-youichi b07fc5d
correcting accrding to the feedback comments
gouda-youichi 02dce0c
correcting according to the feedback comments
gouda-youichi 464f1da
correcting according to the feedback comments.
gouda-youichi bc0cf98
Revert unnecessary modifications
gouda-youichi 70db8e8
Revert set_node_quantization_config.py
gouda-youichi c51a200
fixing for manual weights selection bitwidth(kernel,bias)
gouda-youichi 37d2dcf
fixing for manual weights selection bitwidth(kernel,bias)
gouda-youichi d411b8d
fixed PR-FB for manual weights selection bitwidth
gouda-youichi 5b88fe2
rename test script
gouda-youichi 1f30c99
Correcting comments on pull requests
gouda-youichi 8ee3002
Correcting comments on pull requests_2
gouda-youichi 2a3c40c
Fixed comments on pull requests.
gouda-youichi 1af4e11
Merge branch 'sony:main' into adding_weights_manual_selection_bitwidth
kawakami-masaki0 7ba5a17
fixing for manual weights selection bitwidth
kawakami-masaki0 afe57b4
add __init__.py
kawakami-masaki0 c49ba74
fix imported module
kawakami-masaki0 e7737d6
fixed to check for integer or string
kawakami-masaki0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright 2025 Sony Semiconductor Israel, Inc. All rights reserved. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # ============================================================================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright 2025 Sony Semiconductor Israel, Inc. All rights reserved. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # ============================================================================== |
14 changes: 14 additions & 0 deletions
14
tests_pytest/common_tests/core/common/quantization/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright 2025 Sony Semiconductor Israel, Inc. All rights reserved. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # ============================================================================== |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.