forked from openvinotoolkit/nncf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test examples on windows (openvinotoolkit#3045)
### Changes - `setuptools<=72.1.0` to avoid issue `Could not compile CPU quantization extensions. Falling back on torch native operations - CPU quantization fine-tuning may be slower than expected.` on windows. - Add catch `BackendCompilerFailed` exception for `post_training_quantization_torch_fx_resnet18` - Bump version of anomalib to 1.0.1 `quantization_aware_training_torch_resnet18` tests on windows ### Related tickets 155866
- Loading branch information
1 parent
7576aef
commit 688c81e
Showing
5 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ openvino==2024.4 | |
scikit-learn | ||
torch==2.4.0 | ||
torchvision==0.19.0 | ||
setuptools<=72.1.0 |
This file contains 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 |
---|---|---|
|
@@ -6,3 +6,4 @@ torch==2.4.0 | |
torchmetrics==1.0.1 | ||
torchvision==0.19.0 | ||
numpy<2 | ||
setuptools<=72.1.0 |
This file contains 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
3 changes: 2 additions & 1 deletion
3
examples/quantization_aware_training/torch/anomalib/requirements.txt
This file contains 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
anomalib[core,openvino]==1.0.0 | ||
anomalib[core,openvino]==1.0.1 | ||
setuptools<=72.1.0 |
This file contains 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ fastdownload==0.0.7 | |
openvino==2024.4 | ||
torch==2.4.0 | ||
torchvision==0.19.0 | ||
setuptools<=72.1.0 |