Files
Spellcast3d/code/release/wheels/torchsparse/torchsparse.linux.json

60 lines
4.3 KiB
JSON

{
"wheel": "torchsparse-2.1.0+cu128torch2.8-cp311-cp311-linux_x86_64.whl",
"sha256": "4bc3dbe6ab0ed47c0a91dbc8cdc81fb8e40356b7c6af640aceb888def4ff18df",
"size_bytes": 14137540,
"sources": [
{"repo": "https://github.com/mit-han-lab/torchsparse", "commit": "385f5ce8718fcae93540511b7f5832f4e71fd835"},
{"repo": "https://github.com/sparsehash/sparsehash", "tag": "sparsehash-2.0.4",
"commit": "f93c0c69e959c1c77611d0ba8d107aa971338811",
"use": "headers only, configured by code/release/wheels/torchsparse/sparsehash_msvc/sparsehash/internal/sparseconfig.h; its COPYING ships as dist-info/licenses/LICENSE-sparsehash"}
],
"architectures": {
"torch_cuda_arch_list": "6.1;7.0;7.5;8.0;8.6;8.9;9.0;10.0;12.0+PTX",
"cuobjdump_sass_sm": [61, 70, 75, 80, 86, 89, 90, 100, 120],
"cuobjdump_ptx_compute": [120],
"images_per_architecture": 17,
"host": "x86-64 baseline (no -march / -mavx in any compile command)"
},
"toolchain": {
"os": "Ubuntu 22.04.5", "glibc": "2.35", "gcc": "11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04.3)", "binutils": "2.38",
"nvcc": "12.8.93 (CUDA 12.8)", "python": "CPython 3.11.18 (python-build-standalone)",
"torch_at_build": "2.8.0+cu128", "setuptools": "80.9.0", "wheel": "0.45.1", "ninja": "1.13.2"
},
"build_command": "build_torchsparse_linux.sh <out> <work> -> python -m pip wheel <git-archive export> --no-deps --no-build-isolation -v -w <work>/wheel-out",
"env": {
"CUDA_HOME": "/usr/local/cuda-12.8", "CC": "gcc", "CXX": "g++", "FORCE_CUDA": "1",
"TORCH_CUDA_ARCH_LIST": "6.1;7.0;7.5;8.0;8.6;8.9;9.0;10.0;12.0+PTX", "MAX_JOBS": "6",
"CPATH": "<script folder>/sparsehash_msvc:<work>/sparsehash/src",
"LDFLAGS": "-Wl,--strip-debug (setup.py compiles with -g; without it the library carries its debug information)"
},
"build_seconds": 6028,
"build_seconds_note": "on a machine limited to 7.68 CPU cores that two other CUDA builds shared; the Windows build takes 510 s",
"patches": [
{"file": "setup.py", "hunk": "` version=version,` -> ` version=version + \"+cu128torch2.8\",`",
"why": "the wheel's version label, as on Windows (patch_torchsparse_win.py P5); torchsparse.__version__ stays 2.1.0"}
],
"patches_not_applied": "patch_torchsparse_win.py P1-P4 (MSVC syntax only): GCC compiles the pinned sources as they are",
"verification": {
"extension": "torchsparse/backend.cpython-311-x86_64-linux-gnu.so, 64206864 bytes",
"needed": ["libc10.so", "libtorch_cpu.so", "libtorch_python.so", "libcudart.so.12", "libstdc++.so.6", "libgcc_s.so.1", "libc.so.6", "ld-linux-x86-64.so.2"],
"rpath": "none: libc10 / libtorch_cpu / libtorch_python show 'not found' in ldd and are resolved because `import torch` loads them first (every torch extension built with torch.utils.cpp_extension)",
"openmp": "3 undefined symbols (GOMP_parallel, omp_get_num_threads, omp_get_thread_num), no libgomp in NEEDED: resolved from the libgomp torch ships and loads, as with upstream's Linux build",
"max_symbol_versions": {"GLIBC": "2.34", "GLIBCXX": "3.4.21", "CXXABI": "1.3.11", "GCC": "3.0"},
"host_code": {"instructions": 134598, "vex_or_avx": 0, "avx2": 0, "fma": 0, "bmi2": 0, "f16c": 0},
"wheel_files": 67,
"license_files": ["dist-info/licenses/LICENSE", "dist-info/licenses/LICENSE-sparsehash"],
"tests": {
"script": "code/release/wheels/torchsparse/smoke_torchsparse.py, wheel installed with --no-deps into a fresh venv (numpy 2.2.6, tqdm 4.67.3, six 1.17.0, typing_extensions 4.16.0, rootpath 0.1.1 --no-deps)",
"gpu": "NVIDIA GeForce RTX 4060 Ti (sm_89)",
"torch 2.8.0+cu128": {"import": true, "cases_passed": "27/27"},
"torch 2.8.0+cu126 (its own CUDA 12.6 runtime)": {"import": true, "cases_passed": "27/27"},
"torch 2.8.0+cu126 + nvidia-cuda-runtime-cu12==12.8.90 + nvidia-cublas-cu12==12.8.4.1 (--no-deps on top)": {"import": true, "cases_passed": "27/27"},
"max_rel_err_vs_dense_fp64 (the same in the three venvs)": {
"ImplicitGEMM fp32": 0.000856, "ImplicitGEMM fp16": 0.00047, "GatherScatter fp32": 2.05e-07,
"GatherScatter fp16": 0.00144, "pre-sm75 emulation GatherScatter fp16": 0.00116
}
},
"not_verified": "no card older than sm_89 was run (the sm_61 .. sm_86 kernels are compiled, not executed); the smoke's pre-sm75 cases emulate the switches on the sm_89 card"
}
}