Skip to content

Instantly share code, notes, and snippets.

@zarzen
Created March 16, 2022 03:53
Show Gist options
  • Save zarzen/429b22090ad288b0b9c761cb6bcd5ef9 to your computer and use it in GitHub Desktop.
Save zarzen/429b22090ad288b0b9c761cb6bcd5ef9 to your computer and use it in GitHub Desktop.
deepspeed patch
diff --git a/csrc/lamb/fused_lamb_cuda_kernel.cu b/csrc/lamb/fused_lamb_cuda_kernel.cu
index e934b69c..207faa39 100644
--- a/csrc/lamb/fused_lamb_cuda_kernel.cu
+++ b/csrc/lamb/fused_lamb_cuda_kernel.cu
@@ -8,7 +8,7 @@
#include "ATen/cuda/CUDAContext.h"
#include "ATen/cuda/detail/IndexUtils.cuh"
//#include "ATen/Type.h"
-#include <THC/THCGeneral.h>
+// #include <THC/THCGeneral.h>
#include "ATen/AccumulateType.h"
#include <iostream>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment