Skip to content

Commit

Permalink
Fix typo in variable name and dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Feb 18, 2022
1 parent 7728ccf commit 070e21c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions compiler_gym/service/runtime/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ py_library(
srcs = ["create_and_run_compiler_gym_service.py"],
deps = [
":compiler_gym_service",
"//compiler_gym/service:connection",
"//compiler_gym/service/proto",
"//compiler_gym/util",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import grpc
from absl import app, flags, logging

from compiler_gym.service import connections
from compiler_gym.service import connection
from compiler_gym.service.compilation_session import CompilationSession
from compiler_gym.service.proto import compiler_gym_service_pb2_grpc
from compiler_gym.service.runtime.compiler_gym_service import CompilerGymService
Expand Down Expand Up @@ -95,7 +95,7 @@ def main(argv):
# Create the service.
server = grpc.server(
futures.ThreadPoolExecutor(max_workers=FLAGS.rpc_service_threads),
options=connections.CLIENT_CONNECTION_OPTIONS,
options=connection.GRPC_CHANNEL_OPTIONS,
)
service = CompilerGymService(
working_directory=working_dir,
Expand Down

0 comments on commit 070e21c

Please sign in to comment.