Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Conversation

@TimSchim
Copy link

@TimSchim TimSchim commented May 8, 2024

Description

HPO with GPTuner is not working with current versions of SciPy

Issue 1:

Starting from SciPy v1.11.0 the shape of argument x0 for scipy.optimize.minimize() should be of shape (n,). The current NNI implementation assumes shape (1, n).
Related issues:

Issue 2:

scipy.optimize.minimize() returns a scipy.optimize.OptimizeResult object. The current NNI implementation assumes the "fun" item to be an array, when the type should actually be a float.
Related issues:

  • #4978 (closed but not fixed)

Test Options

  • fast test
  • full test - HPO
  • full test - NAS
  • full test - compression

Checklist

  • test case
  • doc

How to test

 - x0 argument of scipy.optimize.minimize function expects 1D-array after version 1.11.0
 - res.fun is a scalar and not an array
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant