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

[RFC] Potential SQL deprecation #2975

Open
mpolson64 opened this issue Oct 28, 2024 · 3 comments
Open

[RFC] Potential SQL deprecation #2975

mpolson64 opened this issue Oct 28, 2024 · 3 comments

Comments

@mpolson64
Copy link
Contributor

In #2974 we added a message that reads "ATTENTION: The Ax team is considering deprecating SQLAlchemy storage. If you are currently using SQLAlchemy storage, please reach out to us via GitHub issues."

The Ax team spends a non-trivial amount of time maintaining support for saving and loading Ax Experiments and their associated structures to SQL databases via SQLAlchemy. However, its not easy for us to tell if this feature is being used by our open source community. In order to help us make the right decisions for Ax please let us know if you use this feature by commenting on this post.

Thank you to everyone in the Ax community for helping to make Ax a successful open source platform.

@saitcakmak saitcakmak pinned this issue Oct 31, 2024
@pjspereira
Copy link

I am attempting to use the SQLAlchemy backend right now, migrating from custom botorch to your service api. This was primarily based on what I estimated would be most efficient for many concurrent experiments with 0.1-3600 seconds sample latency (limited by black box function eval) and 10-100k samples, and some level of persistence as experiments may run for many days. I don’t have any metrics or experience to back the selection though. We use json file storage today, though it is not optimal. Can you compare your backend options for typical experiments? Perhaps just periodically saving json is fine?

@sgbaird
Copy link
Contributor

sgbaird commented Nov 25, 2024

In my circles, I'm not aware of people using the SQLAlchemy storage.

Perhaps goes without saying, but being able to save to JSON is critical.

Related:

@yannik-osphim
Copy link

Dear Ax-Team!
We were actually trying to migrate from JSON to SQL (Postgres, in our case), but that seems to be quite difficult. At least we couldn't get it working out of the box. Maintaining the SQL Storage (and maybe even with an emphasis on Postgres) would be greatly appreciated.

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

No branches or pull requests

5 participants