"src/diffusers/schedulers/scheduling_ddpm_parallel.py" did not exist on "62b3c9e06ab13a4b79f2f7e5a12133c52541e232"
Commit 6212aa28 authored by Jiezhong Qiu's avatar Jiezhong Qiu
Browse files

update

parent 27af1828
......@@ -16,11 +16,13 @@ public:
which means pytorch always sets the correct device for us.
But for safety, we still manually set device to the desired one.
*/
/*
int current_device;
checkCudaErrors(cudaGetDevice(&current_device));
printf("CudaStreamManager construnctor called, get device %d, set device %d\n", current_device, device);
*/
checkCudaErrors(cudaSetDevice(device));
streams = new cudaStream_t[num_expert];
checkCudaErrors(cublasCreate(&handle));
for (size_t i=0; i<num_expert; ++i) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment