="text_cell_render border-box-sizing rendered_html">
<p>This is a resource pool that uses <a href="https://pypi.org/project/pynvml/">pynvml</a> to find GPUs that aren't being used (based on whether they have memory allocated). It is implemented by overriding two methods from <a href="/fastgpu/core.html#ResourcePoolBase"><code>ResourcePoolBase</code></a>. Usage is identical to <a href="/fastgpu/core.html#FixedWorkerPool"><code>FixedWorkerPool</code></a>, except that you don't need to pass in <code>worker_ids