Skip to content

Commit fd19783

Browse files
authored
docs: change server README to only load densenet_onnx since tf model cannot load after 25.03 (#8089)
1 parent 03dbf31 commit fd19783

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,11 @@ cd server/docs/examples
8989
./fetch_models.sh
9090

9191
# Step 2: Launch triton from the NGC Triton container
92-
docker run --gpus=1 --rm --net=host -v ${PWD}/model_repository:/models nvcr.io/nvidia/tritonserver:25.02-py3 tritonserver --model-repository=/models
92+
docker run --gpus=1 --rm --net=host -v ${PWD}/model_repository:/models nvcr.io/nvidia/tritonserver:25.02-py3 tritonserver --model-repository=/models --model-control-mode explicit --load-model densenet_onnx
9393

9494
# Step 3: Sending an Inference Request
9595
# In a separate console, launch the image_client example from the NGC Triton SDK container
96-
docker run -it --rm --net=host nvcr.io/nvidia/tritonserver:25.02-py3-sdk
97-
/workspace/install/bin/image_client -m densenet_onnx -c 3 -s INCEPTION /workspace/images/mug.jpg
96+
docker run -it --rm --net=host nvcr.io/nvidia/tritonserver:25.02-py3-sdk /workspace/install/bin/image_client -m densenet_onnx -c 3 -s INCEPTION /workspace/images/mug.jpg
9897

9998
# Inference should return the following
10099
Image '/workspace/images/mug.jpg':

docs/examples/fetch_models.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
2+
# Copyright (c) 2018-2025, 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
@@ -27,13 +27,6 @@
2727

2828
set -ex
2929

30-
# TensorFlow inception
31-
mkdir -p model_repository/inception_graphdef/1
32-
wget -O /tmp/inception_v3_2016_08_28_frozen.pb.tar.gz \
33-
https://storage.googleapis.com/download.tensorflow.org/models/inception_v3_2016_08_28_frozen.pb.tar.gz
34-
(cd /tmp && tar xzf inception_v3_2016_08_28_frozen.pb.tar.gz)
35-
mv /tmp/inception_v3_2016_08_28_frozen.pb model_repository/inception_graphdef/1/model.graphdef
36-
3730
# ONNX densenet
3831
mkdir -p model_repository/densenet_onnx/1
3932
wget -O model_repository/densenet_onnx/1/model.onnx \

0 commit comments

Comments
 (0)