Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed all mixins but seedable and timeable as they are not currently well supported. #3

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions src/mixins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,4 @@
from .debuggable import DebuggableMixin
from .multiprocessingable import MultiprocessingMixin
from .saveable import SaveableMixin
from .seedable import SeedableMixin
from .swapcacheable import SwapcacheableMixin
from .timeable import TimeableMixin

__all__ = [
"DebuggableMixin",
"MultiprocessingMixin",
"SaveableMixin",
"SeedableMixin",
"SwapcacheableMixin",
"TimeableMixin",
]

# Tensorable and Tqdmable rely on packages that may or may not be installed.

try:
from .tensorable import TensorableMixin # noqa

__all__.append("TensorableMixin")
except ImportError:
pass

try:
from .tqdmable import TQDMableMixin # noqa

__all__.append("TQDMableMixin")
except ImportError:
pass
__all__ = ["SeedableMixin", "TimeableMixin"]
47 changes: 0 additions & 47 deletions src/mixins/debuggable.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/mixins/multiprocessingable.py

This file was deleted.

85 changes: 0 additions & 85 deletions src/mixins/saveable.py

This file was deleted.

74 changes: 0 additions & 74 deletions src/mixins/swapcacheable.py

This file was deleted.

39 changes: 0 additions & 39 deletions src/mixins/tensorable.py

This file was deleted.

27 changes: 0 additions & 27 deletions src/mixins/tqdmable.py

This file was deleted.

Loading
Loading