fix bug when running ispd05/15
This commit is contained in:
parent
dfbc668017
commit
33fe4bebfe
@ -12,8 +12,8 @@ def get_trunc_node_pos_fn(mov_node_size, data):
|
|||||||
|
|
||||||
def run_placement_main_nesterov(args, logger):
|
def run_placement_main_nesterov(args, logger):
|
||||||
total_start = time.time()
|
total_start = time.time()
|
||||||
data, rawdb, gpdb = load_dataset(args, logger)
|
|
||||||
setup_dataset_args(args)
|
setup_dataset_args(args)
|
||||||
|
data, rawdb, gpdb = load_dataset(args, logger)
|
||||||
device = torch.device(
|
device = torch.device(
|
||||||
"cuda:{}".format(args.gpu) if torch.cuda.is_available() else "cpu"
|
"cuda:{}".format(args.gpu) if torch.cuda.is_available() else "cpu"
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user