This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
0.2.0
chrisklaiber
released this
07 Jul 17:26
·
209 commits
to 0.2-stable
since this release
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