| import faulthandler | |
| import hydra | |
| try: | |
| from torch.distributed.elastic.multiprocessing.errors import record | |
| except Exception: | |
| def record(fn): | |
| return fn | |
| from train_hyperbolic import run_hyperbolic_training | |
| def run(cfg): | |
| run_hyperbolic_training(cfg) | |
| def _main(): | |
| faulthandler.enable(all_threads=True) | |
| run() | |
| if __name__ == "__main__": | |
| _main() | |