rajeshii opened a new pull request #14060: Exclude concat layer  for gpu 
quantization
URL: https://github.com/apache/incubator-mxnet/pull/14060
 
 
   ## Description ##
   Exclude concat layer for gpu quantization since #13297 enable 
quantizaed_concat op for cpu.
   below is the error log before this fix:
   ```
   python imagenet_inference.py 
--symbol-file=./model/imagenet1k-inception-bn-quantized-5batches-naive-symbol.json
 --param-file=./model/imagenet1k-inception-bn-quantized-0000.params 
--rgb-mean=123.68,116.779,103.939 --num-skipped-batches=50 
--num-inference-batches=500 --dataset=./data/val_256_q90.rec
   INFO:logger:batch size = 32 for inference
   INFO:logger:rgb_mean = 123.68,116.779,103.939
   INFO:logger:rgb_std = 1,1,1
   INFO:logger:label_name = softmax_label
   INFO:logger:Input data shape = (3, 224, 224)
   INFO:logger:Dataset for inference: ./data/val_256_q90.rec
   [10:15:59] src/io/iter_image_recordio_2.cc:172: ImageRecordIOParser2: 
./data/val_256_q90.rec, use 39 threads for decoding..
   INFO:logger:Loading symbol from file 
/home/chenxiny/s8_conv/example/quantization/./model/imagenet1k-inception-bn-quantized-5batches-naive-symbol.json
   INFO:logger:Loading params from file 
/home/chenxiny/s8_conv/example/quantization/./model/imagenet1k-inception-bn-quantized-0000.params
   INFO:logger:Skipping the first 50 batches
   INFO:logger:Running model 
./model/imagenet1k-inception-bn-quantized-5batches-naive-symbol.json for 
inference
   [10:16:04] src/executor/attach_op_execs_pass.cc:351: Neither FCompute nor 
FComputeEx registered _contrib_quantized_concat
   ```
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to 
the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) 
created (except PRs with tiny changes)
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding 
a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing 
distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a 
new build option with NCCL)
   - [x] Code is well-documented: 
   - For user-facing API changes, API doc string has been updated. 
   - For new C++ functions in header files, their functionalities and arguments 
are documented. 
   - For new examples, README.md is added to explain the what the example does, 
the source of the dataset, expected performance on test set and reference to 
the original paper if applicable
   - Check the API doc at 
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
   - [x] To the my best knowledge, examples are either not affected by this 
change, or have been fixed to be compatible with this change
   
   ### Changes ###
   - [ ] Feature1, tests, (and when applicable, API doc)
   - [ ] Feature2, tests, (and when applicable, API doc)
   
   ## Comments ##
   - If this change is a backward incompatible change, why must this change be 
made.
   - Interesting edge cases to note here
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to