Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Move imagenet inference to nightly #16577

Merged
merged 12 commits into from Oct 22, 2019

Conversation

ChaiBapchya
Copy link
Contributor

@ChaiBapchya ChaiBapchya commented Oct 21, 2019

Description

Reduces the timeout issue for UNIX GPU by moving the imagenet inference

Pointed out by @aaronmarkham
Imagenet inference test (along with few others) involve downloading 1.5G of

Checklist

Essentials

  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Code is well-documented:
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

  • Remove test from unix GPU cpp examples
  • Add test to nightly

Comments

nightly_test_imagenet_inference() {
set -ex
echo $PWD
cp /work/mxnet/build/cpp-package/example/imagenet_inference .
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this tested?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes. on ci dev. it exists.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Spoke prematurely.
http://jenkins.mxnet-ci-dev.amazon-ml.com/blue/organizations/jenkins/NightlyTestsForBinaries/detail/move_imagenet_inference_nightly/20/pipeline/72

While it passed the cp ... line,

Failed at this line in
./imagenet_inference --symbol_file ./model/Inception-BN-symbol.json --params_file ./model/Inception-BN-0126.params --dataset ./data/val_256_q90.rec --rgb_mean '123.68 116.779 103.939' --batch_size 1 --num_skipped_batches 50 --num_inference_batches 500

Error being

./imagenet_inference: error while loading shared libraries: libmxnet.so: cannot open shared object file: No such file or directory

Unable to understand despite me adding libmxnet.so here

https://github.com/ChaiBapchya/incubator-mxnet/blob/daa88e6ff8f4e98742ea46bbe77085147bf2aeca/tests/nightly/JenkinsfileForBinaries#L23

@ChaiBapchya
Copy link
Contributor Author

Fixes #16524

@marcoabreu marcoabreu merged commit 34e4f71 into apache:master Oct 22, 2019
@ChaiBapchya ChaiBapchya deleted the move_imagenet_inference_nightly branch October 22, 2019 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants