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 11#!/usr/bin/env python3
22
3- # Copyright 2018-2023 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+ # Copyright 2018-2024 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44#
55# Redistribution and use in source and binary forms, with or without
66# modification, are permitted provided that the following conditions
@@ -723,8 +723,8 @@ def test_infer_stats_no_model(self):
723723 stats = infer_stats .model_stats
724724 self .assertEqual (
725725 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" ,
728728 )
729729
730730 except InferenceServerException as ex :
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Copyright (c) 2018-2020 , NVIDIA CORPORATION. All rights reserved.
2+ # Copyright (c) 2018-2024 , NVIDIA CORPORATION. All rights reserved.
33#
44# Redistribution and use in source and binary forms, with or without
55# 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
8989cp -r models/graphdef_float16_float32_float32/1 models/graphdef_float16_float32_float32/7
9090sleep 3
9191
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+
9298set +e
9399
94100python $SERVER_STATUS_TEST ModelMetadataTest >> $CLIENT_LOG 2>&1
You can’t perform that action at this time.
0 commit comments