profile
viewpoint
Daniel Smilkov dsmilkov Google Cambridge, MA smilkov.com Google Brain. Co-author of TensorFlow.js. MIT Media Lab alum.

tensorflow/tfjs 13979

A WebGL accelerated JavaScript library for training and deploying ML models.

tensorflow/tfjs-core 8530

WebGL-accelerated ML // linear algebra // automatic differentiation for JavaScript.

tensorflow/tfjs-models 7214

Pretrained models for TensorFlow.js

tensorflow/tfjs-examples 4676

Examples built with TensorFlow.js

alexandersimoes/d3plus 1525

A javascript library that extends D3.js to enable fast and beautiful visualizations.

tensorflow/tfjs-converter 672

Convert TensorFlow SavedModel and Keras models to TensorFlow.js

google/XNNPACK 593

High-efficiency floating-point neural network inference operators for mobile, server, and Web

PAIR-code/saliency 584

TensorFlow implementation for SmoothGrad, Grad-CAM, Guided backprop, Integrated Gradients and other saliency techniques

tensorflow/tfjs-layers 286

TensorFlow.js high-level layers API

startedsimonw/datasette

started time in 6 days

MemberEvent
PullRequestReviewEvent

pull request commenttensorflow/tfjs

[wasm] Use single Emscripten JS module.

Ah, I guess I should have clarified. By 2 requests I meant:

  • 1 request to fetch the main js library (the entire js bundle).
  • 1 request to fetch the wasm binary.

For today's users of WASM, this PR makes the main js library smaller by 27kb, but .wasm large by 104kb. Thus I see it as a neg-negative change (2 xhr requests, more kb).

annxingyuan

comment created time in 2 months

pull request commenttensorflow/tfjs

[wasm] Use single Emscripten JS module.

A more general question about the benefits of this change. It seems that the user will still make 2 XHR requests (.js and .wasm) to use TF.js (in either SIMD and non-SIMD configuration). The only difference is that some of the files overlap between the non-SIMD and SIMD configurations, but it is still making 2 requests, is that right?

annxingyuan

comment created time in 2 months

pull request commenttensorflow/tfjs

[wasm] Use single Emscripten JS module.

For non-simd, looks like this triples the wasm binary size (156k over 52k) which is a significant increase. Given how important bundle sizes are in the JS world, we should maintain the same .wasm binary size for users that are not using simd or threading (which is almost all users of WASM today).

annxingyuan

comment created time in 2 months

startedPAIR-code/thehardway

started time in 2 months

startedreduxjs/redux

started time in 3 months

more