Skip to content

Commit bbe53dc

Browse files
gverkesakrishna1995
authored andcommitted
fix: adjust unit test
1 parent 8a64c8f commit bbe53dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/sagemaker/local/test_local_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def test_container_has_gpu_support(tmpdir, sagemaker_session):
871871
docker_host = sagemaker_container._create_docker_host("host-1", {}, set(), "train", [])
872872
assert "deploy" in docker_host
873873
assert docker_host["deploy"] == {
874-
"resources": {"reservations": {"devices": [{"capabilities": ["gpu"]}]}}
874+
"resources": {"reservations": {"devices": [{"count": "all", "capabilities": ["gpu"]}]}}
875875
}
876876

877877

0 commit comments

Comments
 (0)