Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typical protocol for windows-only games given lack of jax cuda support? #149

Open
nullonesix opened this issue Jul 31, 2024 · 1 comment

Comments

@nullonesix
Copy link

what's the typical way for doing RL for windows-only games when jax cuda has no support on windows?

@0xlouis
Copy link

0xlouis commented Jul 31, 2024

I don't think there's a “standard” (maybe I'm wrong), from what I've seen, everyone does their own thing.

At the time of writing, I'm training a DreamerV3 agent (from this repo) on the game “Lethal Company” (Windows).
To do this, I wrote a Windows-side script that injects the keyboard/mouse and reads the screen (and the game's memory to compute the reward).
The script makes all this available on an MQTT broker which allows me to run several games in parallel through the network.
The training script and the gym environment(s) run on a single GNU/Linux system.
Basically, the gym environment interacts with the game(s) via the network.

I'll publish the project on my github soon.

In the past, I've done the same thing with Switch games via a Yuzu emulator (but Yuzu has since been removed by Nintendo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants