Skip to content

Commit

Permalink
Fit colab demos in new env
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Dec 15, 2023
1 parent e3c9730 commit 8d40344
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bmf/demo/face_detect/facedetect_demo_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"source": [
"!mkdir -p trt\n",
"%cd trt\n",
"!wget https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/secure/8.6.1/tars/TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-11.8.tar.gz\n",
"!wget https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/secure/8.6.1/tars/TensorRT-8.6.1.6.Linux.x86_64-gnu.cuda-12.0.tar.gz\n",
"%env version=8.6.1.6\n",
"%env arch=x86_64\n",
"%env cuda=cuda-11.8\n",
"%env cuda=cuda-12.0\n",
"!tar -xzvf TensorRT-${version}.Linux.${arch}-gnu.${cuda}.tar.gz\n",
"!python3 -m pip install --upgrade pip\n",
"%cd TensorRT-8.6.1.6/python\n",
Expand Down Expand Up @@ -635,4 +635,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
2 changes: 1 addition & 1 deletion bmf/test/customize_module/bmf_customize_demo_latest.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"outputs": [],
"source": [
"!pip install BabitMF==0.0.7"
"!pip install BabitMF"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion bmf/test/sync_mode/bmf_syncmode_cpp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{
"cell_type": "code",
"source": [
"!pip install BabitMF==0.0.7"
"!pip install BabitMF"
],
"metadata": {
"id": "07aSAmV1OUG_"
Expand Down
2 changes: 1 addition & 1 deletion bmf/test/sync_mode/bmf_syncmode_go.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{
"cell_type": "code",
"source": [
"!pip install BabitMF==0.0.7\n"
"!pip install BabitMF\n"
],
"metadata": {
"id": "KhlymhlIaJm_"
Expand Down

0 comments on commit 8d40344

Please sign in to comment.