Kernels
danieldk HF Staff commited on
Commit
a507635
·
verified ·
1 Parent(s): 320fccd

Build uploaded using `kernels`.

Browse files
.gitattributes CHANGED
@@ -357,3 +357,4 @@ build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs d
357
  build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
358
  build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
359
  build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
 
 
357
  build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
358
  build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
359
  build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
360
+ build/torch210-xpu20253-x86_64-windows/_relu_xpu_e08ad6f.pyd filter=lfs diff=lfs merge=lfs -text
build/torch210-xpu20253-x86_64-windows/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _relu_xpu_fd389c8
3
- ops = torch.ops._relu_xpu_fd389c8
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_relu_xpu_fd389c8::{op_name}"
 
1
  import torch
2
+ from . import _relu_xpu_e08ad6f
3
+ ops = torch.ops._relu_xpu_e08ad6f
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_relu_xpu_e08ad6f::{op_name}"
build/torch210-xpu20253-x86_64-windows/{_relu_xpu_fd389c8.pyd → _relu_xpu_e08ad6f.pyd} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6428a979302de37c21c49ce74825fa110e41c40add27f96b3674ef209c042e0c
3
  size 166400
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcbf4365f37f4b253e550a96891d20a00347a18c7e0bbfb97ad901a5422393e0
3
  size 166400
build/torch210-xpu20253-x86_64-windows/metadata.json CHANGED
@@ -1,5 +1,8 @@
1
  {
2
  "version": 1,
3
  "license": "Apache-2.0",
4
- "python-depends": []
 
 
 
5
  }
 
1
  {
2
  "version": 1,
3
  "license": "Apache-2.0",
4
+ "python-depends": [],
5
+ "backend": {
6
+ "type": "xpu"
7
+ }
8
  }
build/torch210-xpu20253-x86_64-windows/relu/__init__.py CHANGED
@@ -1,10 +1,10 @@
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
 
1
  import ctypes
2
+ import importlib.util
3
  import sys
 
 
4
  from pathlib import Path
5
  from types import ModuleType
6
 
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