Skip to content

Commit bbb9016

Browse files
authored
Merge branch 'main' into main
2 parents 8d89128 + bb83e5b commit bbb9016

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1253
-1800
lines changed

.circleci/config.yml

Lines changed: 1 addition & 593 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ jobs:
848848
executor:
849849
name: windows-gpu
850850
environment:
851-
CUDA_VERSION: "11.1"
851+
CUDA_VERSION: "11.3"
852852
PYTHON_VERSION: << parameters.python_version >>
853853
steps:
854854
- checkout

.circleci/regenerate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def build_workflows(prefix="", filter_branch=None, upload=False, indentation=6,
3232
for os_type in ["linux", "macos", "win"]:
3333
python_versions = PYTHON_VERSIONS
3434
cu_versions_dict = {
35-
"linux": ["cpu", "cu102", "cu111", "cu113", "cu115", "rocm4.3.1", "rocm4.5.2"],
36-
"win": ["cpu", "cu111", "cu113", "cu115"],
35+
"linux": ["cpu", "cu102", "cu113", "cu115", "rocm4.3.1", "rocm4.5.2"],
36+
"win": ["cpu", "cu113", "cu115"],
3737
"macos": ["cpu"],
3838
}
3939
cu_versions = cu_versions_dict[os_type]

.circleci/unittest/windows/scripts/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ dependencies:
99
- libpng
1010
- jpeg
1111
- ca-certificates
12-
- h5py
12+
- hdf5
1313
- pip:
1414
- future
1515
- pillow >=5.3.0, !=8.3.*
1616
- scipy
1717
- av
1818
- dataclasses
19+
- h5py

.circleci/unittest/windows/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ else
2828
fi
2929

3030
printf "Installing PyTorch with %s\n" "${cudatoolkit}"
31-
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" -c conda-forge "pytorch-${UPLOAD_CHANNEL}"::pytorch[build="*${version}*"] "${cudatoolkit}" pytest
31+
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" -c nvidia "pytorch-${UPLOAD_CHANNEL}"::pytorch[build="*${version}*"] "${cudatoolkit}" pytest
3232

3333
torch_cuda=$(python -c "import torch; print(torch.cuda.is_available())")
3434
echo torch.cuda.is_available is $torch_cuda

docs/source/ops.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ Operators
4747
FeaturePyramidNetwork
4848
StochasticDepth
4949
FrozenBatchNorm2d
50-
ConvNormActivation
50+
Conv2dNormActivation
51+
Conv3dNormActivation
5152
SqueezeExcitation
5253
DropBlock2d
5354
DropBlock3d

references/classification/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def init_distributed_mode(args):
274274
torch.distributed.init_process_group(
275275
backend=args.dist_backend, init_method=args.dist_url, world_size=args.world_size, rank=args.rank
276276
)
277+
torch.distributed.barrier()
277278
setup_for_distributed(args.rank == 0)
278279

279280

references/optical_flow/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def setup_ddp(args):
267267
world_size=args.world_size,
268268
init_method=args.dist_url,
269269
)
270+
torch.distributed.barrier()
270271

271272

272273
def reduce_across_processes(val):

references/segmentation/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,4 +291,5 @@ def init_distributed_mode(args):
291291
torch.distributed.init_process_group(
292292
backend=args.dist_backend, init_method=args.dist_url, world_size=args.world_size, rank=args.rank
293293
)
294+
torch.distributed.barrier()
294295
setup_for_distributed(args.rank == 0)

references/video_classification/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,5 @@ def init_distributed_mode(args):
250250
torch.distributed.init_process_group(
251251
backend=args.dist_backend, init_method=args.dist_url, world_size=args.world_size, rank=args.rank
252252
)
253+
torch.distributed.barrier()
253254
setup_for_distributed(args.rank == 0)

0 commit comments

Comments
 (0)