Web implementation of this chess engine
This project uses ONNX model instead of PyTorch model to make possible running the engine on the web. Although the model operates on the CPU since utilizeing CUDA cores for acceleration on the web is not feasible the performance remains sufficiently high to ensure an enjoyable gaming experience.
You can try this game here
To run this project you should make this steps:
.pth files of PyTorch models) to the models folderpip install -r requirements.txt in utils folderpython convertTrch2Onnx.py to convert the models to .onnx formatnpm installnpm startAutoPlay button to make engine play for you and flip board button to change the board orientation. At the end of the game you can copy pgn of your game to then analyze it.