Kernels
kernels-bot commited on
Commit
1970195
·
verified ·
1 Parent(s): 2c221e1

Uploaded using `kernel-builder`.

Browse files
Files changed (41) hide show
  1. build/torch210-cxx11-cu126-x86_64-linux/__init__.py +11 -11
  2. build/torch210-cxx11-cu126-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} +2 -2
  3. build/torch210-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  4. build/torch210-cxx11-cu126-x86_64-linux/metadata.json +1 -1
  5. build/torch210-cxx11-cu128-x86_64-linux/__init__.py +11 -11
  6. build/torch210-cxx11-cu128-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} +2 -2
  7. build/torch210-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  8. build/torch210-cxx11-cu128-x86_64-linux/metadata.json +1 -1
  9. build/torch210-cxx11-cu130-x86_64-linux/__init__.py +11 -11
  10. build/torch210-cxx11-cu130-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} +2 -2
  11. build/torch210-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  12. build/torch210-cxx11-cu130-x86_64-linux/metadata.json +1 -1
  13. build/torch211-cxx11-cu126-x86_64-linux/__init__.py +11 -11
  14. build/torch211-cxx11-cu126-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} +2 -2
  15. build/torch211-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  16. build/torch211-cxx11-cu126-x86_64-linux/metadata.json +1 -1
  17. build/torch211-cxx11-cu128-x86_64-linux/__init__.py +11 -11
  18. build/torch211-cxx11-cu128-x86_64-linux/_activation_cuda_5c4052d.abi3.so +3 -0
  19. build/torch211-cxx11-cu128-x86_64-linux/_activation_cuda_c575345.abi3.so +0 -3
  20. build/torch211-cxx11-cu128-x86_64-linux/_ops.py +3 -3
  21. build/torch211-cxx11-cu128-x86_64-linux/metadata.json +1 -1
  22. build/torch211-cxx11-cu130-x86_64-linux/__init__.py +11 -11
  23. build/torch211-cxx11-cu130-x86_64-linux/_activation_cuda_5c4052d.abi3.so +3 -0
  24. build/torch211-cxx11-cu130-x86_64-linux/_activation_cuda_c575345.abi3.so +0 -3
  25. build/torch211-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  26. build/torch211-cxx11-cu130-x86_64-linux/metadata.json +1 -1
  27. build/torch212-cxx11-cu126-x86_64-linux/__init__.py +11 -11
  28. build/torch212-cxx11-cu126-x86_64-linux/_activation_cuda_5c4052d.abi3.so +3 -0
  29. build/torch212-cxx11-cu126-x86_64-linux/_activation_cuda_c575345.abi3.so +0 -3
  30. build/torch212-cxx11-cu126-x86_64-linux/_ops.py +3 -3
  31. build/torch212-cxx11-cu126-x86_64-linux/metadata.json +1 -1
  32. build/torch212-cxx11-cu130-x86_64-linux/__init__.py +11 -11
  33. build/torch212-cxx11-cu130-x86_64-linux/_activation_cuda_5c4052d.abi3.so +3 -0
  34. build/torch212-cxx11-cu130-x86_64-linux/_activation_cuda_c575345.abi3.so +0 -3
  35. build/torch212-cxx11-cu130-x86_64-linux/_ops.py +3 -3
  36. build/torch212-cxx11-cu130-x86_64-linux/metadata.json +1 -1
  37. build/torch212-cxx11-cu132-x86_64-linux/__init__.py +11 -11
  38. build/torch212-cxx11-cu132-x86_64-linux/_activation_cuda_5c4052d.abi3.so +3 -0
  39. build/torch212-cxx11-cu132-x86_64-linux/_activation_cuda_c575345.abi3.so +0 -3
  40. build/torch212-cxx11-cu132-x86_64-linux/_ops.py +3 -3
  41. build/torch212-cxx11-cu132-x86_64-linux/metadata.json +1 -1
build/torch210-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch210-cxx11-cu126-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:02b022ebc9805be5f3bb459a5b81db1446d55caf3706b6326d264283aec836ec
3
- size 3126848
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da157b4ba351efc850b77a98848a682d58548cf87091a80298847c1666c79b83
3
+ size 3126728
build/torch210-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch210-cxx11-cu126-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch210-cxx11-cu128-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch210-cxx11-cu128-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ea266e51f73ea0b505dcc7e89ee93a03f33fc9beede46d13bd9c0b7349f0470
3
- size 4406632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe2b60e35d7661e06e9c582934719cd1b9c8593ab61dbf8849557cd352e04ac3
3
+ size 4406672
build/torch210-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch210-cxx11-cu128-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch210-cxx11-cu130-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch210-cxx11-cu130-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b30ea47c1ffe724fb047301d4dcea504924cb3c0cf0f15e3cefbbee18a55bf9
3
- size 4186584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36461034e015a2222bfde8334c244c1ecd474ad9a6a17d1bff4c45b33a5c0f9
3
+ size 4186552
build/torch210-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch210-cxx11-cu130-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch211-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch211-cxx11-cu126-x86_64-linux/{_activation_cuda_c575345.abi3.so → _activation_cuda_5c4052d.abi3.so} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f819fe87f4900ceafa027bcf1593a59a9fbf81d8edeb109d26dd26bc6cee9cd6
3
- size 3119768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd5d535d404d78f1f88db41bd3b2a5169050dcaf99748299694879be6c4a090c
3
+ size 3119656
build/torch211-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch211-cxx11-cu126-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch211-cxx11-cu128-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch211-cxx11-cu128-x86_64-linux/_activation_cuda_5c4052d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ec56b6fc9027c8d767289b2ef3c678dfe0ac25a286021aaf517ccecc6c31285
3
+ size 4391400
build/torch211-cxx11-cu128-x86_64-linux/_activation_cuda_c575345.abi3.so DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3374b286633672e60c2163327140fc334f0a7215e656f60dd25f4994b14361d7
3
- size 4395464
 
 
 
 
build/torch211-cxx11-cu128-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch211-cxx11-cu128-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch211-cxx11-cu130-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch211-cxx11-cu130-x86_64-linux/_activation_cuda_5c4052d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d14406aa4c75fec39bde58d22c36a128ab7821f8d5f79042dc8928d66bc178
3
+ size 4175384
build/torch211-cxx11-cu130-x86_64-linux/_activation_cuda_c575345.abi3.so DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fabe3c56c8acbc1634c9f8a1dd5b58f7771587eefd4385aff0714099137d8567
3
- size 4175416
 
 
 
 
build/torch211-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch211-cxx11-cu130-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch212-cxx11-cu126-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch212-cxx11-cu126-x86_64-linux/_activation_cuda_5c4052d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8c95e046ffb2ad4c39ea83278180bc302dca88001692af0f7ff728be3a51c28
3
+ size 3121096
build/torch212-cxx11-cu126-x86_64-linux/_activation_cuda_c575345.abi3.so DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ca950ab82aeac2f6a41925e8169ead38e4e8caac81ef2b17ac7c3dbf6eccfbe
3
- size 3121248
 
 
 
 
build/torch212-cxx11-cu126-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch212-cxx11-cu126-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch212-cxx11-cu130-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch212-cxx11-cu130-x86_64-linux/_activation_cuda_5c4052d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed4266e637f78bc1b24e2d02988cb44950d55c3bc15b3b7f468bd74c61cc522e
3
+ size 4176808
build/torch212-cxx11-cu130-x86_64-linux/_activation_cuda_c575345.abi3.so DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e03327ab33997bf7238cdea107ed16c4641952190087464e940dfc548e2635ef
3
- size 4176840
 
 
 
 
build/torch212-cxx11-cu130-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch212-cxx11-cu130-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
build/torch212-cxx11-cu132-x86_64-linux/__init__.py CHANGED
@@ -5,56 +5,56 @@ from ._ops import ops
5
  from . import layers
6
 
7
 
8
- def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
- def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> None:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
- def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
- def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> None:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
- def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> None:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
- def gelu(out: torch.Tensor, x: torch.Tensor) -> None:
34
  ops.gelu(out, x)
35
  return out
36
 
37
- def silu(out: torch.Tensor, x: torch.Tensor) -> None:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
- def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> None:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
- def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> None:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
- def gelu_new(out: torch.Tensor, x: torch.Tensor) -> None:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
- def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> None:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
 
5
  from . import layers
6
 
7
 
8
+ def silu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
9
  ops.silu_and_mul(out, x)
10
  return out
11
 
12
 
13
+ def mul_and_silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
14
  ops.mul_and_silu(out, x)
15
  return out
16
 
17
 
18
+ def gelu_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
19
  ops.gelu_and_mul(out, x)
20
  return out
21
 
22
 
23
+ def gelu_tanh_and_mul(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
24
  ops.gelu_tanh_and_mul(out, x)
25
  return out
26
 
27
 
28
+ def fatrelu_and_mul(out: torch.Tensor, x: torch.Tensor, threshold: float = 0.0) -> torch.Tensor:
29
  ops.fatrelu_and_mul(out, x, threshold)
30
  return out
31
 
32
 
33
+ def gelu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
34
  ops.gelu(out, x)
35
  return out
36
 
37
+ def silu(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
38
  ops.silu(out, x)
39
  return out
40
 
41
 
42
+ def gelu_tanh(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
43
  ops.gelu_tanh(out, x)
44
  return out
45
 
46
 
47
+ def gelu_fast(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
48
  ops.gelu_fast(out, x)
49
  return out
50
 
51
 
52
+ def gelu_new(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
53
  ops.gelu_new(out, x)
54
  return out
55
 
56
 
57
+ def gelu_quick(out: torch.Tensor, x: torch.Tensor) -> torch.Tensor:
58
  ops.gelu_quick(out, x)
59
  return out
60
 
build/torch212-cxx11-cu132-x86_64-linux/_activation_cuda_5c4052d.abi3.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:306cb9aba6d602501db08743aa6b530af317a10f6e79885eec7a8df1478bb4a1
3
+ size 4236408
build/torch212-cxx11-cu132-x86_64-linux/_activation_cuda_c575345.abi3.so DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8d367bb18246bb7ce85e9e093f5a65aa89a71ea228ecc8b4ff17fa3ccbfd0b4
3
- size 4236440
 
 
 
 
build/torch212-cxx11-cu132-x86_64-linux/_ops.py CHANGED
@@ -1,9 +1,9 @@
1
  import torch
2
- from . import _activation_cuda_c575345
3
- ops = torch.ops._activation_cuda_c575345
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
- return f"_activation_cuda_c575345::{op_name}"
 
1
  import torch
2
+ from . import _activation_cuda_5c4052d
3
+ ops = torch.ops._activation_cuda_5c4052d
4
 
5
  def add_op_namespace_prefix(op_name: str):
6
  """
7
  Prefix op by namespace.
8
  """
9
+ return f"_activation_cuda_5c4052d::{op_name}"
build/torch212-cxx11-cu132-x86_64-linux/metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "activation",
3
- "id": "_activation_cuda_c575345",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],
 
1
  {
2
  "name": "activation",
3
+ "id": "_activation_cuda_5c4052d",
4
  "version": 1,
5
  "license": "Apache-2.0",
6
  "python-depends": [],