      # PROPERTIES
      @property
      def active_devices(self):
          """ Return the active device IDs """
          return plaidml.settings.device_ids
  
      @property
      def device_count(self):
          """ Return count of PlaidML Devices """
          return len(self.devices)
 
</s> remove     def get_card_most_free(self):
 </s> add     def get_card_most_free(self, supports_plaidml=True): </s> remove     @staticmethod
    def get_vram_free():
 </s> add     def get_vram_free(self): </s> remove         if self.device_count == 0:
 </s> add         if self.device_count == 0 or (self.is_plaidml and not supports_plaidml): </s> remove         vram = stats.get_card_most_free()
 </s> add         vram = stats.get_card_most_free(supports_plaidml=self.supports_plaidml)
        return [idx for idx, d_id in enumerate(self.ids) if d_id in plaidml.settings.device_ids]
      # PROPERTIES
      @property
      def active_devices(self):
          """ Return the active device IDs """
        return [idx for idx, d_id in enumerate(self.ids) if d_id in plaidml.settings.device_ids]
  
      @property
      def device_count(self):
          """ Return count of PlaidML Devices """
          return len(self.devices)
keep keep keep keep replace keep keep keep keep keep
 Fix Active Devices for plaidML. Add Supports PlaidML to Extractors 
lib/plaidml_tools.py