Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{devel}[multiple] Define MAX_JOBS in easyconfigs of PyTorch from v1.1.0 to v1.4.0 #10772

Merged
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = 'PyTorch'
version = '1.1.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://pytorch.org/'
homepage = 'https://pytorch.org/'
description = """Tensors and Dynamic neural networks in Python with strong GPU acceleration.
PyTorch is a deep learning framework that puts Python first."""

Expand Down Expand Up @@ -248,6 +248,7 @@ download_dep_fail = True

# This environment is needed to prevent setup.py from invoking git to determine version.
prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 && '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" && '
prebuildopts += 'export EXTRA_CAFFE2_CMAKE_FLAGS="-DASMJIT_SRC_DIR=%(builddir)s/third_party/asmjit" && '
prebuildopts += 'export USE_FFMPEG=ON && '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_GLOO_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_GLOO_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '
prebuildopts += 'CUDNN_LIB_DIR=$EBROOTCUDNN/lib64 CUDNN_INCLUDE_DIR=$EBROOTCUDNN/include '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '
prebuildopts += 'CUDNN_LIB_DIR=$EBROOTCUDNN/lib64 CUDNN_INCLUDE_DIR=$EBROOTCUDNN/include '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ dependencies = [
download_dep_fail = True

prebuildopts = 'PYTORCH_BUILD_VERSION=%(version)s PYTORCH_BUILD_NUMBER=1 VERBOSE=1 '
prebuildopts += 'MAX_JOBS=%(parallel)s '
prebuildopts += 'LDFLAGS="$LDFLAGS -ldl" '
prebuildopts += 'USE_FFMPEG=ON USE_IBVERBS=1 USE_GFLAGS=ON USE_GLOG=ON '
prebuildopts += 'CUDNN_LIB_DIR=$EBROOTCUDNN/lib64 CUDNN_INCLUDE_DIR=$EBROOTCUDNN/include '
Expand Down
1 change: 1 addition & 0 deletions test/easyconfigs/easyconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ def template_easyconfig_test(self, spec):
dummy_template_values = {
'builddir': '/dummy/builddir',
'installdir': '/dummy/installdir',
'parallel': '2',
}
ec.template_values.update(dummy_template_values)

Expand Down