pan class="n">py3</span>
<span class="n">cd</span><span class="w"> </span><span class="o">/</span><span class="n">scratch_space</span>
</pre></div>
</div>
<p>With the container we can export the model in to the correct directory in our Triton model repository. This export script uses the <strong>Dynamo</strong> frontend for Torch-TensorRT to compile the PyTorch model to TensorRT. Then we save the model using <strong>TorchScript</strong> as a serialization format which is supported by Triton.</p>
<div class=