iamwyldecat commited on
Commit
f5a7d38
·
1 Parent(s): f72121c

chore: use latest build image and misc

Browse files
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
- language = "cuda-hipify"
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:786b0de9d0e49b4b35659ed6f257a4ed620186266cff7e909a69d4eca9ced89d
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 _activation_afd2a56_dirty
3
- ops = torch.ops._activation_afd2a56_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_afd2a56_dirty::{op_name}"
 
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:56ecd54f469047866ceeefd9bfea7cfddd2126bc9c21ff110ba0308e337cf61d
3
- size 2447432
 
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 _activation_afd2a56_dirty
3
- ops = torch.ops._activation_afd2a56_dirty
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_afd2a56_dirty::{op_name}"
 
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": 1733328505,
6
- "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
7
  "owner": "edolstra",
8
  "repo": "flake-compat",
9
- "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
10
  "type": "github"
11
  },
12
  "original": {
@@ -98,18 +98,17 @@
98
  ]
99
  },
100
  "locked": {
101
- "lastModified": 1747925434,
102
- "narHash": "sha256-yjtdRMyPIFcSF1PkDwU5Rl0bmIpJ5joad5VOt/+1ZLY=",
103
- "ref": "refs/heads/main",
104
- "rev": "fd0376ff1fec423c91589075fb9042767558c635",
105
- "shallow": true,
106
- "type": "git",
107
- "url": "file:///home/nixuser/kernel-builder"
108
  },
109
  "original": {
110
- "shallow": true,
111
- "type": "git",
112
- "url": "file:///home/nixuser/kernel-builder"
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 = "/home/nixuser/kernel-builder";
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