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
<spanclass="s2">"device_type"</span><spanclass="p">:</span><spanclass="n">torch</span><spanclass="o">.</span><spanclass="n">device</span><spanclass="p">(</span><spanclass="s2">"cuda"</span><spanclass="p">),</span><spanclass="c1"># Type of device to run engine on (for DLA use trtorch.DeviceType.DLA)</span>
1020
-
<spanclass="s2">"gpu_id"</span><spanclass="p">:</span><spanclass="mi">0</span><spanclass="p">,</span><spanclass="c1"># Target gpu id to run engine (Use Xavier as gpu id for DLA)</span>
1021
-
<spanclass="s2">"dla_core"</span><spanclass="p">:</span><spanclass="mi">0</span><spanclass="p">,</span><spanclass="c1"># (DLA only) Target dla core id to run engine</span>
1022
-
<spanclass="s2">"allow_gpu_fallback"</span><spanclass="p">:</span><spanclass="n">false</span><spanclass="p">,</span><spanclass="c1"># (DLA only) Allow layers unsupported on DLA to run on GPU</span>
1020
+
<spanclass="s2">"device_type"</span><spanclass="p">:</span><spanclass="n">torch</span><spanclass="o">.</span><spanclass="n">device</span><spanclass="p">(</span><spanclass="s2">"cuda"</span><spanclass="p">),</span><spanclass="c1"># Type of device to run engine on (for DLA use trtorch.DeviceType.DLA)</span>
1021
+
<spanclass="s2">"gpu_id"</span><spanclass="p">:</span><spanclass="mi">0</span><spanclass="p">,</span><spanclass="c1"># Target gpu id to run engine (Use Xavier as gpu id for DLA)</span>
1022
+
<spanclass="s2">"dla_core"</span><spanclass="p">:</span><spanclass="mi">0</span><spanclass="p">,</span><spanclass="c1"># (DLA only) Target dla core id to run engine</span>
1023
+
<spanclass="s2">"allow_gpu_fallback"</span><spanclass="p">:</span><spanclass="n">false</span><spanclass="p">,</span><spanclass="c1"># (DLA only) Allow layers unsupported on DLA to run on GPU</span>
1023
1024
<spanclass="p">},</span>
1024
1025
<spanclass="s2">"op_precision"</span><spanclass="p">:</span><spanclass="n">torch</span><spanclass="o">.</span><spanclass="n">half</span><spanclass="p">,</span><spanclass="c1"># Operating precision set to FP16</span>
0 commit comments