Skip to content

Commit

Permalink
Rename files in fp_quantize op from quantize.* to fp_quantize.* (micr…
Browse files Browse the repository at this point in the history
…osoft#5577)

Fixes microsoft#5535.

Todo: need to test.
  • Loading branch information
loadams authored and sfc-gh-reyazda committed Jun 10, 2024
1 parent c203830 commit 5e5c8a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// DeepSpeed Team

#include "quantize.h"
#include "fp_quantize.h"

#include <c10/cuda/CUDAStream.h>
#include <torch/extension.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#include <stdexcept>
#include "context.h"
#include "fp_quantize.h"
#include "memory_access_utils.h"
#include "quantize.h"
#include "reduction_utils.h"

#include <cuda.h>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions op_builder/fp_quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def filter_ccs(self, ccs):

def sources(self):
return [
"csrc/fp_quantizer/quantize.cu",
"csrc/fp_quantizer/quantize.cpp",
"csrc/fp_quantizer/fp_quantize.cu",
"csrc/fp_quantizer/fp_quantize.cpp",
]

def extra_ldflags(self):
Expand Down

0 comments on commit 5e5c8a7

Please sign in to comment.