Commit Graph
690 Commits
Author SHA1 Message Date
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
Arseniy 1e3ea617e7 Implement editing of profile repos directly (#204) 2024-03-11 19:34:13 -04:00
mhouppin 5f1e653eba Fix invalid escape sequences in pattern strings (#205)
Turn some strings to raw strings to fix errors raised by the Python 3.12 interpreter on invalid escape sequences.
2024-03-11 19:30:57 -04:00
Arseniy 1b490c48f1 Make use of enforce_default_text function (#203) 2024-03-11 19:30:36 -04:00
Arseniy e2e22c5dc7 Adaptive title font size for mobile (#199) 2024-03-11 19:30:22 -04:00
Arseniy 734b1b97ac Add missing for attributes on profile html form (#202) 2024-03-11 19:30:12 -04:00
andrew eca8ccc613 Add a mechanism for cache-busting static files 2024-03-07 19:15:41 -05:00
andrew 5692a1373a Style changes; ensure extra non-breaking white space on mobile 2024-03-07 18:20:02 -05:00
Arseniy b768f9f5c3 Introduce mobile responsiveness (#194) 2024-03-07 18:19:20 -05:00
Andrew GrantandArseniy 989305997b Account for default config when switching presets (#198)
Co-authored-by: Arseniy <93079612+codedeliveryservice@users.noreply.github.com>
2024-03-07 18:03:54 -05:00
Arseniy f134242d7a Add missing for= attributes on some html forms (#195) 2024-03-07 17:41:02 -05:00
andrew e1b2715b3f Fix Stockfish reference speed 2024-03-05 22:54:26 -05:00
andrew 6b268e7c20 Remove debug information 2024-02-29 21:56:13 -05:00
andrew 52e5fbd4c6 Second fix for public engines 2024-02-29 21:54:41 -05:00
andrew aecd3d02e5 Fix issues with branch names containing a slash 2024-02-29 21:50:04 -05:00
andrew 2086568e57 Allow any scipy version until its known to be an issue 2024-02-29 21:00:34 -05:00
andrew fbebb2ba7c Loosen version requirements for packages 2024-02-29 20:59:48 -05:00
andrew 9c838cba9b SPSA: tuning integers, raise C_curr to 0.50 to allow C_end below 0.50
Allows passing C_end as 0 for integer tunes for example, which ensures that no matter the iteration number, C_curr will be exactly 0.50. This is useful for tuning very small numbers which have great impact, like depths, or impactful but small weights.

The formula for C_curr is C_end x (total_iters/curr_iters)^Gamma, where Gamma is usually 0.101
2024-02-28 17:59:57 -05:00
andrew 86a395d08d Remove final direct use of relpath instead of abspath
Fixes another possible error case when tmpfs is not on the same disk as the cwd
2024-02-26 20:28:54 -05:00
andrew 27d9296ce1 Update NPS values; Bugfixes for bench_all.py 2024-02-26 20:12:03 -05:00
andrew 08e4a7f5d7 Add Caissa and Obsidian configs
Authors may choose to update them for their own branches, but they are uploaded here for safe keeping. IE a semi-central location where a cloner can setup their engine to play against others easily
2024-02-26 17:17:18 -05:00
Andrew Grant b54719ee77 Fixes for relative vs absolute file paths when building (#193)
The output binary is saved alongside the makefile initially, and moved after the fact. This was done to account for Windows and cross-drive issues due to temp filesystems. Because we are saving alongside the makefile, we can just use a relative path, ie the basename of the engine binary, to avoid possible issues in some engine build scripts.

Also, check process exitcode instead of just checking for the binary when building
Also, pretty-print the compiler error, even though it is sent to the server
2024-02-20 18:10:45 -05:00
justNo4b fc68330d95 Update Equisetum.json book and bounds (#192) 2024-02-16 06:05:57 -05:00
andrew 8efe0f919c Hack fix for relative import issue.
Alternatives are to use a setup-install util, which is an over-solution
2024-02-15 22:31:56 -05:00
andrew bb30aab72d Standardize usage of sha256 and error reporting 2024-02-15 19:33:15 -05:00
Michał Witanowski 7f50e2c6e5 Fix case sensitivity when comparing SHA hashes (#191) 2024-02-15 19:30:01 -05:00
andrew f65be5c572 Various fixes for Windows ( and maybe Linux )
using Make to tell the compiler to produce a binary to the /Engines/ dir fails on Windows when the tmpfs is not on the same disk as the Client. This might have also occured on Windows. shutil resolves that.

Take extra care to always maintain the possible .exe extension on files when doing this. This is done twice in the shutil line; first making sure to pickup the true file output name, and secondly to only use the root of the out_path and not the basename
2024-02-12 16:20:15 -05:00
andrew 824b48fbf9 Kick to v26
Forces clients to refresh, to accept Equi
2024-02-04 04:49:09 -05:00
andrew c10614220b Add Equisetum 2024-02-04 04:43:28 -05:00
andrew 2db74d1b83 python3.6 support fix 2024-02-02 06:59:13 -05:00
andrew 732e7b1d61 Drop leading slash in api network requests 2024-02-02 05:42:22 -05:00
andrew fdbec02818 Kick to v25 2024-02-02 05:35:19 -05:00
andrew c268b47e4d Modernize running benchmarks and reporting errors 2024-02-02 05:35:19 -05:00
andrew 8f250c2c3f Reuse utils.py in worker.py; Add many exceptions for safety 2024-02-02 05:35:19 -05:00
andrew a0db932b09 Update Berserk's default books 2024-02-01 05:14:20 -05:00
andrew 1d75616503 Fix unknown race condition in obtaining Result objects
For unclear reasons, multiple Result objects can be created with the same test and machine, despite the ideal situation in that no machine is ever concurrently talking to the server.

In the event a duplicate occurs, all future requests would have created an additional duplicate, as Django objects obtained via .get() expect EXACTLY one response.

It is unclear how this race condition could have occured in practice
2024-01-31 22:59:18 -05:00
andrew 9a29658110 Add back SPSA information to workload display (tunes) 2024-01-31 20:52:18 -05:00
andrew 19bb5ce6c8 Improve worker assignment algorithm
If a handful of tests are present, its possible for one test to get multiple times more resources than is fair, without making any other tests be considered unbalacned. IE, the one test steals a small amount of resources from all other tests.

Fix this by bounding the definition of balance as +- 25%, instead of having a one-sided bound.

Also, when computing ratios, compute them as if the machine we are assigning has been assigned to each test. Ie, the ratios IF the worker is assigned to the specific test. Likewise, the fair ratio should account for this machine's threads.
2024-01-31 20:46:15 -05:00
andrew 84db0e561e Fix for min([]) on empty frameworks 2024-01-31 00:50:10 -05:00
andrew 6bbbeeeaad Fix explicit filtering with id= in some Django versions 2024-01-31 00:09:21 -05:00
andrew 6d13a513f2 Fix misnamed engine_dist -> engine_freq 2024-01-31 00:05:43 -05:00
andrew 35b9e409bd Add UHO filtered by Berserk, and by Torch 2024-01-31 00:02:19 -05:00
Andrew Grant 884265289e Allow for --focus ENGINE1 [ENGINE2 ....] to prioritize Workload Assignments (#187) 2024-01-30 23:44:45 -05:00
Jay Honnold a4c0ba8dd1 Update Berserk.json (#186) 2024-01-28 04:02:14 -05:00
andrew a6194682ad Reset nps values on workload assignment 2024-01-23 20:27:38 -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 7b826b22ef Cleaner implementation of flagging active machines 2024-01-11 19:14:01 -05:00
andrew f7b184c435 Add a green highlight to active results on workloads 2024-01-10 20:45:07 -05:00
andrew f1626daad9 Merge tune.html and test.html into workload.html
Always show a network, even if it is blank due to a non NNUE engine
Redirect test/tune searches where the names are swapped
2024-01-10 20:13:44 -05:00