Commit
·
f5a7d38
1
Parent(s):
f72121c
chore: use latest build image and misc
Browse files- activation/activation_kernels.cu +0 -0
- activation/cuda_compat.h +0 -0
- build.toml +2 -1
- build/torch26-cxx11-rocm62-x86_64-linux/activation/__init__.py +0 -0
- build/torch26-cxx11-rocm62-x86_64-linux/activation/{_activation_afd2a56_dirty.abi3.so → _activation_f72121c_dirty.abi3.so} +1 -1
- build/torch26-cxx11-rocm62-x86_64-linux/activation/_ops.py +3 -3
- build/torch26-cxx11-rocm62-x86_64-linux/activation/layers.py +0 -0
- build/torch27-cxx11-rocm63-x86_64-linux/activation/__init__.py +0 -0
- build/torch27-cxx11-rocm63-x86_64-linux/activation/{_activation_afd2a56_dirty.abi3.so → _activation_f72121c_dirty.abi3.so} +2 -2
- build/torch27-cxx11-rocm63-x86_64-linux/activation/_ops.py +3 -3
- build/torch27-cxx11-rocm63-x86_64-linux/activation/layers.py +0 -0
- flake.lock +12 -13
- flake.nix +1 -3
- torch-ext/activation/__init__.py +0 -0
- torch-ext/activation/layers.py +0 -0
- torch-ext/torch_binding.cpp +0 -0
- torch-ext/torch_binding.h +0 -0
activation/activation_kernels.cu
CHANGED
File without changes
|
activation/cuda_compat.h
CHANGED
File without changes
|
build.toml
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
[general]
|
2 |
name = "activation"
|
|
|
3 |
|
4 |
[torch]
|
5 |
src = [
|
@@ -8,7 +9,7 @@ src = [
|
|
8 |
]
|
9 |
|
10 |
[kernel.activation]
|
11 |
-
|
12 |
rocm-archs = [ "gfx90a" ]
|
13 |
src = [
|
14 |
"activation/activation_kernels.cu",
|
|
|
1 |
[general]
|
2 |
name = "activation"
|
3 |
+
universal = false
|
4 |
|
5 |
[torch]
|
6 |
src = [
|
|
|
9 |
]
|
10 |
|
11 |
[kernel.activation]
|
12 |
+
backend = "rocm"
|
13 |
rocm-archs = [ "gfx90a" ]
|
14 |
src = [
|
15 |
"activation/activation_kernels.cu",
|
build/torch26-cxx11-rocm62-x86_64-linux/activation/__init__.py
CHANGED
File without changes
|
build/torch26-cxx11-rocm62-x86_64-linux/activation/{_activation_afd2a56_dirty.abi3.so → _activation_f72121c_dirty.abi3.so}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2460736
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b358f5be0dc4f1c1d7198ca4417c74cf9626f678b89772e178154acbaee1476a
|
3 |
size 2460736
|
build/torch26-cxx11-rocm62-x86_64-linux/activation/_ops.py
CHANGED
@@ -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 _activation_f72121c_dirty
|
3 |
+
ops = torch.ops._activation_f72121c_dirty
|
4 |
|
5 |
def add_op_namespace_prefix(op_name: str):
|
6 |
"""
|
7 |
Prefix op by namespace.
|
8 |
"""
|
9 |
+
return f"_activation_f72121c_dirty::{op_name}"
|
build/torch26-cxx11-rocm62-x86_64-linux/activation/layers.py
CHANGED
File without changes
|
build/torch27-cxx11-rocm63-x86_64-linux/activation/__init__.py
CHANGED
File without changes
|
build/torch27-cxx11-rocm63-x86_64-linux/activation/{_activation_afd2a56_dirty.abi3.so → _activation_f72121c_dirty.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:d322fb12e4bd5eab4700783a6cfac4a8a9f9f21c7c61fd2ddb47253da8e182f1
|
3 |
+
size 2447176
|
build/torch27-cxx11-rocm63-x86_64-linux/activation/_ops.py
CHANGED
@@ -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 _activation_f72121c_dirty
|
3 |
+
ops = torch.ops._activation_f72121c_dirty
|
4 |
|
5 |
def add_op_namespace_prefix(op_name: str):
|
6 |
"""
|
7 |
Prefix op by namespace.
|
8 |
"""
|
9 |
+
return f"_activation_f72121c_dirty::{op_name}"
|
build/torch27-cxx11-rocm63-x86_64-linux/activation/layers.py
CHANGED
File without changes
|
flake.lock
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
"nodes": {
|
3 |
"flake-compat": {
|
4 |
"locked": {
|
5 |
-
"lastModified":
|
6 |
-
"narHash": "sha256-
|
7 |
"owner": "edolstra",
|
8 |
"repo": "flake-compat",
|
9 |
-
"rev": "
|
10 |
"type": "github"
|
11 |
},
|
12 |
"original": {
|
@@ -98,18 +98,17 @@
|
|
98 |
]
|
99 |
},
|
100 |
"locked": {
|
101 |
-
"lastModified":
|
102 |
-
"narHash": "sha256-
|
103 |
-
"
|
104 |
-
"
|
105 |
-
"
|
106 |
-
"type": "
|
107 |
-
"url": "file:///home/nixuser/kernel-builder"
|
108 |
},
|
109 |
"original": {
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"
|
113 |
}
|
114 |
},
|
115 |
"nixpkgs": {
|
|
|
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": {
|
|
|
98 |
]
|
99 |
},
|
100 |
"locked": {
|
101 |
+
"lastModified": 1748620233,
|
102 |
+
"narHash": "sha256-VULm9HgGXvo3pyfsPy3SOhoqgkuqbGSaSemvzNUbdIU=",
|
103 |
+
"owner": "huggingface",
|
104 |
+
"repo": "kernel-builder",
|
105 |
+
"rev": "da3340e5b3cbb6086600420f4814b033395788d1",
|
106 |
+
"type": "github"
|
|
|
107 |
},
|
108 |
"original": {
|
109 |
+
"owner": "huggingface",
|
110 |
+
"repo": "kernel-builder",
|
111 |
+
"type": "github"
|
112 |
}
|
113 |
},
|
114 |
"nixpkgs": {
|
flake.nix
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
{
|
2 |
description = "Flake for Torch kernel extension";
|
3 |
-
|
4 |
inputs = {
|
5 |
-
kernel-builder.url = "/
|
6 |
};
|
7 |
-
|
8 |
outputs = { self, kernel-builder, }:
|
9 |
kernel-builder.lib.genFlakeOutputs {
|
10 |
path = ./.;
|
|
|
1 |
{
|
2 |
description = "Flake for Torch kernel extension";
|
|
|
3 |
inputs = {
|
4 |
+
kernel-builder.url = "github:huggingface/kernel-builder";
|
5 |
};
|
|
|
6 |
outputs = { self, kernel-builder, }:
|
7 |
kernel-builder.lib.genFlakeOutputs {
|
8 |
path = ./.;
|
torch-ext/activation/__init__.py
CHANGED
File without changes
|
torch-ext/activation/layers.py
CHANGED
File without changes
|
torch-ext/torch_binding.cpp
CHANGED
File without changes
|
torch-ext/torch_binding.h
CHANGED
File without changes
|