Skip to content
Discussion options

You must be logged in to vote

Hi @AM4691 ,
Thanks for reaching out!

Two issues:

  1. The Ax attributes have changed
  2. The BoTorch attributes have changed

(1) We cleaned up the Ax sequence of attributes. Previously, a lot of things used to be called model. Now, the sequence is
Adapter --> Generator --> Surrogate --> Model
where the Model is the actual BoTorch object you are interested in. So, in your case you should go with
gp = client._generation_strategy.adapter.generator.surrogate.model

(2) Since we dropped the ScaleKernel, the SingleTaskGP no longer has a base_kernel by default. Thus, you should just subtract that attribute:
ls = gp.covar_module.base_kernel.lengthscale --> ls = gp.covar_module.lengthscale

Unfortunatel…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by AM4691
Comment options

You must be logged in to vote
1 reply
@hvarfner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants