2020source ../utils/git-utils.sh
2121
2222set -eux -o pipefail
23- PYTORCH_HASH=45d9dcccc5bfb46a9eaca037270278bc3d7c95ea # 2.10.0.dev20250923 from viable/strict, September 23rd
24- IDEEP_HASH=fd11055f4800ac89291e30b5387a79a1e6496aa6 # From ideep_pytorch, September 10th
25- ONEDNN_HASH=9e8f619477469ed75d323d4915bf7a2513f01713 # From main, September 23rd
26- ACL_HASH=531a4968cecb7b4fc0a3b65482e2c524289e087e # From main, September 23rd
27- TORCH_AO_HASH=8e2ca35ea603349e71c2467e10fd371e34bf52bc # From main, September 23rd
28- KLEIDIAI_HASH=bd2e6ae060014035e25bf4986be682762c446c2d # v1.14 from main
23+
24+ PYTORCH_HASH=5ce4a8b49f9986b050a9f6fcc7dd4cf999baa509 # 2.10.0.dev20251112 from viable/strict, Nov 12th
25+ IDEEP_HASH=927570638b237b0e39fb0626a868adffdbf70bbb # From ideep_pytorch, October 20th
26+ ONEDNN_HASH=80886d0559482dfe2019c2ae83eebd6d0d3a17d4 # From main, Nov 9th
27+ TORCH_AO_HASH=17867e6788e4889b294449770f0275045384eab2 # From main, Nov 8th
28+ KLEIDIAI_HASH=7bf4de9a56106f0fb0d57dfabeb4c7a2668deaf6 # v1.16.0 from main, Nov 10th
2929
3030git-shallow-clone https://github.com/pytorch/pytorch.git $PYTORCH_HASH
3131(
3232 # Apply patches to PyTorch build
3333 cd pytorch
3434
35- # https://github.com/pytorch/pytorch/pull/152361 - Build libgomp (gcc-11) from source
36- apply-github-patch pytorch/pytorch 7c54b6b07558c330ee2f95b4793edb3bfbb814c9
37- apply-github-patch pytorch/pytorch 3e17ce1619b2d02543a619f6217919b5adb36123
38- apply-github-patch pytorch/pytorch 2c884c2b580a93cd0b1e5eea36aa24e3acab91a9
39- apply-github-patch pytorch/pytorch c4c280eb27859221159108356b7c91376202cdd8
40-
4135 # https://github.com/pytorch/pytorch/pull/160184 - Draft: separate reqs for manywheel build and pin
4236 # Note: as part of this patch, setuptools is pinned to ~= 78.1.1 which is not affected by
4337 # CVE-2025-47273 and CVE-2024-6345
4438 apply-github-patch pytorch/pytorch 4d344570e5a114fa522e3370c5d59161e2ed8619
4539
46- # https://github.com/pytorch/pytorch/pull/158250 - Ingtegrate INT4→BF16 via KleidiAI, with fallback
47- apply-github-patch pytorch/pytorch 7c55f2af0adf9ce62c2226e739a3c84902fe0048
48- apply-github-patch pytorch/pytorch 8c27947566c85d44bc7dcd7189db5da608453bbb
49- apply-github-patch pytorch/pytorch 15d78c833b032d3c76b70b12a5f2762fa87d2640
50- apply-github-patch pytorch/pytorch 186cbcf641f99a301cb26013e8d74d444ad1dcb9
51- apply-github-patch pytorch/pytorch a6128ce3a0d2080d80e6fa59061d6c085865376c
52- apply-github-patch pytorch/pytorch 52ee4ddc9a5a9cec8793b1ffeb0d74113e3da417
53- apply-github-patch pytorch/pytorch ab2a6760e4a4891accbacb9187cf3782cb4b55c3
54- apply-github-patch pytorch/pytorch 93384233d166dccab5724f9d2e50b6eb3f47cbe6
55- apply-github-patch pytorch/pytorch 9f6d435629dd251620a1e17b8baa6bc18997f8ab
56- apply-github-patch pytorch/pytorch b68b7867a72fe2ef4c38f9a3cdd93693700a182e
57-
58- # https://github.com/pytorch/pytorch/pull/161049 - optimised SVE exp_u20 implementation
59- # based on Arm Optimised Routines - https://github.com/ARM-software/optimized-routines
60- apply-github-patch pytorch/pytorch 3de5651bafcdabbc52d5205c0de3976188eba7fb
61-
62- # https://github.com/pytorch/pytorch/pull/160080 - VLA Vectorized POC
63- apply-github-patch pytorch/pytorch e84eabd4f9761362ba081512b2922b4f18c97d41
64- apply-github-patch pytorch/pytorch a49982892480af69fae8bb19505b31b3304cda7a
65- apply-github-patch pytorch/pytorch 6ca9dc026d8d65c575c880ebe8b678f724d609a1
66- apply-github-patch pytorch/pytorch 3b92a1adfe40ca9c37e7db523eccaad4358d949c
67- apply-github-patch pytorch/pytorch 0384f48daa4b27d155632329521128212dd6fda3
68- apply-github-patch pytorch/pytorch bf4b0e8c41c75d9106e2e432c6b9a00319295930
69- apply-github-patch pytorch/pytorch dae9a71d99faa19764c47c602cb92bbf72ca7260
70- apply-github-patch pytorch/pytorch 8ac81dba2155808427ec3943c4d057f6b05b23d6
40+ # https://github.com/pytorch/pytorch/pull/167720 - Allow missing cutlass file if CUDA disabled
41+ apply-github-patch pytorch/pytorch 18f9ef2fe29b10b385f25eb6c98e3ac06227d2d9
42+
43+ # https://github.com/pytorch/pytorch/pull/158250 - Integrate INT4→BF16 via KleidiAI, with fallback
44+ apply-github-patch pytorch/pytorch a9ec9d509167bfd33cbcd168cb40d183acf9c13a
45+ apply-github-patch pytorch/pytorch 67f1076366b88c6617256236020b58da00665ed4
46+ apply-github-patch pytorch/pytorch 99c57644d5d8a9359b6b98ac7bb96787ac594606
47+ apply-github-patch pytorch/pytorch a770fb9a9786d7ce39a3b066809fa8c0de7d47d5
48+ apply-github-patch pytorch/pytorch 30dd7406155c51b033b5e8a9c5a453fa59599db8
49+ apply-github-patch pytorch/pytorch 00b919af8e7bb50f52ec45fdad09304d4104464a
50+ apply-github-patch pytorch/pytorch fe40a60d7ad506aab016e66b53fdf0fc4f83b7a1
51+ apply-github-patch pytorch/pytorch 89fc01183127da738fc3723747f7bf0721fe9e09
52+ apply-github-patch pytorch/pytorch 23b4c39348426914cf3e6770dfaff0745245976c
53+ apply-github-patch pytorch/pytorch c5e778f5d4cac56b9d96f666c3082aab244e662f
7154
7255 # https://github.com/pytorch/pytorch/pull/159859 - PoC LUT optimisation for GELU bf16 operators
7356 apply-github-patch pytorch/pytorch ebcc874e317f9563ab770fc5c27df969e0438a5e
7457
75- # https://github.com/pytorch/pytorch/pull/164741 - Enable mimalloc on non-Windows platforms and
76- # make default for AArch64 builds
77- apply-github-patch pytorch/pytorch 9f6a4018f6e7d77d4ac974a38f68fbd7c8eef25c
78-
7958 # https://github.com/pytorch/pytorch/pull/144992 - Enable fp16 linear layers in PyTorch via ACL
8059 apply-github-patch pytorch/pytorch 00076d21ed6cd7df2a61165b1fb1d0a436f4e403
8160 apply-github-patch pytorch/pytorch 850db41fe6d33c6460740da781b40e009f04a47c
@@ -120,8 +99,9 @@ git-shallow-clone https://github.com/pytorch/pytorch.git $PYTORCH_HASH
12099 (
121100 cd mkl-dnn
122101 git fetch origin $ONEDNN_HASH && git clean -f && git checkout -f FETCH_HEAD
123- # https://github.com/uxlfoundation/oneDNN/pull/3022 - cpu: aarch64: enable jit conv for 128
124- apply-github-patch uxlfoundation/oneDNN b43cc9c4526c16a292860dadf34b3585b1f33531
102+
103+ # https://github.com/uxlfoundation/oneDNN/pull/4237 - cpu: aarch64: jit_reorder: cache blocking 4/8 inner blocks
104+ apply-github-patch uxlfoundation/oneDNN 8bdff1a2a6625432701363185a9bd34f7c22f241
125105 )
126106 )
127107 (
@@ -136,6 +116,4 @@ git-shallow-clone https://github.com/pytorch/pytorch.git $PYTORCH_HASH
136116 fi
137117)
138118
139- git-shallow-clone https://github.com/ARM-software/ComputeLibrary.git $ACL_HASH
140-
141119git-shallow-clone https://github.com/pytorch/ao.git $TORCH_AO_HASH
0 commit comments