Skip to content

Fix SafeCMA example workflow on Python 3.14 - #224

Merged
ha-mano merged 1 commit into
CyberAgentAILab:mainfrom
ha-mano:fix/safecma
Aug 6, 2026
Merged

Fix SafeCMA example workflow on Python 3.14#224
ha-mano merged 1 commit into
CyberAgentAILab:mainfrom
ha-mano:fix/safecma

Conversation

@ha-mano

@ha-mano ha-mano commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Fix the SafeCMA example workflow failure on Python 3.14.

The objective function passed to scipy.optimize.minimize now returns a Python float, while batched evaluations are converted to NumPy arrays. This avoids compatibility issues between SciPy, NumPy, and PyTorch without changing the optimization behavior.

@ha-mano
ha-mano merged commit 88c6a03 into CyberAgentAILab:main Aug 6, 2026
6 checks passed
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