0.2.3
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
- Add tensor.matmul to PyTorch SDK for JSI (7f633ca by @zrfisher)
- Update model urls from previous GitHub repo
pytorch/live
tofacebookresearch/playtorch
(edf43de by @raedle) - Fix minor compiler warnings (bd9d13d by @raedle)
- Add pragma marks to ignore
deprecated-delcarations
surfaced by C++17 compiler. This was needed because PyTorch Mobile is C++14 (20842f6 by @raedle) - Introduce new image toBlob API function signature (#130) (ffa4ed6 by @raedle)
torch.jit._load_for_mobile
with device and extra files options (#141) (e249116 by @raedle)- Patch failing issue with RN 0.64.3 (#157) (5e6b2c0 by @raedle)
- Enforce 3 argument requirement for randint (02c37a3 by @neildhar)
- upgrade prettier to 2.7.1 (74a3ed8 by @bradzacher)
Breaking Changes
react-native-template-pytorch-live
-
Update model urls from previous GitHub repo
pytorch/live
tofacebookresearch/playtorch
(bfd6a97 by @raedle) -
Note:
react-native-template-pytorch-live
is deprecated. Instead, follow React Native’s Environment Setup guide. To usereact-native-pytorch-core
in an existing app follow the documentation Add PlayTorch to Existing App or in an Expo managed app usenpx expo install react-native-pytorch-core
.
Thank you to our contributors @zrfisher, @neildhar, and @bradzacher.
Full Changelog: v0.2.2...v0.2.3