Skip to content

Commit

Permalink
Set specific gpu 0 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccorm4 committed Jul 24, 2024
1 parent ea043eb commit 64d5b90
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,11 @@ def test_stop(self):
{
"backend": "python",
"parameters": {"decoupled": {"string_value": "False"}},
# Keep instance count low for fast startup/cleanup
"instance_group": [{"kind": "KIND_GPU", "count": 1}],
# Keep instance count low for fast startup/cleanup.
# Alternatively can use KIND_CPU here, but keeping gpus/count explicit.
"instance_group": [
{"kind": "KIND_GPU", "gpus": [0], "count": 1}
],
}
)
},
Expand Down

0 comments on commit 64d5b90

Please sign in to comment.