Instructions to use replicate/rmsnorm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/rmsnorm with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/rmsnorm", version=1) - Notebooks
- Google Colab
- Kaggle
Build uploaded using `kernels`.
Browse files- .gitattributes +4 -0
- build/torch210-cxx11-cpu-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_cpu_7bbf693.abi3.so} +2 -2
- build/torch210-cxx11-cpu-x86_64-linux/metadata.json +1 -0
- build/torch210-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-xpu20253-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_xpu_7bbf693.abi3.so} +2 -2
- build/torch210-cxx11-xpu20253-x86_64-linux/metadata.json +1 -0
- build/torch29-cxx11-cpu-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-cpu-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_cpu_7bbf693.abi3.so} +2 -2
- build/torch29-cxx11-cpu-x86_64-linux/metadata.json +1 -0
- build/torch29-cxx11-xpu20252-x86_64-linux/_ops.py +3 -3
- build/torch29-cxx11-xpu20252-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_xpu_7bbf693.abi3.so} +2 -2
- build/torch29-cxx11-xpu20252-x86_64-linux/metadata.json +1 -0
.gitattributes
CHANGED
|
@@ -80,3 +80,7 @@ build/torch210-cxx11-xpu20253-x86_64-linux/_rmsnorm_ce2b5cc.abi3.so filter=lfs d
|
|
| 80 |
build/torch29-cxx11-cpu-x86_64-linux/_rmsnorm_ce2b5cc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 81 |
build/torch29-cxx11-xpu20252-x86_64-linux/_rmsnorm_ce2b5cc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 82 |
build/torch210-xpu20253-x86_64-windows/rmsnorm/_rmsnorm_4cd2f5b.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
build/torch29-cxx11-cpu-x86_64-linux/_rmsnorm_ce2b5cc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 81 |
build/torch29-cxx11-xpu20252-x86_64-linux/_rmsnorm_ce2b5cc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 82 |
build/torch210-xpu20253-x86_64-windows/rmsnorm/_rmsnorm_4cd2f5b.pyd filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
build/torch210-cxx11-cpu-x86_64-linux/_rmsnorm_cpu_7bbf693.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
build/torch210-cxx11-xpu20253-x86_64-linux/_rmsnorm_xpu_7bbf693.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
build/torch29-cxx11-cpu-x86_64-linux/_rmsnorm_cpu_7bbf693.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
build/torch29-cxx11-xpu20252-x86_64-linux/_rmsnorm_xpu_7bbf693.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cxx11-cpu-x86_64-linux/_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 _rmsnorm_cpu_7bbf693
|
| 3 |
+
ops = torch.ops._rmsnorm_cpu_7bbf693
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rmsnorm_cpu_7bbf693::{op_name}"
|
build/torch210-cxx11-cpu-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_cpu_7bbf693.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:ab299dbac7531206ab8b0ae941037a9ababd658909682d0d06bb6b7d97cf1fe3
|
| 3 |
+
size 2006072
|
build/torch210-cxx11-cpu-x86_64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch210-cxx11-xpu20253-x86_64-linux/_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 _rmsnorm_xpu_7bbf693
|
| 3 |
+
ops = torch.ops._rmsnorm_xpu_7bbf693
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rmsnorm_xpu_7bbf693::{op_name}"
|
build/torch210-cxx11-xpu20253-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_xpu_7bbf693.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:1d5356bb7f603ee4dbb995ed526689d1e351caf725757a160af5d5ed8c3bbebe
|
| 3 |
+
size 104793360
|
build/torch210-cxx11-xpu20253-x86_64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch29-cxx11-cpu-x86_64-linux/_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 _rmsnorm_cpu_7bbf693
|
| 3 |
+
ops = torch.ops._rmsnorm_cpu_7bbf693
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rmsnorm_cpu_7bbf693::{op_name}"
|
build/torch29-cxx11-cpu-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_cpu_7bbf693.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:173e354d4d6a60bae4a2d345f8c8e817efd3fe29f6e9db42fd357fe771cf6768
|
| 3 |
+
size 1999776
|
build/torch29-cxx11-cpu-x86_64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|
build/torch29-cxx11-xpu20252-x86_64-linux/_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 _rmsnorm_xpu_7bbf693
|
| 3 |
+
ops = torch.ops._rmsnorm_xpu_7bbf693
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_rmsnorm_xpu_7bbf693::{op_name}"
|
build/torch29-cxx11-xpu20252-x86_64-linux/{_rmsnorm_ce2b5cc.abi3.so → _rmsnorm_xpu_7bbf693.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:b891dd3a6dc7f9315c04b74ebdc5376616a5a045b3efd0e2c870007fb2d72239
|
| 3 |
+
size 102179544
|
build/torch29-cxx11-xpu20252-x86_64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
|
|
|
| 3 |
"python-depends": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"version": 1,
|
| 3 |
+
"license": "Apache-2.0",
|
| 4 |
"python-depends": []
|
| 5 |
}
|