Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Releases: facebookresearch/playtorch

0.2.4

17 Dec 20:32
Compare
Choose a tag to compare

0.2.4 contains the following changes

Learn more about the PlayTorch name and the PlayTorch app in our announcement blog post: https://pytorch.org/blog/introducing-the-playtorch-app/

react-native-pytorch-core

Full Changelog: v0.2.3...v0.2.4

0.2.3

20 Nov 22:49
Compare
Choose a tag to compare

0.2.3 contains the following notable changes plus many smaller improvements and fixes.

Learn more about the PlayTorch name and the PlayTorch app in our announcement blog post: https://pytorch.org/blog/introducing-the-playtorch-app/

💫 The 0.2.0 series introduced new JavaScript interfaces to PyTorch APIs for flexible data processing and inference that replace MobileModel.execute and Live Spec JSON. See the core package's README for example usage.

react-native-pytorch-core

Breaking Changes

  • TypeScript type updates to improve handling of IValue generics (#144) (ef4465f by @raedle)

react-native-template-pytorch-live

  • Update model urls from previous GitHub repo pytorch/live to facebookresearch/playtorch (bfd6a97 by @raedle)

  • Note: react-native-template-pytorch-live is deprecated. Instead, follow React Native’s Environment Setup guide. To use react-native-pytorch-core in an existing app follow the documentation Add PlayTorch to Existing App or in an Expo managed app use npx expo install react-native-pytorch-core.

Thank you to our contributors @zrfisher, @neildhar, and @bradzacher.

Full Changelog: v0.2.2...v0.2.3

0.2.2

15 Sep 23:10
Compare
Choose a tag to compare

0.2.2 contains the following improvements and removes some deprecated features.

💫 The 0.2.0 series introduced new JavaScript interfaces to PyTorch APIs for flexible data processing and inference that replace MobileModel.execute and Live Spec JSON. See the core package's README for example usage.

react-native-pytorch-core

  • Remove “Live Spec” APIs. Instead, use the JavaScript interfaces to PyTorch APIs introduced with 0.2.0 (#111)
  • Force same orientation on ImageUtil.fromFile (#124)
  • Extend Tensor.topk() function parameters to match PyTorch API
  • Fix a bug with Tensor indexing APIs (#118)

react-native-template-pytorch-live

  • Remove related “slim template” package react-native-template-ptl. Instead, get started with the standard React Native CLI, Expo, or Expo EAS

torchlive-cli

Thank you to our contributors @cjfghk5697, @liuyinglao, @raedle, @reedless, and Zeinab Sadeghipour Kermani

Full Changelog: v0.2.1...v0.2.2

0.2.1

16 Aug 17:27
Compare
Choose a tag to compare

0.2.1 contains the following notable changes plus many smaller improvements and fixes.

This is the first release under the new name "PlayTorch" which replaces "PyTorch Live". The repository now lives at https://github.com/facebookresearch/playtorch

Learn more about the PlayTorch name and the PlayTorch app in our announcement blog post: https://pytorch.org/blog/introducing-the-playtorch-app/

💫 The 0.2.0 series introduced new JavaScript interfaces to PyTorch APIs for flexible data processing and inference that replace MobileModel.execute and Live Spec JSON. See the core package's README for example usage.

react-native-pytorch-core

  • Support passing general JavaScript types (e.g., Array, String, Object) to Module.forward, and automatically unpack result types (IValue in C++) to JavaScript types
  • Support for React Native 0.68, 0.69
  • Fix Expo Config Plugin: now the apps generated by expo prebuild are ready to compile
  • Fix iOS <Canvas> element to match the (correct) Android behavior when calling CanvasRenderingContext2D.invalidate() to repaint
  • Add new PyTorch JavaScript API wrappers: torch.cat, torch.full, torch.linspace, torch.logspace, torch.randperm, torch.randn, Tensor.argmin, Tensor.expand, and Tensor.flip
  • Add support for RGBA and grayscale to media.imageFromTensor
  • Deprecate media.imageFromBlob in favor of media.imageFromTensor
  • Deprecate MobileModel.execute, MobileModel.preload, MobileModel.unload, and Live Spec in general. Migrate away from Live Spec to use torch.jit._loadForMobile
  • Fix toDictStringKey (#99) in legacy Live Spec

react-native-template-pytorch-live

  • Update documentation references from PyTorch Live to PlayTorch

torchlive-cli

  • Note: torchlive-cli is deprecated. Instead, follow React Native’s Environment Setup guide. To use the default torchlive-cli template, pass the --template flag during setup: npx react-native init AwesomeProject --template react-native-template-pytorch-live

Thank you to our contributors @ansonsyfang, @bhadreshpsavani, @chrisklaiber, @cjfghk5697, @clarksandholtz, @justinhaaheim, @liuyinglao, @michaelkulinich, @raedle, @simpleton, @ta211, Kyle Into, Lucca Bertoncini, Prakhar Sahay, Shushanth Madhubalan, Vladimir Pinchuk, and Zonggen Yi.

Full Changelog: v0.2.0...v0.2.1

0.2.0

07 Jul 17:26
Compare
Choose a tag to compare

0.2.0 is a major update with various bug fixes and the following notable changes. For an introduction to the new platform's capabilities, see our PlayTorch announcement blog post and new home at https://playtorch.dev

react-native-pytorch-core

  • 💫 New JavaScript interfaces to PyTorch APIs for flexible data processing and inference. This replaces MobileModel.execute and Live Spec JSON. See the core package's README with example usage
  • Example code now uses the JavaScript interfaces to PyTorch APIs
  • New image APIs to convert from image to blob to tensor and back
  • Expand model support to include, for example, YOLOv5, DeepLabV3, Fast Neural Style, Wav2Vec2
  • Update PyTorch Mobile dependency from 1.10 to 1.12
  • Improve support for React Native 0.66+
  • Improve support for Apple Silicon

react-native-template-pytorch-live

  • Remove dependency on Python and locally created models via make_models.py. Instead, the pre-exported models are loaded from the network
  • Example code now uses the JavaScript interfaces to PyTorch APIs

torchlive-cli

  • Note: torchlive-cli will be deprecated in an upcoming release. Instead, follow React Native’s Environment Setup guide. To use the default torchlive-cli template, pass the --template flag during setup: npx react-native init AwesomeProject --template react-native-template-pytorch-live

Thank you to our contributors @ansonsyfang, @ap190, @chrisklaiber, @clarksandholtz, @justinhaaheim, @krazykalman, @liuyinglao, @metawaku, @pavlos-chatzisavvas, @pd21989, @raedle, @ta211, @williamngan, Alp Genc, Bode Sule, Isaac Mosebrook, Minji Kim, and Thiago Roscia

Full Changelog: v0.1.3...v0.2.0

0.2.0-rc.3

05 Jul 20:00
Compare
Choose a tag to compare
0.2.0-rc.3 Pre-release
Pre-release

0.2.0-rc.2

24 Jun 00:32
Compare
Choose a tag to compare
0.2.0-rc.2 Pre-release
Pre-release

0.2.0-rc.1

10 Jun 18:22
Compare
Choose a tag to compare
0.2.0-rc.1 Pre-release
Pre-release

0.2.0-rc.0

03 Jun 00:03
Compare
Choose a tag to compare
0.2.0-rc.0 Pre-release
Pre-release

v0.1.3

19 Jan 18:49
Compare
Choose a tag to compare

0.1.3 is out with changes:

Fixed

Features

Full Changelog: v0.1.2...v0.1.3