Skip to content

Commit

Permalink
ci: remove redundant NUM_FRAGS_Z (#345)
Browse files Browse the repository at this point in the history
Do not compile `NUM_FRAGS_Z=6` to reduce wheel size.
Also revert #341 as they don't make effect.
  • Loading branch information
yzh119 authored Jun 30, 2024
1 parent 80a376f commit fec77d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions include/flashinfer/utils.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
if (max_frags_z >= 8) { \
constexpr size_t NUM_FRAGS_Z = 8; \
__VA_ARGS__ \
} else if (max_frags_z >= 6) { \
constexpr size_t NUM_FRAGS_Z = 6; \
__VA_ARGS__ \
} else if (max_frags_z >= 4) { \
constexpr size_t NUM_FRAGS_Z = 4; \
__VA_ARGS__ \
Expand Down
4 changes: 0 additions & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,6 @@ def __init__(self, *args, **kwargs) -> None:
"1",
"-Xfatbin",
"-compress-all",
"-Xcompiler",
"-mcmodel=medium",
"-Xcompiler",
'"-Wl,--no-relax"',
],
},
)
Expand Down

0 comments on commit fec77d0

Please # to comment.