          """
          logger.debug("Setting to: '%s'", method)
          self._align.set_normalize_method(method)
  
      def _set_plugin_batchsize(self, gpu_plugins, available_vram):
          """ Set the batch size for the given plugin based on given available vram.
          Do not update plugins which have a vram_per_batch of 0 (CPU plugins) due to
          zero division error.
          """
          plugins = [self._active_plugins[idx]
 
</s> remove     def set_batchsize(self, plugin_type, batchsize):
 </s> add     def reset_phase_index(self) -> None:
        """ Reset the current phase index back to 0. Used for when batch processing is used in
        extract. """
        self._phase_index = 0

    def set_batchsize(self,
                      plugin_type: Literal["align", "detect"],
                      batchsize: int) -> None: </s> remove         logger.trace(retval)
 </s> add         logger.trace(retval)  # type: ignore </s> remove     def _set_extractor_batchsize(self):
 </s> add     def _set_extractor_batchsize(self) -> None: </s> remove         extractor_type: {'aligner', 'detector', 'masker'}
 </s> add         extractor_type: {'align', 'detect', 'mask'}
    def _set_plugin_batchsize(self, gpu_plugins: List[str], available_vram: float) -> None:
          """
          logger.debug("Setting to: '%s'", method)
          self._align.set_normalize_method(method)
  
    def _set_plugin_batchsize(self, gpu_plugins: List[str], available_vram: float) -> None:
          """ Set the batch size for the given plugin based on given available vram.
          Do not update plugins which have a vram_per_batch of 0 (CPU plugins) due to
          zero division error.
          """
          plugins = [self._active_plugins[idx]
keep keep keep keep replace keep keep keep keep keep
 extract: Add batch processing mode 
plugins/extract/pipeline.py