Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
803f7bf
Implement C++ API version of torch.nn.functional.one_hot (#27081) (#2…
bzinodev Oct 3, 2019
529c2df
Refactor torch::jit::script::Module::register_* API. (#27189)
Oct 3, 2019
4fb4429
Add c10_experimental ops to BC check white list (#27235)
houseroad Oct 3, 2019
27dc595
Rename _intrinsic to intrinsic
Oct 3, 2019
1affa7c
Allow set for qconfig for dynamic_quantize
Oct 3, 2019
a423817
Fix reprs for _intrinsic modules
Oct 3, 2019
fc249c7
skip all rpc and dist autograd spawn tests for <PY36 (#27191)
zhaojuanmao Oct 3, 2019
fe4170b
Add send and recv backward functions for builtin operators RPC. (#25527)
pritamdamania Oct 3, 2019
17b1faa
Rename jit Function to ScriptFunction
albanD Oct 3, 2019
5b5f398
Make cpp-backed jit classes appear as being in torch.jit
albanD Oct 3, 2019
8fbefa0
Avoid configuring ROCm if USE_CUDA is on. (#26910)
xuhdev Oct 3, 2019
7e95b89
Revert "Add std::variant backport as c10::variant (#26836)" (#27277)
Oct 3, 2019
c2223df
Implement LpNorm regularizer to be used on the inputs for feature imp…
Oct 3, 2019
214a676
Provide (but skip) 3.5 job by default on all PRs. (#27293)
ezyang Oct 3, 2019
1bc7ea1
more profiler changes in C++ before enabling checkScript changes
Krovatkin Oct 3, 2019
882b2ab
Fix segfault while printing value type for an error msg in emitListCo…
Krovatkin Oct 3, 2019
111da77
Factored out the default mappings
Oct 3, 2019
7b2e8c3
Add memory format argument to the `clone` operator (#27106)
VitalyFedyunin Oct 3, 2019
493c900
Extract version to version.txt (#27149)
pbelevich Oct 3, 2019
7bd7a3d
add AutoNonVariableTypeMode for USE_STATIC_DISPATCH on JIT->ATen path…
ljk53 Oct 3, 2019
082f195
Updating submodules
Oct 3, 2019
1c5683a
Avoid calling tensor.numel() in for loops (#27298)
supriyar Oct 3, 2019
d6336b0
Fix circle CI
xta0 Oct 3, 2019
75d8dab
Update the link for iOS demo app in README.md (#27145)
xta0 Oct 3, 2019
6e2a8d0
Allow use cpu_serial_kernel with void-lambda (#27271)
ifedan Oct 3, 2019
2e62318
Move the CUDA implementation of log10 to ATen. (#26733)
xuhdev Oct 3, 2019
0c4bc27
Mention magma-cuda101 package in install instructions (#27325)
ngoldbaum Oct 3, 2019
05df6b6
C++ API parity: TensorTest.BackwardNonScalarOutputs
pbelevich Oct 3, 2019
a444054
Fix build (#27318)
Oct 3, 2019
74572fc
Relax restrictions on set_num_threads (#27190)
Oct 3, 2019
99c32d9
Migrate the cpu and gpu implementations of resize nearest 3D from vis…
csummersea Oct 3, 2019
cc96476
Add method add_hparams to API doc (#27344)
orionr Oct 4, 2019
827a00c
Support interface python assignment as an attribute (#26734)
wanchaol Oct 4, 2019
8fe5dcf
Skip tests that use numpy if it's not present
Oct 4, 2019
2486b0b
Add Python RRef as args and return value (#25499)
mrshenli Oct 4, 2019
f5df46c
Set MINIZ_NO_TIME to avoid computing localtime on each pickle/unpickl…
Oct 4, 2019
86a8971
Add a test case to RpcTest, check src/dst (#27322)
xush6528 Oct 4, 2019
c3d97c2
Update to ROCm 2.8 (#27337)
bddppq Oct 4, 2019
736c754
add sdk support for xcodebuild script
xta0 Oct 4, 2019
c874dd9
export remainder (#24410)
neginraoof Oct 4, 2019
6bb7433
Replacing the skip_list with white_list in the qconfig propagation
Oct 4, 2019
ef97841
Show a warning that not all dir members of quantized work. (#27339)
Oct 4, 2019
9ade1e6
improve error messages when a method or attribute is missing (#27110)
zdevito Oct 4, 2019
2ea1d3d
refactor extra sugared values (#26270)
zdevito Oct 4, 2019
42e7eb0
Minor readability fixes to C++ documentation (#27338)
sribkain Oct 4, 2019
d0a4b2f
Choose num_threads in parallel_for based on GRAIN_SIZE (#26963)
peterbell10 Oct 4, 2019
76f8475
Enable Python3.6 PyTorch ROCm CI
bddppq Oct 4, 2019
527b10c
Fixes PackedSequence.to (and unifies PackedSequence conversions) (#27…
Oct 4, 2019
a7de545
Makes test_cuda.py's generated tensor op tests generic (#27210)
Oct 4, 2019
13c39c8
Remove six dependency (#27282)
fmassa Oct 4, 2019
e29baac
Make `align_to` method-only. (#27304)
zou3519 Oct 4, 2019
081069e
Remove CUDA_VERSION from Python script (which has already been detect…
xuhdev Oct 4, 2019
76fc028
Revert D17743310: [pytorch][PR] Allow use cpu_serial_kernel with void…
ezyang Oct 4, 2019
b7fb2b8
Implement pickle support for sparse tensors and torch.layout instance…
pearu Oct 4, 2019
c389156
move new_zeros to core from THP (#26511)
v0dro Oct 4, 2019
da669c2
autograd: double backwards function for binary_cross_entropy loss
anjali411 Oct 4, 2019
28b1f58
Change schedulers to chainable form (#26423)
vincentqb Oct 4, 2019
e166bcb
Make RpcTest re-usable by other RPC backends by using init_method to …
xush6528 Oct 4, 2019
19ab538
Add OPN instruction and vararg operator table (#27104)
Oct 4, 2019
50b3f9d
Allow use cpu_serial_kernel with void-lambda (#27370)
ifedan Oct 4, 2019
9f9c6c0
From docs of scatter_add_() removed erroneous comment on uniqueness o…
Oct 4, 2019
a6bb8b5
Reduce error context from 10 -> 3 (#26765)
Oct 4, 2019
a33dbcc
Fix some return std::move warnings (#27384)
Oct 4, 2019
0be6641
add function to get nccl version for error messages (#27068)
rohan-varma Oct 4, 2019
192ca97
C++ API parity: Hardtanh
pbelevich Oct 4, 2019
f4c37e6
fix OSX CI build (#27373)
soumith Oct 4, 2019
646e214
ProcessGroupNCCL should respect timeout passed in to init_process_gro…
pritamdamania Oct 4, 2019
badb08d
Add clip_grad_norm_ to c++ api (#26140)
rohan-varma Oct 4, 2019
8b61a22
C++ API parity: LeakyReLU
pbelevich Oct 4, 2019
3c2cd8c
Some hipify script cleanups (#27375)
bddppq Oct 4, 2019
6db0cc4
add some support for the occupancy API on ROCm (#27390)
iotamudelta Oct 4, 2019
32d009a
Add gfx908 to the list of per-default compiled architectures. (#27388)
iotamudelta Oct 4, 2019
1821533
Change nightly builds version to 1.4.0-SNAPSHOT (#27381)
IvanKobzarev Oct 4, 2019
92a2caa
Pickup proxy parameters for publishing (#27389)
IvanKobzarev Oct 4, 2019
ac0f184
MovingAverage Observer (#27396)
raghuramank100 Oct 4, 2019
afbbe16
Add methods to write image tensor content to buffer (#27359)
IvanKobzarev Oct 4, 2019
381cf2b
add warning to dnnlowp fc if quantization kind is not min_max
amylittleyang Oct 5, 2019
b05ec82
Add interface/object serialization as module attribute (#26770)
Oct 5, 2019
7b3881f
Adding docstrings for nnq.functional
Oct 5, 2019
f4d0d0a
Enable RCCL in ROCm build (#27383)
bddppq Oct 5, 2019
1f0328c
Add randomFill to test_utils.h
Oct 5, 2019
1741adf
Use deepcopy inputs for ONNX ort test cases (#27186)
BowenBao Oct 5, 2019
7a2e61c
Remove dependency on six from dist_autograd_test.py
mrshenli Oct 5, 2019
e0ae3ce
Docstring fix (#27225)
Oct 5, 2019
bac11d1
Tweak docs on building docs
dzhulgakov Oct 5, 2019
04436f6
Upgrade to ROCm 2.9 (#27417)
bddppq Oct 5, 2019
17c672e
enable rocTX API (#27416)
iotamudelta Oct 5, 2019
2cc1e69
C++ API parity: LogSigmoid
pbelevich Oct 5, 2019
0b6186d
Remove Tensor.h, TensorMethods.h from src/core. (#27086)
ezyang Oct 6, 2019
0222ece
Remove outdated note in cholesky_solve and triangular_solve doc strin…
vishwakftw Oct 7, 2019
1250ace
Disable tsan for test_multiprocessing. (#27410)
pritamdamania Oct 7, 2019
a24291a
Unfold export (#24970)
neginraoof Oct 7, 2019
0046092
Reduce special casing around 'training' (#27109)
Oct 7, 2019
a4cba50
Put metrics back to torch.utils.tensorboard similar we have in Tensor…
nataliakliushkina Oct 7, 2019
8cc9d27
Automatic update of fbcode/onnx to 2891e1459745933f4bba9a8cb3371cf3c9…
houseroad Oct 7, 2019
1645409
Fixed Select symbolic to export slice when index = negative one (#25273)
neginraoof Oct 7, 2019
aab9673
Avoid variable shadowing in ``::at::philox_engine::single_round()`` (…
malfet Oct 7, 2019
b66df47
Refactor python_android test to separate Android-specific components …
dreiss Oct 7, 2019
1ffa81d
Various cleanups to pytorch_android API (#27454)
dreiss Oct 7, 2019
4a28ab9
Clean up JavaDoc comments in pytorch_android
dreiss Oct 7, 2019
ce16d68
FunctionEventAvg implements __iadd__ interface (#27498)
Oct 8, 2019
4bd8ae1
Move hipify to torch/utils to bundle them into torch package (#27425)
bddppq Oct 8, 2019
24242e8
Ensure NCCL error handling code is disabled for NCCL versions < 2.4 (…
pritamdamania Oct 8, 2019
23f2fb0
#include <stdexcept> into flat_hash_map.h (#27478)
pbelevich Oct 8, 2019
84e2dc6
Fix broken name mangling
Oct 8, 2019
1b5df37
Updating submodules
Oct 8, 2019
34662f7
Revert D17159707: [pytorch][PR] [ONNX] Fixed Select symbolic to expor…
houseroad Oct 8, 2019
2c51e06
Roll master to 1.4.0 (#27374)
ezyang Oct 8, 2019
e63addf
Exponential decay of the weight of task loss (#27508)
Oct 8, 2019
a96b003
docstring only formatting changes: quantize.py, fake_quantize.py, obs…
gottbrath Oct 8, 2019
6e0312a
Revert "Make static dispatch turn off variable before entering the ke…
ezyang Oct 8, 2019
16ece1c
Fixed typos and grammatical errors (#27465)
iam-abbas Oct 8, 2019
7f183a9
Stops common_utils.py from setting the default tensor type (to torch.…
Oct 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/cimodel/data/caffe2_build_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

DOCKER_IMAGE_PATH_BASE = "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/"

DOCKER_IMAGE_VERSION = 315
DOCKER_IMAGE_VERSION = 325


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion .circleci/cimodel/data/pytorch_build_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
(None, [
XImportant("2.7.9"),
X("2.7"),
X("3.5"),
XImportant("3.5"), # Not run on all PRs, but should be included on [test all]
X("nightly"),
]),
("gcc", [
Expand Down
62 changes: 24 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,7 @@ jobs:
# Reinitialize path (see man page for path_helper(8))
eval `/usr/libexec/path_helper -s`

# Use Homebrew Python if configured to do so
if [ "${PYTHON_INSTALLATION}" == "homebrew" ]; then
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/bin:$PATH
fi

pip -q install numpy
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/bin:$PATH

# Install Anaconda if we need to
if [ -n "${CAFFE2_USE_ANACONDA}" ]; then
Expand All @@ -569,6 +564,8 @@ jobs:
source ${TMPDIR}/anaconda/bin/activate
fi

pip -q install numpy

# Install sccache
sudo curl https://s3.amazonaws.com/ossci-macos/sccache --output /usr/local/bin/sccache
sudo chmod +x /usr/local/bin/sccache
Expand Down Expand Up @@ -606,7 +603,6 @@ jobs:
if which sccache > /dev/null; then
sccache --show-stats
fi

binary_linux_build:
<<: *binary_linux_build_params
steps:
Expand Down Expand Up @@ -1333,7 +1329,7 @@ jobs:
export PATH="~/anaconda/bin:${PATH}"
source ~/anaconda/bin/activate
# Install dependencies
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests --yes
# sync submodules
cd ${PROJ_ROOT}
git submodule sync
Expand Down Expand Up @@ -1518,23 +1514,13 @@ workflows:
name: pytorch_linux_xenial_py3_5_build
requires:
- setup
filters:
branches:
only:
- master
- /ci-all\/.*/
build_environment: "pytorch-linux-xenial-py3.5-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.5:347"
- pytorch_linux_test:
name: pytorch_linux_xenial_py3_5_test
requires:
- setup
- pytorch_linux_xenial_py3_5_build
filters:
branches:
only:
- master
- /ci-all\/.*/
build_environment: "pytorch-linux-xenial-py3.5-test"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-py3.5:347"
resource_class: large
Expand Down Expand Up @@ -1944,7 +1930,7 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-gcc4.8-ubuntu14.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc4.8-ubuntu14.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc4.8-ubuntu14.04:325"
- caffe2_linux_test:
name: caffe2_py2_gcc4_8_ubuntu14_04_test
requires:
Expand All @@ -1956,7 +1942,7 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-gcc4.8-ubuntu14.04-test"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc4.8-ubuntu14.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc4.8-ubuntu14.04:325"
resource_class: large
- caffe2_linux_build:
name: caffe2_py2_cuda9_0_cudnn7_ubuntu16_04_build
Expand All @@ -1968,7 +1954,7 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-cuda9.0-cudnn7-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_py2_cuda9_0_cudnn7_ubuntu16_04_test
requires:
Expand All @@ -1981,65 +1967,65 @@ workflows:
- /ci-all\/.*/
build_environment: "caffe2-py2-cuda9.0-cudnn7-ubuntu16.04-test"
use_cuda_docker_runtime: "1"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:325"
resource_class: gpu.medium
- caffe2_linux_build:
name: caffe2_cmake_cuda9_0_cudnn7_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-cmake-cuda9.0-cudnn7-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_cmake_cuda9_0_cudnn7_ubuntu16_04_test
requires:
- setup
- caffe2_cmake_cuda9_0_cudnn7_ubuntu16_04_build
build_environment: "caffe2-cmake-cuda9.0-cudnn7-ubuntu16.04-test"
use_cuda_docker_runtime: "1"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-ubuntu16.04:325"
resource_class: gpu.medium
- caffe2_linux_build:
name: caffe2_py3_5_cuda10_1_cudnn7_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-py3.5-cuda10.1-cudnn7-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.5-cuda10.1-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.5-cuda10.1-cudnn7-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_py3_5_cuda10_1_cudnn7_ubuntu16_04_test
requires:
- setup
- caffe2_py3_5_cuda10_1_cudnn7_ubuntu16_04_build
build_environment: "caffe2-py3.5-cuda10.1-cudnn7-ubuntu16.04-test"
use_cuda_docker_runtime: "1"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.5-cuda10.1-cudnn7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.5-cuda10.1-cudnn7-ubuntu16.04:325"
resource_class: gpu.medium
- caffe2_linux_build:
name: caffe2_py2_mkl_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-py2-mkl-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-mkl-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-mkl-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_py2_mkl_ubuntu16_04_test
requires:
- setup
- caffe2_py2_mkl_ubuntu16_04_build
build_environment: "caffe2-py2-mkl-ubuntu16.04-test"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-mkl-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-mkl-ubuntu16.04:325"
resource_class: large
- caffe2_linux_build:
name: caffe2_onnx_py2_gcc5_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-onnx-py2-gcc5-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc5-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc5-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_onnx_py2_gcc5_ubuntu16_04_test
requires:
- setup
- caffe2_onnx_py2_gcc5_ubuntu16_04_build
build_environment: "caffe2-onnx-py2-gcc5-ubuntu16.04-test"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc5-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-gcc5-ubuntu16.04:325"
resource_class: large
- caffe2_linux_build:
name: caffe2_py2_clang3_8_ubuntu16_04_build
Expand All @@ -2051,7 +2037,7 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-clang3.8-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang3.8-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang3.8-ubuntu16.04:325"
build_only: "1"
- caffe2_linux_build:
name: caffe2_py2_clang3_9_ubuntu16_04_build
Expand All @@ -2063,35 +2049,35 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-clang3.9-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang3.9-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang3.9-ubuntu16.04:325"
build_only: "1"
- caffe2_linux_build:
name: caffe2_py2_clang7_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-py2-clang7-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-clang7-ubuntu16.04:325"
build_only: "1"
- caffe2_linux_build:
name: caffe2_onnx_py3_6_clang7_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-onnx-py3.6-clang7-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.6-clang7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.6-clang7-ubuntu16.04:325"
- caffe2_linux_test:
name: caffe2_onnx_py3_6_clang7_ubuntu16_04_test
requires:
- setup
- caffe2_onnx_py3_6_clang7_ubuntu16_04_build
build_environment: "caffe2-onnx-py3.6-clang7-ubuntu16.04-test"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.6-clang7-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py3.6-clang7-ubuntu16.04:325"
resource_class: large
- caffe2_linux_build:
name: caffe2_py2_android_ubuntu16_04_build
requires:
- setup
build_environment: "caffe2-py2-android-ubuntu16.04-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-android-ubuntu16.04:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-android-ubuntu16.04:325"
build_only: "1"
- caffe2_linux_build:
name: caffe2_py2_cuda9_0_cudnn7_centos7_build
Expand All @@ -2103,7 +2089,7 @@ workflows:
- master
- /ci-all\/.*/
build_environment: "caffe2-py2-cuda9.0-cudnn7-centos7-build"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-centos7:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-centos7:325"
- caffe2_linux_test:
name: caffe2_py2_cuda9_0_cudnn7_centos7_test
requires:
Expand All @@ -2116,7 +2102,7 @@ workflows:
- /ci-all\/.*/
build_environment: "caffe2-py2-cuda9.0-cudnn7-centos7-test"
use_cuda_docker_runtime: "1"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-centos7:315"
docker_image: "308535385114.dkr.ecr.us-east-1.amazonaws.com/caffe2/py2-cuda9.0-cudnn7-centos7:325"
resource_class: gpu.medium
- caffe2_macos_build:
name: caffe2_py2_ios_macos10_13_build
Expand Down
2 changes: 1 addition & 1 deletion .circleci/scripts/binary_ios_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ chmod +x ~/Downloads/conda.sh
export PATH="~/anaconda/bin:${PATH}"
source ~/anaconda/bin/activate
# Install dependencies
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests --yes
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
# sync submodules
cd ${PROJ_ROOT}
Expand Down
10 changes: 3 additions & 7 deletions .circleci/verbatim-sources/caffe2-job-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,7 @@
# Reinitialize path (see man page for path_helper(8))
eval `/usr/libexec/path_helper -s`

# Use Homebrew Python if configured to do so
if [ "${PYTHON_INSTALLATION}" == "homebrew" ]; then
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/bin:$PATH
fi

pip -q install numpy
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/bin:$PATH

# Install Anaconda if we need to
if [ -n "${CAFFE2_USE_ANACONDA}" ]; then
Expand All @@ -164,6 +159,8 @@
source ${TMPDIR}/anaconda/bin/activate
fi

pip -q install numpy

# Install sccache
sudo curl https://s3.amazonaws.com/ossci-macos/sccache --output /usr/local/bin/sccache
sudo chmod +x /usr/local/bin/sccache
Expand Down Expand Up @@ -201,4 +198,3 @@
if which sccache > /dev/null; then
sccache --show-stats
fi

2 changes: 1 addition & 1 deletion .circleci/verbatim-sources/job-specs-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
export PATH="~/anaconda/bin:${PATH}"
source ~/anaconda/bin/activate
# Install dependencies
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests
conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing requests --yes
# sync submodules
cd ${PROJ_ROOT}
git submodule sync
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ignore =
B007,B008,
# these ignores are from flake8-comprehensions; please fix!
C400,C401,C402,C403,C404,C405,C407,C411,
exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY,torch/lib/include,torch/lib/tmp_install,build,torch/include,*.pyi
exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,torch/lib/include,torch/lib/tmp_install,build,torch/include,*.pyi
4 changes: 3 additions & 1 deletion .jenkins/pytorch/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ fi

function pip_install() {
# retry 3 times
pip install --progress-bar off "$@" || pip install --progress-bar off "$@" || pip install --progress-bar off "$@"
# old versions of pip don't have the "--progress-bar" flag
pip install --progress-bar off "$@" || pip install --progress-bar off "$@" || pip install --progress-bar off "$@" ||\
pip install "$@" || pip install "$@" || pip install "$@"
}

function pip_uninstall() {
Expand Down
6 changes: 6 additions & 0 deletions .jenkins/pytorch/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ if [ -n "${IN_CIRCLECI}" ]; then
fi
fi

if [[ "$BUILD_ENVIRONMENT" == *rocm* ]]; then
# TODO: Move this to Docker
sudo apt-get -qq update
sudo apt-get -qq install --no-install-recommends libsndfile1
fi

# --user breaks ppc64le builds and these packages are already in ppc64le docker
if [[ "$BUILD_ENVIRONMENT" != *ppc64le* ]]; then
# JIT C++ extensions require ninja.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ option(USE_METAL "Use Metal for iOS build" ON)
option(USE_NATIVE_ARCH "Use -march=native" OFF)
cmake_dependent_option(
USE_NCCL "Use NCCL" ON
"USE_CUDA;UNIX;NOT APPLE" OFF)
"USE_CUDA OR USE_ROCM;UNIX;NOT APPLE" OFF)
cmake_dependent_option(
USE_STATIC_NCCL "Use static NCCL" OFF
"USE_NCCL" OFF)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ pip install -r requirements.txt
# `katex` must also be available in your PATH.
# If you are using Ubuntu or Debian, you can install it with:
# sudo apt install katex
# If you are using MacOS, you can install it through npm (install Node.js first):
# npm install -g katex
```

3. Generate the documentation HTML files. The generated files will be in `docs/build/html`.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ You can write new neural network layers in Python using the torch API
[or your favorite NumPy-based libraries such as SciPy](https://pytorch.org/tutorials/advanced/numpy_extensions_tutorial.html).

If you want to write your layers in C/C++, we provide a convenient extension API that is efficient and with minimal boilerplate.
There is no wrapper code that needs to be written. You can see [a tutorial here](https://pytorch.org/tutorials/advanced/cpp_extension.html) and [an example here](https://github.com/pytorch/extension-cpp).
No wrapper code needs to be written. You can see [a tutorial here](https://pytorch.org/tutorials/advanced/cpp_extension.html) and [an example here](https://github.com/pytorch/extension-cpp).


## Installation
Expand All @@ -145,7 +145,7 @@ Python wheels for NVIDIA's Jetson Nano, Jetson TX2, and Jetson AGX Xavier are av
- Python 2.7: https://nvidia.box.com/v/torch-weekly-cp27-jetson-jp42
- Python 3.6: https://nvidia.box.com/v/torch-weekly-cp36-jetson-jp42

They requires JetPack 4.2 and above and are maintained by @dusty-nv
They require JetPack 4.2 and above, and @dusty-nv maintains them


### From Source
Expand Down Expand Up @@ -175,7 +175,7 @@ conda install numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing
On Linux
```bash
# Add LAPACK support for the GPU if needed
conda install -c pytorch magma-cuda90 # or [magma-cuda92 | magma-cuda100 ] depending on your cuda version
conda install -c pytorch magma-cuda90 # or [magma-cuda92 | magma-cuda100 | magma-cuda101 ] depending on your cuda version
```

#### Get the PyTorch Source
Expand Down Expand Up @@ -234,7 +234,7 @@ set FORCE_PY27_BUILD=1
:: Note: This value is useless if Ninja is detected. However, you can force that by using `set USE_NINJA=OFF`.
set CMAKE_GENERATOR=Visual Studio 15 2017

:: Read the content in the previous section carefully before you preceed.
:: Read the content in the previous section carefully before you proceed.
:: [Optional] If you want to override the underlying toolset used by Ninja and Visual Studio with CUDA, please run the following script block.
:: "Visual Studio 2017 Developer Command Prompt" will be run automatically.
:: Make sure you have CMake >= 3.12 before you do this when you use the Visual Studio generator.
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64

VERSION_NAME=0.0.7-SNAPSHOT
VERSION_NAME=1.4.0-SNAPSHOT
GROUP=org.pytorch
MAVEN_GROUP=org.pytorch
POM_URL=https://github.com/pytorch/pytorch/tree/master/android
Expand Down
Loading