question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The runtime optuna version 2.9.1 is no longer compatible with the table schema (set up by optuna 2.9.1)

See original GitHub issue

As the title says this error comes up

RuntimeError: The runtime optuna version 2.9.1 is no longer compatible with the table schema (set up by optuna 2.9.1). Please try updating optuna to the latest version by $ pip install -U optuna.

i did “pip install -U optuna”. and didnt fix it. so not sure what to do here

Steps to reproduce

1- added storage = optuna.storages.RDBStorage(tracking_uri) 2- study = optuna.create_study(study_name="optimization", storage=storage, sampler=sampler, direction="maximize", pruner=pruner, load_if_exists=True)

3- run the optimization

Environment

  • Optuna version: 2.9.1
  • Python version: 3.9
  • OS: pop-os

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
sanadnajjarcommented, Aug 25, 2021

@nzw0301 ohhhh it worked, that was not clear to as i wanted optuna to use the same trials in mlflow. thank you so much. i really appreciate your help.

1reaction
nzw0301commented, Aug 25, 2021

Brilliant! I think you need to use a different tracking_uri to save optuna’s study because the same URI is used for mlflow’s tracking, where the DB schema is for mlflow; not for Optuna.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RuntimeError: The runtime optuna version 2.8.0 is no longer ...
RuntimeError : The runtime optuna version 2.8.0 is no longer compatible with the table schema (set up by optuna 2.8.0). Please try updating...
Read more >
optuna - PyPI
Optuna is an automatic hyperparameter optimization software framework, particularly designed for machine learning. It features an imperative, define-by-run ...
Read more >
FAQ — Optuna 3.0.4 documentation
Optuna is compatible with most ML libraries, and it's easy to use Optuna with ... Optuna versions, please use RDBs and upgrade storage...
Read more >
Debian -- Software Packages in "sid", Subsection python
Python 3 module to discover libraries. python3-findpython (0.2.1-1): utility to find python versions on your system; python3-fiona (1.8.22-1 [alpha, ...
Read more >
Software Packages in "kinetic", Subsection python - Ubuntu
Python 3 module to discover libraries. python3-findpython (0.2.1-1) [universe]: utility to find python versions on your system; python3-fiona (1.8.21-1build2) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found