ラベル

AI Forecast 8306MUFG (215) Social (75) life (70) Financial (62) IT (57) Proposal (56) idea (50) Fund Management (48) Trading (43) economics (42) Covid-19 (40) AI (38) Hedge Fund (36) Risk (36) Culture (31) BOJ (29) Science (26) hobby (24) accounting (17) Apps (16) career (11) job (7) Travel (6) Hiking (5) emotion (5) music (3) Statarb (2) piano (2)

2021年1月31日日曜日

爆速WASM! WASM, the Light Speed!

爆速WASM!

WASM, the Light Speed!


WASMを用いたTensorflow.jsのFaceMeshで、その速さを比較してみよう。走らせるとき、タスクマネージャーのパフォーマンスを見ると、WASM稼働時にGPUが動いていないことが確認できる。Compare the speed of WASM on Tensorflow.js's FaceMesh.  Task Manager's performance shows that GPU is not working when WASM is working. 

現在非常に遅い数世代前のPCを使っている(CPU,I5-650, GPU NVS315)が、反応速度はGPUほぼ同じだ。Currently using few generation back PC(CPU,I5-650, GPU NVS315)however, WASM response is equivalent to GPU. 

WASM化が進むと、CUDA GPUも過去のものとなるのだろう。As WASM develops, GPU CUDA will be history. 

プログラムは、CDN部分はmbotsuさんから、本体はテリーさんCodePenを用い、若干修正しました。ありがとうございました。This program was build using mbotsu as well as Terry's Code Pen site for CDN as well as body, with minor changes made on my end. Thanks a lot for kind support!