refactor moving setup functions to associated classes; cleanup eval and benchmark scripts (#48)

* refactor code to move graph/dataset setup to respective files

* consolidated eval and benchmark script

* moved setup optimizers to its own thing
This commit is contained in:
evonneng authored and GitHub committed 2022-06-13 19:05:07 -07:00
1 parent ee60d5b9b5
commit f67dca6f5b
10 files changed
+269 -217

No files matched your search

+2 -2
View File
@@ -116,8 +116,8 @@ def _train(local_rank: int, world_size: int, config: DictConfig) -> Any:
Args:
local_rank (int): _description_
world_size (int): _description_
config (DictConfig): _description_
local_rank (int): current rank of process
world_size (int): total number of gpus available
Returns:
Any: TODO(): determine the return type