Skip to content

Commit 8455057

Browse files
committed
optuna: cleanup
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 91a75e3 commit 8455057

File tree

3 files changed

+1
-649
lines changed

3 files changed

+1
-649
lines changed

optuna/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ exports_files([
2929
# DSE-specific flow configuration with tighter constraints
3030
[orfs_flow(
3131
name = "mock-cpu",
32-
variant = "{}".format(i),
3332
abstract_stage = "cts",
3433
arguments = {
3534
"CORE_ASPECT_RATIO": "0.5",
@@ -63,6 +62,7 @@ exports_files([
6362
},
6463
tags = ["manual"],
6564
top = "mock_cpu",
65+
variant = "{}".format(i),
6666
verilog_files = [":mock-cpu.sv"],
6767
) for i in range(N)]
6868

@@ -80,7 +80,6 @@ py_binary(
8080
name = "run",
8181
srcs = [
8282
"optimize_dse.py",
83-
"plot_results.py",
8483
],
8584
main = "optimize_dse.py",
8685
tags = ["manual"],

optuna/optimize_dse.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
import numpy as np
2828
import optuna
2929

30-
# Fix import for Bazel py_binary: add script dir to sys.path
31-
sys.path.insert(0, os.path.dirname(__file__))
32-
from plot_results import plot_results
33-
34-
3530
import matplotlib.pyplot as plt
3631
from optuna.visualization.matplotlib import plot_pareto_front
3732
import pandas

0 commit comments

Comments
 (0)