14:19:21 RRSAgent has joined #webmachinelearning 14:19:21 logging to https://www.w3.org/2019/03/14-webmachinelearning-irc 14:19:26 Zakim has joined #webmachinelearning 14:19:32 RRSAgent, make logs public 14:19:38 Meeting: WebML CG Teleconference – 14 March 2019 14:19:45 Chair: Anssi 14:19:50 Scribe: Anssi 14:19:55 Agenda: https://github.com/webmachinelearning/meetings/blob/master/telcons/2019-03-14-agenda.md 14:20:06 scribeNick: anssik 14:24:41 present+ - on cellphone so I can't help scribe :( 14:24:53 Sorry anssik 14:25:12 tomoyuki has joined #webmachinelearning 14:26:46 Present+ Anssi_Kostiainen 14:27:08 Present+ Rafael_Cintron 14:27:14 Present+ Tomoyuki_Shimizu 14:27:34 Present+ Greg_Whitworth 14:27:48 Present+ Daniel_Smilkov 14:28:03 Rafael has joined #webmachinelearning 14:29:21 Rama has joined #webmachinelearning 14:30:38 ningxinhu has joined #webmachinelearning 14:30:47 Present+ Ningxin_Hu 14:30:56 belem has joined #webmachinelearning 14:31:45 Present+ Belem_Zhang 14:32:12 Present+ Ganesan_Ramalingam 14:32:22 kreeger has joined #webmachinelearning 14:32:23 Present+ Paul_McDaniel 14:32:32 Present+ Daniel_Smilkov 14:32:41 Present+ Nick_Kreeger 14:33:09 RRSAgent, draft minutes v2 14:33:09 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 14:33:49 anssik: We have three topics on the agenda: executing operations, custom operations, industry events 14:33:49 paulmcdaniel has joined #webmachinelearning 14:33:55 Nikhil has joined #webmachinelearning 14:33:56 ... let's spend as much we need for the first two, time allowing discuss the last one 14:34:17 TOPIC: Executing operations 14:34:23 -> Executing operations https://github.com/webmachinelearning/webnn/issues/11 14:34:55 anssik: On our path to API spec we should now derive requirements that will inform the design of the API for executing operations. 14:35:03 tomoyuki has joined #webmachinelearning 14:35:13 ... since our last monthly sync: 14:35:30 ... Ningxin provided a summary of platform APIs and their supported executing modes 14:36:00 Present+ Nikhil_Thorat 14:36:07 anssik: Nikhil proposed that for platform APIs (e.g. NNAPI) that need a graph we use an implicit graph that allow decorating functions in order to convert them to subgraphs. 14:36:35 anssik: Rafael noted the API should enable the use of specialized ML hardware. 14:36:48 anssik: Let's discuss. The expected outcome of this issue would be a list of requirements we can them feed into the spec to use as a checklist as we advance to the API definition phase 14:38:37 [ revisiting discussion in the issue ] 14:47:39 q+ 14:51:25 ack paulmcdaniel 14:52:57 q+ 14:54:01 ack ningxinhu 14:54:19 If TF.js, operations like neg() and square() would return a logical wrapper around the resulting data, but not the data. When user calls result.data(), we transfer the data back to user-code 14:56:14 this is paul, i would like to propose we capture this proposal with some more details in the github issue and also iterate there. i'm not sure this will work or not for our hardware acceleration 14:57:14 it might work great, but i have questions and can also show what we require via pictures/IDL in the github iteration 14:57:58 RRSAgent, draft minutes v2 14:57:58 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 14:58:42 s/present+ - on cellphone so I can't help scribe :(// 15:01:33 TOPIC: Custom operations 15:01:41 -> Custom operations https://github.com/webmachinelearning/webnn/issues/6 15:01:43 https://docs.google.com/presentation/d/1xOQtyAeQNdI70rICzLNKRxmzM-Dwjhh3MdzGKW29C8Q/edit?usp=sharing 15:01:53 anssik: Ningxin volunteered to investigate custom operations support on CPU and will give an interim update specifically for the Wasm backend 15:01:59 -> WebNN Investigation: Wasm Custom Ops (presentation slides) https://docs.google.com/presentation/d/1xOQtyAeQNdI70rICzLNKRxmzM-Dwjhh3MdzGKW29C8Q/ 15:02:04 [ Ningxin presents the slides ] 15:02:29 anssik: The slides will give a recap on custom operations, WebNN POC API, perf data, summarize key findings. 15:02:38 Ningxin_Hu: Background: in ML field, the ops are evolving quickly 15:02:49 ... Problem: big framework’s ops set (e.g. TF.js has ~200) VS. small WebNN’s ops set (focusing on hardware acceleration) 15:03:25 ... Status: frameworks ops are implemented in WebGL and WASM, later will add WebGPU 15:03:53 ... Solutions under investigation: 15:04:05 ... - Framework partitions the NN graph based on WebNN’s ops set 15:04:23 ... - Framework offloads supported sub-graphs to WebNN execution 15:04:29 ... - Framework executes other sub-graphs by own ops 15:04:35 ... - Require a high-performance data exchange between framework ops and WebNN 15:04:46 ... - Device affinity may matter: WASM ops interop with WebNN/CPU, WebGL/WebGPU ops interop with WebNN/GPU 15:04:51 ... - Start with WASM ops 15:05:59 [ Using WebNN POC slide walkthrough ] 15:06:38 [ WASM ops and WebNN graph execution ] 15:08:17 [ Workload: MobileNet V1 ] 15:09:04 [ Graph partition configurations ] 15:09:17 question on the IRC: these slides are great ! thank you ningxin ! is the POC source code link somewhere? would love to see how some of the ops where connected to BNNS. 15:10:52 [ Results: performance ] 15:11:19 [ Results: efficiency ] 15:13:55 ll has joined #webmachinelearning 15:14:01 RRSAgent, draft minutes v2 15:14:01 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:15:56 Ningin_Hu: Summary: 15:16:01 ... Offloading key WASM ops to WebNN can get good speedup 15:16:08 ... Interop between WASM ops and WebNN graph has overhead 15:16:23 ... Need to explore the browser-side optimizations, e.g. by 15:16:25 I have to go catch my shuttle. I'll follow up on GH. 15:16:39 ... Reduce memory copies: CPU backend inside WASM process? Shared WASM heap? 15:17:05 ... Reduce memory relayout: expose native memory layout? 15:17:38 ... Need to explore the framework-side optimizations, e.g. by implementing overhead-aware graph partition and delegate algorithm 15:17:55 anssik: thanks you Ningxin, there's a question from paul 15:18:22 jdarpinian has joined #webmachinelearning 15:18:51 ningxinhu: the source will be published soon 15:18:52 thanks ! 15:21:12 TOPIC: Industry events 15:21:23 [ skipping in the interest time ] 15:22:57 TOPIC: Adjourn 15:23:04 anssik: thank you for your active participation. 15:23:11 ... Next call is scheduled 11 April 2019, so we're back to the original time, i.e. US/Canada an hour earlier than today. 15:23:17 RRSAgent, draft minutes v2 15:23:17 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:23:56 Have a nice day! 15:24:10 belem has left #webmachinelearning 15:24:39 s/skipping in the interest time/skipping in the interest of time/ 15:24:45 RRSAgent, draft minutes v2 15:24:45 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:25:18 s/thanks you/thank you/ 15:29:39 RRSAgent, draft minutes v2 15:29:39 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:44:48 s/Sorry anssik// 15:44:50 RRSAgent, draft minutes v2 15:44:50 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:46:36 s/-> Executing operations https://‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11/-> https://‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11 Executing operations 15:46:40 RRSAgent, draft minutes v2 15:46:40 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:47:23 s//‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11/Executing operations//github.com/webmachinelearning/webnn/issues/11/-> https://‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11 Executing operations 15:47:43 RRSAgent, draft minutes v2 15:47:43 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:48:30 s//‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11/// 15:48:31 RRSAgent, draft minutes v2 15:48:31 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 15:51:24 s/-> https://‌github.com/‌webmachinelearning/‌webnn/‌issues/‌11 Executing operations/https://github.com/webmachinelearning/webnn/issues/11 15:51:29 RRSAgent, draft minutes v2 15:51:29 I have made the request to generate https://www.w3.org/2019/03/14-webmachinelearning-minutes.html anssik 17:14:54 Zakim has left #webmachinelearning 19:22:34 zolkis has joined #webmachinelearning 19:40:00 zolkis has joined #webmachinelearning 19:57:49 myles has joined #webmachinelearning 22:23:41 zolkis has joined #webmachinelearning