Commit Graph
118 Commits
Author SHA1 Message Date
andrew 13c1c5b4bd Add defaults to all workload presets if not present 2024-05-08 22:27:36 -04:00
andrew 9f21dbcb17 Kick static to v4 2024-03-28 19:43:31 -04:00
Andrew Grant 2fcb7329ce Implement support for DATAGEN Workloads through the genfens interface (#200) 2024-03-12 21:22:07 -04:00
andrew 45302fa347 Force css/js updates 2024-03-11 19:37:23 -04:00
andrew eca8ccc613 Add a mechanism for cache-busting static files 2024-03-07 19:15:41 -05:00
andrew 9d464e5b7d Add balance_engine_throughputs as a configuration option
Load balances tests with relation to each engine. If set to true, the effective throughput during work allocation will be scaled linearly with the number of tests which share the same dev engine.

Namely, it can be used in a large framework to ensure equal allocation of resources across various engines. This comit will be followed by one which allows the user to specify an engine to the client, via --engine MyEngine, to force their worker to selfishly select their engine.

We will account for cases where the selfish-engine is not a top-prio workload, and not play the low prio one.
We will account for the other workers, by ignoring this worker's contribution to overall worker distrubtion. This ensures that it is a strict net gain to attach your own machines to a framework
2024-01-11 21:17:59 -05:00
andrew 89478d807f Fix swapping test modes on workload creation
Ensure default settings appear for tunes and tests
2023-12-04 09:06:38 -05:00
andrew ca630c80f2 Initial step for PGN uploading
1. Create the interface code to allow for it.
2. Create pgn_util to strip and compress PGNs
2023-12-04 07:57:33 -05:00
andrew acef6cba4f Update configs; Ensure correctness of fields 2023-11-21 20:46:44 -05:00
andrew b101e5be23 Finalize config changes 2023-11-16 20:25:11 -05:00
andrew 9123444d22 Complete overhaul of how engine options are handled
Removed worker_limit and thread_limit
Relocated some settings in the engine configs
Renamed the test_modes and tune_modes to x_presets
Added a default preset grouping, which others can extend
Complete rewrite of create_test.js, with the hope to generalize with create_tune.js
Cleanups of the create_test.html for warnings due to missing html attributes
2023-11-16 20:25:11 -05:00
andrew 37cc4a5b96 Load modular configs for Books + Engines
Produce some verification of correctness for those configs
Begin future client auto-updating things, with new config fields

client_repo_url, and client_repo_ref specifically.
2023-11-16 20:25:11 -05:00
andrew 5d8704d896 Relocate books; split up books.json
First step towards a more modular config schemea.
Books moved to AndyGrant/openbench-books.
Those books will _never_ be deleted.

Update workload dict. to avoid duplicate json fields for book names
2023-11-16 20:25:11 -05:00
andrew 8c765ba0bb Bump Server/Client version to v18 2023-11-08 14:57:06 -05:00
andrew 36fc79487b Better client output; Kick to v17 2023-09-25 17:50:21 -04:00
andrew 81c5c9bfbc Kick Client/Server to v16 2023-09-20 12:48:07 -04:00
andrew 37dfb585ad Kick Client/Server to v15 2023-09-20 10:49:24 -04:00
Andrew Grant ee267381fc Implement SPSA for OpenBench (#169)
* Support Worker and Thread Limits
* Drop report_rate from the Client
* Creation page
* WIP for SPSA; Lots of code shuffling to clean it up
* Able to create a Tune in the interface
* Start to work on a display page for Tunes
* Move all workload utilities to their own dir
* Ignore config files going forward
* Able to produce an SPSA test from the Server
* Round integers with probabilities that make sense
* Client side working
* Report as results come in, don't wait
* Fix workload size comment
* Cleanup and fix Tune modifications
* Adustment to random value in tuning
* Delete engine configs
2023-09-19 14:44:52 -04:00
andrew a26e0f277a Use base NPS when doing cross-engine play
Creates a support for regression testing against a stable base, without dealing with variable NPS of the dev engine
2023-08-30 01:22:24 -04:00
Andrew Grant d32761c53c Overhaul Client Reporting mechanism (#153)
Collects results as game-pairs, instead of as individual results. This removes some noise and bias that may have existed prior.

The master thread now handles all reporting to the OpenBench server. Help threads, ( one for each --nsockets or -N ), will place their results in a multiprocessing.Queue().

We will report report_rate-pairs at a time. However we will only report up to once every 30 seconds. This means we might batch report many many games at a time. This acts as a natural remedy to if someone were to have created an insanely short time control, or low nodes test. This will cause fixed-game tests to go over the cap. IE, a 40,000 game test is very likely to receive a small number of games above 40,000. Fixing these seems non-trivial, and also not important.

The Client also sends Pentanomial information to the server now. This information is not acted upon.

This involved a complete rewrite of how data (trinomial) information is extracted from Cutechess. It is predicated upon the assertion that cutechess pairs are sequential. IE, pair one will be game 1/2. Pair two will be games 3/4. Etc. This is the fundemental assertion that is in Fishtest, although very confusing to extract from observation.

Resolves an issue where the worker threads, spawned to run benchmarks, were not being killed, as .start() was not followed by a .join().

Makes more cleanly aborting threads, by explicitly murdering them with an abort_flag from threading.Event(). This speeds up killing workers that have multi-sockets. It also helps further protect us against Cutechess being left open.

Performs atomic transactions with the database for tests. This is critical for dealing with future SPSA efforts. Updates to Profile, individual Result, and Machine, are left as is. This is because Model.objects.filter().update() is atomic, and the contents of Results are hit by only 1-thread at a time, and Profile/Machine's updates do not matter.

Resolves #144 and then some.
2023-08-16 08:02:56 -04:00
andrew 51447a5f42 Make patches fail faster 2023-07-26 15:51:11 -04:00
andrew 12c81c05dd Three different sets of changes in one commit
1. Fix the Networks API to handle duplicate Networks between engines
2. Modify end points to account for this ( breaks scripts and client )
3. Update Client to handle these changes
2023-07-14 21:12:29 -04:00
andrew fd1fa723d5 Handle optimal builds; remove need for a naming convention
throw errors on bad jsons at start time of server
2023-06-26 06:48:56 -04:00
andrew 475bd058c7 Working version 2023-06-23 00:49:22 -04:00
andrew 59917f960d Work in progress on some view changes 2023-06-09 11:03:35 -04:00
andrew 01d99a86df Implement support for cross-engine play
Also support for time odds
2023-06-01 09:40:33 -04:00
andrew 27e6017bfb Finalize? 2023-05-17 02:05:53 -04:00
andrew e229b26f9d Move all configurations with books and engines to .json files 2023-04-04 21:12:16 -04:00
andrew 0a6d365174 Spawn multiple cutechess copies if requested 2023-04-02 18:05:38 -04:00
andrew f22883647d Finalize hiding public information in settings 2023-03-08 04:16:44 -05:00
andrew c02e0782b6 Add Support for Private source engines
Private source engines must be located on Github.
All test branches must come from the same repo as stated in the config.
Repo must have an openbench.yml file that produces artifacts for the
workers.
Basic name scheme: windows-avx2-pext, linux-avx512-pext, ...

Desired artifacts can be set in the engine config under ['build']['artifacts']
Server must have a private key, housed in credentials.enginename.
Client must have a private key, housed in credentials.enginename.
enginename is lowercase and with spaces removed.

Private engines cannot build their NNUE files directly into them.
They must therefore support being run from the CMD line, with additional options.
Namely: ./engine "setoption name EvalFile value path/to/file" "bench" "quit".
2023-03-07 23:13:29 -05:00
andrew 7324bb1dc1 Add private boolean to each engine config 2023-03-04 22:54:10 -05:00
andrew 4e4da633d6 Allow blocking of public access to OpenBench 2023-02-22 06:15:31 -05:00
andrew aa3e43b125 Pass adjudication settings from the server. Allow defaults 2023-02-20 21:20:09 -05:00
andrew 2ff867e191 Rebench all engines (Except Zahak)
Ryzen 3700x, WSL, Ubuntu 24.04 LTS, gcc 11.3.0, clang 14.0.0, cargo 1.64.0
2023-02-01 00:43:28 -05:00
Jay Honnold 197fdbf1bc Enforce AVX2+ machines for Berserk (#110) 2023-02-01 00:42:05 -05:00
Jay Honnold 1c3f5a9ffe Update Berserk Configuration (#108) 2023-01-04 02:24:03 -05:00
andrew 1c8e14bf50 Implement support for fixed nodes, fixed depth, fixed time 2023-01-03 15:35:00 -05:00
Gediminas Masaitis b412681727 Add 4ku Engine and Pohl.pgn (#106) 2022-12-10 16:55:58 -05:00
Volodymyr Shcherbyna d577d18eb5 Reduce igel testing bounds to [0.00, 3.00] (#102) 2022-10-28 04:04:02 -04:00
andrew ad0e8eac61 Add g++ to Winter's compilers 2022-10-02 18:35:45 -04:00
Andrew Grant 5f6a493434 Add back gcc as a fallback for Ethereal 2022-09-20 12:37:32 -04:00
Andrew Grant 04a54c4d93 Default Ethereal to clang, and [0.00, 3.00] bounds 2022-09-18 19:44:47 -04:00
Andrew Grant 1777e00a28 Merge branch 'master' of http://github.com/AndyGrant/OpenBench 2022-09-13 01:28:37 -04:00
Andrew Grant 2491503422 Send PGNs of crashes to the server; Send compiler output 2022-09-13 01:28:30 -04:00
mhouppin 7825d70ed8 Change the overridden Makefile variable name to CXX for C++ engines (#99)
Also update Winter's compiler support since it currently fails to build on some g++ versions
2022-09-06 05:49:50 -04:00
Andrew Grant 2d02f1f7fa Require AVX2 and subsets for BlackMarlin 2022-08-27 07:55:50 -04:00
Andrew Grant 7d596fa28f Update NPS values 2022-08-24 01:42:31 -04:00
Andrew Grant 6dc80d44fc Update BlackMarlin book to Pohl.epd 2022-08-08 05:43:57 -04:00
Andrew Grant f711de29b3 Allow dynamic test modes to be defined in config.py 2022-08-08 05:42:55 -04:00