Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
XuehaiPan committed Jun 17, 2024
2 parents 3e6c1ee + f609754 commit b79b7b6
Show file tree
Hide file tree
Showing 28 changed files with 36 additions and 4,247 deletions.
2 changes: 1 addition & 1 deletion .ci/pytorch/common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function clone_pytorch_xla() {
function checkout_install_torchbench() {
local commit
commit=$(get_pinned_commit torchbench)
git clone https://github.com/pytorch/benchmark torchbench
git clone https://github.com/eellison/benchmark torchbench
pushd torchbench
git checkout "$commit"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_cpu_speed_mini_sequence_labeler () {
export OMP_NUM_THREADS=4
export MKL_NUM_THREADS=4

git clone https://github.com/pytorch/benchmark.git
git clone https://github.com/eellison/benchmark.git

cd benchmark/

Expand Down
2 changes: 1 addition & 1 deletion .ci/pytorch/perf_test/test_gpu_speed_cudnn_lstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_gpu_speed_cudnn_lstm () {
export OMP_NUM_THREADS=4
export MKL_NUM_THREADS=4

git clone https://github.com/pytorch/benchmark.git
git clone https://github.com/eellison/benchmark.git

cd benchmark/

Expand Down
2 changes: 1 addition & 1 deletion .ci/pytorch/perf_test/test_gpu_speed_lstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_gpu_speed_lstm () {
export OMP_NUM_THREADS=4
export MKL_NUM_THREADS=4

git clone https://github.com/pytorch/benchmark.git
git clone https://github.com/eellison/benchmark.git

cd benchmark/

Expand Down
2 changes: 1 addition & 1 deletion .ci/pytorch/perf_test/test_gpu_speed_mlstm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_gpu_speed_mlstm () {
export OMP_NUM_THREADS=4
export MKL_NUM_THREADS=4

git clone https://github.com/pytorch/benchmark.git
git clone https://github.com/eellison/benchmark.git

cd benchmark/

Expand Down
2 changes: 1 addition & 1 deletion .github/ci_commit_pins/torchbench.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d6015d42d9a1834bc7595c4bd6852562fb80b30b
pin_yolo_dep
1 change: 1 addition & 0 deletions .github/pytorch-probot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ retryable_workflows:
- windows-binary
labeler_config: labeler.yml
label_to_label_config: label_to_label.yml
mergebot: True
4 changes: 4 additions & 0 deletions .github/workflows/_win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
timeout-minutes: 240
outputs:
test-matrix: ${{ steps.filter.outputs.test-matrix }}
defaults:
run:
shell: bash
steps:
# Duplicated in win-test because this MUST go before a checkout
- name: Enable git symlinks on Windows and disable fsmonitor daemon
Expand Down Expand Up @@ -89,6 +92,7 @@ jobs:

- name: Parse ref
id: parse-ref
shell: bash
run: python3 .github/scripts/parse_ref.py

- name: Get workflow job id
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/_win-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.runner }}
timeout-minutes: ${{ matrix.mem_leak_check == 'mem_leak_check' && 600 || inputs.timeout-minutes }}
defaults:
run:
shell: bash
steps:
# Duplicated in win-build because this MUST go before a checkout
- name: Enable git symlinks on Windows and disable fsmonitor daemon
Expand Down Expand Up @@ -224,6 +227,7 @@ jobs:

- name: Parse ref
id: parse-ref
shell: bash
run: python3 .github/scripts/parse_ref.py

- name: Uninstall PyTorch
Expand Down
4 changes: 4 additions & 0 deletions aten/src/ATen/MapAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ class TORCH_API MapAllocator {
return base_ptr_;
}

int flags() const {
return flags_;
}

static MapAllocator* fromDataPtr(const at::DataPtr&);
static at::DataPtr makeDataPtr(
c10::string_view filename,
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/dynamo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ clone-deps:
&& (test -e detectron2 || git clone --recursive https://github.com/facebookresearch/detectron2) \
&& (test -e FBGEMM || git clone --recursive https://github.com/pytorch/FBGEMM) \
&& (test -e torchrec || git clone --recursive https://github.com/pytorch/torchrec) \
&& (test -e torchbenchmark || git clone --recursive https://github.com/pytorch/benchmark torchbenchmark) \
&& (test -e torchbenchmark || git clone --recursive https://github.com/eellison/benchmark torchbenchmark) \
)

pull-deps: clone-deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Background_Matting,pass_due_to_skip,0



DALLE2_pytorch,eager_fail_to_run,0
DALLE2_pytorch,model_fail_to_load,0



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Background_Matting,pass_due_to_skip,0



DALLE2_pytorch,eager_fail_to_run,0
DALLE2_pytorch,model_fail_to_load,0



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Background_Matting,pass_due_to_skip,0



DALLE2_pytorch,eager_fail_to_run,0
DALLE2_pytorch,model_fail_to_load,0



Expand Down
54 changes: 0 additions & 54 deletions test/onnx/debug_embed_params.py

This file was deleted.

91 changes: 0 additions & 91 deletions test/onnx/pytorch_helper.py

This file was deleted.

102 changes: 0 additions & 102 deletions test/onnx_caffe2/export_onnx_tests_filter.py

This file was deleted.

0 comments on commit b79b7b6

Please sign in to comment.