-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[GNA] Documentation updates for 2021.1 #2460
Merged
dorloff
merged 4 commits into
openvinotoolkit:releases/2021/1
from
dorloff:gna_docs_2021_1_release
Oct 6, 2020
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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 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 |
---|---|---|
|
@@ -42,6 +42,8 @@ Intel® Core™ i3-8121U Processor | |
- Intel® Core™ i3-1000G1 Processor | ||
- Intel® Core™ i3-1000G4 Processor | ||
|
||
* All [Tiger Lake](https://ark.intel.com/content/www/us/en/ark/products/codename/88759/tiger-lake.html) processors. | ||
|
||
> **NOTE**: On platforms where Intel® GNA is not enabled in the BIOS, the driver cannot be installed, so the GNA plugin uses the software emulation mode only. | ||
|
||
## Drivers and Dependencies | ||
|
@@ -64,10 +66,11 @@ The list of supported layers can be found | |
[here](Supported_Devices.md) (see the GNA column of Supported Layers section). | ||
Limitations include: | ||
|
||
- Only 1D convolutions (in the models converted from [Kaldi](../../MO_DG/prepare_model/convert_model/Convert_Model_From_Kaldi.md) framework) are natively supported | ||
- Only 1D convolutions are natively supported in the models converted from: | ||
- [Kaldi](../../MO_DG/prepare_model/convert_model/Convert_Model_From_Kaldi.md) framework; | ||
- [TensorFlow](../../MO_DG/prepare_model/convert_model/Convert_Model_From_TensorFlow.md) framework; note that for TensorFlow models, the option `--disable_nhwc_to_nchw` must be used when running the Model Optimizer. | ||
- The number of output channels for convolutions must be a multiple of 4 | ||
- Permute layer support is limited to the cases where no data reordering is needed, or when reordering is happening for 2 dimensions, at least one of which is not greater than 8 | ||
- Power layer only supports the power parameter equal to 1 | ||
|
||
#### Experimental Support for 2D Convolutions | ||
|
||
|
@@ -159,6 +162,30 @@ Heterogeneous plugin was tested with the Intel® GNA as a primary device and | |
|
||
> **NOTE:** Due to limitation of the Intel® GNA backend library, heterogenous support is limited to cases where in the resulted sliced graph, only one subgraph is scheduled to run on GNA\_HW or GNA\_SW devices. | ||
|
||
## Recovery from interruption by high-priority Windows audio processes\* | ||
|
||
dorloff marked this conversation as resolved.
Show resolved
Hide resolved
|
||
As noted in the introduction, GNA is designed for real-time workloads such as noise reduction. | ||
For such workloads, processing should be time constrained, otherwise extra delays may cause undesired effects such as | ||
audio "glitches". To make sure that processing can satisfy real time requirements, the GNA driver provides a QoS | ||
(Quality of Service) mechanism which interrupts requests that might cause high-priority Windows audio processes to miss | ||
schedule, thereby causing long running GNA tasks to terminate early. | ||
|
||
Applications should be prepared for this situation. | ||
If an inference (in `GNA_HW` mode) cannot be executed because of such an interruption, then `InferRequest::Wait()` will return status code | ||
`StatusCode::INFER_NOT_STARTED` (note that it will be changed to a more meaningful status code in future releases). | ||
|
||
Any application working with GNA must properly react if it receives this code. Various strategies are possible. | ||
One of the options is to immediately switch to GNA SW emulation mode: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. react if receives --> react if it receives. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
|
||
```cpp | ||
std::map<std::string, Parameter> newConfig; | ||
newConfig[GNAConfigParams::KEY_GNA_DEVICE_MODE] = Parameter("GNA_SW_EXACT"); | ||
executableNet.SetConfig(newConfig); | ||
|
||
``` | ||
|
||
then resubmit and switch back to GNA_HW after some time hoping that the competing application has finished. | ||
|
||
## See Also | ||
|
||
* [Supported Devices](Supported_Devices.md) | ||
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Tiger Lake](https://ark.intel.com/content/www/us/en/ark/products/codename/88759/tiger-lake.html) processors
-->[11th Generation Intel® Core™ Processors (formerly codenamed Tiger Lake)](https://ark.intel.com/content/www/us/en/ark/products/codename/88759/tiger-lake.html)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check