Git Product home page Git Product logo

Comments (11)

Gernii avatar Gernii commented on July 23, 2024 3

@JonathanSum u need to up or downgrade your react native to v0.65.1, I have tested all version, and only v0.65.1 work

from playtorch.

Gernii avatar Gernii commented on July 23, 2024 1

@JonathanSum v0.1.3 only work with v0.65, i dont know how lib demo work with v0.64, if u want to work in v0.66+, u have to wait for lib next version, if u still want to use in v0.66+ u can use '@nightly'.
Example: react-native-pytorch-core@nightly
This will take latest commit, not latest version, you can see in #50
Warning: this can cause bug because maybe latest commit have bug

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024 1

@raedle I will try to add it to my project with my OnePlus7 later to see if this unblocks me or not.

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

In addition, I also tried to use the newest Live Core. Currently, It still has issues with the CMake:
https://github.com/pytorch/live/blob/main/react-native-pytorch-core/android/CMakeLists.txt

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

It is possible that this wrong setting caused this:
image

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

@Gernii
I will try your suggestion next week. After that, I will close it, if you are right.

from playtorch.

clarksandholtz avatar clarksandholtz commented on July 23, 2024

@JonathanSum any luck with @Gernii's suggestion?

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

@clarksandholtz

It was my final year and final semester of my school, so it was so busy. I am currently starting to try @Gernii's solution.

The RN I am currently using is "react-native": "0.64.3", and I am going to update it.

I hope it can work from 0.65.1 or above.

I will try to fix it this weekend. I am pretty busy right now.

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

So it can only work in 0.65.1 at this momoment?

from playtorch.

raedle avatar raedle commented on July 23, 2024

@Gernii and @JonathanSum, the latest nightly has support for up to React Native 0.68. React Native 0.69 is not yet supported, but we are also looking into supporting it.

The fix for 0.68 has been added in commit fix RN0.68 can't build with react-native-pytorch-core, which is currently only available in the nightly version.

Please have a look at the docs "Add Package to Existing App" for more information how to set up the project.

Can you let us know if this unblocks you?

from playtorch.

JonathanSum avatar JonathanSum commented on July 23, 2024

Closing this because my issue was solved in another way.

from playtorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.