Deno 1.8 preps for GPU-accelerated machine learning

Source – https://www.infoworld.com/

WebGPU API for GPU rendering and computation is supported in the latest upgrade to the JavaScript/TypeScript runtime.

Deno 1.8, released on March 2, offers preliminary support for an API to bring enhanced machine learning to the secure JavaScript/TypeScript runtime.

Experimental backing for the WebGPU API, for performing operations such as rendering and computation on a GPU, provides a path toward out-of-the-box GPU accelerated machine learning in Deno, release notes said. The WebGPU API gives developers a low-level, high-performance cross-architecture mechanism to program GPU hardware from JavaScript. It serves as the effective successor to WebGL on the web.

The WebGPU spec has not been finalized, but support is being added to browsers such as Chromium, Firefox, and Safari, the Deno release notes state. GPU usage in machine learning has enabled more complex neural networks, or deep learning. Deno’s developers contend that while most neural networks are defined in Python, JavaScript could be used as an ideal language for expressing mathematical ideas if proper infrastructure existed. Providing WebGPU support out-of-the-box in Deno is cited as a step in this direction. The goal is to run TensorFlow.js on Deno, with GPU acceleration.

Installation instructions for Deno 1.8 can be found at deno.land. Those with Deno already installed can access Deno 1.8 by running deno upgrade.https://imasdk.googleapis.com/js/core/bridge3.445.1_en.html#goog_31886267800:00 of 19:29Volume 0% 

Other capabilities in Deno 1.8 include:

  • Built-in internationalization APIs have been enabled. JS Intl APIs work out of the box.
  • Import maps, for controlling the behavior of JavaScript imports, are now stabilized.
  • Support for fetching private modules is now stabilized. Developers can fetch remote modules from a private server using auth tokens.
  • Coverage infrastructure has been expanded, with coverage handling split into coverage collection and coverage reporting.

Deno 1.8 follows the January 19 release of Deno 1.7. The platform has arisen as an attempt to provide a more secure alternative to Node.js, and with a better module system. Deno’s development was spearheaded by Node.js creator Ryan Dahl.

Related Posts

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence