Comments (13)
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.
It works fine standalone, can you minimize the defn example that still reproduces it?
from nx.
You can also try nx/exla main just in case :)
from nx.
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.
Or I didn't get/compile EXLA properly...
from nx.
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.
@krstopro make sure you use main for both, if using main. If using a package, do mix deps.update nx exla
.
from nx.
Upgraded to 0.6.4, didn't resolve it.
from nx.
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.
Can you share your mix.lock?
from nx.
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.
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.
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)
- Convert Nx.LinAlg.qr to optional callback HOT 1
- Convert Nx.LinAlg.cholesky to optional callback
- Fix sign of zero values in Nx.ceil and Nx.conjugate HOT 1
- Add executable-level caching to Nx.Defn in EXLA HOT 1
- Nx.LinAlg.solve/2 with Nx.BinaryBackend returns tensor with wrong state HOT 6
- How to Set XLA log level?? HOT 2
- could not compile dependency :exla HOT 3
- Implement Nx.stack as a default callback HOT 1
- Expand docs for the :axes option in Nx.gather/3 HOT 2
- Remove xla compiler_mode
- Use regions when compiling `if` in MLIR HOT 1
- Quantization via MLIR
- Special node acceleration via metadata HOT 6
- Import and export of MLIR modules
- function Torchx.__jit__/5 is undefined or private HOT 2
- Geometric / Clifford algebra in arbitrary dimensions HOT 4
- Automatically track which variables are inside if/cond/while
- Data Loaders in Nx? HOT 6
- Cannot transform dummy columns to Nx Tensors via Nx.stack HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx.