Datasets:

Modalities:
Text
Formats:
text
Libraries:
Datasets
License:
alexhang commited on
Commit
1b719f6
·
verified ·
1 Parent(s): ba67797

Publish Linux CPython 3.10 MMCV CPU wheel

Browse files

Add unmodified MMCV 2.2.0 CPU wheel for Linux x86-64/glibc >=2.17 and Torch 2.4.0+cpu, original build reports, independent ELF/hash/license audit, host operator/model feature checks, and additive notices. Existing wheels and notices archives are unchanged. Clean-host full MAAP3D and checkpoint inference remain pending.

.gitattributes CHANGED
@@ -65,3 +65,4 @@ sam3-0.1.0+maap3d.847e1a3b.2-py3-none-any.whl filter=lfs diff=lfs merge=lfs -tex
65
  mmcv-2.2.0-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
66
  mmcv-2.2.0-1cu128sm120-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
67
  mmcv-2.2.0-1cpupt241-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
 
 
65
  mmcv-2.2.0-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
66
  mmcv-2.2.0-1cu128sm120-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
67
  mmcv-2.2.0-1cpupt241-cp310-cp310-win_amd64.whl filter=lfs diff=lfs merge=lfs -text
68
+ mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl filter=lfs diff=lfs merge=lfs -text
PROVENANCE.json CHANGED
@@ -245,6 +245,91 @@
245
  "builds/windows-cpu/DLL_DEPENDENCIES.txt",
246
  "builds/windows-cpu/PUBLICATION_CHECKS.json"
247
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  }
249
  ],
250
  "builder": "tools/build_patched_wheels.py",
 
245
  "builds/windows-cpu/DLL_DEPENDENCIES.txt",
246
  "builds/windows-cpu/PUBLICATION_CHECKS.json"
247
  ]
248
+ },
249
+ {
250
+ "key": "mmcv-linux-cpu-cp310",
251
+ "distribution": "mmcv",
252
+ "version": "2.2.0",
253
+ "build_tag": "1cpupt240",
254
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
255
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
256
+ "upstream_repository": "https://github.com/open-mmlab/mmcv",
257
+ "upstream_version": "2.2.0",
258
+ "upstream_source_url": "https://files.pythonhosted.org/packages/e9/a2/57a733e7e84985a8a0e3101dfb8170fc9db92435c16afad253069ae3f9df/mmcv-2.2.0.tar.gz",
259
+ "upstream_source_sha256": "ac479247e808d8802f89eadf04d4118de86bdfe81361ec5aed0cc1bf731c67c9",
260
+ "profile": "Linux/WSL2 x86-64 CPython 3.10 / Torch 2.4.0+cpu / glibc >=2.17 only",
261
+ "changes": [
262
+ "Compile unmodified MMCV 2.2.0 with CPU operators only (MMCV_WITH_OPS=1, FORCE_CUDA=0).",
263
+ "Distinct wheel build tag 1cpupt240; auditwheel manylinux2014 repair excludes matching external Torch libraries."
264
+ ],
265
+ "builder": "builds/linux-cpu/build_mmcv.py",
266
+ "compiler": "gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)",
267
+ "build_image": "quay.io/pypa/manylinux2014_x86_64@sha256:55df5597db86b0a03d5f21a03b060271efffc78ef97123c60ee9c7ce0f10ec31",
268
+ "license": "Apache-2.0 generally; see operation-specific upstream LICENSES.md and existing NVIDIA notices",
269
+ "license_files": [
270
+ "licenses/mmcv/LICENSE",
271
+ "licenses/mmcv/LICENSES.md",
272
+ "licenses/mmcv/NVIDIA-StyleGAN2-LICENSE.txt",
273
+ "licenses/mmcv/NVIDIA-StyleGAN3-LICENSE.txt"
274
+ ],
275
+ "validation": {
276
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
277
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
278
+ "size_bytes": 30511921,
279
+ "zip_crc": "passed",
280
+ "duplicate_archive_members": false,
281
+ "record_hashes_and_sizes_verified": 537,
282
+ "elf": "ELF64 little-endian x86-64",
283
+ "extension": "mmcv/_ext.cpython-310-x86_64-linux-gnu.so",
284
+ "build_tag": "1cpupt240",
285
+ "wheel_tags": [
286
+ "cp310-cp310-manylinux2014_x86_64",
287
+ "cp310-cp310-manylinux_2_17_x86_64"
288
+ ],
289
+ "needed_libraries": [
290
+ "libc10.so",
291
+ "libtorch.so",
292
+ "libtorch_cpu.so",
293
+ "libtorch_python.so",
294
+ "libstdc++.so.6",
295
+ "libm.so.6",
296
+ "libgcc_s.so.1",
297
+ "libpthread.so.0",
298
+ "libc.so.6"
299
+ ],
300
+ "cuda_library_dependencies": false,
301
+ "rpath_or_runpath": false,
302
+ "highest_extension_glibc_symbol": "2.14",
303
+ "licenses": [
304
+ "mmcv-2.2.0.dist-info/licenses/",
305
+ "mmcv-2.2.0.dist-info/licenses/LICENSE",
306
+ "mmcv-2.2.0.dist-info/licenses/LICENSES.md"
307
+ ],
308
+ "license_texts_match_existing_publication": true,
309
+ "original_build_validation": {
310
+ "cpu_nms": "passed",
311
+ "cpu_roi_align_forward_backward": "passed",
312
+ "mmpose_hrnet_features": "passed",
313
+ "mmdet_maskrcnn_features": "passed",
314
+ "pip_check": "No broken requirements found."
315
+ },
316
+ "publication_host_smoke": "CPU NMS, RoIAlign forward/backward, checkpoint-free MMPose HRNet and MMDetection Mask R-CNN features passed using exact candidate installed in isolated temporary target over existing CPU runtime",
317
+ "publication_host_pip_check": "passed (temporary candidate with existing CPU dependencies)",
318
+ "not_run": [
319
+ "Complete clean-host compiler-free MAAP3D installation",
320
+ "Checkpoint-backed inference"
321
+ ],
322
+ "abi_note": "Requires matching external Torch 2.4.0+cpu libraries; not a standalone manylinux distribution"
323
+ },
324
+ "reports": [
325
+ "builds/linux-cpu/BUILD_REPORT.json",
326
+ "builds/linux-cpu/INTEGRITY.json",
327
+ "builds/linux-cpu/AUDITWHEEL.txt",
328
+ "builds/linux-cpu/SMOKE_TEST.txt",
329
+ "builds/linux-cpu/PUBLICATION_CHECKS.json",
330
+ "builds/linux-cpu/PUBLICATION_SMOKE.txt",
331
+ "builds/linux-cpu/PUBLICATION_PIP_CHECK.txt"
332
+ ]
333
  }
334
  ],
335
  "builder": "tools/build_patched_wheels.py",
README.md CHANGED
@@ -30,13 +30,14 @@ redistributing or using an artifact.
30
  | `mmcv` | `2.2.0`, Windows `cp310` | Torch 2.4.1/cu121; SM75/80/86/89 | Apache-2.0 generally; see MMCV special-operation NVIDIA notices |
31
  | `mmcv` | `2.2.0`, build `1cu128sm120`, Windows `cp310` | Experimental Torch 2.7.1/cu128; SM120 only | Apache-2.0 generally; see MMCV special-operation NVIDIA notices |
32
  | `mmcv` | `2.2.0`, build `1cpupt241`, Windows `cp310` | Experimental Torch 2.4.1+cpu; AMD64 | Apache-2.0 generally; see MMCV operation-specific notices |
 
33
  | `mmdet` | `3.3.0+maap3d.cfd5d3a9.1` | CUDA 12.1 and CUDA 12.8 full/dev | Apache-2.0 |
34
  | `sam3` | `0.1.0+maap3d.847e1a3b.1` | Legacy CUDA 12.8 artifact with PyTorch >=2.7 | Custom SAM License dated November 19, 2025 |
35
  | `sam3` | `0.1.0+maap3d.847e1a3b.2` | CUDA 12.1 and CUDA 12.8 full/dev with PyTorch >=2.4 | Custom SAM License dated November 19, 2025 |
36
  | `chumpy` | `0.71+maap3d.580566ea.1` | MAAP3D OpenMMLab stacks, including Python 3.12 GB10 | MIT |
37
  | `mmpose` | `1.3.2+maap3d.gb10.5408bc76.1` | GB10 `mmcv-lite` only | Apache-2.0 generally; EDPose files are identified as IDEA License 1.0 |
38
 
39
- This repository contains pure-Python wheels and compiled Windows MMCV wheels.
40
  Each artifact is specific to its stated Python, PyTorch, CUDA, and platform
41
  profile. Do not install every artifact together as a generic environment.
42
 
@@ -104,6 +105,38 @@ inference, and a clean Windows machine without Build Tools have NOT RUN.**
104
  The installer retains its CPU operator/model smoke and final `pip check`.
105
  This remains an experimental component release pending those checks.
106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  ## What was changed
108
 
109
  - **MMDetection:** widens the package's runtime MMCV version guard so the
@@ -174,15 +207,18 @@ After downloading the complete artifact set, verify it with:
174
  sha256sum -c SHA256SUMS
175
  ```
176
 
177
- `SHA256SUMS` covers the eight wheels, the original
178
  `THIRD_PARTY_WHEEL_NOTICES.zip`, and the additive
179
- `THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip`. It does not cover repository documentation,
 
180
  the standalone license copies, or `PROVENANCE.json`.
181
 
182
  The original notices archive retains its earlier release snapshot. The additive
183
  [Windows CPU notices archive](THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip)
184
  contains the updated release notice/provenance and applicable MMCV license
185
- copies, without replacing the existing archive. Each wheel also carries its applicable package license
 
 
186
  metadata. Model checkpoints, PyTorch/CUDA runtimes, `xtcocotools`, and
187
  other transitive dependencies are not included. Model checkpoints can have
188
  terms separate from their source code and must be obtained from an authorized
 
30
  | `mmcv` | `2.2.0`, Windows `cp310` | Torch 2.4.1/cu121; SM75/80/86/89 | Apache-2.0 generally; see MMCV special-operation NVIDIA notices |
31
  | `mmcv` | `2.2.0`, build `1cu128sm120`, Windows `cp310` | Experimental Torch 2.7.1/cu128; SM120 only | Apache-2.0 generally; see MMCV special-operation NVIDIA notices |
32
  | `mmcv` | `2.2.0`, build `1cpupt241`, Windows `cp310` | Experimental Torch 2.4.1+cpu; AMD64 | Apache-2.0 generally; see MMCV operation-specific notices |
33
+ | `mmcv` | `2.2.0`, build `1cpupt240`, Linux `cp310` | Torch 2.4.0+cpu; x86-64 / glibc >=2.17 | Apache-2.0 generally; see MMCV operation-specific notices |
34
  | `mmdet` | `3.3.0+maap3d.cfd5d3a9.1` | CUDA 12.1 and CUDA 12.8 full/dev | Apache-2.0 |
35
  | `sam3` | `0.1.0+maap3d.847e1a3b.1` | Legacy CUDA 12.8 artifact with PyTorch >=2.7 | Custom SAM License dated November 19, 2025 |
36
  | `sam3` | `0.1.0+maap3d.847e1a3b.2` | CUDA 12.1 and CUDA 12.8 full/dev with PyTorch >=2.4 | Custom SAM License dated November 19, 2025 |
37
  | `chumpy` | `0.71+maap3d.580566ea.1` | MAAP3D OpenMMLab stacks, including Python 3.12 GB10 | MIT |
38
  | `mmpose` | `1.3.2+maap3d.gb10.5408bc76.1` | GB10 `mmcv-lite` only | Apache-2.0 generally; EDPose files are identified as IDEA License 1.0 |
39
 
40
+ This repository contains pure-Python wheels and compiled Windows and Linux CPU MMCV wheels.
41
  Each artifact is specific to its stated Python, PyTorch, CUDA, and platform
42
  profile. Do not install every artifact together as a generic environment.
43
 
 
105
  The installer retains its CPU operator/model smoke and final `pip check`.
106
  This remains an experimental component release pending those checks.
107
 
108
+ ## Linux CPU MMCV wheel
109
+
110
+ `mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl`
111
+ is built from unmodified MMCV 2.2.0 for CPython 3.10, Linux/WSL2 x86-64,
112
+ glibc >=2.17 and exactly Torch 2.4.0+cpu (TorchVision 0.19.0+cpu /
113
+ TorchAudio 2.4.0+cpu). SHA-256:
114
+ `d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970`.
115
+
116
+ This wheel contains CPU operators and no CUDA dependencies. Matching Torch
117
+ libraries remain external: the manylinux tags do not make it a standalone
118
+ manylinux distribution or encode the Torch ABI. Python 3.11, ARM64,
119
+ 32-bit Python, musl/Alpine, and CUDA Torch are outside this artifact's target.
120
+ Import Torch before directly loading MMCV operators.
121
+
122
+ The manylinux2014/glibc 2.17 build and fresh verification environment passed
123
+ CPU NMS, RoIAlign forward/backward, checkpoint-free MMPose HRNet and
124
+ MMDetection Mask R-CNN feature checks, and `pip check`. Independent publication
125
+ review checked SHA-256, ZIP CRC, 537 RECORD hashes/sizes, ELF64 x86-64 identity,
126
+ licenses and all shared-library dependencies. Those runtime smokes and
127
+ `pip check` also passed on the Linux publication host using the exact wheel
128
+ installed into a temporary target over the existing CPU runtime. Build scripts,
129
+ original logs and publication checks are under
130
+ [`builds/linux-cpu/`](builds/linux-cpu/). Original candidate-only report wording
131
+ records build-time status before this publication.
132
+
133
+ The updated MAAP3D `python install_package.py --cpu` selects the wheel at an
134
+ immutable revision, verifies SHA-256, and force-reinstalls with `--no-deps`.
135
+ It checks Python, architecture and glibc compatibility before changing packages.
136
+ No MMCV source compilation, CUDA toolkit or NVIDIA GPU is required.
137
+ **Complete installation on a clean host without build tools and real
138
+ checkpoint-backed inference remain NOT RUN.**
139
+
140
  ## What was changed
141
 
142
  - **MMDetection:** widens the package's runtime MMCV version guard so the
 
207
  sha256sum -c SHA256SUMS
208
  ```
209
 
210
+ `SHA256SUMS` covers the nine wheels, the original
211
  `THIRD_PARTY_WHEEL_NOTICES.zip`, and the additive
212
+ `THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip` and
213
+ `THIRD_PARTY_WHEEL_NOTICES-linux-cpu-20261025.zip`. It does not cover repository documentation,
214
  the standalone license copies, or `PROVENANCE.json`.
215
 
216
  The original notices archive retains its earlier release snapshot. The additive
217
  [Windows CPU notices archive](THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip)
218
  contains the updated release notice/provenance and applicable MMCV license
219
+ copies, without replacing the existing archive. The additive
220
+ [Linux CPU notices archive](THIRD_PARTY_WHEEL_NOTICES-linux-cpu-20261025.zip)
221
+ contains the subsequent release notice/provenance and applicable MMCV licenses. Each wheel also carries its applicable package license
222
  metadata. Model checkpoints, PyTorch/CUDA runtimes, `xtcocotools`, and
223
  other transitive dependencies are not included. Model checkpoints can have
224
  terms separate from their source code and must be obtained from an authorized
SHA256SUMS CHANGED
@@ -8,3 +8,5 @@ c67bca0e3d24611cf4241150f5ce9e03ca8b8697f38bb2ba497cabbf996cfcdd mmcv-2.2.0-1cu
8
  14b7d2bed1ae109608b1e50b722c6cbe13ea6bdf01e1cbe1aa57e1a56fa8d4ae THIRD_PARTY_WHEEL_NOTICES.zip
9
  35db4db7d467f45e71e4d50c19ffaf6e35c713053109ff413d199ac503a45389 mmcv-2.2.0-1cpupt241-cp310-cp310-win_amd64.whl
10
  99d8adfd9a317a41b086e3bcf2fc82bed0d6ab0a977fa3ba6853d84aaa3b04a9 THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip
 
 
 
8
  14b7d2bed1ae109608b1e50b722c6cbe13ea6bdf01e1cbe1aa57e1a56fa8d4ae THIRD_PARTY_WHEEL_NOTICES.zip
9
  35db4db7d467f45e71e4d50c19ffaf6e35c713053109ff413d199ac503a45389 mmcv-2.2.0-1cpupt241-cp310-cp310-win_amd64.whl
10
  99d8adfd9a317a41b086e3bcf2fc82bed0d6ab0a977fa3ba6853d84aaa3b04a9 THIRD_PARTY_WHEEL_NOTICES-windows-cpu-20261025.zip
11
+ d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970 mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
12
+ 2b6af5946b18506f5ab5e9d6b69324e6f2aff810b0e011a681dbb489d08c16a9 THIRD_PARTY_WHEEL_NOTICES-linux-cpu-20261025.zip
THIRD_PARTY_WHEEL_NOTICES-linux-cpu-20261025.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b6af5946b18506f5ab5e9d6b69324e6f2aff810b0e011a681dbb489d08c16a9
3
+ size 20031
builds/linux-cpu/AUDITWHEEL.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
3
+ is consistent with the following platform tag: "linux_x86_64".
4
+
5
+ The wheel references external versioned symbols in these
6
+ system-provided shared libraries: libpthread.so.0 with versions
7
+ {'GLIBC_2.2.5'}, libgcc_s.so.1 with versions {'GCC_3.0'}, libm.so.6
8
+ with versions {'GLIBC_2.2.5'}, libc.so.6 with versions {'GLIBC_2.2.5',
9
+ 'GLIBC_2.14'}, libstdc++.so.6 with versions {'CXXABI_1.3.3',
10
+ 'CXXABI_1.3.2', 'CXXABI_1.3.5', 'GLIBCXX_3.4.9', 'GLIBCXX_3.4.18',
11
+ 'GLIBCXX_3.4', 'CXXABI_1.3'}
12
+
13
+ This constrains the platform tag to "manylinux_2_17_x86_64". In order
14
+ to achieve a more compatible tag, you would need to recompile a new
15
+ wheel from source on a system with earlier versions of these
16
+ libraries, such as a recent manylinux image.
builds/linux-cpu/BUILD_LOG.txt ADDED
The diff for this file is too large to render. See raw diff
 
builds/linux-cpu/BUILD_REPORT.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
3
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
4
+ "size_bytes": 30511921,
5
+ "python": "3.10.22",
6
+ "architecture": "x86_64",
7
+ "glibc": [
8
+ "glibc",
9
+ "2.17"
10
+ ],
11
+ "compiler": "gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)",
12
+ "torch": "2.4.0+cpu",
13
+ "numpy": "1.26.4",
14
+ "mmcv": "2.2.0",
15
+ "source": {
16
+ "filename": "mmcv-2.2.0.tar.gz",
17
+ "sha256": "ac479247e808d8802f89eadf04d4118de86bdfe81361ec5aed0cc1bf731c67c9",
18
+ "url": "https://files.pythonhosted.org/packages/e9/a2/57a733e7e84985a8a0e3101dfb8170fc9db92435c16afad253069ae3f9df/mmcv-2.2.0.tar.gz"
19
+ },
20
+ "extension": "mmcv/_ext.cpython-310-x86_64-linux-gnu.so",
21
+ "external_torch_libraries": [
22
+ "libc10.so",
23
+ "libtorch.so",
24
+ "libtorch_cpu.so",
25
+ "libtorch_python.so"
26
+ ],
27
+ "build_image": "quay.io/pypa/manylinux2014_x86_64@sha256:55df5597db86b0a03d5f21a03b060271efffc78ef97123c60ee9c7ce0f10ec31",
28
+ "validation": {
29
+ "cpu_nms": "passed",
30
+ "cpu_roi_align_forward_backward": "passed",
31
+ "mmpose_hrnet_features": "passed",
32
+ "mmdet_maskrcnn_features": "passed",
33
+ "pip_check": "No broken requirements found."
34
+ },
35
+ "limits": [
36
+ "CPython 3.10 and Linux x86-64 only; no CUDA operators",
37
+ "Requires the matching PyTorch CPU libraries; not a standalone manylinux wheel",
38
+ "No model checkpoints or complete MAAP3D installation tested",
39
+ "Local candidate; not published or wired into installers"
40
+ ],
41
+ "build_backend": "distutils fallback; future recipe adds Ninja to PATH",
42
+ "integrity_report": "INTEGRITY.json: 537 verified RECORD hashes; no CUDA shared-library dependencies",
43
+ "build_requirements": {
44
+ "pip": "25.0.1",
45
+ "setuptools": "80.9.0",
46
+ "wheel": "0.44.0",
47
+ "ninja": "1.11.1.4",
48
+ "psutil": "6.1.1",
49
+ "auditwheel": "6.4.2"
50
+ }
51
+ }
builds/linux-cpu/INTEGRITY.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
3
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
4
+ "record_hashes_verified": 537,
5
+ "licenses": [
6
+ "mmcv-2.2.0.dist-info/licenses/LICENSE",
7
+ "mmcv-2.2.0.dist-info/licenses/LICENSES.md"
8
+ ],
9
+ "needed_libraries": [
10
+ "0x0000000000000001 (NEEDED) Shared library: [libc10.so]",
11
+ "0x0000000000000001 (NEEDED) Shared library: [libtorch.so]",
12
+ "0x0000000000000001 (NEEDED) Shared library: [libtorch_cpu.so]",
13
+ "0x0000000000000001 (NEEDED) Shared library: [libtorch_python.so]",
14
+ "0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]",
15
+ "0x0000000000000001 (NEEDED) Shared library: [libm.so.6]",
16
+ "0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]",
17
+ "0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]",
18
+ "0x0000000000000001 (NEEDED) Shared library: [libc.so.6]"
19
+ ],
20
+ "cuda_shared_library_dependencies": false
21
+ }
builds/linux-cpu/PIP_CHECK.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ No broken requirements found.
builds/linux-cpu/PUBLICATION_CHECKS.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
3
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
4
+ "size_bytes": 30511921,
5
+ "zip_crc": "passed",
6
+ "duplicate_archive_members": false,
7
+ "record_hashes_and_sizes_verified": 537,
8
+ "elf": "ELF64 little-endian x86-64",
9
+ "extension": "mmcv/_ext.cpython-310-x86_64-linux-gnu.so",
10
+ "build_tag": "1cpupt240",
11
+ "wheel_tags": [
12
+ "cp310-cp310-manylinux2014_x86_64",
13
+ "cp310-cp310-manylinux_2_17_x86_64"
14
+ ],
15
+ "needed_libraries": [
16
+ "libc10.so",
17
+ "libtorch.so",
18
+ "libtorch_cpu.so",
19
+ "libtorch_python.so",
20
+ "libstdc++.so.6",
21
+ "libm.so.6",
22
+ "libgcc_s.so.1",
23
+ "libpthread.so.0",
24
+ "libc.so.6"
25
+ ],
26
+ "cuda_library_dependencies": false,
27
+ "rpath_or_runpath": false,
28
+ "highest_extension_glibc_symbol": "2.14",
29
+ "licenses": [
30
+ "mmcv-2.2.0.dist-info/licenses/",
31
+ "mmcv-2.2.0.dist-info/licenses/LICENSE",
32
+ "mmcv-2.2.0.dist-info/licenses/LICENSES.md"
33
+ ],
34
+ "license_texts_match_existing_publication": true,
35
+ "original_build_validation": {
36
+ "cpu_nms": "passed",
37
+ "cpu_roi_align_forward_backward": "passed",
38
+ "mmpose_hrnet_features": "passed",
39
+ "mmdet_maskrcnn_features": "passed",
40
+ "pip_check": "No broken requirements found."
41
+ },
42
+ "publication_host_smoke": "CPU NMS, RoIAlign forward/backward, checkpoint-free MMPose HRNet and MMDetection Mask R-CNN features passed using exact candidate installed in isolated temporary target over existing CPU runtime",
43
+ "publication_host_pip_check": "passed (temporary candidate with existing CPU dependencies)",
44
+ "not_run": [
45
+ "Complete clean-host compiler-free MAAP3D installation",
46
+ "Checkpoint-backed inference"
47
+ ],
48
+ "abi_note": "Requires matching external Torch 2.4.0+cpu libraries; not a standalone manylinux distribution"
49
+ }
builds/linux-cpu/PUBLICATION_INSTALL.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ WARNING: The directory '/home/alexchan/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2
+ Processing ./dist/linux-mmcv-cpu/mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
3
+ Installing collected packages: mmcv
4
+ Successfully installed mmcv-2.2.0
builds/linux-cpu/PUBLICATION_PIP_CHECK.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ WARNING: The directory '/home/alexchan/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2
+ No broken requirements found.
builds/linux-cpu/PUBLICATION_SMOKE.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /home/alexchan/anaconda3/envs/MAAP_cpu/lib/python3.10/site-packages/mmengine/optim/optimizer/zero_optimizer.py:11: DeprecationWarning: `TorchScript` support for functional optimizers is deprecated and will be removed in a future PyTorch release. Consider using the `torch.compile` optimizer instead.
2
+ from torch.distributed.optim import \
3
+ /home/alexchan/.config/matplotlib is not a writable directory
4
+ Matplotlib created a temporary cache directory at /tmp/matplotlib-v27c_bzn because there was an issue with the default path (/home/alexchan/.config/matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
5
+ Fontconfig error: No writable cache directories
6
+ Fontconfig error: No writable cache directories
7
+ /home/alexchan/anaconda3/envs/MAAP_cpu/lib/python3.10/site-packages/mmpose/datasets/datasets/utils.py:102: UserWarning: The metainfo config file "configs/_base_/datasets/ak.py" does not exist. A matched config file "/home/alexchan/anaconda3/envs/MAAP_cpu/lib/python3.10/site-packages/mmpose/.mim/configs/_base_/datasets/ak.py" will be used instead.
8
+ warnings.warn(
9
+ Candidate: /tmp/maap3d-linux-cpu-review/site-packages/mmcv/__init__.py
10
+ CPU OpenMMLab smoke passed: torch=2.4.0+cpu mmcv=2.2.0 mmpose=1.3.2 mmdet=3.3.0+maap3d.cfd5d3a9.1
builds/linux-cpu/README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Linux CPU MMCV wheel
2
+
3
+ This builds a local MMCV 2.2.0 candidate for **CPython 3.10, Linux x86-64,
4
+ and PyTorch 2.4.0+cpu**, matching the Linux CPU installer. Windows and macOS
5
+ need separate builds. There are no CUDA operators in this artifact.
6
+
7
+ From the repository root, with Docker available:
8
+
9
+ ```bash
10
+ mkdir -p dist/linux-mmcv-cpu
11
+ image=quay.io/pypa/manylinux2014_x86_64@sha256:55df5597db86b0a03d5f21a03b060271efffc78ef97123c60ee9c7ce0f10ec31
12
+ docker run --rm --user "$(id -u):$(id -g)" --memory=7g --memory-swap=8g --cpus=2 \
13
+ -v "$PWD:/repo:ro" \
14
+ -v "$PWD/dist/linux-mmcv-cpu:/output" \
15
+ -e PYTHONDONTWRITEBYTECODE=1 \
16
+ -e MAAP3D_BUILD_IMAGE="$image" \
17
+ "$image" \
18
+ /opt/python/cp310-cp310/bin/python /repo/linux_mmcv_cpu/build_mmcv.py \
19
+ --output-dir /output
20
+ ```
21
+
22
+ Use an empty output directory for each candidate. The build uses temporary
23
+ environments inside the container and does not modify host Python packages.
24
+ The MMCV source archive is checked against the installer's SHA-256 pin.
25
+ Dependency pins and the actual compiler/Python versions are recorded in
26
+ `BUILD_REPORT.json`, together with the pinned Docker image digest. Pip is
27
+ bootstrapped to 25.0.1 to handle dependency metadata consistently.
28
+ To repeat validation of an existing candidate, append `--verify-only` to the
29
+ Python command. Its existing `BUILD_REPORT.json` must match the wheel; original
30
+ build provenance is preserved when validation results are updated. Verification pins Pillow 9.5.0 so its binary wheel works on
31
+ the container's older glibc baseline, along with NumPy 1.26.4.
32
+
33
+ The wheel has a `1cpupt240` build tag. Auditwheel repairs its system-library
34
+ dependencies against the manylinux2014/glibc 2.17 baseline. **PyTorch libraries
35
+ remain external**, so this is not a standalone manylinux distribution: users
36
+ must install the matching PyTorch CPU runtime and import Torch before MMCV
37
+ operators. The manylinux tags do not promise compatibility with other Torch
38
+ versions, CPU architectures, or musl/Alpine Linux.
39
+
40
+ The script installs the wheel in a second virtual environment and runs the
41
+ repository's CPU NMS, RoIAlign forward/backward, checkpoint-free HRNet, and
42
+ Mask R-CNN feature checks, followed by `pip check`. This environment is still
43
+ inside the build container; it does not establish a compiler-free installation
44
+ of every dependency or validate checkpoint-backed MAAP3D workflows.
45
+
46
+ Successful output includes the wheel, `SHA256SUMS`, `BUILD_REPORT.json`,
47
+ `AUDITWHEEL.txt`, `SMOKE_TEST.txt`, `PIP_CHECK.txt`, and the verification
48
+ environment's frozen requirements. Keep these files together.
49
+
50
+ This command only builds and validates local files. It does not publish a
51
+ wheel or change `install_package.py --cpu` to download it.
52
+
53
+ ## Candidate built on 2026-10-21
54
+
55
+ - Wheel: `mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl`
56
+ - SHA-256: `d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970`
57
+ - CPU operator/model feature checks and `pip check` passed in the fresh
58
+ verification environment. The wheel's 537 RECORD hashes and license files
59
+ were checked separately; its compiled extension links to no CUDA libraries.
60
+ - The first build used the distutils fallback because Ninja was absent from
61
+ PATH. The recipe now adds its build environment's bin directory to PATH.
62
+ - Local artifacts and validation logs are under `dist/linux-mmcv-cpu/`, which
63
+ is ignored by Git. `INTEGRITY.json` records the independent file-hash and
64
+ ELF dependency checks.
builds/linux-cpu/SHA256SUMS ADDED
@@ -0,0 +1 @@
 
 
1
+ d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970 mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
builds/linux-cpu/SMOKE_TEST.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ CPU OpenMMLab smoke passed: torch=2.4.0+cpu mmcv=2.2.0 mmpose=1.3.2 mmdet=3.3.0+maap3d.cfd5d3a9.1
2
+ /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages/mmengine/optim/optimizer/zero_optimizer.py:11: DeprecationWarning: `TorchScript` support for functional optimizers is deprecated and will be removed in a future PyTorch release. Consider using the `torch.compile` optimizer instead.
3
+ from torch.distributed.optim import \
4
+ /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages/mmengine/utils/package_utils.py:48: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
5
+ from pkg_resources import DistributionNotFound, get_distribution
6
+ /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages/mmpose/datasets/datasets/utils.py:102: UserWarning: The metainfo config file "configs/_base_/datasets/ak.py" does not exist. A matched config file "/tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages/mmpose/.mim/configs/_base_/datasets/ak.py" will be used instead.
7
+ warnings.warn(
builds/linux-cpu/VERIFICATION_LOG.txt ADDED
@@ -0,0 +1,359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Running: /opt/python/cp310-cp310/bin/python -m venv /tmp/maap3d-linux-cpu-hdnepvf2/verify
2
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip --disable-pip-version-check install pip==25.0.1
3
+ Collecting pip==25.0.1
4
+ Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
5
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 13.8 MB/s eta 0:00:00
6
+ Installing collected packages: pip
7
+ Attempting uninstall: pip
8
+ Found existing installation: pip 23.0.1
9
+ Uninstalling pip-23.0.1:
10
+ Successfully uninstalled pip-23.0.1
11
+ Successfully installed pip-25.0.1
12
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip --disable-pip-version-check install torch==2.4.0+cpu torchvision==0.19.0+cpu numpy==1.26.4 pillow==9.5.0 --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple
13
+ Looking in indexes: https://download.pytorch.org/whl/cpu, https://pypi.org/simple
14
+ Collecting torch==2.4.0+cpu
15
+ Downloading https://download-r2.pytorch.org/whl/cpu/torch-2.4.0%2Bcpu-cp310-cp310-linux_x86_64.whl (195.0 MB)
16
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.0/195.0 MB 19.6 MB/s eta 0:00:00
17
+ Collecting torchvision==0.19.0+cpu
18
+ Downloading https://download-r2.pytorch.org/whl/cpu/torchvision-0.19.0%2Bcpu-cp310-cp310-linux_x86_64.whl (1.6 MB)
19
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 22.1 MB/s eta 0:00:00
20
+ Collecting numpy==1.26.4
21
+ Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
22
+ Collecting pillow==9.5.0
23
+ Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.5 kB)
24
+ Collecting filelock (from torch==2.4.0+cpu)
25
+ Downloading filelock-4.1.0-py3-none-any.whl.metadata (2.0 kB)
26
+ Collecting typing-extensions>=4.8.0 (from torch==2.4.0+cpu)
27
+ Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
28
+ Collecting sympy (from torch==2.4.0+cpu)
29
+ Downloading sympy-1.14.0-py3-none-any.whl.metadata (12 kB)
30
+ Collecting networkx (from torch==2.4.0+cpu)
31
+ Downloading networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
32
+ Collecting jinja2 (from torch==2.4.0+cpu)
33
+ Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
34
+ Collecting fsspec (from torch==2.4.0+cpu)
35
+ Downloading fsspec-2026.9.0-py3-none-any.whl.metadata (10 kB)
36
+ Collecting MarkupSafe>=2.0 (from jinja2->torch==2.4.0+cpu)
37
+ Downloading markupsafe-3.0.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.7 kB)
38
+ Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.4.0+cpu)
39
+ Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
40
+ Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
41
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 30.6 MB/s eta 0:00:00
42
+ Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
43
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 27.4 MB/s eta 0:00:00
44
+ Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB)
45
+ Downloading filelock-4.1.0-py3-none-any.whl (133 kB)
46
+ Downloading fsspec-2026.9.0-py3-none-any.whl (221 kB)
47
+ Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
48
+ Downloading networkx-3.4.2-py3-none-any.whl (1.7 MB)
49
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 35.9 MB/s eta 0:00:00
50
+ Downloading sympy-1.14.0-py3-none-any.whl (6.3 MB)
51
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 20.2 MB/s eta 0:00:00
52
+ Downloading markupsafe-3.0.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (20 kB)
53
+ Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
54
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 35.5 MB/s eta 0:00:00
55
+ Installing collected packages: mpmath, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision
56
+ Successfully installed MarkupSafe-3.0.4 filelock-4.1.0 fsspec-2026.9.0 jinja2-3.1.6 mpmath-1.3.0 networkx-3.4.2 numpy-1.26.4 pillow-9.5.0 sympy-1.14.0 torch-2.4.0+cpu torchvision-0.19.0+cpu typing-extensions-4.16.0
57
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip --disable-pip-version-check install numpy==1.26.4 scipy==1.10.1 setuptools==80.9.0 opencv-python==4.10.0.84 addict==2.4.0 mmengine==0.10.6 yapf==0.43.0
58
+ Requirement already satisfied: numpy==1.26.4 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (1.26.4)
59
+ Collecting scipy==1.10.1
60
+ Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
61
+ Collecting setuptools==80.9.0
62
+ Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB)
63
+ Collecting opencv-python==4.10.0.84
64
+ Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
65
+ Collecting addict==2.4.0
66
+ Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
67
+ Collecting mmengine==0.10.6
68
+ Downloading mmengine-0.10.6-py3-none-any.whl.metadata (20 kB)
69
+ Collecting yapf==0.43.0
70
+ Downloading yapf-0.43.0-py3-none-any.whl.metadata (46 kB)
71
+ Collecting matplotlib (from mmengine==0.10.6)
72
+ Downloading matplotlib-3.10.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (52 kB)
73
+ Collecting pyyaml (from mmengine==0.10.6)
74
+ Downloading pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.4 kB)
75
+ Collecting rich (from mmengine==0.10.6)
76
+ Downloading rich-15.0.0-py3-none-any.whl.metadata (18 kB)
77
+ Collecting termcolor (from mmengine==0.10.6)
78
+ Downloading termcolor-3.3.0-py3-none-any.whl.metadata (6.5 kB)
79
+ Collecting platformdirs>=3.5.1 (from yapf==0.43.0)
80
+ Downloading platformdirs-4.12.4-py3-none-any.whl.metadata (5.5 kB)
81
+ Collecting tomli>=2.0.1 (from yapf==0.43.0)
82
+ Downloading tomli-2.5.0-py3-none-any.whl.metadata (10 kB)
83
+ Collecting contourpy>=1.0.1 (from matplotlib->mmengine==0.10.6)
84
+ Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)
85
+ Collecting cycler>=0.10 (from matplotlib->mmengine==0.10.6)
86
+ Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
87
+ Collecting fonttools>=4.22.0 (from matplotlib->mmengine==0.10.6)
88
+ Downloading fonttools-4.65.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (125 kB)
89
+ Collecting kiwisolver>=1.3.1 (from matplotlib->mmengine==0.10.6)
90
+ Downloading kiwisolver-1.5.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.2 kB)
91
+ Collecting packaging>=20.0 (from matplotlib->mmengine==0.10.6)
92
+ Downloading packaging-26.3-py3-none-any.whl.metadata (3.5 kB)
93
+ Requirement already satisfied: pillow>=8 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmengine==0.10.6) (9.5.0)
94
+ Collecting pyparsing>=3 (from matplotlib->mmengine==0.10.6)
95
+ Downloading pyparsing-3.3.3-py3-none-any.whl.metadata (5.9 kB)
96
+ Collecting python-dateutil>=2.7 (from matplotlib->mmengine==0.10.6)
97
+ Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
98
+ Collecting markdown-it-py>=2.2.0 (from rich->mmengine==0.10.6)
99
+ Downloading markdown_it_py-4.2.0-py3-none-any.whl.metadata (7.4 kB)
100
+ Collecting pygments<3.0.0,>=2.13.0 (from rich->mmengine==0.10.6)
101
+ Downloading pygments-2.21.0-py3-none-any.whl.metadata (2.5 kB)
102
+ Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->mmengine==0.10.6)
103
+ Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
104
+ Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->mmengine==0.10.6)
105
+ Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
106
+ Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)
107
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.4/34.4 MB 18.9 MB/s eta 0:00:00
108
+ Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB)
109
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 21.2 MB/s eta 0:00:00
110
+ Downloading opencv_python-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62.5 MB)
111
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 11.4 MB/s eta 0:00:00
112
+ Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
113
+ Downloading mmengine-0.10.6-py3-none-any.whl (452 kB)
114
+ Downloading yapf-0.43.0-py3-none-any.whl (256 kB)
115
+ Downloading platformdirs-4.12.4-py3-none-any.whl (32 kB)
116
+ Downloading tomli-2.5.0-py3-none-any.whl (14 kB)
117
+ Downloading matplotlib-3.10.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (8.8 MB)
118
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 9.8 MB/s eta 0:00:00
119
+ Downloading pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (770 kB)
120
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.3/770.3 kB 10.5 MB/s eta 0:00:00
121
+ Downloading rich-15.0.0-py3-none-any.whl (310 kB)
122
+ Downloading termcolor-3.3.0-py3-none-any.whl (7.7 kB)
123
+ Downloading contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (325 kB)
124
+ Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
125
+ Downloading fonttools-4.65.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (5.3 MB)
126
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━��━━━━━━━━━ 5.3/5.3 MB 11.3 MB/s eta 0:00:00
127
+ Downloading kiwisolver-1.5.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
128
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 11.6 MB/s eta 0:00:00
129
+ Downloading markdown_it_py-4.2.0-py3-none-any.whl (91 kB)
130
+ Downloading packaging-26.3-py3-none-any.whl (129 kB)
131
+ Downloading pygments-2.21.0-py3-none-any.whl (1.3 MB)
132
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 9.7 MB/s eta 0:00:00
133
+ Downloading pyparsing-3.3.3-py3-none-any.whl (126 kB)
134
+ Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
135
+ Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
136
+ Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
137
+ Installing collected packages: addict, tomli, termcolor, six, setuptools, scipy, pyyaml, pyparsing, pygments, platformdirs, packaging, opencv-python, mdurl, kiwisolver, fonttools, cycler, contourpy, yapf, python-dateutil, markdown-it-py, rich, matplotlib, mmengine
138
+ Attempting uninstall: setuptools
139
+ Found existing installation: setuptools 79.0.1
140
+ Uninstalling setuptools-79.0.1:
141
+ Successfully uninstalled setuptools-79.0.1
142
+ Successfully installed addict-2.4.0 contourpy-1.3.2 cycler-0.12.1 fonttools-4.65.0 kiwisolver-1.5.1 markdown-it-py-4.2.0 matplotlib-3.10.9 mdurl-0.1.2 mmengine-0.10.6 opencv-python-4.10.0.84 packaging-26.3 platformdirs-4.12.4 pygments-2.21.0 pyparsing-3.3.3 python-dateutil-2.9.0.post0 pyyaml-6.0.3 rich-15.0.0 scipy-1.10.1 setuptools-80.9.0 six-1.17.0 termcolor-3.3.0 tomli-2.5.0 yapf-0.43.0
143
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip --disable-pip-version-check install --no-deps /output/mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
144
+ Processing /output/mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
145
+ Installing collected packages: mmcv
146
+ Successfully installed mmcv-2.2.0
147
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -c import install_package as i; i.install_patched_wheel('chumpy'); i.install_patched_wheel('mmdet')
148
+ Processing /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/chumpy-0.71+maap3d.580566ea.1-py3-none-any.whl
149
+ Requirement already satisfied: scipy>=0.13.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from chumpy==0.71+maap3d.580566ea.1) (1.10.1)
150
+ Requirement already satisfied: six>=1.11.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from chumpy==0.71+maap3d.580566ea.1) (1.17.0)
151
+ Requirement already satisfied: numpy<1.27.0,>=1.19.5 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from scipy>=0.13.0->chumpy==0.71+maap3d.580566ea.1) (1.26.4)
152
+ Installing collected packages: chumpy
153
+ Successfully installed chumpy-0.71+maap3d.580566ea.1
154
+
155
+ [notice] A new release of pip is available: 25.0.1 -> 26.2.2
156
+ [notice] To update, run: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip install --upgrade pip
157
+ Processing /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/mmdet-3.3.0+maap3d.cfd5d3a9.1-py3-none-any.whl
158
+ Requirement already satisfied: matplotlib in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmdet==3.3.0+maap3d.cfd5d3a9.1) (3.10.9)
159
+ Requirement already satisfied: numpy in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmdet==3.3.0+maap3d.cfd5d3a9.1) (1.26.4)
160
+ Collecting pycocotools (from mmdet==3.3.0+maap3d.cfd5d3a9.1)
161
+ Downloading pycocotools-2.0.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (1.3 kB)
162
+ Requirement already satisfied: scipy in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmdet==3.3.0+maap3d.cfd5d3a9.1) (1.10.1)
163
+ Collecting shapely (from mmdet==3.3.0+maap3d.cfd5d3a9.1)
164
+ Downloading shapely-2.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (6.8 kB)
165
+ Requirement already satisfied: six in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmdet==3.3.0+maap3d.cfd5d3a9.1) (1.17.0)
166
+ Collecting terminaltables (from mmdet==3.3.0+maap3d.cfd5d3a9.1)
167
+ Downloading terminaltables-3.1.10-py2.py3-none-any.whl.metadata (3.5 kB)
168
+ Collecting tqdm (from mmdet==3.3.0+maap3d.cfd5d3a9.1)
169
+ Downloading tqdm-4.70.1-py3-none-any.whl.metadata (57 kB)
170
+ Requirement already satisfied: contourpy>=1.0.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (1.3.2)
171
+ Requirement already satisfied: cycler>=0.10 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (0.12.1)
172
+ Requirement already satisfied: fonttools>=4.22.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (4.65.0)
173
+ Requirement already satisfied: kiwisolver>=1.3.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (1.5.1)
174
+ Requirement already satisfied: packaging>=20.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (26.3)
175
+ Requirement already satisfied: pillow>=8 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (9.5.0)
176
+ Requirement already satisfied: pyparsing>=3 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (3.3.3)
177
+ Requirement already satisfied: python-dateutil>=2.7 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmdet==3.3.0+maap3d.cfd5d3a9.1) (2.9.0.post0)
178
+ Downloading pycocotools-2.0.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (472 kB)
179
+ Downloading shapely-2.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.1 MB)
180
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 22.3 MB/s eta 0:00:00
181
+ Downloading terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
182
+ Downloading tqdm-4.70.1-py3-none-any.whl (80 kB)
183
+ Installing collected packages: tqdm, terminaltables, shapely, pycocotools, mmdet
184
+ Successfully installed mmdet-3.3.0+maap3d.cfd5d3a9.1 pycocotools-2.0.11 shapely-2.1.2 terminaltables-3.1.10 tqdm-4.70.1
185
+
186
+ [notice] A new release of pip is available: 25.0.1 -> 26.2.2
187
+ [notice] To update, run: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip install --upgrade pip
188
+ Downloading pinned patched wheel: chumpy-0.71+maap3d.580566ea.1-py3-none-any.whl
189
+ [OK] Downloaded and verified patched wheel: /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/chumpy-0.71+maap3d.580566ea.1-py3-none-any.whl
190
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip install /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/chumpy-0.71+maap3d.580566ea.1-py3-none-any.whl
191
+ Downloading pinned patched wheel: mmdet-3.3.0+maap3d.cfd5d3a9.1-py3-none-any.whl
192
+ [OK] Downloaded and verified patched wheel: /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/mmdet-3.3.0+maap3d.cfd5d3a9.1-py3-none-any.whl
193
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip install /tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/mmdet-3.3.0+maap3d.cfd5d3a9.1-py3-none-any.whl
194
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip --disable-pip-version-check install mmpose==1.3.2 mmpretrain==1.2.0 timm==1.0.17 numpy==1.26.4 scipy==1.10.1 opencv-python==4.10.0.84
195
+ Collecting mmpose==1.3.2
196
+ Downloading mmpose-1.3.2-py2.py3-none-any.whl.metadata (29 kB)
197
+ Collecting mmpretrain==1.2.0
198
+ Downloading mmpretrain-1.2.0-py2.py3-none-any.whl.metadata (20 kB)
199
+ Collecting timm==1.0.17
200
+ Downloading timm-1.0.17-py3-none-any.whl.metadata (59 kB)
201
+ Requirement already satisfied: numpy==1.26.4 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (1.26.4)
202
+ Requirement already satisfied: scipy==1.10.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (1.10.1)
203
+ Requirement already satisfied: opencv-python==4.10.0.84 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (4.10.0.84)
204
+ Requirement already satisfied: chumpy in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmpose==1.3.2) (0.71+maap3d.580566ea.1)
205
+ Collecting json-tricks (from mmpose==1.3.2)
206
+ Downloading json_tricks-3.17.3-py2.py3-none-any.whl.metadata (16 kB)
207
+ Requirement already satisfied: matplotlib in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmpose==1.3.2) (3.10.9)
208
+ Collecting munkres (from mmpose==1.3.2)
209
+ Downloading munkres-3.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (13 kB)
210
+ Requirement already satisfied: pillow in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmpose==1.3.2) (9.5.0)
211
+ Requirement already satisfied: torchvision in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmpose==1.3.2) (0.19.0+cpu)
212
+ Collecting xtcocotools>=1.12 (from mmpose==1.3.2)
213
+ Downloading xtcocotools-1.14.3-cp310-cp310-manylinux1_x86_64.whl.metadata (364 bytes)
214
+ Collecting einops (from mmpretrain==1.2.0)
215
+ Downloading einops-0.8.2-py3-none-any.whl.metadata (13 kB)
216
+ Collecting importlib-metadata (from mmpretrain==1.2.0)
217
+ Downloading importlib_metadata-9.0.1-py3-none-any.whl.metadata (4.5 kB)
218
+ Collecting mat4py (from mmpretrain==1.2.0)
219
+ Downloading mat4py-0.6.0-py2.py3-none-any.whl.metadata (2.8 kB)
220
+ Collecting modelindex (from mmpretrain==1.2.0)
221
+ Downloading modelindex-0.0.2-py3-none-any.whl.metadata (756 bytes)
222
+ Requirement already satisfied: rich in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from mmpretrain==1.2.0) (15.0.0)
223
+ Requirement already satisfied: torch in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from timm==1.0.17) (2.4.0+cpu)
224
+ Requirement already satisfied: pyyaml in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from timm==1.0.17) (6.0.3)
225
+ Collecting huggingface_hub (from timm==1.0.17)
226
+ Downloading huggingface_hub-2.2.0-py3-none-any.whl.metadata (16 kB)
227
+ Collecting safetensors (from timm==1.0.17)
228
+ Downloading safetensors-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB)
229
+ Requirement already satisfied: setuptools>=18.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from xtcocotools>=1.12->mmpose==1.3.2) (80.9.0)
230
+ Collecting cython>=0.27.3 (from xtcocotools>=1.12->mmpose==1.3.2)
231
+ Downloading cython-3.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (28 kB)
232
+ Requirement already satisfied: contourpy>=1.0.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (1.3.2)
233
+ Requirement already satisfied: cycler>=0.10 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (0.12.1)
234
+ Requirement already satisfied: fonttools>=4.22.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (4.65.0)
235
+ Requirement already satisfied: kiwisolver>=1.3.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (1.5.1)
236
+ Requirement already satisfied: packaging>=20.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (26.3)
237
+ Requirement already satisfied: pyparsing>=3 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (3.3.3)
238
+ Requirement already satisfied: python-dateutil>=2.7 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from matplotlib->mmpose==1.3.2) (2.9.0.post0)
239
+ Requirement already satisfied: six>=1.11.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from chumpy->mmpose==1.3.2) (1.17.0)
240
+ Collecting click<9.0.0,>=8.4.2 (from huggingface_hub->timm==1.0.17)
241
+ Downloading click-8.5.0-py3-none-any.whl.metadata (2.6 kB)
242
+ Requirement already satisfied: filelock>=3.10.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from huggingface_hub->timm==1.0.17) (4.1.0)
243
+ Requirement already satisfied: fsspec>=2023.5.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from huggingface_hub->timm==1.0.17) (2026.9.0)
244
+ Collecting hf-xet<2.0.0,>=1.6.0 (from huggingface_hub->timm==1.0.17)
245
+ Downloading hf_xet-1.7.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (4.9 kB)
246
+ Collecting httpx2<3,>=2.0.0 (from huggingface_hub->timm==1.0.17)
247
+ Downloading httpx2-2.14.0-py3-none-any.whl.metadata (10 kB)
248
+ Requirement already satisfied: tomli>=1.1.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from huggingface_hub->timm==1.0.17) (2.5.0)
249
+ Requirement already satisfied: tqdm>=4.42.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from huggingface_hub->timm==1.0.17) (4.70.1)
250
+ Requirement already satisfied: typing-extensions>=4.1.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from huggingface_hub->timm==1.0.17) (4.16.0)
251
+ Collecting zipp>=3.20 (from importlib-metadata->mmpretrain==1.2.0)
252
+ Downloading zipp-4.1.1-py3-none-any.whl.metadata (3.6 kB)
253
+ Collecting model-index (from modelindex->mmpretrain==1.2.0)
254
+ Downloading model_index-0.1.11-py3-none-any.whl.metadata (3.9 kB)
255
+ Requirement already satisfied: markdown-it-py>=2.2.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from rich->mmpretrain==1.2.0) (4.2.0)
256
+ Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from rich->mmpretrain==1.2.0) (2.21.0)
257
+ Requirement already satisfied: sympy in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from torch->timm==1.0.17) (1.14.0)
258
+ Requirement already satisfied: networkx in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from torch->timm==1.0.17) (3.4.2)
259
+ Requirement already satisfied: jinja2 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from torch->timm==1.0.17) (3.1.6)
260
+ Collecting anyio>=4.10 (from httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
261
+ Downloading anyio-4.15.1-py3-none-any.whl.metadata (4.7 kB)
262
+ Collecting httpcore2==2.14.0 (from httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
263
+ Downloading httpcore2-2.14.0-py3-none-any.whl.metadata (27 kB)
264
+ Collecting idna>=3.18 (from httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
265
+ Downloading idna-3.20-py3-none-any.whl.metadata (7.2 kB)
266
+ Collecting truststore>=0.10 (from httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
267
+ Downloading truststore-0.10.5-py3-none-any.whl.metadata (4.5 kB)
268
+ Collecting h11>=0.16 (from httpcore2==2.14.0->httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
269
+ Downloading h11-0.16.0-py3-none-any.whl.metadata (8.3 kB)
270
+ Requirement already satisfied: mdurl~=0.1 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich->mmpretrain==1.2.0) (0.1.2)
271
+ Requirement already satisfied: MarkupSafe>=2.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from jinja2->torch->timm==1.0.17) (3.0.4)
272
+ Collecting markdown (from model-index->modelindex->mmpretrain==1.2.0)
273
+ Downloading markdown-3.10.3-py3-none-any.whl.metadata (5.1 kB)
274
+ Collecting ordered-set (from model-index->modelindex->mmpretrain==1.2.0)
275
+ Downloading ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
276
+ Requirement already satisfied: mpmath<1.4,>=1.1.0 in /tmp/maap3d-linux-cpu-hdnepvf2/verify/lib/python3.10/site-packages (from sympy->torch->timm==1.0.17) (1.3.0)
277
+ Collecting exceptiongroup>=1.0.2 (from anyio>=4.10->httpx2<3,>=2.0.0->huggingface_hub->timm==1.0.17)
278
+ Downloading exceptiongroup-1.3.1-py3-none-any.whl.metadata (6.7 kB)
279
+ Downloading mmpose-1.3.2-py2.py3-none-any.whl (1.7 MB)
280
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 14.9 MB/s eta 0:00:00
281
+ Downloading mmpretrain-1.2.0-py2.py3-none-any.whl (1.6 MB)
282
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 21.1 MB/s eta 0:00:00
283
+ Downloading timm-1.0.17-py3-none-any.whl (2.5 MB)
284
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 9.2 MB/s eta 0:00:00
285
+ Downloading xtcocotools-1.14.3-cp310-cp310-manylinux1_x86_64.whl (436 kB)
286
+ Downloading einops-0.8.2-py3-none-any.whl (65 kB)
287
+ Downloading huggingface_hub-2.2.0-py3-none-any.whl (839 kB)
288
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 839.9/839.9 kB 5.6 MB/s eta 0:00:00
289
+ Downloading importlib_metadata-9.0.1-py3-none-any.whl (27 kB)
290
+ Downloading json_tricks-3.17.3-py2.py3-none-any.whl (27 kB)
291
+ Downloading mat4py-0.6.0-py2.py3-none-any.whl (13 kB)
292
+ Downloading modelindex-0.0.2-py3-none-any.whl (2.1 kB)
293
+ Downloading munkres-3.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (173 kB)
294
+ Downloading safetensors-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (516 kB)
295
+ Downloading click-8.5.0-py3-none-any.whl (125 kB)
296
+ Downloading cython-3.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.5 MB)
297
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 5.0 MB/s eta 0:00:00
298
+ Downloading hf_xet-1.7.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.2 MB)
299
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 5.7 MB/s eta 0:00:00
300
+ Downloading httpx2-2.14.0-py3-none-any.whl (96 kB)
301
+ Downloading httpcore2-2.14.0-py3-none-any.whl (84 kB)
302
+ Downloading zipp-4.1.1-py3-none-any.whl (10 kB)
303
+ Downloading model_index-0.1.11-py3-none-any.whl (34 kB)
304
+ Downloading anyio-4.15.1-py3-none-any.whl (132 kB)
305
+ Downloading idna-3.20-py3-none-any.whl (69 kB)
306
+ Downloading truststore-0.10.5-py3-none-any.whl (19 kB)
307
+ Downloading markdown-3.10.3-py3-none-any.whl (110 kB)
308
+ Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
309
+ Downloading exceptiongroup-1.3.1-py3-none-any.whl (16 kB)
310
+ Downloading h11-0.16.0-py3-none-any.whl (37 kB)
311
+ Installing collected packages: mat4py, json-tricks, zipp, truststore, safetensors, ordered-set, munkres, markdown, idna, hf-xet, h11, exceptiongroup, einops, cython, click, model-index, importlib-metadata, httpcore2, anyio, xtcocotools, modelindex, httpx2, mmpretrain, mmpose, huggingface_hub, timm
312
+ Successfully installed anyio-4.15.1 click-8.5.0 cython-3.3.0 einops-0.8.2 exceptiongroup-1.3.1 h11-0.16.0 hf-xet-1.7.0 httpcore2-2.14.0 httpx2-2.14.0 huggingface_hub-2.2.0 idna-3.20 importlib-metadata-9.0.1 json-tricks-3.17.3 markdown-3.10.3 mat4py-0.6.0 mmpose-1.3.2 mmpretrain-1.2.0 model-index-0.1.11 modelindex-0.0.2 munkres-3.0.0 ordered-set-4.1.0 safetensors-0.8.0 timm-1.0.17 truststore-0.10.5 xtcocotools-1.14.3 zipp-4.1.1
313
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python /repo/openmmlab_cpu_smoke.py
314
+ CPU OpenMMLab smoke passed: torch=2.4.0+cpu mmcv=2.2.0 mmpose=1.3.2 mmdet=3.3.0+maap3d.cfd5d3a9.1
315
+
316
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip check
317
+ Running: /tmp/maap3d-linux-cpu-hdnepvf2/verify/bin/python -m pip freeze
318
+ Running: gcc --version
319
+ {
320
+ "wheel": "mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
321
+ "sha256": "d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970",
322
+ "size_bytes": 30511921,
323
+ "python": "3.10.22",
324
+ "architecture": "x86_64",
325
+ "glibc": [
326
+ "glibc",
327
+ "2.17"
328
+ ],
329
+ "compiler": "gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)",
330
+ "torch": "2.4.0+cpu",
331
+ "numpy": "1.26.4",
332
+ "mmcv": "2.2.0",
333
+ "source": {
334
+ "filename": "mmcv-2.2.0.tar.gz",
335
+ "sha256": "ac479247e808d8802f89eadf04d4118de86bdfe81361ec5aed0cc1bf731c67c9",
336
+ "url": "https://files.pythonhosted.org/packages/e9/a2/57a733e7e84985a8a0e3101dfb8170fc9db92435c16afad253069ae3f9df/mmcv-2.2.0.tar.gz"
337
+ },
338
+ "extension": "mmcv/_ext.cpython-310-x86_64-linux-gnu.so",
339
+ "external_torch_libraries": [
340
+ "libc10.so",
341
+ "libtorch.so",
342
+ "libtorch_cpu.so",
343
+ "libtorch_python.so"
344
+ ],
345
+ "build_image": "quay.io/pypa/manylinux2014_x86_64@sha256:55df5597db86b0a03d5f21a03b060271efffc78ef97123c60ee9c7ce0f10ec31",
346
+ "validation": {
347
+ "cpu_nms": "passed",
348
+ "cpu_roi_align_forward_backward": "passed",
349
+ "mmpose_hrnet_features": "passed",
350
+ "mmdet_maskrcnn_features": "passed",
351
+ "pip_check": "No broken requirements found."
352
+ },
353
+ "limits": [
354
+ "CPython 3.10 and Linux x86-64 only; no CUDA operators",
355
+ "Requires the matching PyTorch CPU libraries; not a standalone manylinux wheel",
356
+ "No model checkpoints or complete MAAP3D installation tested",
357
+ "Local candidate; not published or wired into installers"
358
+ ]
359
+ }
builds/linux-cpu/build_mmcv.py ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Build and verify the CPython 3.10/Linux x86-64/Torch 2.4.0 CPU wheel.
3
+
4
+ Run inside the manylinux2014 container documented in README.md. This script
5
+ uses disposable virtual environments and never publishes or edits installers.
6
+ """
7
+
8
+ import argparse
9
+ import hashlib
10
+ import json
11
+ import os
12
+ from pathlib import Path
13
+ import platform
14
+ import subprocess
15
+ import sys
16
+ import tarfile
17
+ import tempfile
18
+ import zipfile
19
+
20
+
21
+ REPO = Path(__file__).resolve().parents[1]
22
+ sys.path.insert(0, str(REPO))
23
+ import install_package as installer
24
+
25
+
26
+ def run(command, **kwargs):
27
+ print("Running:", " ".join(map(str, command)), flush=True)
28
+ result = subprocess.run(list(map(str, command)), check=False, **kwargs)
29
+ if result.returncode and kwargs.get("capture_output"):
30
+ print(result.stdout, flush=True)
31
+ print(result.stderr, file=sys.stderr, flush=True)
32
+ result.check_returncode()
33
+ return result
34
+
35
+
36
+ def pip(python, *arguments):
37
+ run([python, "-m", "pip", "--disable-pip-version-check", *arguments])
38
+
39
+
40
+ def main():
41
+ parser = argparse.ArgumentParser(description=__doc__)
42
+ parser.add_argument("--output-dir", type=Path, required=True)
43
+ parser.add_argument("--verify-only", action="store_true", help="Verify the existing candidate without rebuilding")
44
+ args = parser.parse_args()
45
+ if sys.platform != "linux" or platform.machine() != "x86_64":
46
+ raise RuntimeError("Build this wheel on Linux x86-64.")
47
+ if sys.version_info[:2] != (3, 10):
48
+ raise RuntimeError("This candidate targets CPython 3.10 only.")
49
+ if platform.libc_ver() != ("glibc", "2.17"):
50
+ raise RuntimeError("Use the documented manylinux2014/glibc 2.17 container.")
51
+ output = args.output_dir.resolve()
52
+ output.mkdir(parents=True, exist_ok=True)
53
+ if not args.verify_only and (list(output.glob("*.whl")) or (output / "BUILD_REPORT.json").exists()):
54
+ raise FileExistsError("Use an empty output directory for a new candidate.")
55
+
56
+ environment = os.environ.copy()
57
+ environment.update({
58
+ "PYTHONNOUSERSITE": "1", "PYTHONDONTWRITEBYTECODE": "1",
59
+ "PIP_NO_CACHE_DIR": "1", "MAX_JOBS": "2", "MMCV_WITH_OPS": "1",
60
+ "FORCE_CUDA": "0", "OMP_NUM_THREADS": "2", "MKL_NUM_THREADS": "2",
61
+ })
62
+ os.environ.update(environment)
63
+ with tempfile.TemporaryDirectory(prefix="maap3d-linux-cpu-") as temporary:
64
+ temporary = Path(temporary)
65
+ torch_libs = ["libc10.so", "libtorch.so", "libtorch_cpu.so", "libtorch_python.so"]
66
+ if not args.verify_only:
67
+ build_python = temporary / "build/bin/python"
68
+ run([sys.executable, "-m", "venv", temporary / "build"])
69
+ pip(build_python, "install", "pip==25.0.1")
70
+ pip(build_python, "install", "torch==2.4.0+cpu", "--index-url", installer.CPU_INDEX_URL)
71
+ pip(build_python, "install", "numpy==1.26.4", "setuptools==80.9.0",
72
+ "wheel==0.44.0", "ninja==1.11.1.4", "psutil==6.1.1", "auditwheel==6.4.2")
73
+ environment["PATH"] = str(build_python.parent) + os.pathsep + environment["PATH"]
74
+ run([build_python, "-c", "import torch; assert torch.__version__ == '2.4.0+cpu'; assert torch.version.cuda is None"])
75
+ source = Path(installer.download_mmcv_source(cache_dir=str(temporary / "source")))
76
+ with tarfile.open(source) as archive:
77
+ # The archive's exact SHA-256 is verified before extraction.
78
+ archive.extractall(temporary / "source-tree", filter="data")
79
+ source_root = temporary / "source-tree/mmcv-2.2.0"
80
+ raw = temporary / "raw"
81
+ run([build_python, "setup.py", "bdist_wheel", "--build-number", "1cpupt240",
82
+ "--dist-dir", raw], cwd=source_root, env=environment)
83
+ wheels = list(raw.glob("*.whl"))
84
+ if len(wheels) != 1:
85
+ raise RuntimeError("Expected exactly one CPU wheel.")
86
+ auditwheel = temporary / "build/bin/auditwheel"
87
+ # Torch owns these ABI-matched libraries. Never bundle another copy.
88
+ repair = [auditwheel, "repair", "--plat", "manylinux2014_x86_64", "--wheel-dir", output]
89
+ for library in torch_libs:
90
+ repair.extend(["--exclude", library])
91
+ run([*repair, wheels[0]], env=environment)
92
+ wheel, = output.glob("*.whl")
93
+ audit = run([auditwheel, "show", wheel], capture_output=True, text=True)
94
+ (output / "AUDITWHEEL.txt").write_text(audit.stdout + audit.stderr)
95
+ wheel, = output.glob("*.whl")
96
+ with zipfile.ZipFile(wheel) as archive:
97
+ extension, = [name for name in archive.namelist()
98
+ if name.startswith("mmcv/_ext") and name.endswith(".so")]
99
+ if not any("LICENSE" in name for name in archive.namelist()):
100
+ raise RuntimeError("The wheel must retain its upstream license.")
101
+ if archive.testzip() is not None:
102
+ raise RuntimeError("Corrupt wheel ZIP entry.")
103
+
104
+ report_path = output / "BUILD_REPORT.json"
105
+ if args.verify_only:
106
+ # Revalidation must retain the original compiler/source/image.
107
+ report = json.loads(report_path.read_text())
108
+ if report["wheel"] != wheel.name or report["sha256"] != hashlib.sha256(wheel.read_bytes()).hexdigest():
109
+ raise RuntimeError("Existing build report does not match this wheel.")
110
+ else:
111
+ compiler = run(["gcc", "--version"], capture_output=True, text=True).stdout.splitlines()[0]
112
+ report = {
113
+ "wheel": wheel.name, "sha256": hashlib.sha256(wheel.read_bytes()).hexdigest(),
114
+ "size_bytes": wheel.stat().st_size, "python": platform.python_version(),
115
+ "architecture": platform.machine(), "glibc": platform.libc_ver(),
116
+ "compiler": compiler, "torch": "2.4.0+cpu", "numpy": "1.26.4",
117
+ "mmcv": "2.2.0", "source": installer.MMCV_SOURCE_ARTIFACT,
118
+ "extension": extension, "external_torch_libraries": torch_libs,
119
+ "build_image": os.environ.get("MAAP3D_BUILD_IMAGE", "not recorded"),
120
+ "limits": ["CPython 3.10 and Linux x86-64 only; no CUDA operators",
121
+ "Requires the matching PyTorch CPU libraries; not a standalone manylinux wheel",
122
+ "No model checkpoints or complete MAAP3D installation tested",
123
+ "Local candidate; not published or wired into installers"],
124
+ }
125
+ report["validation"] = {}
126
+ report_path.write_text(json.dumps(report, indent=2) + "\n")
127
+
128
+ # A new environment ensures source-tree/build dependencies cannot mask
129
+ # a missing wheel file or runtime requirement.
130
+ verify_python = temporary / "verify/bin/python"
131
+ run([sys.executable, "-m", "venv", temporary / "verify"])
132
+ pip(verify_python, "install", "pip==25.0.1")
133
+ pip(verify_python, "install", "torch==2.4.0+cpu", "torchvision==0.19.0+cpu",
134
+ "numpy==1.26.4", "pillow==9.5.0",
135
+ "--index-url", installer.CPU_INDEX_URL, "--extra-index-url", "https://pypi.org/simple")
136
+ pip(verify_python, "install", "numpy==1.26.4", "scipy==1.10.1",
137
+ "setuptools==80.9.0", "opencv-python==4.10.0.84",
138
+ *installer.MMCV_RUNTIME_PREREQUISITES)
139
+ pip(verify_python, "install", "--no-deps", str(wheel))
140
+ run([verify_python, "-c",
141
+ "import install_package as i; i.install_patched_wheel('chumpy'); i.install_patched_wheel('mmdet')"], cwd=REPO)
142
+ pip(verify_python, "install", "mmpose==1.3.2", "mmpretrain==1.2.0",
143
+ "timm==1.0.17", "numpy==1.26.4", "scipy==1.10.1",
144
+ "opencv-python==4.10.0.84")
145
+ smoke = run([verify_python, REPO / "openmmlab_cpu_smoke.py"], cwd=temporary,
146
+ capture_output=True, text=True, env=environment)
147
+ (output / "SMOKE_TEST.txt").write_text(smoke.stdout + smoke.stderr)
148
+ print(smoke.stdout, flush=True)
149
+ checked = run([verify_python, "-m", "pip", "check"], capture_output=True, text=True)
150
+ (output / "PIP_CHECK.txt").write_text(checked.stdout + checked.stderr)
151
+ frozen = run([verify_python, "-m", "pip", "freeze"], capture_output=True, text=True)
152
+ (output / "verification-requirements.txt").write_text(frozen.stdout)
153
+ report["validation"] = {
154
+ "cpu_nms": "passed", "cpu_roi_align_forward_backward": "passed",
155
+ "mmpose_hrnet_features": "passed", "mmdet_maskrcnn_features": "passed",
156
+ "pip_check": checked.stdout.strip(),
157
+ }
158
+ (output / "BUILD_REPORT.json").write_text(json.dumps(report, indent=2) + "\n")
159
+ (output / "SHA256SUMS").write_text(report["sha256"] + " " + wheel.name + "\n")
160
+ print(json.dumps(report, indent=2), flush=True)
161
+
162
+
163
+ if __name__ == "__main__":
164
+ main()
builds/linux-cpu/openmmlab_cpu_smoke.py ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Exercise compiled MMCV ops and checkpoint-free OpenMMLab models on CPU."""
3
+
4
+ import importlib.util
5
+ import os
6
+
7
+ from openmmlab_cuda_smoke import (
8
+ MMDET_CONFIG,
9
+ MMPOSE_CONFIG,
10
+ _assert_feature_tensors,
11
+ _disable_init_cfg,
12
+ )
13
+
14
+
15
+ def run_smoke():
16
+ import mmcv
17
+ import mmdet
18
+ import mmpose
19
+ import torch
20
+ from mmcv.ops import nms, roi_align
21
+ from mmengine.config import Config
22
+
23
+ if torch.version.cuda is not None or torch.version.hip is not None:
24
+ raise RuntimeError("The CPU smoke requires a CPU-only PyTorch build.")
25
+ if importlib.util.find_spec("mmcv._ext") is None:
26
+ raise RuntimeError("Compiled mmcv._ext is missing from the CPU profile.")
27
+
28
+ device = torch.device("cpu")
29
+ boxes = torch.tensor(
30
+ [[0.0, 0.0, 10.0, 10.0], [1.0, 1.0, 9.0, 9.0], [20.0, 20.0, 30.0, 30.0]]
31
+ )
32
+ scores = torch.tensor([0.9, 0.8, 0.7])
33
+ detections, kept = nms(boxes, scores, 0.5)
34
+ if kept.tolist() != [0, 2] or not torch.isfinite(detections).all():
35
+ raise RuntimeError("MMCV CPU NMS returned unexpected results.")
36
+
37
+ feature_map = torch.arange(256.0).reshape(1, 1, 16, 16).requires_grad_()
38
+ rois = torch.tensor([[0.0, 1.0, 1.0, 12.0, 12.0]])
39
+ pooled = roi_align(feature_map, rois, (4, 4), 1.0, 0, "avg", True)
40
+ pooled.sum().backward()
41
+ if not torch.isfinite(pooled).all() or feature_map.grad is None:
42
+ raise RuntimeError("MMCV CPU RoIAlign forward/backward failed.")
43
+ if not torch.isfinite(feature_map.grad).all():
44
+ raise RuntimeError("MMCV CPU RoIAlign returned invalid gradients.")
45
+
46
+ from mmpose.apis import init_model
47
+
48
+ pose_cfg = Config.fromfile(os.fspath(MMPOSE_CONFIG))
49
+ _disable_init_cfg(pose_cfg.model)
50
+ pose_model = init_model(pose_cfg, checkpoint=None, device="cpu").eval()
51
+ pose_size = tuple(pose_cfg.codec.input_size)
52
+ with torch.inference_mode():
53
+ pose_features = pose_model.extract_feat(
54
+ torch.zeros((1, 3, pose_size[1], pose_size[0]))
55
+ )
56
+ _assert_feature_tensors(pose_features, label="MMPose HRNet", device=device)
57
+ del pose_features, pose_model
58
+
59
+ from mmdet.registry import MODELS
60
+ from mmdet.utils import register_all_modules
61
+
62
+ register_all_modules(init_default_scope=True)
63
+ detection_cfg = Config.fromfile(os.fspath(MMDET_CONFIG))
64
+ _disable_init_cfg(detection_cfg.model)
65
+ detection_model = MODELS.build(detection_cfg.model).to(device).eval()
66
+ with torch.inference_mode():
67
+ detection_features = detection_model.extract_feat(
68
+ torch.zeros((1, 3, 256, 256))
69
+ )
70
+ _assert_feature_tensors(
71
+ detection_features, label="MMDetection Mask R-CNN", device=device
72
+ )
73
+ print(
74
+ "CPU OpenMMLab smoke passed:",
75
+ f"torch={torch.__version__}",
76
+ f"mmcv={mmcv.__version__}",
77
+ f"mmpose={mmpose.__version__}",
78
+ f"mmdet={mmdet.__version__}",
79
+ )
80
+
81
+
82
+ if __name__ == "__main__":
83
+ run_smoke()
builds/linux-cpu/openmmlab_cuda_smoke.py ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Exercise compiled MMCV ops and MAAP3D OpenMMLab models on CUDA."""
3
+
4
+ import argparse
5
+ import importlib.resources
6
+ import importlib.util
7
+ import os
8
+ from collections.abc import Mapping
9
+ from pathlib import Path
10
+
11
+
12
+ REPOSITORY_ROOT = Path(__file__).resolve().parent
13
+ MMPOSE_CONFIG = REPOSITORY_ROOT / "MAAP3D/MMPoseConfigs/hrnet.py"
14
+ MMDET_CONFIG = REPOSITORY_ROOT / "MAAP3D/MMDetConfigs/maskrcnn50.py"
15
+ SAM3_TOKENIZER_ASSET = "assets/bpe_simple_vocab_16e6.txt.gz"
16
+
17
+
18
+ def _disable_init_cfg(value):
19
+ """Recursively disable model initializers that could fetch checkpoints."""
20
+
21
+ if isinstance(value, Mapping):
22
+ for key in list(value):
23
+ if key == "init_cfg":
24
+ value[key] = None
25
+ else:
26
+ _disable_init_cfg(value[key])
27
+ elif isinstance(value, (list, tuple)):
28
+ for item in value:
29
+ _disable_init_cfg(item)
30
+
31
+
32
+ def _assert_feature_tensors(features, *, label, device):
33
+ """Require a non-empty finite feature collection on the requested device."""
34
+
35
+ import torch
36
+
37
+ if isinstance(features, torch.Tensor):
38
+ tensors = [features]
39
+ elif isinstance(features, (list, tuple)):
40
+ tensors = [item for item in features if isinstance(item, torch.Tensor)]
41
+ else:
42
+ tensors = []
43
+ if not tensors:
44
+ raise RuntimeError(f"{label} returned no feature tensors.")
45
+ for tensor in tensors:
46
+ if tensor.device != device:
47
+ raise RuntimeError(
48
+ f"{label} returned a feature on {tensor.device}, expected {device}."
49
+ )
50
+ if not torch.isfinite(tensor).all():
51
+ raise RuntimeError(f"{label} returned non-finite feature values.")
52
+
53
+
54
+ def _verify_sam3_import_surface():
55
+ """Verify SAM3 imports and its tokenizer asset without loading a checkpoint."""
56
+
57
+ from sam3.model_builder import build_sam3_video_predictor
58
+
59
+ if not callable(build_sam3_video_predictor):
60
+ raise RuntimeError("SAM3 video predictor builder is not callable.")
61
+ tokenizer_asset = importlib.resources.files("sam3").joinpath(
62
+ SAM3_TOKENIZER_ASSET
63
+ )
64
+ if not tokenizer_asset.is_file():
65
+ raise RuntimeError(f"SAM3 tokenizer asset is missing: {tokenizer_asset}")
66
+
67
+
68
+ def _verify_sam3_triton_kernels(device):
69
+ """Compile and verify the SAM3 Triton kernels used by MAAP3D inference."""
70
+
71
+ import torch
72
+ from sam3.model.edt import edt_triton
73
+ from sam3.perflib.triton.connected_components import (
74
+ connected_components_triton,
75
+ )
76
+ from sam3.perflib.triton.nms import nms_triton
77
+
78
+ mask = torch.zeros((1, 4, 4), dtype=torch.bool, device=device)
79
+ mask[:, 1:3, 1:3] = True
80
+ distances = edt_triton(mask)
81
+ expected_distances = mask.to(dtype=torch.float32)
82
+ if not torch.equal(distances, expected_distances):
83
+ raise RuntimeError("SAM3 Triton EDT returned unexpected CUDA results.")
84
+
85
+ labels, component_sizes = connected_components_triton(mask.contiguous())
86
+ if labels.shape != mask.shape:
87
+ raise RuntimeError("SAM3 Triton connected-components changed the mask shape.")
88
+ if not torch.equal(
89
+ component_sizes[mask],
90
+ torch.full((4,), 4, dtype=torch.int32, device=device),
91
+ ):
92
+ raise RuntimeError(
93
+ "SAM3 Triton connected-components returned unexpected foreground sizes."
94
+ )
95
+ if not torch.equal(
96
+ component_sizes[~mask],
97
+ torch.zeros((12,), dtype=torch.int32, device=device),
98
+ ):
99
+ raise RuntimeError(
100
+ "SAM3 Triton connected-components returned unexpected background sizes."
101
+ )
102
+
103
+ ious = torch.tensor(
104
+ [[1.0, 0.8, 0.0], [0.8, 1.0, 0.0], [0.0, 0.0, 1.0]],
105
+ dtype=torch.float32,
106
+ device=device,
107
+ )
108
+ scores = torch.tensor([0.9, 0.8, 0.7], dtype=torch.float32, device=device)
109
+ kept_indices = nms_triton(ious, scores, 0.5)
110
+ if kept_indices.tolist() != [0, 2]:
111
+ raise RuntimeError("SAM3 Triton NMS returned unexpected CUDA results.")
112
+ torch.cuda.synchronize(device)
113
+
114
+
115
+ def run_smoke(device="cuda:0", expected_cuda="12.8", verify_sam3_triton=False):
116
+ """Run CUDA operators plus checkpoint-free pose/detection feature passes."""
117
+
118
+ import mmcv
119
+ import mmdet
120
+ import mmpose
121
+ import torch
122
+ from mmcv.ops import nms, roi_align
123
+ from mmengine.config import Config
124
+
125
+ if not isinstance(device, str) or not device.strip():
126
+ raise ValueError("device must be a non-empty string.")
127
+ if not isinstance(expected_cuda, str) or not expected_cuda.strip():
128
+ raise ValueError("expected_cuda must be a non-empty string.")
129
+ if type(verify_sam3_triton) is not bool:
130
+ raise ValueError("verify_sam3_triton must be a boolean.")
131
+ requested_device = torch.device(device)
132
+ if requested_device.type != "cuda":
133
+ raise ValueError("The OpenMMLab smoke requires a cuda:* device.")
134
+ if torch.version.cuda != expected_cuda or torch.version.hip is not None:
135
+ raise RuntimeError(
136
+ "The OpenMMLab smoke requires PyTorch built for CUDA "
137
+ f"{expected_cuda}."
138
+ )
139
+ if not torch.cuda.is_available():
140
+ raise RuntimeError("PyTorch cannot access an NVIDIA CUDA GPU.")
141
+ if importlib.util.find_spec("mmcv._ext") is None:
142
+ raise RuntimeError(
143
+ "Compiled mmcv._ext is missing; mmcv-lite is not a full CUDA install."
144
+ )
145
+
146
+ boxes = torch.tensor(
147
+ [[0.0, 0.0, 10.0, 10.0], [1.0, 1.0, 9.0, 9.0], [20.0, 20.0, 30.0, 30.0]],
148
+ dtype=torch.float32,
149
+ device=requested_device,
150
+ )
151
+ scores = torch.tensor(
152
+ [0.9, 0.8, 0.7], dtype=torch.float32, device=requested_device
153
+ )
154
+ detections, kept_indices = nms(boxes, scores, iou_threshold=0.5)
155
+ if detections.device != requested_device or kept_indices.tolist() != [0, 2]:
156
+ raise RuntimeError("MMCV NMS returned unexpected CUDA results.")
157
+
158
+ feature_map = torch.arange(
159
+ 256, dtype=torch.float32, device=requested_device
160
+ ).reshape(1, 1, 16, 16)
161
+ feature_map.requires_grad_(True)
162
+ rois = torch.tensor(
163
+ [[0.0, 1.0, 1.0, 12.0, 12.0]],
164
+ dtype=torch.float32,
165
+ device=requested_device,
166
+ )
167
+ pooled = roi_align(
168
+ feature_map,
169
+ rois,
170
+ (4, 4),
171
+ 1.0,
172
+ 0,
173
+ "avg",
174
+ True,
175
+ )
176
+ pooled.sum().backward()
177
+ if pooled.device != requested_device or not torch.isfinite(pooled).all():
178
+ raise RuntimeError("MMCV RoIAlign forward returned invalid CUDA output.")
179
+ if feature_map.grad is None or not torch.isfinite(feature_map.grad).all():
180
+ raise RuntimeError("MMCV RoIAlign backward returned invalid CUDA gradients.")
181
+ torch.cuda.synchronize(requested_device)
182
+
183
+ from mmpose.apis import init_model
184
+
185
+ pose_cfg = Config.fromfile(os.fspath(MMPOSE_CONFIG))
186
+ _disable_init_cfg(pose_cfg.model)
187
+ pose_model = init_model(pose_cfg, checkpoint=None, device=device)
188
+ pose_input_size = tuple(pose_cfg.codec.input_size)
189
+ pose_inputs = torch.zeros(
190
+ (1, 3, pose_input_size[1], pose_input_size[0]),
191
+ dtype=torch.float32,
192
+ device=requested_device,
193
+ )
194
+ with torch.inference_mode():
195
+ pose_features = pose_model.extract_feat(pose_inputs)
196
+ _assert_feature_tensors(
197
+ pose_features,
198
+ label="MMPose HRNet",
199
+ device=requested_device,
200
+ )
201
+ del pose_features, pose_inputs, pose_model
202
+ torch.cuda.empty_cache()
203
+
204
+ from mmdet.registry import MODELS
205
+ from mmdet.utils import register_all_modules
206
+
207
+ register_all_modules(init_default_scope=True)
208
+ detection_cfg = Config.fromfile(os.fspath(MMDET_CONFIG))
209
+ _disable_init_cfg(detection_cfg.model)
210
+ detection_model = MODELS.build(detection_cfg.model).to(requested_device).eval()
211
+ detection_inputs = torch.zeros(
212
+ (1, 3, 256, 256), dtype=torch.float32, device=requested_device
213
+ )
214
+ with torch.inference_mode():
215
+ detection_features = detection_model.extract_feat(detection_inputs)
216
+ _assert_feature_tensors(
217
+ detection_features,
218
+ label="MMDetection Mask R-CNN",
219
+ device=requested_device,
220
+ )
221
+ torch.cuda.synchronize(requested_device)
222
+
223
+ _verify_sam3_import_surface()
224
+ if verify_sam3_triton:
225
+ _verify_sam3_triton_kernels(requested_device)
226
+ print(
227
+ f"CUDA {expected_cuda} OpenMMLab smoke passed:",
228
+ f"device={torch.cuda.get_device_name(requested_device)}",
229
+ f"cuda={torch.version.cuda}",
230
+ f"torch={torch.__version__}",
231
+ f"mmcv={mmcv.__version__}",
232
+ f"mmpose={mmpose.__version__}",
233
+ f"mmdet={mmdet.__version__}",
234
+ "sam3=import-and-assets-ok",
235
+ f"sam3-triton={'verified' if verify_sam3_triton else 'not-requested'}",
236
+ )
237
+
238
+
239
+ def main():
240
+ parser = argparse.ArgumentParser(description=__doc__)
241
+ parser.add_argument("--device", default="cuda:0")
242
+ parser.add_argument("--expected-cuda", default="12.8")
243
+ parser.add_argument("--verify-sam3-triton", action="store_true")
244
+ args = parser.parse_args()
245
+ run_smoke(
246
+ device=args.device,
247
+ expected_cuda=args.expected_cuda,
248
+ verify_sam3_triton=args.verify_sam3_triton,
249
+ )
250
+
251
+
252
+ if __name__ == "__main__":
253
+ main()
builds/linux-cpu/verification-requirements.txt ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ addict==2.4.0
2
+ anyio==4.15.1
3
+ chumpy @ file:///tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/chumpy-0.71%2Bmaap3d.580566ea.1-py3-none-any.whl#sha256=d1fb98bf41865273eb4737a0391c2d2773c21eed15b6a0c747ec7190bd705974
4
+ click==8.5.0
5
+ contourpy==1.3.2
6
+ cycler==0.12.1
7
+ Cython==3.3.0
8
+ einops==0.8.2
9
+ exceptiongroup==1.3.1
10
+ filelock==4.1.0
11
+ fonttools==4.65.0
12
+ fsspec==2026.9.0
13
+ h11==0.16.0
14
+ hf-xet==1.7.0
15
+ httpcore2==2.14.0
16
+ httpx2==2.14.0
17
+ huggingface_hub==2.2.0
18
+ idna==3.20
19
+ importlib_metadata==9.0.1
20
+ Jinja2==3.1.6
21
+ json-tricks==3.17.3
22
+ kiwisolver==1.5.1
23
+ Markdown==3.10.3
24
+ markdown-it-py==4.2.0
25
+ MarkupSafe==3.0.4
26
+ mat4py==0.6.0
27
+ matplotlib==3.10.9
28
+ mdurl==0.1.2
29
+ mmcv @ file:///output/mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#sha256=d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970
30
+ mmdet @ file:///tmp/maap3d-patched-wheels/a7c5b8315db621aeb58755cfb8b1d3006a3c21f9/mmdet-3.3.0%2Bmaap3d.cfd5d3a9.1-py3-none-any.whl#sha256=ec27c030e40d0120e8f779308d6fcceed9f08eb4dd850eae89ce45fb0b63b579
31
+ mmengine==0.10.6
32
+ mmpose==1.3.2
33
+ mmpretrain==1.2.0
34
+ model-index==0.1.11
35
+ modelindex==0.0.2
36
+ mpmath==1.3.0
37
+ munkres==3.0.0
38
+ networkx==3.4.2
39
+ numpy==1.26.4
40
+ opencv-python==4.10.0.84
41
+ ordered-set==4.1.0
42
+ packaging==26.3
43
+ Pillow==9.5.0
44
+ platformdirs==4.12.4
45
+ pycocotools==2.0.11
46
+ Pygments==2.21.0
47
+ pyparsing==3.3.3
48
+ python-dateutil==2.9.0.post0
49
+ PyYAML==6.0.3
50
+ rich==15.0.0
51
+ safetensors==0.8.0
52
+ scipy==1.10.1
53
+ shapely==2.1.2
54
+ six==1.17.0
55
+ sympy==1.14.0
56
+ termcolor==3.3.0
57
+ terminaltables==3.1.10
58
+ timm==1.0.17
59
+ tomli==2.5.0
60
+ torch==2.4.0+cpu
61
+ torchvision==0.19.0+cpu
62
+ tqdm==4.70.1
63
+ truststore==0.10.5
64
+ typing_extensions==4.16.0
65
+ xtcocotools==1.14.3
66
+ yapf==0.43.0
67
+ zipp==4.1.1
mmcv-2.2.0-1cpupt240-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d53f33353426cc2e17a170956c86c7920356b513b1eb4cf1dc80165096f0b970
3
+ size 30511921