          available = self._vram_stats["vram_free"]
          for phase in self._flow:
              num_plugins = len([p for p in current_phase if self._vram_per_phase[p] > 0])
              num_plugins += 1 if self._vram_per_phase[phase] > 0 else 0
              scaling = self._parallel_scaling[num_plugins]
              required = sum(self._vram_per_phase[p] for p in current_phase + [phase]) * scaling
              logger.debug("Num plugins for phase: %s, scaling: %s, vram required: %s",
                           num_plugins, scaling, required)
              if required <= available and not force_single_process:
                  logger.debug("Required: %s, available: %s. Adding phase '%s' to current phase: %s",
 
</s> remove         plugins_required = sum([self._vram_per_phase[p]
                                for p in gpu_plugins]) * self._parallel_scaling[len(gpu_plugins)]
 </s> add         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 </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(num_plugins, self._scaling_fallback)
          available = self._vram_stats["vram_free"]
          for phase in self._flow:
              num_plugins = len([p for p in current_phase if self._vram_per_phase[p] > 0])
              num_plugins += 1 if self._vram_per_phase[phase] > 0 else 0
            scaling = self._parallel_scaling.get(num_plugins, self._scaling_fallback)
              required = sum(self._vram_per_phase[p] for p in current_phase + [phase]) * scaling
              logger.debug("Num plugins for phase: %s, scaling: %s, vram required: %s",
                           num_plugins, scaling, required)
              if required <= available and not force_single_process:
                  logger.debug("Required: %s, available: %s. Adding phase '%s' to current phase: %s",
keep keep keep keep replace keep keep keep keep keep
 Bugfix - Extract
  - Set fallback scaling amount for parallel plugins 
plugins/extract/pipeline.py