-
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
update and deprecate warning for Mic notebook #6307
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
50a2be9
update Online_ASR_Microphone_Demo.ipynb
fayejf e8d3c92
update Online_Offline_Speech_Commands_Demo.ipynb
fayejf bc176a6
update Online_Offline_Microphone_VAD_Demo.ipynb
fayejf effd2e8
update Online_Offline_Microphone_VAD_Demo.ipynb \n
fayejf 4a4840e
remove 'each'
fayejf f3fc1a3
Merge branch 'r1.17.0' into mic_notebook
fayejf 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 |
---|---|---|
|
@@ -29,9 +29,6 @@ | |
"BRANCH = 'r1.17.0'\n", | ||
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[asr]\n", | ||
"\n", | ||
"## Install TorchAudio\n", | ||
"!pip install torchaudio>=0.13.0 -f https://download.pytorch.org/whl/torch_stable.html\n", | ||
"\n", | ||
"## Grab the config we'll use in this example\n", | ||
"!mkdir configs" | ||
] | ||
|
@@ -42,8 +39,7 @@ | |
"source": [ | ||
"This notebook demonstrates automatic speech recognition (ASR) from a microphone's stream in NeMo.\n", | ||
"\n", | ||
"It is **not a recommended** way to do inference in production workflows. If you are interested in \n", | ||
"production-level inference using NeMo ASR models, please refer to NVIDIA RIVA: https://developer.nvidia.com/riva" | ||
"It is **not a recommended** way to do inference in production workflows. And the incompatibility of components could lead to failure of running this notebook locally with container, we might deprecate this notebook and provide a better tutorial in soon releases. If you are interested in production-level inference using NeMo ASR models, please refer to NVIDIA RIVA: https://developer.nvidia.com/riva" | ||
] | ||
}, | ||
{ | ||
|
@@ -53,24 +49,11 @@ | |
"The notebook requires PyAudio library to get a signal from an audio device.\n", | ||
"For Ubuntu, please run the following commands to install it:\n", | ||
"```\n", | ||
"sudo apt-get install -y portaudio19-dev\n", | ||
"sudo apt install python3-pyaudio\n", | ||
"pip install pyaudio\n", | ||
"```" | ||
] | ||
}, | ||
{ | ||
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. Revert, this notebook won't run without Torchaudio 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. Or add back the instructions to install Torchaudio as below |
||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"This notebook requires the `torchaudio` library to be installed for MatchboxNet. Please follow the instructions available at the [torchaudio Github page](https://github.com/pytorch/audio#installation) to install the appropriate version of torchaudio.\n", | ||
"\n", | ||
"If you would like to install the latest version, please run the following command to install it:\n", | ||
"\n", | ||
"```\n", | ||
"conda install -c pytorch torchaudio\n", | ||
"```" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
|
@@ -537,4 +520,4 @@ | |
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 4 | ||
} | ||
} |
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
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.
Instead of removing it, just comment that it cannot be installed on cuda 12 for the time being
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.
this notebook does not need torchaudio