Comments (4)
Lowering the n_discard_per_chain sounds like a great idea (I default to 4). It sounds a bit strange to me, though, to change the number of chains based on the backend (this is what will effectively happen, right?). I would rather take the number of chains constant. If you run on CPU, the number of ranks will be high, and so the number of chains per rank low, while the opposite then happens on GPU.
from netket.
Yes I would use a constant number of discarded (not a fraction) but I wouldn't be in favor of having backend dependent defaults,this might be dangerous and give different results unexpectedly
from netket.
I super agree about the constant and small number of discards per chain. I would keep the number of chains the same on the different backends, though, since the opposite could generate unexpected behaviours.
from netket.
Ok, so it seems that there is agreement on a lower n_discard_per_chain
. Do we all agree on 10
or is this too large?
About changing n_chains_per_rank
dynamically...
- I am proposing to set the default value of
n_chains_per_rank
based on the backend (@jwnys , not then_chains
)
Right now the default is 16 chains per rank, which is ok for CPUs (even a bit high in some cases when running under MPI) but completely not ok for GPUs.
The reason I'd like to set this is because the current default is completely useless on GPUs, and I see the defaults as something that newcomers can learn from.
What do you fear might break if we change the number of chains dynamically?
from netket.
Related Issues (20)
- 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
- 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
- Unexpected behaviour when adding operators
- SR defaults overwriting QGT properties HOT 7
- Flax ConvNet with double precision (float64) slows down QGTJacobianDense HOT 4
- [Contributor wanted] Deprecate `rcond` in solvers
- New jax rng key breaks VQS serialization with flax HOT 2
- Issue on page /docs/varstate.html about mutability of variational state parameters. HOT 1
- TDVP drivers not measuring loss at initial time - error in callbacks.InvalidLossStopping HOT 1
- Type error when running dynamics with adaptive solvers HOT 5
- Issue on page /api/_generated/graph/netket.graph.Lattice.html HOT 1
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.