Kernels
danieldk HF Staff commited on
Commit
a07ecae
·
verified ·
1 Parent(s): b6da4ed

Build uploaded using `kernels`.

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +9 -0
  2. build/torch210-cxx11-cu126-x86_64-linux/__init__.py +11 -0
  3. build/{torch28-cxx11-cu128-x86_64-linux/yoso → torch210-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
  4. build/{torch28-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so} +2 -2
  5. build/torch210-cxx11-cu126-x86_64-linux/metadata.json +1 -0
  6. build/torch210-cxx11-cu126-x86_64-linux/yoso/__init__.py +26 -0
  7. build/torch210-cxx11-cu128-x86_64-linux/__init__.py +11 -0
  8. build/{torch28-cxx11-cu129-x86_64-linux/yoso → torch210-cxx11-cu128-x86_64-linux}/_ops.py +3 -3
  9. build/{torch28-cxx11-cu129-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so} +2 -2
  10. build/torch210-cxx11-cu128-x86_64-linux/metadata.json +1 -0
  11. build/torch210-cxx11-cu128-x86_64-linux/yoso/__init__.py +26 -0
  12. build/torch210-cxx11-cu130-x86_64-linux/__init__.py +11 -0
  13. build/{torch28-cxx11-cu126-x86_64-linux/yoso → torch210-cxx11-cu130-x86_64-linux}/_ops.py +3 -3
  14. build/{torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu130-x86_64-linux/_yoso_ea085fb.abi3.so} +2 -2
  15. build/torch210-cxx11-cu130-x86_64-linux/metadata.json +1 -0
  16. build/torch210-cxx11-cu130-x86_64-linux/yoso/__init__.py +26 -0
  17. build/torch28-cxx11-cu126-x86_64-linux/__init__.py +11 -0
  18. build/{torch29-cxx11-cu126-x86_64-linux/yoso → torch28-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
  19. build/torch28-cxx11-cu126-x86_64-linux/{yoso/_yoso_3173620_dirty.abi3.so → _yoso_ea085fb.abi3.so} +2 -2
  20. build/torch28-cxx11-cu126-x86_64-linux/metadata.json +1 -0
  21. build/torch28-cxx11-cu126-x86_64-linux/yoso/__init__.py +24 -9
  22. build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  23. build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  24. build/torch28-cxx11-cu128-x86_64-linux/__init__.py +11 -0
  25. build/torch28-cxx11-cu128-x86_64-linux/_ops.py +9 -0
  26. build/torch28-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
  27. build/torch28-cxx11-cu128-x86_64-linux/metadata.json +1 -0
  28. build/torch28-cxx11-cu128-x86_64-linux/yoso/__init__.py +24 -9
  29. build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  30. build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  31. build/torch28-cxx11-cu129-x86_64-linux/__init__.py +11 -0
  32. build/torch28-cxx11-cu129-x86_64-linux/_ops.py +9 -0
  33. build/torch28-cxx11-cu129-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
  34. build/torch28-cxx11-cu129-x86_64-linux/metadata.json +1 -0
  35. build/torch28-cxx11-cu129-x86_64-linux/yoso/__init__.py +24 -9
  36. build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  37. build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  38. build/torch29-cxx11-cu126-x86_64-linux/__init__.py +11 -0
  39. build/torch29-cxx11-cu126-x86_64-linux/_ops.py +9 -0
  40. build/torch29-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
  41. build/torch29-cxx11-cu126-x86_64-linux/metadata.json +1 -0
  42. build/torch29-cxx11-cu126-x86_64-linux/yoso/__init__.py +24 -9
  43. build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  44. build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  45. build/torch29-cxx11-cu128-x86_64-linux/__init__.py +11 -0
  46. build/torch29-cxx11-cu128-x86_64-linux/_ops.py +9 -0
  47. build/torch29-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
  48. build/torch29-cxx11-cu128-x86_64-linux/metadata.json +1 -0
  49. build/torch29-cxx11-cu128-x86_64-linux/yoso/__init__.py +24 -9
  50. build/torch29-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
.gitattributes CHANGED
@@ -42,3 +42,12 @@ build/torch28-cxx11-cu129-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=l
42
  build/torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
43
  build/torch29-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
44
  build/torch29-cxx11-cu130-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
42
  build/torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
43
  build/torch29-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
44
  build/torch29-cxx11-cu130-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
45
+ build/torch210-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
46
+ build/torch210-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
47
+ build/torch210-cxx11-cu130-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
48
+ build/torch28-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
49
+ build/torch28-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
50
+ build/torch28-cxx11-cu129-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
51
+ build/torch29-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
52
+ build/torch29-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
53
+ build/torch29-cxx11-cu130-x86_64-linux/_yoso_ea085fb.abi3.so filter=lfs diff=lfs merge=lfs -text
build/torch210-cxx11-cu126-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/{torch28-cxx11-cu128-x86_64-linux/yoso → torch210-cxx11-cu126-x86_64-linux}/_ops.py RENAMED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _yoso_3173620_dirty
3
- ops = torch.ops._yoso_3173620_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_yoso_3173620_dirty::{op_name}"
 
1
  import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_yoso_ea085fb::{op_name}"
build/{torch28-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd27666f9ad974f958ffeb0279e54973aa4b7fa26a94ca855371ebd54de57ece
3
- size 3045960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d67a5fe972f9bfbe797586e35d41852f6028d8edb1105a8dc3b81af86174754
3
+ size 2498232
build/torch210-cxx11-cu126-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch210-cxx11-cu126-x86_64-linux/yoso/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch210-cxx11-cu128-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/{torch28-cxx11-cu129-x86_64-linux/yoso → torch210-cxx11-cu128-x86_64-linux}/_ops.py RENAMED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _yoso_3173620_dirty
3
- ops = torch.ops._yoso_3173620_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_yoso_3173620_dirty::{op_name}"
 
1
  import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_yoso_ea085fb::{op_name}"
build/{torch28-cxx11-cu129-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:67cfb08278e43598e473113ac2a67522b922a0859d008e18ad5137a112ea4df7
3
- size 3055168
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b30eadca70267e31f9448b4294771ac3319bb7035996afd17c72b8e63a1bdcd
3
+ size 3040808
build/torch210-cxx11-cu128-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch210-cxx11-cu128-x86_64-linux/yoso/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch210-cxx11-cu130-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/{torch28-cxx11-cu126-x86_64-linux/yoso → torch210-cxx11-cu130-x86_64-linux}/_ops.py RENAMED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _yoso_3173620_dirty
3
- ops = torch.ops._yoso_3173620_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_yoso_3173620_dirty::{op_name}"
 
1
  import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_yoso_ea085fb::{op_name}"
build/{torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so → torch210-cxx11-cu130-x86_64-linux/_yoso_ea085fb.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:59b2e7ead396d2c977cc0523a5f5f112d9fbc85b637cca5e4fd07c1062accbdf
3
- size 2499280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02a6437eb1de04c6e1239cd1abce5b1450a596271ab87f71e9dd9da86487d40
3
+ size 3102152
build/torch210-cxx11-cu130-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch210-cxx11-cu130-x86_64-linux/yoso/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch28-cxx11-cu126-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/{torch29-cxx11-cu126-x86_64-linux/yoso → torch28-cxx11-cu126-x86_64-linux}/_ops.py RENAMED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _yoso_3173620_dirty
3
- ops = torch.ops._yoso_3173620_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_yoso_3173620_dirty::{op_name}"
 
1
  import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_yoso_ea085fb::{op_name}"
build/torch28-cxx11-cu126-x86_64-linux/{yoso/_yoso_3173620_dirty.abi3.so → _yoso_ea085fb.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b232acaeb039ea7c2476dcf1d4618f90ff5d8af726126ed7d80deef4d8195cef
3
- size 2499304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddd7f08af087a0616554e6f1de8beb02a9eb34ba8bfd59e12fde5a0fda99f8b0
3
+ size 2504360
build/torch28-cxx11-cu126-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch28-cxx11-cu126-x86_64-linux/yoso/__init__.py CHANGED
@@ -1,11 +1,26 @@
1
- from ._ops import ops
 
2
 
3
- fast_hash = ops.fast_hash
4
- lsh_cumulation = ops.lsh_cumulation
5
- lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
 
7
- __all__ = [
8
- "fast_hash",
9
- "lsh_cumulation",
10
- "lsh_weighted_cumulation",
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc DELETED
Binary file (403 Bytes)
 
build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc DELETED
Binary file (520 Bytes)
 
build/torch28-cxx11-cu128-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/torch28-cxx11-cu128-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_yoso_ea085fb::{op_name}"
build/torch28-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c02e539bee2cff2520ef6bda1e532c0287a3f94f01ac1dc4305ea667bd3dfc60
3
+ size 3051032
build/torch28-cxx11-cu128-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch28-cxx11-cu128-x86_64-linux/yoso/__init__.py CHANGED
@@ -1,11 +1,26 @@
1
- from ._ops import ops
 
2
 
3
- fast_hash = ops.fast_hash
4
- lsh_cumulation = ops.lsh_cumulation
5
- lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
 
7
- __all__ = [
8
- "fast_hash",
9
- "lsh_cumulation",
10
- "lsh_weighted_cumulation",
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc DELETED
Binary file (403 Bytes)
 
build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc DELETED
Binary file (520 Bytes)
 
build/torch28-cxx11-cu129-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/torch28-cxx11-cu129-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_yoso_ea085fb::{op_name}"
build/torch28-cxx11-cu129-x86_64-linux/_yoso_ea085fb.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ecabefe91f4b70e64f81232d6fd0cc386a06c7b6f9360c45c96f264145e37db
3
+ size 3060240
build/torch28-cxx11-cu129-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch28-cxx11-cu129-x86_64-linux/yoso/__init__.py CHANGED
@@ -1,11 +1,26 @@
1
- from ._ops import ops
 
2
 
3
- fast_hash = ops.fast_hash
4
- lsh_cumulation = ops.lsh_cumulation
5
- lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
 
7
- __all__ = [
8
- "fast_hash",
9
- "lsh_cumulation",
10
- "lsh_weighted_cumulation",
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc DELETED
Binary file (403 Bytes)
 
build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc DELETED
Binary file (520 Bytes)
 
build/torch29-cxx11-cu126-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/torch29-cxx11-cu126-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_yoso_ea085fb::{op_name}"
build/torch29-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1839c25df7d88b1bfd3cc78f4dacce3ca5871a07540bc7e2f84b3988f556113
3
+ size 2504336
build/torch29-cxx11-cu126-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch29-cxx11-cu126-x86_64-linux/yoso/__init__.py CHANGED
@@ -1,11 +1,26 @@
1
- from ._ops import ops
 
2
 
3
- fast_hash = ops.fast_hash
4
- lsh_cumulation = ops.lsh_cumulation
5
- lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
 
7
- __all__ = [
8
- "fast_hash",
9
- "lsh_cumulation",
10
- "lsh_weighted_cumulation",
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc DELETED
Binary file (403 Bytes)
 
build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc DELETED
Binary file (520 Bytes)
 
build/torch29-cxx11-cu128-x86_64-linux/__init__.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._ops import ops
2
+
3
+ fast_hash = ops.fast_hash
4
+ lsh_cumulation = ops.lsh_cumulation
5
+ lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
+
7
+ __all__ = [
8
+ "fast_hash",
9
+ "lsh_cumulation",
10
+ "lsh_weighted_cumulation",
11
+ ]
build/torch29-cxx11-cu128-x86_64-linux/_ops.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+ from . import _yoso_ea085fb
3
+ ops = torch.ops._yoso_ea085fb
4
+
5
+ def add_op_namespace_prefix(op_name: str):
6
+ """
7
+ Prefix op by namespace.
8
+ """
9
+ return f"_yoso_ea085fb::{op_name}"
build/torch29-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:969f74ffb81516c2aa9750bf44e5b3cebe94559c4233b1a29381eef4f3ecb47e
3
+ size 3051000
build/torch29-cxx11-cu128-x86_64-linux/metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"python-depends":[]}
build/torch29-cxx11-cu128-x86_64-linux/yoso/__init__.py CHANGED
@@ -1,11 +1,26 @@
1
- from ._ops import ops
 
2
 
3
- fast_hash = ops.fast_hash
4
- lsh_cumulation = ops.lsh_cumulation
5
- lsh_weighted_cumulation = ops.lsh_weighted_cumulation
6
 
7
- __all__ = [
8
- "fast_hash",
9
- "lsh_cumulation",
10
- "lsh_weighted_cumulation",
11
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc DELETED
Binary file (403 Bytes)