danieldk HF Staff commited on
Commit
a203680
·
verified ·
1 Parent(s): 8267537

Build uploaded using `kernels`.

Browse files
Files changed (30) hide show
  1. .gitattributes +7 -0
  2. build/torch210-cxx11-cu126-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} +1 -1
  3. build/torch210-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  4. build/torch210-cxx11-cu126-x86_64-linux/cv_utils/__init__.py +2 -2
  5. build/torch210-cxx11-cu128-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} +1 -1
  6. build/torch210-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  7. build/torch210-cxx11-cu128-x86_64-linux/cv_utils/__init__.py +2 -2
  8. build/torch210-cxx11-cu130-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} +1 -1
  9. build/torch210-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  10. build/torch210-cxx11-cu130-x86_64-linux/cv_utils/__init__.py +2 -2
  11. build/torch211-cxx11-cu126-x86_64-linux/__init__.py +12 -0
  12. build/torch211-cxx11-cu126-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so +3 -0
  13. build/torch211-cxx11-cu126-x86_64-linux/_ops.py +9 -0
  14. build/torch211-cxx11-cu126-x86_64-linux/cv_utils/__init__.py +26 -0
  15. build/torch211-cxx11-cu126-x86_64-linux/metadata.json +17 -0
  16. build/torch211-cxx11-cu128-x86_64-linux/__init__.py +12 -0
  17. build/torch211-cxx11-cu128-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so +3 -0
  18. build/torch211-cxx11-cu128-x86_64-linux/_ops.py +9 -0
  19. build/torch211-cxx11-cu128-x86_64-linux/cv_utils/__init__.py +26 -0
  20. build/torch211-cxx11-cu128-x86_64-linux/metadata.json +20 -0
  21. build/torch211-cxx11-cu130-x86_64-linux/__init__.py +12 -0
  22. build/torch211-cxx11-cu130-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so +3 -0
  23. build/torch211-cxx11-cu130-x86_64-linux/_ops.py +9 -0
  24. build/torch211-cxx11-cu130-x86_64-linux/cv_utils/__init__.py +26 -0
  25. build/torch211-cxx11-cu130-x86_64-linux/metadata.json +18 -0
  26. build/torch29-cxx11-cu129-x86_64-linux/__init__.py +12 -0
  27. build/torch29-cxx11-cu129-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so +3 -0
  28. build/torch29-cxx11-cu129-x86_64-linux/_ops.py +9 -0
  29. build/torch29-cxx11-cu129-x86_64-linux/cv_utils/__init__.py +26 -0
  30. build/torch29-cxx11-cu129-x86_64-linux/metadata.json +20 -0
.gitattributes CHANGED
@@ -62,3 +62,10 @@ build/torch211-cxx11-cu126-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=l
62
  build/torch211-cxx11-cu128-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
63
  build/torch211-cxx11-cu130-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
64
  build/torch29-cxx11-cu129-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
62
  build/torch211-cxx11-cu128-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
63
  build/torch211-cxx11-cu130-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
64
  build/torch29-cxx11-cu129-aarch64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
65
+ build/torch210-cxx11-cu126-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
66
+ build/torch210-cxx11-cu128-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
67
+ build/torch210-cxx11-cu130-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
68
+ build/torch211-cxx11-cu126-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
69
+ build/torch211-cxx11-cu128-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
70
+ build/torch211-cxx11-cu130-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
71
+ build/torch29-cxx11-cu129-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so filter=lfs diff=lfs merge=lfs -text
build/torch210-cxx11-cu126-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:08a143e0e5ea9a31d0eefa47d6d1f9fb94d62d7b1a818e664cca55cbf1afbbd0
3
  size 3049648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8570f8f8239587bffe735225297b3c68d6687599301bc53dd70c3dd059306b0c
3
  size 3049648
build/torch210-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _cv_utils_cuda_8cfc281
3
- ops = torch.ops._cv_utils_cuda_8cfc281
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_cv_utils_cuda_8cfc281::{op_name}"
 
1
  import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch210-cxx11-cu126-x86_64-linux/cv_utils/__init__.py CHANGED
@@ -1,10 +1,10 @@
1
  import ctypes
 
2
  import sys
3
-
4
- import importlib
5
  from pathlib import Path
6
  from types import ModuleType
7
 
 
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
 
1
  import ctypes
2
+ import importlib.util
3
  import sys
 
 
4
  from pathlib import Path
5
  from types import ModuleType
6
 
7
+
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
build/torch210-cxx11-cu128-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5d48599960f52ab41b65d87587d4327a1fceeedbb8879e107a526bd6095f90f
3
  size 3735552
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af1c42d352ffee1254cbfcb240d0e6b3aa12b3db7a42720952b368e1abcf480e
3
  size 3735552
build/torch210-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _cv_utils_cuda_8cfc281
3
- ops = torch.ops._cv_utils_cuda_8cfc281
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_cv_utils_cuda_8cfc281::{op_name}"
 
1
  import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch210-cxx11-cu128-x86_64-linux/cv_utils/__init__.py CHANGED
@@ -1,10 +1,10 @@
1
  import ctypes
 
2
  import sys
3
-
4
- import importlib
5
  from pathlib import Path
6
  from types import ModuleType
7
 
 
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
 
1
  import ctypes
2
+ import importlib.util
3
  import sys
 
 
4
  from pathlib import Path
5
  from types import ModuleType
6
 
7
+
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
build/torch210-cxx11-cu130-x86_64-linux/{_cv_utils_cuda_8cfc281.abi3.so → _cv_utils_cuda_d91fc8d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff540265c0e5237ec9a03963ecb91ffc6054ea11b9b94d7c22fb3e1408188fed
3
  size 3518288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:499b4704cfef394926ac41eba5dfe418a021aafabb8508af84cfe8c146dd2703
3
  size 3518288
build/torch210-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _cv_utils_cuda_8cfc281
3
- ops = torch.ops._cv_utils_cuda_8cfc281
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_cv_utils_cuda_8cfc281::{op_name}"
 
1
  import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch210-cxx11-cu130-x86_64-linux/cv_utils/__init__.py CHANGED
@@ -1,10 +1,10 @@
1
  import ctypes
 
2
  import sys
3
-
4
- import importlib
5
  from pathlib import Path
6
  from types import ModuleType
7
 
 
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
 
1
  import ctypes
2
+ import importlib.util
3
  import sys
 
 
4
  from pathlib import Path
5
  from types import ModuleType
6
 
7
+
8
  def _import_from_path(file_path: Path) -> ModuleType:
9
  # We cannot use the module name as-is, after adding it to `sys.modules`,
10
  # it would also be used for other imports. So, we make a module name that
build/torch211-cxx11-cu126-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from typing import List
3
+
4
+ from ._ops import ops
5
+
6
+ def cc_2d(inputs: torch.Tensor, get_counts: bool) -> List[torch.Tensor]:
7
+ return ops.cc_2d(inputs, get_counts)
8
+
9
+ def generic_nms(dets: torch.Tensor, scores: torch.Tensor, iou_threshold: float, use_iou_matrix: bool) -> torch.Tensor:
10
+ return ops.generic_nms(dets, scores, iou_threshold, use_iou_matrix)
11
+
12
+ __all__ = ["cc_2d", "generic_nms"]
build/torch211-cxx11-cu126-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41f1f524c80be56fdfd22b5a72a15a939043eaa357df32af9272cabaa74f9884
3
+ size 3042584
build/torch211-cxx11-cu126-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch211-cxx11-cu126-x86_64-linux/cv_utils/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ctypes
2
+ import importlib.util
3
+ import sys
4
+ from pathlib import Path
5
+ from types import ModuleType
6
+
7
+
8
+ def _import_from_path(file_path: Path) -> ModuleType:
9
+ # We cannot use the module name as-is, after adding it to `sys.modules`,
10
+ # it would also be used for other imports. So, we make a module name that
11
+ # depends on the path for it to be unique using the hex-encoded hash of
12
+ # the path.
13
+ path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value)
14
+ module_name = path_hash
15
+ spec = importlib.util.spec_from_file_location(module_name, file_path)
16
+ if spec is None:
17
+ raise ImportError(f"Cannot load spec for {module_name} from {file_path}")
18
+ module = importlib.util.module_from_spec(spec)
19
+ if module is None:
20
+ raise ImportError(f"Cannot load module {module_name} from spec")
21
+ sys.modules[module_name] = module
22
+ spec.loader.exec_module(module) # type: ignore
23
+ return module
24
+
25
+
26
+ globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py")))
build/torch211-cxx11-cu126-x86_64-linux/metadata.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "python-depends": [],
4
+ "backend": {
5
+ "type": "cuda",
6
+ "archs": [
7
+ "7.0",
8
+ "7.2",
9
+ "7.5",
10
+ "8.0",
11
+ "8.6",
12
+ "8.7",
13
+ "8.9",
14
+ "9.0+PTX"
15
+ ]
16
+ }
17
+ }
build/torch211-cxx11-cu128-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from typing import List
3
+
4
+ from ._ops import ops
5
+
6
+ def cc_2d(inputs: torch.Tensor, get_counts: bool) -> List[torch.Tensor]:
7
+ return ops.cc_2d(inputs, get_counts)
8
+
9
+ def generic_nms(dets: torch.Tensor, scores: torch.Tensor, iou_threshold: float, use_iou_matrix: bool) -> torch.Tensor:
10
+ return ops.generic_nms(dets, scores, iou_threshold, use_iou_matrix)
11
+
12
+ __all__ = ["cc_2d", "generic_nms"]
build/torch211-cxx11-cu128-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7df382c98bfdfb429818662c2cc43a67b6a839db3dc762b15c55b277e955442
3
+ size 3724384
build/torch211-cxx11-cu128-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch211-cxx11-cu128-x86_64-linux/cv_utils/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ctypes
2
+ import importlib.util
3
+ import sys
4
+ from pathlib import Path
5
+ from types import ModuleType
6
+
7
+
8
+ def _import_from_path(file_path: Path) -> ModuleType:
9
+ # We cannot use the module name as-is, after adding it to `sys.modules`,
10
+ # it would also be used for other imports. So, we make a module name that
11
+ # depends on the path for it to be unique using the hex-encoded hash of
12
+ # the path.
13
+ path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value)
14
+ module_name = path_hash
15
+ spec = importlib.util.spec_from_file_location(module_name, file_path)
16
+ if spec is None:
17
+ raise ImportError(f"Cannot load spec for {module_name} from {file_path}")
18
+ module = importlib.util.module_from_spec(spec)
19
+ if module is None:
20
+ raise ImportError(f"Cannot load module {module_name} from spec")
21
+ sys.modules[module_name] = module
22
+ spec.loader.exec_module(module) # type: ignore
23
+ return module
24
+
25
+
26
+ globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py")))
build/torch211-cxx11-cu128-x86_64-linux/metadata.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "python-depends": [],
4
+ "backend": {
5
+ "type": "cuda",
6
+ "archs": [
7
+ "10.0",
8
+ "10.1",
9
+ "12.0+PTX",
10
+ "7.0",
11
+ "7.2",
12
+ "7.5",
13
+ "8.0",
14
+ "8.6",
15
+ "8.7",
16
+ "8.9",
17
+ "9.0"
18
+ ]
19
+ }
20
+ }
build/torch211-cxx11-cu130-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from typing import List
3
+
4
+ from ._ops import ops
5
+
6
+ def cc_2d(inputs: torch.Tensor, get_counts: bool) -> List[torch.Tensor]:
7
+ return ops.cc_2d(inputs, get_counts)
8
+
9
+ def generic_nms(dets: torch.Tensor, scores: torch.Tensor, iou_threshold: float, use_iou_matrix: bool) -> torch.Tensor:
10
+ return ops.generic_nms(dets, scores, iou_threshold, use_iou_matrix)
11
+
12
+ __all__ = ["cc_2d", "generic_nms"]
build/torch211-cxx11-cu130-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9c91d38609e6e5e497c4b12f3a8fd1dbe0897aa8d390300a9f5a7d856f467b1
3
+ size 3511216
build/torch211-cxx11-cu130-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch211-cxx11-cu130-x86_64-linux/cv_utils/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ctypes
2
+ import importlib.util
3
+ import sys
4
+ from pathlib import Path
5
+ from types import ModuleType
6
+
7
+
8
+ def _import_from_path(file_path: Path) -> ModuleType:
9
+ # We cannot use the module name as-is, after adding it to `sys.modules`,
10
+ # it would also be used for other imports. So, we make a module name that
11
+ # depends on the path for it to be unique using the hex-encoded hash of
12
+ # the path.
13
+ path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value)
14
+ module_name = path_hash
15
+ spec = importlib.util.spec_from_file_location(module_name, file_path)
16
+ if spec is None:
17
+ raise ImportError(f"Cannot load spec for {module_name} from {file_path}")
18
+ module = importlib.util.module_from_spec(spec)
19
+ if module is None:
20
+ raise ImportError(f"Cannot load module {module_name} from spec")
21
+ sys.modules[module_name] = module
22
+ spec.loader.exec_module(module) # type: ignore
23
+ return module
24
+
25
+
26
+ globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py")))
build/torch211-cxx11-cu130-x86_64-linux/metadata.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "python-depends": [],
4
+ "backend": {
5
+ "type": "cuda",
6
+ "archs": [
7
+ "10.0",
8
+ "11.0",
9
+ "12.0+PTX",
10
+ "7.5",
11
+ "8.0",
12
+ "8.6",
13
+ "8.7",
14
+ "8.9",
15
+ "9.0"
16
+ ]
17
+ }
18
+ }
build/torch29-cxx11-cu129-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from typing import List
3
+
4
+ from ._ops import ops
5
+
6
+ def cc_2d(inputs: torch.Tensor, get_counts: bool) -> List[torch.Tensor]:
7
+ return ops.cc_2d(inputs, get_counts)
8
+
9
+ def generic_nms(dets: torch.Tensor, scores: torch.Tensor, iou_threshold: float, use_iou_matrix: bool) -> torch.Tensor:
10
+ return ops.generic_nms(dets, scores, iou_threshold, use_iou_matrix)
11
+
12
+ __all__ = ["cc_2d", "generic_nms"]
build/torch29-cxx11-cu129-x86_64-linux/_cv_utils_cuda_d91fc8d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61220d27af0f4e81410f3211b82789b49f45cfeab97fff61f256bd260b6813b1
3
+ size 3688568
build/torch29-cxx11-cu129-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _cv_utils_cuda_d91fc8d
3
+ ops = torch.ops._cv_utils_cuda_d91fc8d
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_cv_utils_cuda_d91fc8d::{op_name}"
build/torch29-cxx11-cu129-x86_64-linux/cv_utils/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import ctypes
2
+ import importlib.util
3
+ import sys
4
+ from pathlib import Path
5
+ from types import ModuleType
6
+
7
+
8
+ def _import_from_path(file_path: Path) -> ModuleType:
9
+ # We cannot use the module name as-is, after adding it to `sys.modules`,
10
+ # it would also be used for other imports. So, we make a module name that
11
+ # depends on the path for it to be unique using the hex-encoded hash of
12
+ # the path.
13
+ path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value)
14
+ module_name = path_hash
15
+ spec = importlib.util.spec_from_file_location(module_name, file_path)
16
+ if spec is None:
17
+ raise ImportError(f"Cannot load spec for {module_name} from {file_path}")
18
+ module = importlib.util.module_from_spec(spec)
19
+ if module is None:
20
+ raise ImportError(f"Cannot load module {module_name} from spec")
21
+ sys.modules[module_name] = module
22
+ spec.loader.exec_module(module) # type: ignore
23
+ return module
24
+
25
+
26
+ globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py")))
build/torch29-cxx11-cu129-x86_64-linux/metadata.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "python-depends": [],
4
+ "backend": {
5
+ "type": "cuda",
6
+ "archs": [
7
+ "10.0",
8
+ "10.1",
9
+ "12.0+PTX",
10
+ "7.0",
11
+ "7.2",
12
+ "7.5",
13
+ "8.0",
14
+ "8.6",
15
+ "8.7",
16
+ "8.9",
17
+ "9.0"
18
+ ]
19
+ }
20
+ }