mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Implement torch.dml.
VERY UNSTABLE & NOT TESTED.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from abc import *
|
||||
from typing import *
|
||||
|
||||
class Optimizer(metaclass=ABCMeta):
|
||||
driver: Any = None
|
||||
@abstractmethod
|
||||
def memory_stats(self, index: int) -> Tuple[int, int]:
|
||||
pass
|
||||
Reference in New Issue
Block a user