Skip to content

Commit c628acb

Browse files
final comments
1 parent 088a2d8 commit c628acb

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ check_dirs := src
55
# run tests
66

77
unit-test:
8-
python3 -m pytest -s -v tests/unit -n 10 --log-cli-level='DEBUG'
8+
RUN_SLOW=True python3 -m pytest -s -v tests/unit -n 10 --log-cli-level='ERROR'
99

1010
integ-test:
1111
python3 -m pytest -s -v tests/integ/

src/huggingface_inference_toolkit/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def get_device():
212212
The get device function will return the device for the DL Framework.
213213
"""
214214
gpu = _is_gpu_available()
215-
logger.info(f"GPU Available: {gpu}")
216215

217216
if gpu:
218217
return 0

tests/unit/test_serializer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
Imager
1010
)
1111
from PIL import Image
12-
import logging
1312

1413
def test_json_serialization():
1514
t = {"res": np.array([2.0]), "text": "I like you.", "float": 1.2}

0 commit comments

Comments
 (0)