facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
885 stars 123 forks source link

Extending Compilergym for WASM (WebAssembly) Compiler #764

Open Simarkohli24 opened 1 year ago

Simarkohli24 commented 1 year ago

❓ Questions and Help

I'm attempting to extend CompilerGym's functionality to another compiler (WASM compiler), in order to run machine learning optimization tasks. I'm genuinely unsure where to begin after reading the python, C++ examples in example_compiler_gym_service.

Would really love some help or guidance about how to accomplish this.

ChrisCummins commented 1 year ago

Hi @Simarkohli24! I'm very sorry for the slow response, I was on vacation.

For starters, what language are you going to implement your new compiler environment in? Does the code in the example service make sense or is the problem something else?

Cheers, Chris