Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
willarliss committed Oct 30, 2023
2 parents 2363647 + 9e26c8e commit 7c9a773
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8)
cmake_minimum_required(VERSION 3.18)
########################################
# Borrowed and adapted from TVM project
########################################
Expand Down
18 changes: 9 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-cpu:v230711"
image "dgllib/dgl-ci-cpu:v231027_1900"
args "-u root"
alwaysPull true
}
Expand All @@ -336,7 +336,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-gpu:cu116_v230711"
image "dgllib/dgl-ci-gpu:cu116_v231027_1900"
args "-u root"
alwaysPull true
}
Expand Down Expand Up @@ -391,7 +391,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-cpu:v230711"
image "dgllib/dgl-ci-cpu:v231027_1900"
args "-u root"
alwaysPull true
}
Expand All @@ -410,7 +410,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-gpu"
image "dgllib/dgl-ci-gpu:cu116_v230711"
image "dgllib/dgl-ci-gpu:cu116_v231027_1900"
args "-u root --runtime nvidia"
alwaysPull true
}
Expand Down Expand Up @@ -463,7 +463,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-gpu"
image "dgllib/dgl-ci-gpu:cu116_v230711"
image "dgllib/dgl-ci-gpu:cu116_v231027_1900"
args "-u root --runtime nvidia"
alwaysPull true
}
Expand All @@ -488,7 +488,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-cpu:v230711"
image "dgllib/dgl-ci-cpu:v231027_1900"
args "-u root --shm-size=4gb"
alwaysPull true
}
Expand Down Expand Up @@ -541,7 +541,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-gpu"
image "dgllib/dgl-ci-gpu:cu116_v230711"
image "dgllib/dgl-ci-gpu:cu116_v231027_1900"
args "-u root --runtime nvidia --shm-size=8gb"
alwaysPull true
}
Expand Down Expand Up @@ -570,7 +570,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-cpu:v230711"
image "dgllib/dgl-ci-cpu:v231027_1900"
args "-u root --shm-size=4gb"
alwaysPull true
}
Expand Down Expand Up @@ -618,7 +618,7 @@ pipeline {
agent {
docker {
label "dgl-ci-linux-cpu"
image "dgllib/dgl-ci-cpu:v230711"
image "dgllib/dgl-ci-cpu:v231027_1900"
args "-u root"
alwaysPull true
}
Expand Down
2 changes: 1 addition & 1 deletion docker/install/conda_env/mxnet_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pytest
- nose
- numpy
- cython
- cython==0.29
- scipy
- networkx
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion docker/install/conda_env/mxnet_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pytest
- nose
- numpy
- cython
- cython==0.29
- scipy
- networkx
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion docker/install/conda_env/tensorflow_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pytest
- nose
- numpy
- cython
- cython==0.29
- scipy
- networkx
- matplotlib
Expand Down
2 changes: 1 addition & 1 deletion docker/install/conda_env/tensorflow_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- pytest
- nose
- numpy
- cython
- cython==0.29
- scipy
- networkx
- matplotlib
Expand Down
6 changes: 3 additions & 3 deletions docker/install/ubuntu_install_build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# install cmake 3.15, cmake>=3.12 is required for CUDA 10.1
version=3.15
build=5
# Install cmake with minimum required version.
version=3.18
build=0
mkdir ~/temp
cd ~/temp
wget https://cmake.org/files/v$version/cmake-$version.$build-Linux-x86_64.sh
Expand Down
5 changes: 2 additions & 3 deletions graphbolt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.18)
project(graphbolt C CXX)
set (CMAKE_CXX_STANDARD 17)

Expand Down Expand Up @@ -57,9 +57,8 @@ target_include_directories(${LIB_GRAPHBOLT_NAME} PRIVATE ${BOLT_DIR}
"../third_party/pcg/include")
target_link_libraries(${LIB_GRAPHBOLT_NAME} "${TORCH_LIBRARIES}")

# TODO: upgrade to 17 for consistency with CXX standard once our linux CI supports it.
if(USE_CUDA)
set_target_properties(${LIB_GRAPHBOLT_NAME} PROPERTIES CUDA_STANDARD 14)
set_target_properties(${LIB_GRAPHBOLT_NAME} PROPERTIES CUDA_STANDARD 17)
endif()

# The Torch CMake configuration only sets up the path for the MKL library when
Expand Down
8 changes: 4 additions & 4 deletions python/dgl/distributed/nn/pytorch/sparse_emb.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ class DistEmbedding:
Note
----
When a ``DistEmbedding`` object is used when the deep learning framework is recording
the forward computation, users have to invoke
py:meth:`~dgl.distributed.optim.SparseAdagrad.step` afterwards. Otherwise, there will be
some memory leak.
When a ``DistEmbedding`` object is used in the forward computation, users
have to invoke
:py:meth:`~dgl.distributed.optim.SparseAdagrad.step` afterwards. Otherwise,
there will be some memory leak.
"""

def __init__(
Expand Down

0 comments on commit 7c9a773

Please sign in to comment.