Skip to content

Commit

Permalink
deploy: 07511b9
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilienLC committed Dec 11, 2024
1 parent 8fda97b commit 0c8257a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ <h1>Source code for cneuromax.fitting.deeplearning.utils.lightning</h1><div clas
<span class="k">else</span><span class="p">:</span>
<span class="n">per_device_batch_size</span> <span class="o">=</span> <span class="n">datamodule</span><span class="o">.</span><span class="n">config</span><span class="o">.</span><span class="n">fixed_per_device_batch_size</span>

<span class="k">if</span> <span class="ow">not</span> <span class="n">datamodule</span><span class="o">.</span><span class="n">config</span><span class="o">.</span><span class="n">fixed_per_device_num_workers</span><span class="p">:</span>
<span class="k">if</span> <span class="n">datamodule</span><span class="o">.</span><span class="n">config</span><span class="o">.</span><span class="n">fixed_per_device_num_workers</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">proposed_per_device_num_workers</span> <span class="o">=</span> <span class="n">find_good_per_device_num_workers</span><span class="p">(</span>
<span class="n">datamodule</span><span class="o">=</span><span class="n">datamodule</span><span class="p">,</span>
<span class="n">per_device_batch_size</span><span class="o">=</span><span class="n">per_device_batch_size</span><span class="p">,</span>
Expand Down

0 comments on commit 0c8257a

Please sign in to comment.