o">.</span><span class="n">aggr</span><span class="p">,</span>
        <span class="n">metadata</span><span class="o">=</span><span class="n">metadata</span><span class="p">,</span>
    <span class="p">)</span>

    <span class="c1"># Initialize lightning trainer</span>
    <span class="n">trainer</span> <span class="o">=</span> <span class="n">Trainer</span><span class="p">(</span>
        <span class="n">accelerator</span><span class="o">=</span><span class="n">args</span><span class="o">.</span><span cla