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

TODOs 2024 #6

Open
2 of 5 tasks
heiner opened this issue May 6, 2024 · 12 comments
Open
2 of 5 tasks

TODOs 2024 #6

heiner opened this issue May 6, 2024 · 12 comments
Assignees

Comments

@heiner
Copy link
Owner

heiner commented May 6, 2024

  • Migrate away from deprecated OpenAI gym
  • Include NetHack 3.6.7 patches
  • Something about PEP 517?

Harder

  • Consider doing something more clever than abusing dlopen. Candidates: 1, 2; this should finally fix this bug.
    • This is hard but fun engineering. One way to do this could be to compile ELF binaries even on MacOS and load them with @tscmoo's hack above. It turns out that getting the MachO loader to work reliably and in a way that doesn't break across MacOS versions is hard.

Older

Misc

  • NetHack 3.7 (branch)
  • Fix whatever issues the dataset has
@StephenOman
Copy link
Collaborator

Should we create separate issues for each of these?

@heiner
Copy link
Owner Author

heiner commented May 7, 2024

Feel free to do that. We can also just tick them off here; I'm not actually sure how many we'll actually get around doing.

@rockt
Copy link
Collaborator

rockt commented May 13, 2024

Adding NetHack 3.7 would be great.

@heiner
Copy link
Owner Author

heiner commented May 13, 2024

We can revisit 3.7 once it's actually out. Otherwise there's a large potential for duplicate work?

@rockt
Copy link
Collaborator

rockt commented May 13, 2024

My bad, didn't realize it's still work-in-progress.

@apowers313
Copy link

Thanks for picking up this repo and maintaining it. If you need an extra set of hands, I'd love to jump in and help.

The FB NLE repo has a number of pending pull requests -- maybe I could help port those over to this repo if you haven't already done that?

@StephenOman
Copy link
Collaborator

The more the merrier as they say! Which PRs did you have in mind?

@StephenOman
Copy link
Collaborator

I'm assuming you already merged your two PRs?

Yes, these are done and part of the v1.0.0 release.

Note that the notebook rendering solution facebookresearch#164 may have to be reworked as the render mode is not a parameter to render() in gymnasium.

@StephenOman
Copy link
Collaborator

StephenOman commented Aug 16, 2024

I'm not sure about facebookresearch#363. The NetHackChallenge task has a fixed action space and the user shouldn't be overriding it.

Perhaps the better solution is to remove actions from the **kwargs in this task in case it is passed in (with a suitable warning that it is being ignored).

It's probably a moot point, given that the Challenge is over now, but it should be fixed anyway in case it is resurrected. 😁

It's also possible to create a subset of actions in the base task, if people want that:

import gymnasium as gym
import nle
actions = tuple(nle.nethack.CompassDirection)
env=gym.make('NetHack-v0', actions=actions)

@apowers313
Copy link

Cool, anything else I can help with? :)

@StephenOman
Copy link
Collaborator

There were some issues open in the upstream repo at the time of migration. I've done a quick scan of them and proposed that we take some of them on here (see discussion here: #28) to check and resolve.

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

4 participants