Commit Graph
618 Commits
Author SHA1 Message Date
andrew 50855a5de7 Update Torch presets for tuning 2023-12-04 07:57:33 -05:00
andrew ff8c01bf2d Compress after playing all games 2023-12-04 07:57:33 -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 1ac76bdcc1 Optimize default SPSA to avoid CPU downtime
Left Column indicates the number of threads of a match
N= represents the number of games ( not game pairs )
The values in the table are the % of CPU time wasted.

This is based on LTC data from Torch.
The Single Modeling area can be used to understand SPRT tests as well.

We find that sufficiently large N is needed to avoid massive waste.
Multiple distribution is significanly more prone to waste CPU time

Results for Single Modeling:
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
|    |      N=1 |      N=2 |       N=3 |      N=4 |       N=8 |      N=16 |      N=32 |
+====+==========+==========+===========+==========+===========+===========+===========+
|  1 |        0 |        0 |         0 |        0 |         0 |         0 |         0 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 16 | 0.187964 | 0.154541 | 0.0953438 | 0.111055 | 0.0682209 | 0.0419675 | 0.0234031 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 30 | 0.233956 | 0.250168 |  0.247093 | 0.160325 |   0.17584 | 0.0490092 | 0.0233125 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 60 |   0.3319 | 0.283755 |  0.310635 | 0.315316 | 0.0914697 | 0.0474954 | 0.0229517 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+

Results for Multiple Modeling:
+----+----------+----------+----------+----------+----------+----------+-----------+
|    |      N=1 |      N=2 |      N=3 |      N=4 |      N=8 |     N=16 |      N=32 |
+====+==========+==========+==========+==========+==========+==========+===========+
|  1 |        0 |        0 |        0 |        0 |        0 |        0 |         0 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 16 | 0.187964 | 0.108087 | 0.112321 |  0.18708 | 0.178225 | 0.109092 | 0.0847329 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 30 | 0.233956 | 0.228522 |  0.26862 | 0.263978 | 0.167372 | 0.182215 | 0.0831574 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 60 |   0.3319 | 0.352034 | 0.270229 | 0.291731 | 0.219136 | 0.178662 | 0.0936702 |
+----+----------+----------+----------+----------+----------+----------+-----------+
2023-11-22 16:25:08 -05:00
andrew 0fd7742ed3 Remove dated readme 2023-11-22 16:14:34 -05:00
andrew c741e5c125 Add all of the Swebench engines 2023-11-21 20:58:15 -05:00
andrew f68be40f1e Fix Weiss Tune LTCs 2023-11-21 20:49:01 -05:00
andrew acef6cba4f Update configs; Ensure correctness of fields 2023-11-21 20:46:44 -05:00
andrew 5b56253dcf Force reimport of libs in some python versions 2023-11-18 09:47:36 -05:00
andrew d4917c6c35 Kick to v21... 2023-11-18 09:25:44 -05:00
andrew c64725f181 Kick to v20; additionally chmod cutechess-ob from worker.py 2023-11-18 09:14:07 -05:00
andrew af22c9a79c Remove --proxy for Github 2023-11-16 23:01:34 -05:00
Andrew Grant 3fa1e2b984 Update permissions from a real linux box... 2023-11-16 21:34:00 -05:00
andrew 34f61092c7 Set base dir on startup like before 2023-11-16 21:28:33 -05:00
andrew a38fbf6cfb More permission for cutechess client 2023-11-16 21:12:42 -05:00
andrew 3986e8f497 chmod +X cutechess-ob; report downloading.
Tested with --clean
2023-11-16 21:03:09 -05:00
andrew 28d4f859c2 Fix removed return statement in client authentication 2023-11-16 20:53:12 -05:00
andrew 64523f93e0 Generic, public settings for config.json example 2023-11-16 20:32:02 -05:00
andrew bbe7cc25c1 Update cleanup.sh 2023-11-16 20:25:11 -05:00
andrew 74f613ac78 Return to master, and the base config 2023-11-16 20:25:11 -05:00
andrew 77475b71be Minor fixes, functionally working now 2023-11-16 20:25:11 -05:00
andrew f5ce0de2ca Readd client.py 2023-11-16 20:25:11 -05:00
andrew 0799414b2c Delete client.py, to rename it lowercase.
Windows issues
2023-11-16 20:25:11 -05:00
andrew ec427d0ef2 Auto updating step 1 2023-11-16 20:25:11 -05:00
andrew 4ec9d5b529 First step towards auto-extracting client
client.py will pull from github, as requested by the server
client.py will extract and put all files locally ( except replacing itself ? )

Moved cutechess directly into the Client folder to it gets pulled.
May need to chmod +x the cutechess-ob for Linux on demand.

In the future, the cleanup script will delete everythinge except:
client.py, and any credentials.* files.
Such that one can run an openbench client in any directory, from a single file.
2023-11-16 20:25:11 -05:00
andrew 91ea350f1d Natural formatting for configs in the API 2023-11-16 20:25:11 -05:00
andrew b10537ce02 Update to latest Berserk + Weiss 2023-11-16 20:25:11 -05:00
andrew 2b68a48e2e One more fix to the conversion script 2023-11-16 20:25:11 -05:00
andrew b101e5be23 Finalize config changes 2023-11-16 20:25:11 -05:00
andrew d322e49af7 Add all of the engine configs back 2023-11-16 20:25:11 -05:00
andrew 0b17de9426 Unify create_test and create_tune 2023-11-16 20:25:11 -05:00
andrew 6a53772659 Minor CSS changes to condense pages 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 98090b7ad3 Allow networks to be seen as previous defaults
Networks can now be default, previous-default, or neither.
Networks can can have these fields manually edited.
Networks with default or previous-default status may not be deleted.
Networks may have their names changed, iff no conflicts arise.
2023-11-08 18:19:39 -05:00
andrew 44fafff0c5 Simplify client_verify_worker to a decorator
Removes copy pasted code from 6 functions
2023-11-08 16:52:38 -05:00
andrew 8c765ba0bb Bump Server/Client version to v18 2023-11-08 14:57:06 -05:00
andrew b3f8cc67af Add a heartbeat to the Client
Hits /clientHeartbeat/ when no data exists to report
May return a stop header to abort the workload
2023-11-08 14:56:10 -05:00
andrew 26936a0610 Make the wiki the authoritative source on this 2023-11-01 01:27:27 -04:00
andrew 9f53b086c0 Additional testing and add Client output 2023-11-01 01:26:15 -04:00
andrew b577315b57 Adjust workload assignment policy
Refer to https://github.com/AndyGrant/OpenBench/wiki/Workload-Assignment
2023-11-01 01:06:35 -04:00
andrew 86d2c908e9 Ethereal 14.25 2023-10-21 00:25:33 -04:00
andrew 4ab3e0c31b Drop extra JSON layer on Config API responses
No need to wrap in 'config' : {}
2023-10-20 18:28:23 -04:00
andrew 1091b6be83 Don't insert keys into the config by mistake
Should be a copy of the data
2023-10-20 18:04:48 -04:00
andrew 5e62a4dc9c Return None when getting download links for missing books 2023-10-20 16:10:19 -04:00
andrew 4b054bab2f Remove python3.9+ features
Removes very clean use of :=
Removes use of .removesuffix()

Runs locally with python3.6, and the requirements.txt
2023-10-20 15:02:29 -04:00
andrew 957c042683 Adjust interim file names/paths to avoid conflicts
Use the Engine-Sha or Engine-Sha-Sha format for intermediate steps, to avoid conflicts with existing files and directories
2023-10-13 14:16:21 -04:00
andrew db12828794 Allow core-odds for hyperthreaded machines
This is a temp. removal to test something. It will be replaced by more robust logic, which allows hyperthreaded machines to run core odds games, by first halving the number of cores, Ie forcing the worker to act as if it were started without dipping into HT
2023-10-12 19:03:47 -04:00
andrew f35961e054 Fix test assignment for repeated tests
If a test with higher prio comes in, the worker might never swap off their current test
2023-09-28 17:47:50 -04:00