Skip to content

Commit

Permalink
[examples] Remove unused site_data_base argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Dec 14, 2021
1 parent b797c33 commit e8676f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions examples/example_compiler_gym_service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from compiler_gym.datasets import Benchmark, Dataset
from compiler_gym.spaces import Reward
from compiler_gym.util.registration import register
from compiler_gym.util.runfiles_path import runfiles_path, site_data_path
from compiler_gym.util.runfiles_path import runfiles_path

EXAMPLE_CC_SERVICE_BINARY: Path = runfiles_path(
"examples/example_compiler_gym_service/service_cc/compiler_gym-example-service-cc"
Expand Down Expand Up @@ -58,7 +58,6 @@ def __init__(self, *args, **kwargs):
name="benchmark://example-v0",
license="MIT",
description="An example dataset",
site_data_base=site_data_path("example_dataset"),
)
self._benchmarks = {
"benchmark://example-v0/foo": Benchmark.from_file_contents(
Expand Down
2 changes: 0 additions & 2 deletions examples/example_compiler_gym_service/demo_without_bazel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from compiler_gym.spaces import Reward
from compiler_gym.util.logging import init_logging
from compiler_gym.util.registration import register
from compiler_gym.util.runfiles_path import site_data_path

EXAMPLE_PY_SERVICE_BINARY: Path = Path(
"example_compiler_gym_service/service_py/example_service.py"
Expand Down Expand Up @@ -65,7 +64,6 @@ def __init__(self, *args, **kwargs):
name="benchmark://example-v0",
license="MIT",
description="An example dataset",
site_data_base=site_data_path("example_dataset"),
)
self._benchmarks = {
"benchmark://example-v0/foo": Benchmark.from_file_contents(
Expand Down

0 comments on commit e8676f3

Please sign in to comment.