You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each core must be at least 2.6 gigahertz (GHz) or faster.
64
64
65
65
Core and memory correspond to the `--cpus` and `--memory` settings, which are used as part of the `docker run` command.
66
66
67
67
> [!NOTE]
68
-
> The minimum and recommended allocations are based on Docker limits, *not* the host machine resources. For example, speech-to-text containers memory map portions of a large language model. We recommend that the entire file should fit in memory, which is an additional 4 to 6 GB. Also, the first run of either container might take longer because models are being paged into memory.
68
+
> The minimum and recommended allocations are based on Docker limits, *not* the host machine resources.
69
+
> For example, speech-to-text containers memory map portions of a large language model. We recommend that the entire file should fit in memory. You need to add an additional 4 to 8 GB to load the speech modesl (see above table).
70
+
> Also, the first run of either container might take longer because models are being paged into memory.
69
71
70
72
### Advanced Vector Extension support
71
73
@@ -127,7 +129,6 @@ To use the latest version of the container, you can use the `latest` tag. You ca
127
129
| Speech language identification |`mcr.microsoft.com/azure-cognitive-services/speechservices/language-detection:latest`|
128
130
129
131
***
130
-
131
132
[!INCLUDE [Tip for using docker list](../../../includes/cognitive-services-containers-docker-list-tip.md)]
Increasing the number of concurrent calls can affect reliability and latency. For language identification, we recommend a maximum of four concurrent calls using 1 CPU with 1 GB of memory. For hosts with 2 CPUs and 2 GB of memory, we recommend a maximum of six concurrent calls.
514
514
515
515
***
516
-
517
516
> [!IMPORTANT]
518
517
> The `Eula`, `Billing`, and `ApiKey` options must be specified to run the container. Otherwise, the container won't start. For more information, see [Billing](#billing).
519
518
520
519
## Run the container in disconnected environments
521
520
522
521
You must request access to use containers disconnected from the internet. For more information, see [Request access to use containers in disconnected environments](../containers/disconnected-containers.md#request-access-to-use-containers-in-disconnected-environments).
523
522
523
+
For Speech Service container configuration, see [Disconnected containers](../containers/disconnected-containers.md#speech-containers).
#### Speech-to-text, Custom Speech-to-Text and Neural text-to-speech containers
164
+
#### Speech containers
165
165
166
-
The [Speech-to-Text](../speech-service/speech-container-howto.md?tabs=stt), [Custom Speech-to-Text](../speech-service/speech-container-howto.md?tabs=cstt) and [Neural Text-to-Speech](../speech-service/speech-container-howto.md?tabs=ntts) containers provide a default directory for writing the license file and billing log at runtime. The default directories are /license and /output respectively.
166
+
# [Speech-to-text](#tab/stt)
167
+
168
+
The [Speech-to-Text](../speech-service/speech-container-howto.md?tabs=stt) container provides a default directory for writing the license file and billing log at runtime. The default directories are /license and /output respectively.
167
169
168
170
When you're mounting these directories to the container with the `docker run -v` command, make sure the local machine directory is set ownership to `user:group nonroot:nonroot` before running the container.
169
171
@@ -173,6 +175,52 @@ Below is a sample command to set file/directory ownership.
The [Neural Text-to-Speech](../speech-service/speech-container-howto.md?tabs=ntts) container provides a default directory for writing the license file and billing log at runtime. The default directories are /license and /output respectively.
181
+
182
+
When you're mounting these directories to the container with the `docker run -v` command, make sure the local machine directory is set ownership to `user:group nonroot:nonroot` before running the container.
183
+
184
+
Below is a sample command to set file/directory ownership.
In order to prepare and configure the Custom Speech-to-Text container you will need two separate speech resources:
193
+
194
+
1. A regular Azure Speech Service resource which is either configured to use a "**S0 - Standard**" pricing tier or a "**Speech to Text (Custom)**" commitment tier pricing plan. This will be used to train, download, and configure your custom speech models for use in your container.
195
+
1. An Azure Speech Service resource which is configured to use the "**DC0 Commitment (Disconnected)**" pricing plan. This is used to download your disconnected container license file required to run the container in disconnected mode.
196
+
197
+
To download all the required models into your Custom Speech-to-Text container follow the instructions for Custom Speech-to-Text containers on the [Install and run Speech containers](../speech-service/speech-container-howto.md?tabs=cstt) page and use the speech resource in step 1.
198
+
199
+
After all required models have been downloaded to your host computer, you need to download the disconnected license file using the instructions in the above chapter, titled [Configure the container to be run in a disconnected environment](./disconnected-containers.md#configure-the-container-to-be-run-in-a-disconnected-environment), using the Speech resource from step 2.
200
+
201
+
To run the container in disconnected mode, follow the instructions from above chapter titled [Run the container in a disconnected environment](./disconnected-containers.md#run-the-container-in-a-disconnected-environment) and add an additional `-v` parameter to mount the directory containing your custom speech model.
202
+
203
+
Example for running a Custom Speech-to-Text container in disconnected mode:
The [Custom Speech-to-Text](../speech-service/speech-container-howto.md?tabs=cstt) container provides a default directory for writing the license file and billing log at runtime. The default directories are /license and /output respectively.
216
+
217
+
When you're mounting these directories to the container with the `docker run -v` command, make sure the local machine directory is set ownership to `user:group nonroot:nonroot` before running the container.
218
+
219
+
Below is a sample command to set file/directory ownership.
When operating Docker containers in a disconnected environment, the container will write usage records to a volume where they're collected over time. You can also call a REST endpoint to generate a report about service usage.
@@ -255,3 +303,7 @@ If you run the container with an output mount and logging enabled, the container
0 commit comments