CMSGen is a fast, weighted, uniform-like sampler for CNF formulas. It gives no formal guarantee that its samples follow the desired distribution, but in our testing with the Barbarik uniformity tester it is currently the best sampler without such guarantees.

CMSGen is built on CryptoMiniSat: it picks polarities and branching variables at random, turns off pre- and inprocessing, and restarts at static intervals, so that its solutions are spread close to uniformly over the solution space. If you need provably uniform samples, use UniGen instead. Release binaries are on GitHub for Linux, Mac and Windows, on both x86_64 and ARM, it is available via Nix, and you can try it in your browser.

CMSGen is described in Designing Samplers is Easy: The Boon of Testers (FMCAD 2021). See also the blog posts CMSGen, a Fast Uniform-Like Sampler and Checking Uniform-Like Samplers.