Skip to content

Commit 2cbf5c6

Browse files
authored
update torch patches (#4193)
1 parent cb6eaab commit 2cbf5c6

File tree

30 files changed

+56
-29
lines changed

30 files changed

+56
-29
lines changed

torch_patches/0001-Add-API-for-intel-XPU-to-register-new-tensor-type.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 6bf65db4efdaee36d9019c61a3b566524f9a87db Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <guangye.yu@intel.com>
33
Date: Mon, 22 May 2023 09:56:52 +0000
4-
Subject: [PATCH 01/29] Add API for intel XPU to register new tensor type
4+
Subject: [PATCH 01/30] Add API for intel XPU to register new tensor type
55

66
(cherry picked from commit 6493115242ca9657826b50b21383cec922c253ae)
77
(cherry picked from commit b7ad62ba8da4e34958ba1ed9d31d1785d508aea8)

torch_patches/0002-Add-xpu-legacy-profiler-163.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From ce8a0310e85e07270ef9f006ef9e974a3c5f0000 Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <106960996+guangyey@users.noreply.github.com>
33
Date: Fri, 15 Sep 2023 00:16:02 +0800
4-
Subject: [PATCH 02/29] Add xpu legacy profiler (#163)
4+
Subject: [PATCH 02/30] Add xpu legacy profiler (#163)
55

66
* Add xpu legacy profiler
77

torch_patches/0003-add-custom-pass-hooks-in-post_grad_passes-164.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From e2c83750f5761cd527941e134ba791b21ee58ad6 Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <106960996+guangyey@users.noreply.github.com>
33
Date: Fri, 15 Sep 2023 00:39:22 +0800
4-
Subject: [PATCH 03/29] add custom pass hooks in post_grad_passes (#164)
4+
Subject: [PATCH 03/30] add custom pass hooks in post_grad_passes (#164)
55

66
---
77
test/inductor/test_custom_post_grad_passes.py | 172 ++++++++++++++++++

torch_patches/0004-Add-qweight-prepack-runtime-registration-linear-conv.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From e396a88d893335c8c1221d3bde057fe9ca1cbeb4 Mon Sep 17 00:00:00 2001
22
From: Zhiwei <532707544@qq.com>
33
Date: Wed, 13 Sep 2023 13:31:06 +0800
4-
Subject: [PATCH 04/29] Add qweight prepack runtime registration(linear, conv)
4+
Subject: [PATCH 04/30] Add qweight prepack runtime registration(linear, conv)
55
& Add QXPU QEngine (#147)
66

77
Add qweight prepack runtime registration(linear, conv) & Add QXPU QEngine

torch_patches/0005-fix-hpu-deserialization-bug-165.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 414928de5c0e00ea4d21fbef5297ddd90c887cd7 Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <106960996+guangyey@users.noreply.github.com>
33
Date: Tue, 19 Sep 2023 09:39:36 +0800
4-
Subject: [PATCH 05/29] fix hpu deserialization bug (#165)
4+
Subject: [PATCH 05/30] fix hpu deserialization bug (#165)
55

66
---
77
torch/serialization.py | 4 ++--

torch_patches/0006-C10d-Add-xpu-as-the-supported-device-in-device-backe.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 407a10305a5c104edc1e5bdd22cf7aa3544c7894 Mon Sep 17 00:00:00 2001
22
From: zhuhong61 <95205772+zhuhong61@users.noreply.github.com>
33
Date: Thu, 21 Sep 2023 13:14:52 +0800
4-
Subject: [PATCH 06/29] C10d: Add xpu as the supported device in device backend
4+
Subject: [PATCH 06/30] C10d: Add xpu as the supported device in device backend
55
map (#166)
66

77
---

torch_patches/0007-add-path-for-DPC-SYCL-device-code-167.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From adbcccaa2248aa881ff5282ddf34e4eede6cb25d Mon Sep 17 00:00:00 2001
22
From: min-jean-cho <min.jean.cho@intel.com>
33
Date: Fri, 22 Sep 2023 03:09:51 -0700
4-
Subject: [PATCH 07/29] add path for DPC++ SYCL device code (#167)
4+
Subject: [PATCH 07/30] add path for DPC++ SYCL device code (#167)
55

66
---
77
c10/util/Float8_e4m3fn.h | 4 ++++

torch_patches/0008-generalize-inductor-triton-backend-device-agnostic-1.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0d61b020088d65064072b1cb4d64d249120a88fe Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <106960996+guangyey@users.noreply.github.com>
33
Date: Tue, 26 Sep 2023 20:49:36 +0800
4-
Subject: [PATCH 08/29] generalize inductor triton backend device agnostic
4+
Subject: [PATCH 08/30] generalize inductor triton backend device agnostic
55
(#168)
66

77
---

torch_patches/0009-Integrate-xpu-into-torch.Generator-and-torch.seed-10.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 6c5a85526546347ae39d66fca5beb31af09d1c16 Mon Sep 17 00:00:00 2001
22
From: "Yu, Guangye" <106960996+guangyey@users.noreply.github.com>
33
Date: Thu, 28 Sep 2023 10:07:40 +0800
4-
Subject: [PATCH 09/29] Integrate xpu into torch.Generator and torch.seed
4+
Subject: [PATCH 09/30] Integrate xpu into torch.Generator and torch.seed
55
(#109866) (#110220) (#110376) (#169)
66

77
Integrate torch.xpu.Generator into torch.Generator

torch_patches/0010-Enable-xpu-backend-in-torchdynamo-benchmarks-171.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 58392a58c207ab03600c7abd6e7b3baa21262c3a Mon Sep 17 00:00:00 2001
22
From: "Wang, Chuanqi" <chuanqi.wang@intel.com>
33
Date: Thu, 12 Oct 2023 14:29:35 +0800
4-
Subject: [PATCH 10/29] Enable xpu backend in torchdynamo benchmarks (#171)
4+
Subject: [PATCH 10/30] Enable xpu backend in torchdynamo benchmarks (#171)
55

66
---
77
benchmarks/dynamo/common.py | 29 ++++++++++++++++++++++-------

0 commit comments

Comments
 (0)