Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
TransformerEngine
Commits
cc554d59
Commit
cc554d59
authored
Oct 13, 2025
by
wenjh
Browse files
Attmp fix build error
Signed-off-by:
wenjh
<
wenjh@sugon.com
>
parent
499dfb3d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
18 deletions
+30
-18
transformer_engine/common/CMakeLists.txt
transformer_engine/common/CMakeLists.txt
+20
-18
transformer_engine/common/hadamard_transform/hadamard_transform.cu
...er_engine/common/hadamard_transform/hadamard_transform.cu
+2
-0
transformer_engine/common/hadamard_transform/hadamard_transform_cast_fusion.cu
...mmon/hadamard_transform/hadamard_transform_cast_fusion.cu
+2
-0
transformer_engine/common/transpose/quantize_transpose_vector_blockwise_fp4.cu
...mmon/transpose/quantize_transpose_vector_blockwise_fp4.cu
+2
-0
transformer_engine/common/util/logging.h
transformer_engine/common/util/logging.h
+2
-0
transformer_engine/common/util/nvfp4_transpose.cuh
transformer_engine/common/util/nvfp4_transpose.cuh
+2
-0
No files found.
transformer_engine/common/CMakeLists.txt
View file @
cc554d59
...
...
@@ -110,8 +110,9 @@ set(CUTLASS_TOOLS_INCLUDE_DIR
# Python
find_package
(
Python COMPONENTS Interpreter Development.Module REQUIRED
)
# NVIDIA MathDX include directory (from Python package install location)
if
(
NOT DEFINED MATHDX_INCLUDE_DIR
)
if
(
USE_CUDA
)
# NVIDIA MathDX include directory (from Python package install location)
if
(
NOT DEFINED MATHDX_INCLUDE_DIR
)
execute_process
(
COMMAND
${
Python_EXECUTABLE
}
-m pip show nvidia-mathdx
OUTPUT_VARIABLE _PIP_SHOW_MATHDX
...
...
@@ -127,9 +128,10 @@ if(NOT DEFINED MATHDX_INCLUDE_DIR)
endif
()
set
(
MATHDX_LOCATION
"
${
CMAKE_MATCH_1
}
"
)
set
(
MATHDX_INCLUDE_DIR
"
${
MATHDX_LOCATION
}
/nvidia/mathdx/include"
)
endif
()
if
(
NOT EXISTS
"
${
MATHDX_INCLUDE_DIR
}
"
)
endif
()
if
(
NOT EXISTS
"
${
MATHDX_INCLUDE_DIR
}
"
)
message
(
FATAL_ERROR
"MATHDX include directory not found at
${
MATHDX_INCLUDE_DIR
}
. Set MATHDX_INCLUDE_DIR or ensure 'nvidia-mathdx' is installed for
${
Python_EXECUTABLE
}
."
)
endif
()
endif
()
# Configure Transformer Engine library
...
...
transformer_engine/common/hadamard_transform/hadamard_transform.cu
View file @
cc554d59
...
...
@@ -5,7 +5,9 @@
************************************************************************/
#include <cuda.h>
#ifndef __HIP_PLATFORM_AMD__
#include <cudaTypedefs.h>
#endif
#include <cuda_bf16.h>
#include <cuda_pipeline.h>
#include <cuda_runtime.h>
...
...
transformer_engine/common/hadamard_transform/hadamard_transform_cast_fusion.cu
View file @
cc554d59
...
...
@@ -5,7 +5,9 @@
************************************************************************/
#include <cuda.h>
#ifndef __HIP_PLATFORM_AMD__
#include <cudaTypedefs.h>
#endif
#include <cuda_bf16.h>
#include <cuda_pipeline.h>
#include <cuda_runtime.h>
...
...
transformer_engine/common/transpose/quantize_transpose_vector_blockwise_fp4.cu
View file @
cc554d59
...
...
@@ -5,7 +5,9 @@
************************************************************************/
#include <cuda.h>
#ifndef __HIP_PLATFORM_AMD__
#include <cudaTypedefs.h>
#endif
#include <cuda_bf16.h>
#include <cuda_runtime.h>
...
...
transformer_engine/common/util/logging.h
View file @
cc554d59
...
...
@@ -23,7 +23,9 @@
#endif // __HIP_PLATFORM_AMD__
#include <nvrtc.h>
#ifndef __HIP_PLATFORM_AMD__
#include "nccl.h"
#endif
#ifdef NVTE_WITH_CUBLASMP
#include <cublasmp.h>
...
...
transformer_engine/common/util/nvfp4_transpose.cuh
View file @
cc554d59
...
...
@@ -12,7 +12,9 @@
#define TRANSFORMER_ENGINE_NVFP4_TRANSPOSE_CUH_
#include <cuda.h>
#ifndef __HIP_PLATFORM_AMD__
#include <cudaTypedefs.h>
#endif
#include <cuda_runtime.h>
#if CUDA_VERSION > 12080
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment