Skip to content

Problem with SingleTaskGP #2264

Answered by ToennisStef
ToennisStef asked this question in Q&A
Discussion options

You must be logged in to vote

nevermind i think i could solve the problem.
Even when i set torch.set_default_dtype(torch.double) the sobol samples returned a float32 typ so i had to define the dtype with:
X = SobolEngine(dimension=DIM, scramble=True, seed=0).draw(N_INIT,dtype=torch.double)
This seems to have fixed the problem.

I still don't know why the ExactGP class could handle the different datatypes though...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@saitcakmak
Comment options

@saitcakmak
Comment options

Answer selected by Balandat
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