Skip to content

Commit

Permalink
Merge branch 'fix_pipeline_eval' of github.com:NVIDIA/NeMo into fix_p…
Browse files Browse the repository at this point in the history
…ipeline_eval
  • Loading branch information
ericharper committed May 23, 2023
2 parents 94e8ffb + d8876b6 commit 4541715
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/speech_recognition/k2/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
# limitations under the License.

K2_REPO=https://github.com/k2-fsa/k2
LATEST_RELEASE=$(git -c 'versionsort.suffix=-' \
ls-remote --exit-code --refs --sort='version:refname' --tags ${K2_REPO} '*.*' \
| tail --lines=1 \
| cut -d '/' -f 3)
LATEST_RELEASE=e5671de # Temporary fix for CUDA 12
# uncomment the following line after the next k2 version is released (>1.24.3)
#LATEST_RELEASE=$(git -c 'versionsort.suffix=-' \
# ls-remote --exit-code --refs --sort='version:refname' --tags ${K2_REPO} '*.*' \
# | tail --lines=1 \
# | cut -d '/' -f 3)
# "cut --delimiter '/' --fields 3" doesn't work on macOS, use "-d ... -f ..." instead

K2_MAKE_ARGS="-j" pip install -v "git+${K2_REPO}@${LATEST_RELEASE}#egg=k2" || { echo "k2 could not be installed!"; exit 1; }
Expand Down

0 comments on commit 4541715

Please sign in to comment.