ctree vs ptree #370
Replies: 1 comment
-
Although the official documentation states that LightZero does not support direct compilation on Windows, in fact, with some adjustments to the dependencies and compilation environment, it is theoretically possible to compile it successfully. Since we do not have a Windows environment on our side, you will need to test it locally, and then we can work together to resolve any issues that arise. According to our preliminary statistics on Linux, the C++ version offers a 2- to 5-fold speedup compared to the Python version. In order to achieve faster iteration and in-depth research, it is necessary to invest time in debugging and using the C++ version. Our experiments for LightZero, UniZero, and related papers were all conducted using the C++ version. If you are not very familiar with C++, you might consider leveraging the latest large models to assist with the compilation and debugging process. Please feel free to discuss any questions you encounter along the way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
Okay, so. I use LightZero's implementation of sampled efficientzero mcts for my own model, and nothing else. I use the python version of the tree - I just copied all files needed - there are not a lot of them. But I notice that my agent runs slower than I would like it to. I wanted to try the cpp version of mcts, but, unfortunately, as I work on a Windows machine, I can't directly compile the files. So I wondered if it a) it was possible at all to compile only the mcts? i know that it says lz docs say it does not support compilation on windows b) is is worth the hassle? because if it's like 20% improvement - i can focus on more pressing matters for optimization
I don't have much experience with cpp so any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions