Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Your Name <[email protected]>
  • Loading branch information
akagami-harsh committed Jan 17, 2025
1 parent edfa973 commit beb5443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cmd/suggestion/optuna/v1beta1/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ protobuf>=4.21.12,<5
googleapis-common-protos==1.53.0
optuna==3.6.0
torch==2.5.1
scipy==1.15.1
scipy==1.15.1
cmaes==0.11.1
3 changes: 1 addition & 2 deletions test/unit/v1beta1/suggestion/test_optuna_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def test_get_suggestion(self, algorithm_name, algorithm_settings):
)

response, metadata, code, details = get_suggestion.termination()
print(response)
assert code == grpc.StatusCode.OK
assert 2 == len(response.parameter_assignments)

Expand Down Expand Up @@ -486,7 +485,7 @@ def test_get_suggestion(self, algorithm_name, algorithm_settings):
grpc.StatusCode.INVALID_ARGUMENT,
],
# [BAYESIANOPTIMIZATION] Invalid parameter name
# ["bayesianoptimization", {"invalid": "5"}, 100, [], grpc.StatusCode.INVALID_ARGUMENT],
["bayesianoptimization", {"invalid": "5"}, 100, [], grpc.StatusCode.INVALID_ARGUMENT],
],
)
def test_validate_algorithm_settings(
Expand Down

0 comments on commit beb5443

Please sign in to comment.