File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
3
- # Copyright 2018-2023 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
+ # Copyright 2018-2024 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
4
4
#
5
5
# Redistribution and use in source and binary forms, with or without
6
6
# modification, are permitted provided that the following conditions
@@ -723,8 +723,8 @@ def test_infer_stats_no_model(self):
723
723
stats = infer_stats .model_stats
724
724
self .assertEqual (
725
725
len (stats ),
726
- 219 ,
727
- "expected 219 infer stats for all ready versions of all model" ,
726
+ 221 ,
727
+ "expected 221 infer stats for all ready versions of all model" ,
728
728
)
729
729
730
730
except InferenceServerException as ex :
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright (c) 2018-2020 , NVIDIA CORPORATION. All rights reserved.
2
+ # Copyright (c) 2018-2024 , NVIDIA CORPORATION. All rights reserved.
3
3
#
4
4
# Redistribution and use in source and binary forms, with or without
5
5
# modification, are permitted provided that the following conditions
@@ -89,6 +89,12 @@ rm -fr models/onnx_int32_int32_int32/2 models/onnx_int32_int32_int32/3
89
89
cp -r models/graphdef_float16_float32_float32/1 models/graphdef_float16_float32_float32/7
90
90
sleep 3
91
91
92
+ # Dumping the contents of the models that are currently loaded for debugging purposes
93
+ # Primarily meant to assist in debugging ModelMetadataTest::test_infer_stats_no_model
94
+ # Diff the output with a previous L0_server_status job to catch any changes to
95
+ # /data/inferenceserver/${REPO_VERSION}/qa_model_repository that were not accounted for.
96
+ curl -X POST http://localhost:8000/v2/repository/index
97
+
92
98
set +e
93
99
94
100
python $SERVER_STATUS_TEST ModelMetadataTest >> $CLIENT_LOG 2>&1
You can’t perform that action at this time.
0 commit comments