models icon indicating copy to clipboard operation
models copied to clipboard

Computation of quantized graph is slower than unquantized graph [Galaxy S8]

Open atrah22 opened this issue 9 years ago โ€ข 8 comments

The performance result of the benchmark tool on S8 and also S7 shows that quantized computation is much slower than unquantized 32float computation! I saw previous issues on this but those are regarding mainly on intel CPU platform and I know that gemmlowp is not optimized for x86 CPU. Though gemmlowp is highly optimized for ARM NEON SIMD, it still lacks performance compared to 32float!

Platform: S8, compiled from source for arm64-v8a, Tensorflow v1.0.1 Inception-v3 (optimized for inference, 32float) has 1.17x higher performance than Inception-v3 (optimized for inference & quantized, 8bit)

Inception-v1 (optimized for inference, 32float) has 3.65x higher performance than Inception-v1 (optimized for inference & quantized, 8bit)

atrah22 avatar Aug 09 '17 08:08 atrah22

@atrah22 Thanks for the info!

@petewarden @andrewharp Might be interested in these results.

tatatodd avatar Aug 09 '17 19:08 tatatodd

can you give me a quantized graph pb file which work very well? Thank you very much

wujiahongPKU avatar Aug 19 '17 10:08 wujiahongPKU

"10",;"#10"/directory๐Ÿ”š

1.front tester [treasure] #to #___ #all -search#Nusd

On Aug 19, 2017 05:08, "wujiahongPKU" [email protected] wrote:

can you give me a quantized graph pb file which work very well? Thank you very much

โ€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/models/issues/2169#issuecomment-323514209, or mute the thread https://github.com/notifications/unsubscribe-auth/APNq300cZYDLlnrR5D3YlBqxcfjm6vWbks5sZrQvgaJpZM4Oxwe0 .

shaginthecloud avatar Aug 19 '17 10:08 shaginthecloud

Cirrus Clouds are thin, wispy clouds that form high in the atmosphere as their water vapor freezes into ice crystals. Cirrus clouds are a principal cloud type.

From 1Weather for Android. http://bit.ly/1WeatherEmail123 Q

W.0@={.[..]๐Ÿ‘‰โ€ฆ๐Ÿ”Žโš™๏ธ ๐Ÿšฉ๐Ÿ˜‘๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ”„๐Ÿ”™๐Ÿ“ธ>๐Ÿ’ฌFor:txt+ ๐Ÿ’ฌโ†ฉ๏ธ .com@ hello received_1057046647720029-ANIMATION.gif https://drive.google.com/file/d/1CzJE0SlkaTp8Z0peSOTs6YcWx2Ow1_TW/view?usp=drivesdk

shaginthecloud avatar Dec 19 '17 18:12 shaginthecloud

https://www.google.com/appserve/mkt/optout/AIR_RmHO-eTIHjr716RKrUf06w03JiWAF_UiTJV__uANNok9O0ojH_FRxLqvcfAnaMRJ5A?hl=en-US

shaginthecloud avatar Dec 24 '17 14:12 shaginthecloud

four-twenty โ˜ฎ

shaginthecloud avatar Jan 21 '18 19:01 shaginthecloud

Please try this for better experience: https://medium.com/tensorflow/training-and-serving-a-realtime-mobile-object-detector-in-30-minutes-with-cloud-tpus-b78971cf1193

achowdhery avatar Jul 17 '18 00:07 achowdhery

Is still an open issue?

achowdhery avatar Aug 01 '18 20:08 achowdhery