Check with your DBA if the cube tables at oracle end..(provided your backend database is oracle ) have Stats created for them.. We have recently got into this kind of issue and solved by creating Stats at database level.Also try reducing your datapackage size..increase the virtual memory...
self.register_buffer(s_name, p.clone().detach().data) RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:81] data. DefaultCPUAllocator: not enough memory: you tried to allocate 13107200 bytes. ** restoring stable-diffusion-1.5 ...