|
|
|
|
|
|
} |
|
|
|
print(f"plugins available {discovered_plugins}") |
|
|
|
|
|
|
|
all_initializers = set(get_all_subclasses(Initializer)) |
|
|
|
all_initializers = list(get_all_subclasses(Initializer)) |
|
|
|
print("Registering new initializer") |
|
|
|
print(f"Found {len(all_initializers)} new initializers") |
|
|
|
distributed_init = all_initializers[0]() |
|
|
|
distributed_init.load() |
|
|
|
new_initializers = all_initializers - original_initializers |
|
|
|
print(f"Found {len(new_initializers)} new initializers") |
|
|
|
print(all_initializers) |
|
|
|
print(new_initializers) |
|
|
|
print(all_trainers) |
|
|
|
print(new_trainers) |
|
|
|
|
|
|
|