pytorch/caffe2
Digant Desai f2d95765e4 [pthreadpool] Set max threadlimit to tsan limit (#89453)
Summary:
This will make sure we don't run into an internal assert for clang tsan which has a cap of 63 on concurrently held lock count.
Seems like it is failing with 64 since the comparison is `<`, so setting it to 63 here.

```
llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h:67 "((n_all_locks_)) < (((sizeof(all_locks_with_contexts_)/sizeof((all_locks_with_contexts_)[0]))))"
```

Created from CodeHub with https://fburl.com/edit-in-codehub

Test Plan:
CI

Sandcastle run

Reviewed By: kimishpatel, salilsdesai

Differential Revision: D41444710

Pull Request resolved: https://github.com/pytorch/pytorch/pull/89453
Approved by: https://github.com/mcr229
2022-12-08 02:02:53 +00:00
..
contrib Fix typos in .md and .rst files (#88962) 2022-11-17 03:37:02 +00:00
core Fix C2 Ambiguous namespace (#89534) 2022-12-07 23:36:41 +00:00
cuda_rtc
db
distributed
experiments
ideep
image
mobile Fix typos under caffe2 directory (#87840) 2022-10-28 04:53:36 +00:00
mpi
observers
onnx
operators Fix typo in segment_reduction_op_gpu.cu (#89647) 2022-11-25 19:26:18 +00:00
opt
perfkernels add bf16 in fp32 out fast path for embedingbag in caffe2 perfkernel (#89198) 2022-11-30 13:06:13 +00:00
predictor
proto
python Fix exception causes all over the codebase (#90271) 2022-12-07 04:29:00 +00:00
quantization Fix typos under caffe2 directory (#87840) 2022-10-28 04:53:36 +00:00
queue
serialize Fix PyTorchStreamWriter exception handling (#88128) 2022-10-31 23:38:03 +00:00
sgd
share
test
transforms
utils [pthreadpool] Set max threadlimit to tsan limit (#89453) 2022-12-08 02:02:53 +00:00
video [codemod][llvm15] LLVM-15 fixes for caffe2/caffe2/video/video_decoder.cc (#89937) 2022-12-01 03:46:22 +00:00
.clang-format
__init__.py
BUILD_MODE.bzl
CMakeLists.txt Update gloo submodule (#88530) 2022-11-09 01:04:32 +00:00
README.md Update README.md (#85534) 2022-11-17 01:06:15 +00:00
release-notes.md Fix typos under caffe2 directory (#87840) 2022-10-28 04:53:36 +00:00
requirements.txt
unexported_symbols.lds
VERSION_NUMBER
version_script.lds

Caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Questions and Feedback

Please use GitHub issues (https://github.com/pytorch/pytorch/issues) to ask questions, report bugs, and request new features.

Further Resources on Caffe2.ai