Skip to content

Commit

Permalink
Add save lstm int8 models
Browse files Browse the repository at this point in the history
  • Loading branch information
lidanqing-intel committed Aug 31, 2021
1 parent 35d7f9a commit f64a4dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/paddle/fluid/contrib/slim/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,11 @@ if(LINUX AND WITH_MKLDNN)
set(QUANT2_GRU_OPS_TO_QUANTIZE "multi_gru")

# Quant2 LSTM
set(QUANT2_LSTM_MODEL_ARCHIVE "LSTM_quant.tar.gz")
set(QUANT2_LSTM_MODEL_DIR "${QUANT_INSTALL_DIR}/LSTM_quant2")
download_quant_model(${QUANT2_LSTM_MODEL_DIR} ${QUANT2_LSTM_MODEL_ARCHIVE})
set(QUANT2_LSTM_MODEL_ARCHIVE "lstm_quant.tar.gz")
set(QUANT2_LSTM_MODEL_DIR "${QUANT_INSTALL_DIR}/lstm_quant2")
download_quant_model(${QUANT2_LSTM_MODEL_DIR} ${QUANT2_LSTM_MODEL_ARCHIVE} 40a693803b12ee9e251258f32559abcb)
set(QUANT2_LSTM_OPS_TO_QUANTIZE "fusion_lstm")


### Save FP32 model or INT8 model from Quant model

set(QUANT2_INT8_RESNET50_SAVE_PATH "${QUANT_INSTALL_DIR}/ResNet50_quant2_int8")
Expand Down

1 comment on commit f64a4dd

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on f64a4dd Aug 31, 2021

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #33797 Commit ID: f64a4dd contains failed CI.

🔹 Failed: PR-CI-OCR-repo-model-test

Unknown Failed
2021-08-31 18:16:10 Makefile:140: recipe for target 'all' failed
2021-08-31 18:16:10 make: *** [all] Error 2
2021-08-31 18:16:10 + build_error=2
2021-08-31 18:16:10 + collect_ccache_hits
2021-08-31 18:16:10 ++ ccache -s
2021-08-31 18:16:10 ++ grep 'cache hit rate'
2021-08-31 18:16:10 ++ awk '{print $4}'
2021-08-31 18:16:10 + rate=99.73
2021-08-31 18:16:10 + echo 'ccache hit rate: 99.73%'
2021-08-31 18:16:10 ccache hit rate: 99.73%
2021-08-31 18:16:10 + echo 'ipipe_log_param_Ccache_Hit_Rate: 99.73%'
2021-08-31 18:16:10 + '[' 2 '!=' 0 ']'
2021-08-31 18:16:10 + exit 7
2021-08-31 18:16:10 + EXCODE=7
2021-08-31 18:16:10 + '[' 7 -eq 0 ']'
2021-08-31 18:16:10 + set +x
2021-08-31 18:16:10 Sorry, build failed.
2021-08-31 18:16:10 + exit 7
2021-08-31 18:16:10 {build code state=7}

🔹 Failed: PR-CI-Coverage

test_failed
2021-09-01 02:15:54 The following tests FAILED:
2021-09-01 02:15:54 1577 - save_quant2_model_lstm (Failed)
2021-09-01 02:15:54 1577 - save_quant2_model_lstm (Failed)
2021-09-01 02:15:54 + EXCODE=8
2021-09-01 02:15:54 + echo 8
2021-09-01 02:15:54 8
2021-09-01 02:15:54 + echo 'ipipe_log_param_EXCODE: 8'
2021-09-01 02:15:54 ipipe_log_param_EXCODE: 8
2021-09-01 02:15:54 + '[' 8 -ne 0 ']'
2021-09-01 02:15:54 + '[' 8 -ne 9 ']'
2021-09-01 02:15:54 + exit 8
2021-09-01 02:15:54 {build code state=8}

Please sign in to comment.