Optix GPU Rendering crash

Here is the error log i got when it crashes.
Any suggestions?

bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.outliner.item_activate(extend=True, deselect_all=True)
bpy.ops.object.move_to_collection(collection_index=5)
Objects moved to Lighting
bpy.context.scene.exclude = True
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.context.scene.exclude = True
bpy.context.scene.exclude = False
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
No objects selected
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.context.scene.exclude = False
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
No objects selected
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.ops.object.move_to_collection(collection_index=5)
HDRI Sun moved to Lighting
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
bpy.ops.outliner.collection_delete()
bpy.context.scene.exclude = True
bpy.context.object.active_material_index = 1
bpy.ops.object.material_slot_remove()
bpy.ops.object.material_slot_remove()
bpy.ops.object.material_slot_remove()
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action=‘DESELECT’)
bpy.ops.mesh.select_all(action=‘SELECT’)
bpy.ops.object.material_slot_assign()
bpy.ops.object.editmode_toggle()
bpy.ops.object.select_all(action=‘DESELECT’)
Failed to build OptiX acceleration structure
OptiX error OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, NULL, 0), line 873
bpy.data.materials[“Material #83”].node_tree.nodes[“Principled BSDF”].inputs[0].default_value = (0.0417088, 0.0417088, 0.0417088, 1)
bpy.data.materials[“Material #83”].node_tree.nodes[“Principled BSDF”].inputs[0].default_value = (0.0417088, 0.0417088, 0.0417088, 1)
bpy.ops.node.select(wait_to_deselect_others=True, mouse_x=189, mouse_y=467, extend=False, deselect_all=True)
bpy.ops.node.delete()
bpy.data.materials[“Material #83”].node_tree.nodes[“Principled BSDF”].inputs[4].default_value = 1
bpy.ops.node.select(wait_to_deselect_others=True, mouse_x=952, mouse_y=454, extend=False, deselect_all=True)
Failed to build OptiX acceleration structure
OptiX error OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, NULL, 0), line 873