Instructions to use kernels-community/yoso with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/yoso with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("kernels-community/yoso", version=1) - Notebooks
- Google Colab
- Kaggle
Build uploaded using `kernels`.
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +9 -0
- build/torch210-cxx11-cu126-x86_64-linux/__init__.py +11 -0
- build/{torch28-cxx11-cu128-x86_64-linux/yoso → torch210-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
- 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
- build/torch210-cxx11-cu126-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-cu126-x86_64-linux/yoso/__init__.py +26 -0
- build/torch210-cxx11-cu128-x86_64-linux/__init__.py +11 -0
- build/{torch28-cxx11-cu129-x86_64-linux/yoso → torch210-cxx11-cu128-x86_64-linux}/_ops.py +3 -3
- 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
- build/torch210-cxx11-cu128-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-cu128-x86_64-linux/yoso/__init__.py +26 -0
- build/torch210-cxx11-cu130-x86_64-linux/__init__.py +11 -0
- build/{torch28-cxx11-cu126-x86_64-linux/yoso → torch210-cxx11-cu130-x86_64-linux}/_ops.py +3 -3
- 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
- build/torch210-cxx11-cu130-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-cu130-x86_64-linux/yoso/__init__.py +26 -0
- build/torch28-cxx11-cu126-x86_64-linux/__init__.py +11 -0
- build/{torch29-cxx11-cu126-x86_64-linux/yoso → torch28-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
- build/torch28-cxx11-cu126-x86_64-linux/{yoso/_yoso_3173620_dirty.abi3.so → _yoso_ea085fb.abi3.so} +2 -2
- build/torch28-cxx11-cu126-x86_64-linux/metadata.json +1 -0
- build/torch28-cxx11-cu126-x86_64-linux/yoso/__init__.py +24 -9
- build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/__init__.py +11 -0
- build/torch28-cxx11-cu128-x86_64-linux/_ops.py +9 -0
- build/torch28-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
- build/torch28-cxx11-cu128-x86_64-linux/metadata.json +1 -0
- build/torch28-cxx11-cu128-x86_64-linux/yoso/__init__.py +24 -9
- build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu129-x86_64-linux/__init__.py +11 -0
- build/torch28-cxx11-cu129-x86_64-linux/_ops.py +9 -0
- build/torch28-cxx11-cu129-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
- build/torch28-cxx11-cu129-x86_64-linux/metadata.json +1 -0
- build/torch28-cxx11-cu129-x86_64-linux/yoso/__init__.py +24 -9
- build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu126-x86_64-linux/__init__.py +11 -0
- build/torch29-cxx11-cu126-x86_64-linux/_ops.py +9 -0
- build/torch29-cxx11-cu126-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
- build/torch29-cxx11-cu126-x86_64-linux/metadata.json +1 -0
- build/torch29-cxx11-cu126-x86_64-linux/yoso/__init__.py +24 -9
- build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch29-cxx11-cu128-x86_64-linux/__init__.py +11 -0
- build/torch29-cxx11-cu128-x86_64-linux/_ops.py +9 -0
- build/torch29-cxx11-cu128-x86_64-linux/_yoso_ea085fb.abi3.so +3 -0
- build/torch29-cxx11-cu128-x86_64-linux/metadata.json +1 -0
- build/torch29-cxx11-cu128-x86_64-linux/yoso/__init__.py +24 -9
- 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
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 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)
|
|
|