medmekk HF Staff commited on
Commit
6dbfa40
·
verified ·
1 Parent(s): e27e7b4

Upload folder using huggingface_hub

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. README.md +0 -0
  3. build.toml +32 -0
  4. build/torch27-cxx11-cu118-x86_64-linux/yoso/__init__.py +11 -0
  5. build/torch27-cxx11-cu118-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  6. build/torch27-cxx11-cu118-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  7. build/torch27-cxx11-cu118-x86_64-linux/yoso/_ops.py +9 -0
  8. build/torch27-cxx11-cu118-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  9. build/torch27-cxx11-cu126-x86_64-linux/yoso/__init__.py +11 -0
  10. build/torch27-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  11. build/torch27-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  12. build/torch27-cxx11-cu126-x86_64-linux/yoso/_ops.py +9 -0
  13. build/torch27-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  14. build/torch27-cxx11-cu128-x86_64-linux/yoso/__init__.py +11 -0
  15. build/torch27-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  16. build/torch27-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  17. build/torch27-cxx11-cu128-x86_64-linux/yoso/_ops.py +9 -0
  18. build/torch27-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  19. build/torch28-cxx11-cu126-x86_64-linux/yoso/__init__.py +11 -0
  20. build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  21. build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  22. build/torch28-cxx11-cu126-x86_64-linux/yoso/_ops.py +9 -0
  23. build/torch28-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  24. build/torch28-cxx11-cu128-x86_64-linux/yoso/__init__.py +11 -0
  25. build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  26. build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  27. build/torch28-cxx11-cu128-x86_64-linux/yoso/_ops.py +9 -0
  28. build/torch28-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  29. build/torch28-cxx11-cu129-x86_64-linux/yoso/__init__.py +11 -0
  30. build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  31. build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  32. build/torch28-cxx11-cu129-x86_64-linux/yoso/_ops.py +9 -0
  33. build/torch28-cxx11-cu129-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  34. build/torch29-cxx11-cu126-x86_64-linux/yoso/__init__.py +11 -0
  35. build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  36. build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  37. build/torch29-cxx11-cu126-x86_64-linux/yoso/_ops.py +9 -0
  38. build/torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  39. build/torch29-cxx11-cu128-x86_64-linux/yoso/__init__.py +11 -0
  40. build/torch29-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  41. build/torch29-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  42. build/torch29-cxx11-cu128-x86_64-linux/yoso/_ops.py +9 -0
  43. build/torch29-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  44. build/torch29-cxx11-cu130-x86_64-linux/yoso/__init__.py +11 -0
  45. build/torch29-cxx11-cu130-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc +0 -0
  46. build/torch29-cxx11-cu130-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc +0 -0
  47. build/torch29-cxx11-cu130-x86_64-linux/yoso/_ops.py +9 -0
  48. build/torch29-cxx11-cu130-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so +3 -0
  49. flake.lock +168 -0
  50. flake.nix +17 -0
.gitattributes CHANGED
@@ -33,3 +33,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ build/torch27-cxx11-cu118-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
37
+ build/torch27-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
38
+ build/torch27-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
39
+ build/torch28-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
40
+ build/torch28-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so filter=lfs diff=lfs merge=lfs -text
41
+ build/torch28-cxx11-cu129-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
README.md ADDED
File without changes
build.toml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [general]
2
+ name = "yoso"
3
+ universal = false
4
+
5
+ [torch]
6
+ src = [
7
+ "torch-ext/torch_binding.cpp",
8
+ "torch-ext/torch_binding.h",
9
+ ]
10
+
11
+ [kernel.yoso]
12
+ depends = ["torch"]
13
+ backend = "cuda"
14
+ cuda-capabilities = [
15
+ "8.0",
16
+ "8.9",
17
+ "9.0",
18
+ "10.0",
19
+ "12.0",
20
+ ]
21
+ include = ["."]
22
+ src = [
23
+ "yoso/fast_lsh_cumulation_cuda.cu",
24
+ "yoso/fast_lsh_cumulation_cuda.h",
25
+ "yoso/fast_lsh_cumulation_torch.cpp",
26
+ "yoso/fast_lsh_cumulation.h",
27
+ "yoso/fast_lsh_cumulation.cu",
28
+ "yoso/common_cuda.h",
29
+ "yoso/common.h",
30
+ "yoso/common_cuda_device.h",
31
+ ]
32
+
build/torch27-cxx11-cu118-x86_64-linux/yoso/__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/torch27-cxx11-cu118-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch27-cxx11-cu118-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch27-cxx11-cu118-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch27-cxx11-cu118-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a993d93b5c46e4056a29a9c8a72b5499f01d6c852f6a8ee3662716dcf0bfe08a
3
+ size 2465968
build/torch27-cxx11-cu126-x86_64-linux/yoso/__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/torch27-cxx11-cu126-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch27-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch27-cxx11-cu126-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch27-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:557df99aef151fadf862a138f84943dd93cb898211a527787668f191e63dc107
3
+ size 2494960
build/torch27-cxx11-cu128-x86_64-linux/yoso/__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/torch27-cxx11-cu128-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch27-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch27-cxx11-cu128-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch27-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d316cd26d90f963527aa7a68e2340545635c2201bd69c781a1040fb5ea6aa54b
3
+ size 3045736
build/torch28-cxx11-cu126-x86_64-linux/yoso/__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/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch28-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch28-cxx11-cu126-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch28-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b232acaeb039ea7c2476dcf1d4618f90ff5d8af726126ed7d80deef4d8195cef
3
+ size 2499304
build/torch28-cxx11-cu128-x86_64-linux/yoso/__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/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch28-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch28-cxx11-cu128-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch28-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd27666f9ad974f958ffeb0279e54973aa4b7fa26a94ca855371ebd54de57ece
3
+ size 3045960
build/torch28-cxx11-cu129-x86_64-linux/yoso/__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/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch28-cxx11-cu129-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch28-cxx11-cu129-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch28-cxx11-cu129-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67cfb08278e43598e473113ac2a67522b922a0859d008e18ad5137a112ea4df7
3
+ size 3055168
build/torch29-cxx11-cu126-x86_64-linux/yoso/__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/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch29-cxx11-cu126-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch29-cxx11-cu126-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch29-cxx11-cu126-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b2e7ead396d2c977cc0523a5f5f112d9fbc85b637cca5e4fd07c1062accbdf
3
+ size 2499280
build/torch29-cxx11-cu128-x86_64-linux/yoso/__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/yoso/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch29-cxx11-cu128-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch29-cxx11-cu128-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch29-cxx11-cu128-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1079a87dca1bb50c85509094efa36b42a717375a2a2e795ae917c1b47f51b43
3
+ size 3045936
build/torch29-cxx11-cu130-x86_64-linux/yoso/__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-cu130-x86_64-linux/yoso/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (403 Bytes). View file
 
build/torch29-cxx11-cu130-x86_64-linux/yoso/__pycache__/_ops.cpython-313.pyc ADDED
Binary file (520 Bytes). View file
 
build/torch29-cxx11-cu130-x86_64-linux/yoso/_ops.py ADDED
@@ -0,0 +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}"
build/torch29-cxx11-cu130-x86_64-linux/yoso/_yoso_3173620_dirty.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:298f1c5374518a1d6497e22171492ce0113a6b367cb40beb20782005b93a9745
3
+ size 3099592
flake.lock ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nodes": {
3
+ "flake-compat": {
4
+ "locked": {
5
+ "lastModified": 1747046372,
6
+ "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
7
+ "owner": "edolstra",
8
+ "repo": "flake-compat",
9
+ "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
10
+ "type": "github"
11
+ },
12
+ "original": {
13
+ "owner": "edolstra",
14
+ "repo": "flake-compat",
15
+ "type": "github"
16
+ }
17
+ },
18
+ "flake-compat_2": {
19
+ "locked": {
20
+ "lastModified": 1747046372,
21
+ "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
22
+ "owner": "edolstra",
23
+ "repo": "flake-compat",
24
+ "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
25
+ "type": "github"
26
+ },
27
+ "original": {
28
+ "owner": "edolstra",
29
+ "repo": "flake-compat",
30
+ "type": "github"
31
+ }
32
+ },
33
+ "flake-utils": {
34
+ "inputs": {
35
+ "systems": "systems"
36
+ },
37
+ "locked": {
38
+ "lastModified": 1731533236,
39
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
40
+ "owner": "numtide",
41
+ "repo": "flake-utils",
42
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
43
+ "type": "github"
44
+ },
45
+ "original": {
46
+ "owner": "numtide",
47
+ "repo": "flake-utils",
48
+ "type": "github"
49
+ }
50
+ },
51
+ "flake-utils_2": {
52
+ "inputs": {
53
+ "systems": "systems_2"
54
+ },
55
+ "locked": {
56
+ "lastModified": 1731533236,
57
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
58
+ "owner": "numtide",
59
+ "repo": "flake-utils",
60
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
61
+ "type": "github"
62
+ },
63
+ "original": {
64
+ "owner": "numtide",
65
+ "repo": "flake-utils",
66
+ "type": "github"
67
+ }
68
+ },
69
+ "hf-nix": {
70
+ "inputs": {
71
+ "flake-compat": "flake-compat_2",
72
+ "flake-utils": "flake-utils_2",
73
+ "nixpkgs": "nixpkgs"
74
+ },
75
+ "locked": {
76
+ "lastModified": 1759851564,
77
+ "narHash": "sha256-Xybkhm0FM/VzlZ5WndTYq/X/9MAeddd4EQ2Vz8GdkOA=",
78
+ "owner": "huggingface",
79
+ "repo": "hf-nix",
80
+ "rev": "351655d9f124805ed7c1193aa61550ce245f4570",
81
+ "type": "github"
82
+ },
83
+ "original": {
84
+ "owner": "huggingface",
85
+ "repo": "hf-nix",
86
+ "type": "github"
87
+ }
88
+ },
89
+ "kernel-builder": {
90
+ "inputs": {
91
+ "flake-compat": "flake-compat",
92
+ "flake-utils": "flake-utils",
93
+ "hf-nix": "hf-nix",
94
+ "nixpkgs": [
95
+ "kernel-builder",
96
+ "hf-nix",
97
+ "nixpkgs"
98
+ ]
99
+ },
100
+ "locked": {
101
+ "lastModified": 1760035358,
102
+ "narHash": "sha256-N5vmCrgwcIluPclf/hmnofLK77EJJYh5PR8SRvw++es=",
103
+ "owner": "huggingface",
104
+ "repo": "kernel-builder",
105
+ "rev": "a48cbd19ae7e425dfc1865188ef06dac43ab9244",
106
+ "type": "github"
107
+ },
108
+ "original": {
109
+ "owner": "huggingface",
110
+ "repo": "kernel-builder",
111
+ "type": "github"
112
+ }
113
+ },
114
+ "nixpkgs": {
115
+ "locked": {
116
+ "lastModified": 1755963616,
117
+ "narHash": "sha256-6yD0ww/S8n+U2uPYcJZ3DRURP8Kx036GRpR2uPNZroE=",
118
+ "owner": "nixos",
119
+ "repo": "nixpkgs",
120
+ "rev": "73e96df7cff5783f45e21342a75a1540c4eddce4",
121
+ "type": "github"
122
+ },
123
+ "original": {
124
+ "owner": "nixos",
125
+ "ref": "nixos-unstable-small",
126
+ "repo": "nixpkgs",
127
+ "type": "github"
128
+ }
129
+ },
130
+ "root": {
131
+ "inputs": {
132
+ "kernel-builder": "kernel-builder"
133
+ }
134
+ },
135
+ "systems": {
136
+ "locked": {
137
+ "lastModified": 1681028828,
138
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
139
+ "owner": "nix-systems",
140
+ "repo": "default",
141
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
142
+ "type": "github"
143
+ },
144
+ "original": {
145
+ "owner": "nix-systems",
146
+ "repo": "default",
147
+ "type": "github"
148
+ }
149
+ },
150
+ "systems_2": {
151
+ "locked": {
152
+ "lastModified": 1681028828,
153
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
154
+ "owner": "nix-systems",
155
+ "repo": "default",
156
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
157
+ "type": "github"
158
+ },
159
+ "original": {
160
+ "owner": "nix-systems",
161
+ "repo": "default",
162
+ "type": "github"
163
+ }
164
+ }
165
+ },
166
+ "root": "root",
167
+ "version": 7
168
+ }
flake.nix ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ description = "Flake for yoso kernels";
3
+
4
+ inputs = {
5
+ kernel-builder.url = "github:huggingface/kernel-builder/";
6
+ };
7
+
8
+ outputs =
9
+ {
10
+ self,
11
+ kernel-builder,
12
+ }:
13
+ kernel-builder.lib.genFlakeOutputs {
14
+ path = ./.;
15
+ rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate;
16
+ };
17
+ }