Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*.nsys-rep
*.ncu-rep
*.sqlite
*.onnx
.eggs
build/
*.so
Expand Down
3 changes: 2 additions & 1 deletion qa/L0_unittest/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ set -e

: ${TE_PATH:=/opt/transformerengine}

pip install pytest==6.2.5
pip install pytest==6.2.5 onnxruntime
pytest -v -s $TE_PATH/tests/test_transformerengine.py
pytest -v -s $TE_PATH/tests/test_onnx_export.py
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion
from distutils.file_util import copy_file
from torch.utils.cpp_extension import BuildExtension, CUDAExtension, CUDA_HOME
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension, CUDA_HOME

path = os.path.dirname(os.path.realpath(__file__))

Expand Down Expand Up @@ -85,6 +85,7 @@ def make_abs_path(l):
pytorch_sources = [
"transformer_engine/pytorch/csrc/extensions.cu",
"transformer_engine/pytorch/csrc/common.cu",
"transformer_engine/pytorch/csrc/ts_fp8_op.cpp",
]
pytorch_sources = make_abs_path(pytorch_sources)

Expand Down
Binary file added tests/libcustom_ort_fp8_qdq_ops.so
Binary file not shown.
Loading