  
          all_devices = experi + self._supported_devices
  
          self._log("debug", f"Obtained all Devices: {all_devices}")
          return all_devices
  
 
</s> remove         details = [json.loads(d.details.decode("utf-8"))
                   for d in self._all_devices if d.details]
 </s> add         details = []
        for dev in self._all_devices:
            if dev.details:
                details.append(json.loads(dev.details.decode("utf-8")))
            else:
                details.append(dict(vendor=dev.id.decode("utf-8"),
                                    name=dev.description.decode("utf-8"),
                                    globalMemSize=4 * 1024 * 1024 * 1024))  # 4GB dummy ram </s> remove           # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
 </s> add           # exit-zero treats all errors as warnings.
          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=100 --statistics </s> remove         self._ctx: Optional(plaidml.Context) = None
        self._supported_devices: Optional(List[plaidml._DeviceConfig]) = None
        self._all_devices: Optional(List[plaidml._DeviceConfig]) = None
        self._device_details: Optional(List[dict]) = None
 </s> add         self._ctx: Optional[plaidml.Context] = None
        self._supported_devices: List[plaidml._DeviceConfig] = []
        self._all_devices: List[plaidml._DeviceConfig] = []
        self._device_details: List[dict] = [] </s> remove           pip install -r ./requirements/requirements_cpu.txt
 </s> add           pip install -r ./requirements/requirements_${{ matrix.backend }}.txt </s> remove           FACESWAP_BACKEND="cpu" KERAS_BACKEND="tensorflow" py.test -v tests/;
 </s> add           if [ "${{ matrix.backend }}" == "amd" ] ; then echo "{\"PLAIDML_DEVICE_IDS\":[\"llvm_cpu.0\"],\"PLAIDML_EXPERIMENTAL\":true}" > ~/.plaidml; fi ;
          echo "{\"PLAIDML_DEVICE_IDS\":[\"llvm_cpu.0\"],\"PLAIDML_EXPERIMENTAL\":true}" > ~/.plaidml;
          FACESWAP_BACKEND="${{ matrix.backend }}" KERAS_BACKEND="${{ matrix.kbackend }}" py.test -v tests/;
        all_devices = all_devices if all_devices else self._get_fallback_devices()  # Use CPU
  
          all_devices = experi + self._supported_devices
        all_devices = all_devices if all_devices else self._get_fallback_devices()  # Use CPU
  
          self._log("debug", f"Obtained all Devices: {all_devices}")
          return all_devices
  
keep add keep keep keep keep
 Fix AMD Tests + docs 
lib/gpu_stats/amd.py