Skip to content

Commit

Permalink
use PYBIND11_MODULE in global namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chengzeyi committed Nov 22, 2023
1 parent bd79514 commit 89697a0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sfast/csrc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "operators/cutlass/cutlass_qlinear.h"
#include "operators/fused_linear.h"

namespace sfast {
using namespace sfast;

PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
jit::initJITBindings(m);
Expand All @@ -19,6 +19,4 @@ TORCH_LIBRARY(sfast, m) {
operators::initCUBLASGEMMBindings(m);
operators::initCutlassQLinearBindings(m);
operators::initFusedLinearBindings(m);
}

} // namespace sfast
}

0 comments on commit 89697a0

Please sign in to comment.