Commit
·
e1f96ef
1
Parent(s):
ecf8bb8
Update inference.ipynb
Browse files- inference.ipynb +17 -2
inference.ipynb
CHANGED
@@ -38,7 +38,22 @@
|
|
38 |
"cellView": "form",
|
39 |
"id": "noaoheUjvGbd"
|
40 |
},
|
41 |
-
"execution_count":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
"outputs": []
|
43 |
},
|
44 |
{
|
@@ -106,7 +121,7 @@
|
|
106 |
"cellView": "form",
|
107 |
"id": "VlPgrJf4wpHo"
|
108 |
},
|
109 |
-
"execution_count":
|
110 |
"outputs": []
|
111 |
},
|
112 |
{
|
|
|
38 |
"cellView": "form",
|
39 |
"id": "noaoheUjvGbd"
|
40 |
},
|
41 |
+
"execution_count": null,
|
42 |
+
"outputs": []
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"cell_type": "code",
|
46 |
+
"source": [
|
47 |
+
"#@title [Run this if using Nvidia Ampere or newer. This will significantly speed up the process]\n",
|
48 |
+
"import torch\n",
|
49 |
+
"torch.backends.cuda.matmul.allow_tf32 = True\n",
|
50 |
+
"torch.backends.cudnn.allow_tf32 = True"
|
51 |
+
],
|
52 |
+
"metadata": {
|
53 |
+
"cellView": "form",
|
54 |
+
"id": "MkGgqW87eUsQ"
|
55 |
+
},
|
56 |
+
"execution_count": null,
|
57 |
"outputs": []
|
58 |
},
|
59 |
{
|
|
|
121 |
"cellView": "form",
|
122 |
"id": "VlPgrJf4wpHo"
|
123 |
},
|
124 |
+
"execution_count": null,
|
125 |
"outputs": []
|
126 |
},
|
127 |
{
|