Skip to content

Commit 4224bc7

Browse files
committed
Remove tty and stdin_open interactive mode
1 parent 38abf36 commit 4224bc7

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

tests/pytorch/inference/test_huggingface_inference_toolkit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ def test_transformers(
8484
},
8585
platform="linux/amd64",
8686
detach=True,
87-
# Enable interactive mode
88-
tty=True,
89-
stdin_open=True,
9087
# Extra `device_requests` related to the CUDA devices if any
9188
device_requests=[DeviceRequest(count=-1, capabilities=[["gpu"]])]
9289
if CUDA_AVAILABLE

tests/pytorch/training/test_trl.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ def test_trl(caplog: pytest.LogCaptureFixture, tmp_path: PosixPath) -> None:
5454
},
5555
platform="linux/amd64",
5656
detach=True,
57-
# Enable interactive mode
58-
tty=True,
59-
stdin_open=True,
6057
# Mount the volume from the `tmp_path` to the `/opt/huggingface/trained_model`
6158
volumes={
6259
f"{tmp_path}/": {
@@ -126,9 +123,6 @@ def test_trl_peft(caplog: pytest.LogCaptureFixture, tmp_path: PosixPath) -> None
126123
},
127124
platform="linux/amd64",
128125
detach=True,
129-
# Enable interactive mode
130-
tty=True,
131-
stdin_open=True,
132126
# Mount the volume from the `tmp_path` to the `/opt/huggingface/trained_model`
133127
volumes={
134128
f"{tmp_path}/": {

tests/tei/test_tei.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ def test_text_embeddings_inference(
5959
},
6060
platform="linux/amd64",
6161
detach=True,
62-
# Enable interactive mode
63-
tty=True,
64-
stdin_open=True,
6562
# Extra `device_requests` related to the CUDA devices if any
6663
device_requests=[DeviceRequest(count=-1, capabilities=[["gpu"]])]
6764
if CUDA_AVAILABLE

tests/tgi/test_tgi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ def test_text_generation_inference(
6262
},
6363
platform="linux/amd64",
6464
detach=True,
65-
# Enable interactive mode
66-
tty=True,
67-
stdin_open=True,
6865
# Extra kwargs related to the CUDA devices
6966
device_requests=[DeviceRequest(count=-1, capabilities=[["gpu"]])],
7067
)

0 commit comments

Comments
 (0)