shap-e
shap-e copied to clipboard
optimized the code for GPU
Optimized the code for GPU
The model is already created on the GPU, and so is the data batch. Note that the device variable is already created in an earlier cell and passed to various functions. I believe every to(device) in your diff is redundant.