Comments (5)
Can you try to add a @jax.jit to the MetropolisSampler.reset method?
Otherwise @inailuig might know better.
from netket.
#1721 will fix this
The issue is that the key in
netket/netket/sampler/metropolis.py
Line 396 in f378bd4
is sharded after the first call, but random_state is not jitted, so it errors if its called with non fully addressable arrays.
from netket.
@PhilipVinc mabye we can do a bugfix release which includes #1727
and I'll complete this todo
netket/netket/experimental/sampler/metropolis_pt.py
Lines 160 to 165 in f378bd4
in the other PR to solve it properly later.
from netket.
Solved by #1727 , released few moments ago in netket 3.11.1
from netket.
Thanks guys, I appreciate the quick fix!
from netket.
Related Issues (20)
- MinSR regularisation HOT 8
- `vs.sample(n_samples=X, chain_length=Y)` does not error and silently ignores one argument
- vmap for modules HOT 3
- Bug in hilbert space indexing with MPI HOT 4
- Adaptive time step fails if t0 is an integer HOT 2
- Conjugation of fermionic operators is wrong HOT 2
- Examples of observables/density operator for netket.experimental.TDVP
- TDVP not implemented for Squared LocalLiouvillian operators HOT 4
- Issue with shapes when using parallel tempering sampler on MPI HOT 6
- Generalized Hartree fock HOT 4
- TDVP convergence issues in multi-process execution HOT 4
- `operator.spin.sigmax` interplay with fermionic spaces
- LocalOperatorJax tracer leak (MetropolisHamiltonianJax breaks) HOT 1
- Changing default `n_chains` on GPUs and `n_discard_per_chain` to something more reasonable HOT 4
- Bug in MinSR code HOT 1
- Updating the installation documentation HOT 1
- VMC_SRt support for steady states HOT 2
- Serialisation under sharding is broken in jax 0.4.29
- Getting very different results than in the tutorials HOT 11
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 netket.