Code Monkey home page Code Monkey logo

Comments (13)

josevalim avatar josevalim commented on June 10, 2024 1

Ok, I think we can close this one then. Scholar worked for me once both are on git and updated to latest. :D

from nx.

jonatanklosko avatar jonatanklosko commented on June 10, 2024

It works fine standalone, can you minimize the defn example that still reproduces it?

from nx.

jonatanklosko avatar jonatanklosko commented on June 10, 2024

You can also try nx/exla main just in case :)

from nx.

krstopro avatar krstopro commented on June 10, 2024

You can also try nx/exla main just in case :)

It seems to be working in nx/exla main. I was working in the main of Scholar. Perhaps there is an issue there?

from nx.

krstopro avatar krstopro commented on June 10, 2024

Or I didn't get/compile EXLA properly...

from nx.

jonatanklosko avatar jonatanklosko commented on June 10, 2024

You can try mix deps.update exla. Currently it's locked at 0.6.3, but maybe 0.6.4 fixed it. Otherwise we need to depend on exla main in mix.exs I guess.

from nx.

josevalim avatar josevalim commented on June 10, 2024

@krstopro make sure you use main for both, if using main. If using a package, do mix deps.update nx exla.

from nx.

krstopro avatar krstopro commented on June 10, 2024

Upgraded to 0.6.4, didn't resolve it.

from nx.

krstopro avatar krstopro commented on June 10, 2024

Nx.all_close/3 is used all over Scholar as it is used to implement assert_all_close which is behind many unit tests.
https://github.com/elixir-nx/scholar/blob/6c609685db1f5808945425468019d993e06597b4/test/support/scholar_case.ex#L16
Which means it's probably me that made an error somewhere...

from nx.

josevalim avatar josevalim commented on June 10, 2024

Can you share your mix.lock?

from nx.

krstopro avatar krstopro commented on June 10, 2024

Right now it's the same as in main of Scholar
https://github.com/elixir-nx/scholar/blob/main/mix.lock
If I do mix deps.update nx exla unit tests will fail.

from nx.

josevalim avatar josevalim commented on June 10, 2024

Yeah, as I said above, you need to swap exla to use github as well, since nx is pointing to github. It just happens that the commit it is currently locked on did not diverge. Btw, why do you need to bump nx?

from nx.

krstopro avatar krstopro commented on June 10, 2024

Yeah, as I said above, you need to swap exla to use github as well, since nx is pointing to github. It just happens that the commit it is currently locked on did not diverge. Btw, why do you need to bump nx?

Didn't need to, just copied what you wrote above and forgot to remove nx. 😅

from nx.

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.