Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b114e78
[DLPack] Bump dlpack to v1.1
SigureMo Sep 10, 2025
a40fb4d
remove unused DLPACK_TAG
SigureMo Sep 10, 2025
a4a237f
add versioned policy
SigureMo Sep 11, 2025
ee91c40
add phi deps
SigureMo Sep 11, 2025
ad7a308
use template
SigureMo Sep 11, 2025
c65294c
Merge branch 'develop' into dlpack/bump-to-dlpack-v11
SigureMo Sep 11, 2025
c5ac55a
add ut and fix dtype conversion
SigureMo Sep 11, 2025
d33a140
ignore all dirty submodules
SigureMo Sep 11, 2025
e0ce30f
add missing `TEST_API`
SigureMo Sep 11, 2025
9136519
add include for paddle/utils/test_macros.h
SigureMo Sep 11, 2025
7331552
remove meaningless test
SigureMo Sep 11, 2025
4806a4d
update uts
SigureMo Sep 11, 2025
b40643c
use kw-only arg stream
SigureMo Sep 11, 2025
fd8fec3
remove unused GetDstPtrByDLDataType
SigureMo Sep 12, 2025
afedf43
add copy and dl_device for __dlpack__
SigureMo Sep 12, 2025
ffbf8bd
Merge branch 'develop' into dlpack/bump-to-dlpack-v11
SigureMo Sep 12, 2025
cfc2770
support copy and device in from_dlpack
SigureMo Sep 12, 2025
01243cc
fix ut, remove explict __dlpack__ call
SigureMo Sep 12, 2025
eb33095
set `DLPACK_FLAG_BITMASK_IS_COPIED` when copied
SigureMo Sep 12, 2025
de0d28b
add cuda from_dlpack(tensor) case
SigureMo Sep 12, 2025
a13cefe
add debug info
SigureMo Sep 14, 2025
b272cb7
empty commit
SigureMo Sep 14, 2025
855740b
bump xdoctest to 1.3.0
SigureMo Sep 14, 2025
90a08e1
-skip after example check
SigureMo Sep 14, 2025
c6b0682
empty commit
SigureMo Sep 14, 2025
8c39863
empty commit
SigureMo Sep 14, 2025
38c256c
try to install latest numpy in ci
SigureMo Sep 15, 2025
7a381f9
refactor to avoid missing std::move
SigureMo Sep 15, 2025
2537547
add log for deleter called
SigureMo Sep 15, 2025
df4b917
revert copilot change
SigureMo Sep 15, 2025
b8ab744
refactor code to get better readability
SigureMo Sep 15, 2025
81f6fde
update example code
SigureMo Sep 15, 2025
21032f1
use singleton
SigureMo Sep 16, 2025
e038f25
Merge branch 'develop' into dlpack/bump-to-dlpack-v11
SigureMo Sep 16, 2025
0cb5b7f
cleanup debug info
SigureMo Sep 16, 2025
e9d8bf6
adjust order
SigureMo Sep 16, 2025
9caa727
cleanup unused code;
SigureMo Sep 16, 2025
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
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
[submodule "third_party/yaml-cpp"]
path = third_party/yaml-cpp
url = https://github.com/jbeder/yaml-cpp
ignore = dirty
[submodule "third_party/openvino"]
path = third_party/openvino
url = https://github.com/openvinotoolkit/openvino.git
Expand All @@ -120,3 +121,4 @@
[submodule "third_party/libuv"]
path = third_party/libuv
url = https://github.com/libuv/libuv.git
ignore = dirty
1 change: 0 additions & 1 deletion cmake/external/dlpack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
include(ExternalProject)

set(DLPACK_PREFIX_DIR ${THIRD_PARTY_PATH}/dlpack)
set(DLPACK_TAG v0.8)
set(DLPACK_INCLUDE_DIR ${THIRD_PARTY_PATH}/dlpack/src/extern_dlpack/include)
set(SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/dlpack)
include_directories(${SOURCE_DIR}/include)
Expand Down
4 changes: 2 additions & 2 deletions paddle/fluid/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ cc_library(
cc_library(
tensor
SRCS tensor_util.cc
DEPS data_type device_context phi common)
DEPS data_type dlpack_tensor device_context phi common)

cc_library(
lod_tensor
Expand Down Expand Up @@ -549,7 +549,7 @@ cc_library(
cc_library(
dlpack_tensor
SRCS dlpack_tensor.cc
DEPS tensor dlpack)
DEPS dlpack phi)

cc_library(
op_compatible_info
Expand Down
Loading
Loading