Skip to content

Fixing L0_io #6510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions qa/L0_io/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ for trial in graphdef savedmodel onnx libtorch plan python python_dlpack; do
cp ../python_models/add_sub/config.pbtxt $MODELSDIR/${full}/. && \
(cd $MODELSDIR/${full} && \
sed -i "s/label_filename:.*//" config.pbtxt && \
sed -i "0,/name:.*/{s/name:.*/name: \"${full}\"/}" config.pbtxt && \
echo "max_batch_size: 64" >> config.pbtxt)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the max_batch_size part should stay in, but removing the "name" sed LGTM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

echo "max_batch_size: 64" >> config.pbtxt)

# ensemble version of the model.
mkdir -p $MODELSDIR/fan_${full}/1 && \
Expand Down