Build uploaded using `kernels`.
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- build/torch210-cxx11-cu126-x86_64-linux/__init__.py +4 -0
- build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch210-cxx11-cu126-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so} +2 -2
- build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
- build/torch210-cxx11-cu126-x86_64-linux/causal_conv1d/__init__.py +26 -0
- build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/causal_conv1d_interface.py +0 -0
- build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/causal_conv1d_varlen.py +0 -0
- build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/cpp_functions.py +0 -0
- build/torch210-cxx11-cu126-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-cu128-x86_64-linux/__init__.py +4 -0
- build/torch210-cxx11-cu128-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so +3 -0
- build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/_ops.py +3 -3
- build/torch210-cxx11-cu128-x86_64-linux/causal_conv1d/__init__.py +26 -0
- build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/causal_conv1d_interface.py +0 -0
- build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/causal_conv1d_varlen.py +0 -0
- build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/cpp_functions.py +0 -0
- build/torch210-cxx11-cu128-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-cu130-x86_64-linux/__init__.py +4 -0
- build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch210-cxx11-cu130-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so} +2 -2
- build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/_ops.py +3 -3
- build/torch210-cxx11-cu130-x86_64-linux/causal_conv1d/__init__.py +26 -0
- build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/causal_conv1d_interface.py +0 -0
- build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/causal_conv1d_varlen.py +0 -0
- build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/cpp_functions.py +0 -0
- build/torch210-cxx11-cu130-x86_64-linux/metadata.json +1 -0
- build/torch28-cxx11-cu126-x86_64-linux/__init__.py +4 -0
- build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch28-cxx11-cu126-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so} +2 -2
- build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/_ops.py +3 -3
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__init__.py +25 -3
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_interface.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_varlen.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/cpp_functions.cpython-313.pyc +0 -0
- build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/causal_conv1d_interface.py +0 -0
- build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/causal_conv1d_varlen.py +0 -0
- build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/cpp_functions.py +0 -0
- build/torch28-cxx11-cu126-x86_64-linux/metadata.json +1 -0
- build/torch28-cxx11-cu128-x86_64-linux/__init__.py +4 -0
- build/torch28-cxx11-cu128-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so +3 -0
- build/torch28-cxx11-cu128-x86_64-linux/_ops.py +9 -0
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__init__.py +25 -3
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/__init__.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/_ops.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_interface.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_varlen.cpython-313.pyc +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/cpp_functions.cpython-313.pyc +0 -0
- build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/causal_conv1d_interface.py +0 -0
- build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/causal_conv1d_varlen.py +0 -0
- build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/cpp_functions.py +0 -0
- build/torch28-cxx11-cu128-x86_64-linux/metadata.json +1 -0
build/torch210-cxx11-cu126-x86_64-linux/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .causal_conv1d_interface import causal_conv1d_fn, causal_conv1d_update
|
| 2 |
+
from .causal_conv1d_varlen import causal_conv1d_varlen_states
|
| 3 |
+
|
| 4 |
+
__all__ = ["causal_conv1d_fn", "causal_conv1d_update", "causal_conv1d_varlen_states"]
|
build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch210-cxx11-cu126-x86_64-linux/_causal_conv1d_1b44a8e.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:6eb0fdb8827538d27d0822e22dd968059657aafdd8dca77b99d606e0026ae43b
|
| 3 |
+
size 80694456
|
build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β 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 _causal_conv1d_1b44a8e
|
| 3 |
+
ops = torch.ops._causal_conv1d_1b44a8e
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_causal_conv1d_1b44a8e::{op_name}"
|
build/torch210-cxx11-cu126-x86_64-linux/causal_conv1d/__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/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/causal_conv1d_interface.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/causal_conv1d_varlen.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu126-x86_64-linux/causal_conv1d β torch210-cxx11-cu126-x86_64-linux}/cpp_functions.py
RENAMED
|
File without changes
|
build/torch210-cxx11-cu126-x86_64-linux/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"python-depends":[]}
|
build/torch210-cxx11-cu128-x86_64-linux/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .causal_conv1d_interface import causal_conv1d_fn, causal_conv1d_update
|
| 2 |
+
from .causal_conv1d_varlen import causal_conv1d_varlen_states
|
| 3 |
+
|
| 4 |
+
__all__ = ["causal_conv1d_fn", "causal_conv1d_update", "causal_conv1d_varlen_states"]
|
build/torch210-cxx11-cu128-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78531cef5f05968a528ae8bc7a5a348b2abad1b180ac90142dd7df2491cef608
|
| 3 |
+
size 107169824
|
build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β 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 _causal_conv1d_1b44a8e
|
| 3 |
+
ops = torch.ops._causal_conv1d_1b44a8e
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_causal_conv1d_1b44a8e::{op_name}"
|
build/torch210-cxx11-cu128-x86_64-linux/causal_conv1d/__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-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/causal_conv1d_interface.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/causal_conv1d_varlen.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d β torch210-cxx11-cu128-x86_64-linux}/cpp_functions.py
RENAMED
|
File without changes
|
build/torch210-cxx11-cu128-x86_64-linux/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"python-depends":[]}
|
build/torch210-cxx11-cu130-x86_64-linux/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .causal_conv1d_interface import causal_conv1d_fn, causal_conv1d_update
|
| 2 |
+
from .causal_conv1d_varlen import causal_conv1d_varlen_states
|
| 3 |
+
|
| 4 |
+
__all__ = ["causal_conv1d_fn", "causal_conv1d_update", "causal_conv1d_varlen_states"]
|
build/{torch28-cxx11-cu128-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch210-cxx11-cu130-x86_64-linux/_causal_conv1d_1b44a8e.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:8746e8c1e94e2022fe638316ba9cf89489d45d0d92047cafe54e554297a2c701
|
| 3 |
+
size 64618464
|
build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β 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 _causal_conv1d_1b44a8e
|
| 3 |
+
ops = torch.ops._causal_conv1d_1b44a8e
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_causal_conv1d_1b44a8e::{op_name}"
|
build/torch210-cxx11-cu130-x86_64-linux/causal_conv1d/__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-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/causal_conv1d_interface.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/causal_conv1d_varlen.py
RENAMED
|
File without changes
|
build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d β torch210-cxx11-cu130-x86_64-linux}/cpp_functions.py
RENAMED
|
File without changes
|
build/torch210-cxx11-cu130-x86_64-linux/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"python-depends":[]}
|
build/torch28-cxx11-cu126-x86_64-linux/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .causal_conv1d_interface import causal_conv1d_fn, causal_conv1d_update
|
| 2 |
+
from .causal_conv1d_varlen import causal_conv1d_varlen_states
|
| 3 |
+
|
| 4 |
+
__all__ = ["causal_conv1d_fn", "causal_conv1d_update", "causal_conv1d_varlen_states"]
|
build/{torch28-cxx11-cu129-x86_64-linux/causal_conv1d/_causal_conv1d_90f5a60.abi3.so β torch28-cxx11-cu126-x86_64-linux/_causal_conv1d_1b44a8e.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:49a73bdc1f6d9a32c2e107610f5ba22c2ca054a3efc1237a8291118af3191e7b
|
| 3 |
+
size 80684768
|
build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β 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 _causal_conv1d_1b44a8e
|
| 3 |
+
ops = torch.ops._causal_conv1d_1b44a8e
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_causal_conv1d_1b44a8e::{op_name}"
|
build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__init__.py
CHANGED
|
@@ -1,4 +1,26 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/causal_conv1d/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (390 Bytes)
|
|
|
build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/_ops.cpython-313.pyc
DELETED
|
Binary file (535 Bytes)
|
|
|
build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_interface.cpython-313.pyc
DELETED
|
Binary file (9.94 kB)
|
|
|
build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_varlen.cpython-313.pyc
DELETED
|
Binary file (4.92 kB)
|
|
|
build/torch28-cxx11-cu126-x86_64-linux/causal_conv1d/__pycache__/cpp_functions.cpython-313.pyc
DELETED
|
Binary file (3.62 kB)
|
|
|
build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/causal_conv1d_interface.py
RENAMED
|
File without changes
|
build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/causal_conv1d_varlen.py
RENAMED
|
File without changes
|
build/{torch29-cxx11-cu126-x86_64-linux/causal_conv1d β torch28-cxx11-cu126-x86_64-linux}/cpp_functions.py
RENAMED
|
File without changes
|
build/torch28-cxx11-cu126-x86_64-linux/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"python-depends":[]}
|
build/torch28-cxx11-cu128-x86_64-linux/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .causal_conv1d_interface import causal_conv1d_fn, causal_conv1d_update
|
| 2 |
+
from .causal_conv1d_varlen import causal_conv1d_varlen_states
|
| 3 |
+
|
| 4 |
+
__all__ = ["causal_conv1d_fn", "causal_conv1d_update", "causal_conv1d_varlen_states"]
|
build/torch28-cxx11-cu128-x86_64-linux/_causal_conv1d_1b44a8e.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43ea19b486dc11d1eb780e7c1c4944ad27d27713ab41b8824b14add98c5eb645
|
| 3 |
+
size 107168432
|
build/torch28-cxx11-cu128-x86_64-linux/_ops.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
from . import _causal_conv1d_1b44a8e
|
| 3 |
+
ops = torch.ops._causal_conv1d_1b44a8e
|
| 4 |
+
|
| 5 |
+
def add_op_namespace_prefix(op_name: str):
|
| 6 |
+
"""
|
| 7 |
+
Prefix op by namespace.
|
| 8 |
+
"""
|
| 9 |
+
return f"_causal_conv1d_1b44a8e::{op_name}"
|
build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__init__.py
CHANGED
|
@@ -1,4 +1,26 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/causal_conv1d/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (390 Bytes)
|
|
|
build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/_ops.cpython-313.pyc
DELETED
|
Binary file (535 Bytes)
|
|
|
build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_interface.cpython-313.pyc
DELETED
|
Binary file (9.94 kB)
|
|
|
build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/causal_conv1d_varlen.cpython-313.pyc
DELETED
|
Binary file (4.92 kB)
|
|
|
build/torch28-cxx11-cu128-x86_64-linux/causal_conv1d/__pycache__/cpp_functions.cpython-313.pyc
DELETED
|
Binary file (3.62 kB)
|
|
|
build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/causal_conv1d_interface.py
RENAMED
|
File without changes
|
build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/causal_conv1d_varlen.py
RENAMED
|
File without changes
|
build/{torch29-cxx11-cu128-x86_64-linux/causal_conv1d β torch28-cxx11-cu128-x86_64-linux}/cpp_functions.py
RENAMED
|
File without changes
|
build/torch28-cxx11-cu128-x86_64-linux/metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"python-depends":[]}
|