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

Gymlib + submodule infra #58

Merged
merged 26 commits into from
Dec 25, 2024
Merged

Conversation

wangpatrick57
Copy link
Member

@wangpatrick57 wangpatrick57 commented Dec 25, 2024

Summary: Set up submodules for agents and gymlib.

Demo:
The hello-tune agent (repo@614687b) calls print(gymlib.magic.get_magic_number()) which successfully prints 42.
Screenshot 2024-12-25 at 15 17 50

Details:

  • Each agent will be a git submodule inside agents/.
  • Each agent will have access to gymlib/ as a Python library.
  • Each agent must use its own conda environment. You can use .python_version and requirements.txt inside the agent to define the env. This can be created automatically using build_agent_conda_env.sh.
  • The base gym will use the dbgym conda env. This can be created automatically using build_gym_conda_env.sh.
  • The current tune/ folder is being deprecated and will be removed in a future PR. This is why the E2E tests are turned off in the CI.

@wangpatrick57 wangpatrick57 merged commit b0e30da into cmu-db:main Dec 25, 2024
1 of 2 checks passed
@wangpatrick57 wangpatrick57 deleted the gymlib-infra branch December 26, 2024 00:04
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

Successfully merging this pull request may close these issues.

1 participant