Made torch device configurable
Compare changes
+ 35
− 0
@@ -117,3 +119,36 @@ def instantiate_controller(cfg: DictConfig) -> BaseController:
Aufgrund einer Wartung am 24.06.2025 von 8:00 bis 09:00 Uhr werden git.rwth-aachen.de & git-ce.rwth-aachen.de zeitweise nicht zur Verfügung stehen.
--
Due to maintenance at 24.06.2025 from 8:00 to 09:00, git.rwth-aachen.de & git-ce.rwth-aachen.de will be temporarily unavailable.
Made torch device configurable for each device. Provided default implementation so defining the torch device is not mandatory. Defaults to cuda:0 if cuda is available and CPU otherwise.