  
          batch_required = sum([plugin.vram_per_batch * plugin.batchsize
                                for plugin in self._active_plugins])
          gpu_plugins = [p for p in self._current_phase if self._vram_per_phase[p] > 0]
          plugins_required = sum([self._vram_per_phase[p]
                                  for p in gpu_plugins]) * self._parallel_scaling[len(gpu_plugins)]
          if plugins_required + batch_required <= self._vram_stats["vram_free"]:
              logger.debug("Plugin requirements within threshold: (plugins_required: %sMB, "
                           "vram_free: %sMB)", plugins_required, self._vram_stats["vram_free"])
              return
          # Hacky split across plugins that use vram
 
</s> remove             scaling = self._parallel_scaling[num_plugins]
 </s> add             scaling = self._parallel_scaling.get(num_plugins, self._scaling_fallback) </s> remove                   self._parallel_scaling[vram_required_count])
 </s> add                   self._parallel_scaling.get(vram_required_count, self._scaling_fallback))
        scaling = self._parallel_scaling.get(len(gpu_plugins), self._scaling_fallback)
        plugins_required = sum([self._vram_per_phase[p] for p in gpu_plugins]) * scaling
  
          batch_required = sum([plugin.vram_per_batch * plugin.batchsize
                                for plugin in self._active_plugins])
          gpu_plugins = [p for p in self._current_phase if self._vram_per_phase[p] > 0]
        scaling = self._parallel_scaling.get(len(gpu_plugins), self._scaling_fallback)
        plugins_required = sum([self._vram_per_phase[p] for p in gpu_plugins]) * scaling
        scaling = self._parallel_scaling.get(len(gpu_plugins), self._scaling_fallback)
        plugins_required = sum([self._vram_per_phase[p] for p in gpu_plugins]) * scaling
          if plugins_required + batch_required <= self._vram_stats["vram_free"]:
              logger.debug("Plugin requirements within threshold: (plugins_required: %sMB, "
                           "vram_free: %sMB)", plugins_required, self._vram_stats["vram_free"])
              return
          # Hacky split across plugins that use vram
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix - Extract
  - Set fallback scaling amount for parallel plugins 
plugins/extract/pipeline.py