Skip to content

Commit

Permalink
fix skip quantization in lcm (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Nov 6, 2023
1 parent 3cebaab commit 9da8e5e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,9 @@
"import sys\n",
"sys.path.append(\"../utils\")\n",
"\n",
"if to_quantize.value and \"GPU\" in device.value:\n",
" to_quantize.value = False\n",
"\n",
"%load_ext skip_kernel_extension"
]
},
Expand All @@ -950,9 +953,6 @@
"metadata": {},
"outputs": [],
"source": [
"if to_quantize.value and \"GPU\" in device.value:\n",
" to_quantize.value = False\n",
"\n",
"%%skip not $to_quantize.value\n",
"\n",
"import datasets\n",
Expand Down

0 comments on commit 9da8e5e

Please sign in to comment.