tiagomonteiro0715 commited on
Commit ·
40b90bc
1
Parent(s): fcfe221
migrate to new huggingface/kernels builder schema
Browse files
build/torch-cuda/_ops.py
CHANGED
|
@@ -22,7 +22,7 @@ def get_backend() -> str:
|
|
| 22 |
|
| 23 |
def _find_ops_name() -> str:
|
| 24 |
kernel_name = "my_softmax_function"
|
| 25 |
-
unique_id = "
|
| 26 |
backend = get_backend()
|
| 27 |
return f"_{kernel_name}_{backend}_{unique_id}"
|
| 28 |
|
|
|
|
| 22 |
|
| 23 |
def _find_ops_name() -> str:
|
| 24 |
kernel_name = "my_softmax_function"
|
| 25 |
+
unique_id = "fcfe221"
|
| 26 |
backend = get_backend()
|
| 27 |
return f"_{kernel_name}_{backend}_{unique_id}"
|
| 28 |
|
build/torch-cuda/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "my-softmax-function",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [
|
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"files": {
|
| 15 |
"__init__.py": "ZpvyIhcU8bz4Xcc1WhVskt3WR3Yx9CCzS8+Jl1DOXGU=",
|
| 16 |
"_kernel.py": "xDfkK2UVoOoZY8Jn4VtzTxrzdo6MfXVm72qu2S+/jp8=",
|
| 17 |
-
"_ops.py": "
|
| 18 |
"attention_v3.py": "xWyf2XnBmPKuOe5D6h8/3S3QwQXpbYFZTYCRh49Fkso="
|
| 19 |
}
|
| 20 |
},
|
|
@@ -25,8 +25,8 @@
|
|
| 25 |
"dirty": false
|
| 26 |
},
|
| 27 |
"kernel": {
|
| 28 |
-
"sha": "
|
| 29 |
-
"dirty":
|
| 30 |
}
|
| 31 |
}
|
| 32 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"name": "my-softmax-function",
|
| 3 |
+
"id": "_my_softmax_function_cuda_fcfe221",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [
|
|
|
|
| 14 |
"files": {
|
| 15 |
"__init__.py": "ZpvyIhcU8bz4Xcc1WhVskt3WR3Yx9CCzS8+Jl1DOXGU=",
|
| 16 |
"_kernel.py": "xDfkK2UVoOoZY8Jn4VtzTxrzdo6MfXVm72qu2S+/jp8=",
|
| 17 |
+
"_ops.py": "+BooQQqCZcZeGIZWX0BK46u7inrgI9qFVaXUc7PghNo=",
|
| 18 |
"attention_v3.py": "xWyf2XnBmPKuOe5D6h8/3S3QwQXpbYFZTYCRh49Fkso="
|
| 19 |
}
|
| 20 |
},
|
|
|
|
| 25 |
"dirty": false
|
| 26 |
},
|
| 27 |
"kernel": {
|
| 28 |
+
"sha": "fcfe22179222984d0d3dbd61ef961828fe404292",
|
| 29 |
+
"dirty": false
|
| 30 |
}
|
| 31 |
}
|
| 32 |
}
|