Commit Graph
132 Commits
Author SHA1 Message Date
andrew 824de3e0b5 WIP 2023-06-22 18:28:22 -04:00
andrew 802553269a Allow -I or --identity= to pass a nickname for a machine
Display this information on machines list, individual machine page, and on the error log
2023-06-21 00:25:23 -04:00
andrew 1ed71cb4a9 Bugfix for py-cpuinfo with some CPUs and Py versions
Python 3.11, on a 7B12, returns brand instead of brand_raw. Use this to ensure we don't error out, but also be resiliant to secondary definitions
2023-06-11 03:59:08 -04:00
andrew 9faa5c51aa Bugfix cross-engine, and time control parsing 2023-06-06 05:32:22 -04:00
andrew 01d99a86df Implement support for cross-engine play
Also support for time odds
2023-06-01 09:40:33 -04:00
andrew 329a955042 Style and remove ./ prefix 2023-05-19 09:58:01 -04:00
rafid-dev bbd68cb789 Delete machine.txt if error "Bad Machine Id" is thrown (#116) 2023-05-19 09:56:11 -04:00
andrew ec1b1c852b Fix reporting issue for game results 2023-05-17 05:48:32 -04:00
andrew 27e6017bfb Finalize? 2023-05-17 02:05:53 -04:00
andrew dd0f2ca29f Working progress 2023-05-15 18:43:35 -04:00
andrew a8e977da57 Kill Client mid-task, but only after a report, via openbench.exit 2023-05-05 13:24:39 -04:00
andrew c32dbef9dd Add report_rate and workload_size options to Tests 2023-04-06 01:12:02 -04:00
andrew 0a6d365174 Spawn multiple cutechess copies if requested 2023-04-02 18:05:38 -04:00
andrew 6592360ac3 Add execute permissions to artifacts 2023-03-10 13:53:39 -05:00
andrew 7143b15899 Fix missing conversation for private downloads 2023-03-10 12:31:58 -05: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 aa3e43b125 Pass adjudication settings from the server. Allow defaults 2023-02-20 21:20:09 -05:00
andrew 1c8e14bf50 Implement support for fixed nodes, fixed depth, fixed time 2023-01-03 15:35:00 -05: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 b4b6302c58 Apply env. solution to more .py files 2022-08-29 21:01:24 -04:00
Sami Kiminki 06b73f62cd Use credentials from environment when not supplied in command line (#98)
Fall back to OPENBENCH_USERNAME and OPENBENCH_PASSWORD environment variables when username/password are not passed as command line arguments. Passing credentials in command line is problematic in multiuser machines, as full command lines may be visible in process listings.
2022-08-29 17:50:41 -04:00
Andrew Grant 402086ce7d Split out the bench_engine so it can be run alone 2022-07-19 00:06:27 -04:00
Andrew Grant 5ca91caa3a Add BlackMarlin 2022-07-18 18:08:34 -04:00
Andrew Grant 4a2f961ffc Rewrite the worker test selection scheme
Originally, we would have a TP value for each test. That value would determine how many games are played per workload. The server would then assign tests with equal probability of the same prio.

Now, all workload sizes are static (based on thread counts of the test and the machine), and TP is used to weight the resources allocated to a test. The server fill ensure 'fair' distribution of resources within a window of error, and place a priority on assigning machines with the same task they already had
2022-04-18 05:39:16 -04:00
Andrew Grant a28c61c0d0 Allow a file named openbench.exit to signal quiting 2021-10-06 16:34:31 -04:00
Andrew Grant 44d0c3cb12 Fix a case where a low throughput could result in no results ever reported 2021-10-06 15:57:57 -04:00
Andrew Grant 5dd468ebb5 Fix time control parsing for repeating TCs.
Breaks backwards clients
2021-10-06 15:40:13 -04:00
Andrew Grant d52d009c30 Add Zahak to the config file. Default values mostly.
Assert AVX and POPCNT. Ignore SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, FMA, for now.

Partial progress towards #94
2021-10-05 13:58:24 -04:00
Andrew Grant 6bfad345fc Simply abort on fleet mode during config/compilers/pickup
Allowed failed attempts to be ignored on other calls
2021-06-28 19:48:54 -04:00
Andrew Grant 53ded87f3b Abort on failed task pickups in fleet mode 2021-06-28 19:40:02 -04:00
Andrew Grant 985c10e3cd Add --proxy to use ghproxy 2021-06-28 19:12:56 -04:00
Andrew Grant 6b9a721b03 Update to use rawgithub 2021-06-28 18:45:25 -04:00
Andrew Grant 632a169368 Use raw.githubusercontent 2021-06-28 18:40:00 -04:00
Andrew Grant 9437143830 Fix bug where fleetmode was always set 2021-06-28 17:58:11 -04:00
Andrew Grant 0da47c267c Massive Server/Client changes, listed below:
1. Reduce the time between workloads by dropping the number of games, as well as requesting them more often.

2. Add a Client version to do compatibility checks with the Server.

3. Add a Fleet Mode, to enable Noobpwnftw's workers to act as desired. Add this to the command line, as well the ability to pass the Syzygy WDL path from the command line to avoid modifying the Client.

4. Delete Syzygy DTZ components, as they are not needed. Replace with a working WDL check. Each test can decide for Syzygy Adjudication and Syzygy WDL (Gameplay) to be REQUIRED, OPTIONAL, or DISABLED.

5. Change the name of the binaries to be cutechess-ob, to avoid naming conflicts with those who have installed the Cutechess GUI and placed it onto the system path.

6. Implement Fixed Games test modes, defaulting to 20,000 games per test. Simplify some of the SPRT options by using the [A, B] format explicity.

7. Reduce the activity update rate to 5 minutes per machine, down from 15 minutes.

8. Have throughputs defined for each test mode (STC, LTC, SMPSTC, SMPLTC)
2021-06-28 17:37:18 -04:00
Andrew Grant ff23477eae Fix killing Cutechess on Windows
Missing include throws ignored exceptions without executing TASKKILL
2021-06-11 12:57:01 -04:00
Andrew Grant 17d3ff1de2 Small fix to reporting compiler errors; Loop the client on failures 2021-05-31 05:30:16 -04:00
mhouppin 91ab61ea5d Notify the server when an engine fails to compile (#91) 2021-05-31 05:22:04 -04:00
mhouppin cf313e4e57 Use list comprehension to generate Syzygy candidate file names (#90) 2021-05-30 04:21:53 -04:00
Andrew Grant fa1f189cac Fix regex expressions; should not impact old clients 2021-05-30 04:13:23 -04:00
AndyGrant 2bb2d394af Linux fix 2021-05-29 23:38:01 -04:00
Andrew Grant a984afef8d Delete extra comments 2021-05-29 22:07:19 -04:00
Andrew Grant 7281b2aabb Fix broken links; Verify cutechess downloads 2021-05-29 22:01:15 -04:00
Andrew Grant 035fa7a53c Print out the cutechess commandline that is being used 2021-05-29 15:45:04 -04:00
Andrew Grant 90fd5e5e88 Fix building engines with no networks 2021-05-28 09:29:16 -04:00
Andrew Grant 30c1234ba8 Fix trailing break from original testing 2021-05-28 09:23:21 -04:00
Andrew Grant a654bfe37d Delete test file paths for Syzygy 2021-05-28 09:13:08 -04:00