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
Currently using the GPU for inferencing is only supported for ONNX models. When using the ApplyONNX transform as part of your pipeline, you can set the gpuDeviceId parameter. Then, because the pipeline is saved as a .zip file, you don't need to do anything extra with the PredictionEnginePool. Just load it into your app and make predictions as you've shown in your code samples.
Currently using the GPU for inferencing is only supported for ONNX models. When using the ApplyONNX transform as part of your pipeline, you can set the gpuDeviceId parameter. Then, because the pipeline is saved as a .zip file, you don't need to do anything extra with the PredictionEnginePool. Just load it into your app and make predictions as you've shown in your code samples.
@luisquintanilla
Can you provide an example code? please!!
I want to use it in webapi.
Thanks a lot~
Activity
luisquintanilla commentedon Nov 2, 2021
Hi @zcgg2zhmm
Currently using the GPU for inferencing is only supported for ONNX models. When using the ApplyONNX transform as part of your pipeline, you can set the
gpuDeviceIdparameter. Then, because the pipeline is saved as a .zip file, you don't need to do anything extra with thePredictionEnginePool. Just load it into your app and make predictions as you've shown in your code samples.xlg-go commentedon Nov 10, 2021
@luisquintanilla
Can you provide an example code? please!!
I want to use it in webapi.
Thanks a lot~