Skip to content

Commit

Permalink
Checkout to specific commit in tutorials on RASR models (flashlight#733)
Browse files Browse the repository at this point in the history
Summary:
**Original Issue**:

Conformer was changed in the recent commit 0029fc4 and thus rasr models can be used only before it.

Add git checkout in the notebooks

### Test Plan (required)
Preserve state as before breaking commits.

Pull Request resolved: flashlight#733

Reviewed By: andresy

Differential Revision: D30752312

Pulled By: jacobkahn

fbshipit-source-id: dfc96dec23cdbfa24ba46f42dd2b86111a627d06
  • Loading branch information
Tatiana Likhomanenko authored and facebook-github-bot committed Dec 4, 2021
1 parent 23b86b8 commit d385b21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flashlight/app/asr/tutorial/notebooks/FinetuneCTC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@
"\n",
"if backend == \"CUDA\":\n",
" # Total time: ~13 minutes\n",
" !cd flashlight && mkdir -p build && cd build && \\\n",
" !cd flashlight && git checkout d2e1924cb2a2b32b48cc326bb7e332ca3ea54f67 && mkdir -p build && cd build && \\\n",
" cmake .. -DCMAKE_BUILD_TYPE=Release \\\n",
" -DFL_BUILD_TESTS=OFF \\\n",
" -DFL_BUILD_EXAMPLES=OFF \\\n",
" -DFL_BUILD_APP_ASR=ON && \\\n",
" make -j$(nproc)\n",
"elif backend == \"CPU\":\n",
" # Total time: ~14 minutes\n",
" !cd flashlight && mkdir -p build && cd build && \\\n",
" !cd flashlight && git checkout d2e1924cb2a2b32b48cc326bb7e332ca3ea54f67 && mkdir -p build && cd build && \\\n",
" cmake .. -DFL_BACKEND=CPU \\\n",
" -DCMAKE_BUILD_TYPE=Release \\\n",
" -DFL_BUILD_TESTS=OFF \\\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@
"\n",
"if backend == \"CUDA\":\n",
" # Total time: ~13 minutes\n",
" !cd flashlight && mkdir -p build && cd build && \\\n",
" !cd flashlight && git checkout d2e1924cb2a2b32b48cc326bb7e332ca3ea54f67 && mkdir -p build && cd build && \\\n",
" cmake .. -DCMAKE_BUILD_TYPE=Release \\\n",
" -DFL_BUILD_TESTS=OFF \\\n",
" -DFL_BUILD_EXAMPLES=OFF \\\n",
" -DFL_BUILD_APP_ASR=ON && \\\n",
" make -j$(nproc)\n",
"elif backend == \"CPU\":\n",
" # Total time: ~14 minutes\n",
" !cd flashlight && mkdir -p build && cd build && \\\n",
" !cd flashlight && git checkout d2e1924cb2a2b32b48cc326bb7e332ca3ea54f67 && mkdir -p build && cd build && \\\n",
" cmake .. -DFL_BACKEND=CPU \\\n",
" -DCMAKE_BUILD_TYPE=Release \\\n",
" -DFL_BUILD_TESTS=OFF \\\n",
Expand Down

0 comments on commit d385b21

Please sign in to comment.