diff --git a/neps/optimizers/bayesian_optimization/models/ftpfn.py b/neps/optimizers/bayesian_optimization/models/ftpfn.py index 09e5f56d..3eaae694 100644 --- a/neps/optimizers/bayesian_optimization/models/ftpfn.py +++ b/neps/optimizers/bayesian_optimization/models/ftpfn.py @@ -13,7 +13,7 @@ def _download_workaround_for_ifbo_issue_10(path: Path | None, version: str) -> P from ifbo.download import FILE_URL, FILENAME from ifbo.surrogate import _resolve_model_path - target_path = _resolve_model_path(path) # type: ignore + target_path = Path(path) if path is not None else Path.cwd().resolve() target_path.mkdir(parents=True, exist_ok=True) _target_zip_path = target_path / FILENAME(version)