Skip to content

Commit

Permalink
Remove op compilation flags due to perf issue (#6944)
Browse files Browse the repository at this point in the history
in some scenarios some of the optimization
flags for the ops compiler for HPU can cause
a significant performance degradation. 
remove the flags until the issue is resolved
  • Loading branch information
NirSonnenschein authored Jan 13, 2025
1 parent fa8db5c commit 396f8db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions op_builder/hpu/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ def builder(self):

def cxx_args(self):
args = ['-O3', '-g', '-Wno-reorder']
CPU_ARCH = self.cpu_arch()
SIMD_WIDTH = self.simd_width()
args += [CPU_ARCH, '-fopenmp', SIMD_WIDTH]
return args

def libraries_args(self):
Expand Down

0 comments on commit 396f8db

Please sign in to comment.