Instructions to use kernels-community/quantization-gptq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/quantization-gptq with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/quantization-gptq") - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files- .gitattributes +2 -0
- build/torch210-cxx11-cpu-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-x86_64-linux/{_quantization_gptq_cpu_3e728a9.abi3.so → _quantization_gptq_cpu_e8436b5.abi3.so} +1 -1
- build/torch211-cxx11-cpu-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-x86_64-linux/{_quantization_gptq_cpu_3e728a9.abi3.so → _quantization_gptq_cpu_e8436b5.abi3.so} +1 -1
.gitattributes
CHANGED
|
@@ -55,3 +55,5 @@ build/torch210-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_ba11934.abi3.so fil
|
|
| 55 |
build/torch211-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_ba11934.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 56 |
build/torch210-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_3e728a9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 57 |
build/torch211-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_3e728a9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 55 |
build/torch211-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_ba11934.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 56 |
build/torch210-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_3e728a9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 57 |
build/torch211-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_3e728a9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
build/torch210-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_e8436b5.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
build/torch211-cxx11-cpu-x86_64-linux/_quantization_gptq_cpu_e8436b5.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 _quantization_gptq_cpu_e8436b5
|
| 3 |
+
ops = torch.ops._quantization_gptq_cpu_e8436b5
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_quantization_gptq_cpu_e8436b5::{op_name}"
|
build/torch210-cxx11-cpu-x86_64-linux/{_quantization_gptq_cpu_3e728a9.abi3.so → _quantization_gptq_cpu_e8436b5.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1950576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6cca27f62fc460f73fb711bf41a09914cfa276ab736147b3acf92cebcb63fbf
|
| 3 |
size 1950576
|
build/torch211-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 _quantization_gptq_cpu_e8436b5
|
| 3 |
+
ops = torch.ops._quantization_gptq_cpu_e8436b5
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_quantization_gptq_cpu_e8436b5::{op_name}"
|
build/torch211-cxx11-cpu-x86_64-linux/{_quantization_gptq_cpu_3e728a9.abi3.so → _quantization_gptq_cpu_e8436b5.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1950576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8e449085398eaf21f1f59047dd9272af77dcb654e8091ad8b7cfa25838e244
|
| 3 |
size 1950576
|