You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libtorchCmd=`# Torch compile ${backend} not supported with Libtorch`;
228
228
229
229
if(opts.pm=="libtorch"){
230
230
returnlibtorchCmd;
231
231
}
232
+
if(backend=="inductor"||backend=="cudagraphs"){
233
+
returntcUsage+backendCmd;
234
+
}
232
235
if(backend=="openvino"){
233
236
if(opts.pm=="source"){
234
237
finalCmd+="# Follow instructions at this URL to build openvino from source: https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build.md"+"<br>";
@@ -268,18 +271,25 @@ function addTorchCompileCommandNote(selectedOptionId) {
libtorchCmd=`# Torch compile ${backend} not supported with Libtorch`;
123
+
console.log("Surya log",finalCmd)
124
+
125
+
if(opts.pm=="libtorch"){
126
+
returnlibtorchCmd;
127
+
}
128
+
if(backend=="inductor"||backend=="cudagraphs"){
129
+
returntcUsage+backendCmd;
130
+
}
131
+
if(backend=="openvino"){
132
+
if(opts.pm=="source"){
133
+
finalCmd+="# Follow instructions at this URL to build openvino from source: https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build.md"+"<br>";
finalCmd+="# Follow instructions at this URL to build onnxruntime from source: https://onnxruntime.ai/docs/build"+"<br>";
149
+
}
150
+
}
151
+
if(backend=="tvm"){
152
+
if(opts.pm=="source"){
153
+
finalCmd+="# Follow instructions at this URL to build tvm from source: https://tvm.apache.org/docs/install/from_source.html"+"<br>";
154
+
}
155
+
}
156
+
if(backend=="tensorrt"){
157
+
if(opts.pm=="source"){
158
+
finalCmd+="# Follow instructions at this URL to build tensorrt from source: https://pytorch.org/TensorRT/getting_started/installation.html#compiling-from-source"+"<br>";
0 commit comments