Different precision between gpu and cpu

I have a model which crashes when running on gpu with -inf energy. printing the model.basicRVs shows
GPU:
lambdas -0.8162259
beta0 -2.2579138
beta1 -2.2579138
theta -0.9031655
gamma -2.7094965
alpha -0.45158276
lh -inf

CPU:
lambdas -0.8162258188773639
beta0 -2.257913526447274
beta1 -2.257913526447274
theta -0.9031654105789096
gamma -2.7094962317367286
alpha -0.4515827052894548
lh -33042.4568470425

It appears CPU is using higher precision. How do I set higher gpu precision?

I read that using float64 on gpu’s is not a good idea. I still like to know how I could set it.