Alex Errant
Alex Errant
I tweaked luy19's solution to iterate through all the ts(x) files because I also wanted `"noUncheckedIndexedAccess": true` which required more files to be ignored, so I said "f it ignore...
Twitter XSS attacks have hit the news before: * https://www.theguardian.com/technology/2014/jun/11/twitter-tweetdeck-xss-flaw-users-vulnerable * https://www.theguardian.com/technology/blog/2010/sep/21/twitter-hack-explained-xss-javascript Just because it's only on the user's browser doesn't mean Bad Things can't happen. Unfortunately being open source...
Burn is setup as a workspace, and you're using `wasm-pack`, which led me to [this possibly relevant issue](https://github.com/rustwasm/wasm-pack/issues/642).
Another idea is to do something similar to [this PR to wasm_bindgen](https://github.com/rustwasm/wasm-bindgen/pull/3603) and use Python. Sure we could remove the Python dependency from `examples/mnist-inference-web`, but we can't remove it from...
Here's Part 2. I load the MNIST database and create its data loaders. It was pretty straightforward and I made virtually no changes to Burn. After this change, the browser...
Here's part 3. Things get a little complicated. I ignored `MultiThreadDataLoader` for now (also, we can train without it or the filesystem - `learner.fit` runs as of this change.) I...
Nice! I was wondering if Burn "native" could use a worker pool, but didn't know if that would have any specific benefits. I'm unfamiliar with `ComputeServer` and trust your reasoning....
Just to be explicit, this PR introduces the `nightly` toolchain, for reasons given [here](https://rustwasm.github.io/wasm-bindgen/examples/raytrace.html#building-the-demo).
So uh, [I deleted ~99% of my additions to Burn](https://github.com/tracel-ai/burn/pull/938/commits/6d926e806d7a02b103677f09988b5225fe908977) and just used [`wasm-bindgen-rayon`](https://github.com/GoogleChromeLabs/wasm-bindgen-rayon) instead. It creates a web-worker pool that is used by rayon. (The majority of the other...
A few words in praise of `wasm-bindgen-rayon`: It [has quite a few dependants](https://github.com/GoogleChromeLabs/wasm-bindgen-rayon/network/dependents), so should be pretty well battletested. The 3 open issues are pretty minor or are blocked by...