diff --git a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index a51485489a7880f47b8c4512f61dc8268887de18..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09177b6bbe99ca3dadec283fcd1fbed831b5e150c6afc3ab10704ddceea95576 -size 31359200 diff --git a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index 7eb2f8ed3f57890e8bbce63b0c58612535b95eda..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:071573e21e6054145a3182514e04116df6866ae748c227fd2ea436153e4c6275 -size 31002600 diff --git a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu124-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py b/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py b/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index 6bb2bf97e99c976b8f705cdc70a8d401d0d985af..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c312731f3cfedd24fa364a2ea37ffbdbef283026d9970ece49558ab990b64dd -size 30886928 diff --git a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index c3714edd48c1fd5a30b4e94d3542b0c76872264c..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0910d73c92282fee4a95a03b12f5c7f5a014d27e452deed21425c6c959da509a -size 31029576 diff --git a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index 1453f92ff817008a7381a36de2325d1dffb52a5d..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fce19321affc8e4734484925ac93862ba41fa5d192ef133710c07e82f1e344e4 -size 31354584 diff --git a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu118-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index b51b00d454a66090799dd41cb701870111c34237..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7315f176ff319da68450bc7396fada660484741687b7b0c907baf4520c511219 -size 31166344 diff --git a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu124-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/__init__.py b/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_ops.py b/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index abc8c351578fbc199601a6076e64b79704792cba..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e4aa8aceae17bbed8be4287c4cbc01f8249b385e260a139172a34aa12efecb89 -size 31083056 diff --git a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/__init__.py b/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_ops.py b/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index 817fb93514eb52be07446183f00a2bcd0c73d459..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c98e478af0de310d3588e72c9cb10e7c787413f3caae65843df3f6fa16a473e2 -size 31189216 diff --git a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch26-cxx98-cu126-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 690365a76d26633adfc3f1baf2d7163a96a9ea56..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index 77e3fdadbe96d67af23bf70c0261f1971e112679..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index 285a1c499617133099e61e4188fde71dd8d203c5..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index 7ca134cca31c3e4f6dbc2bda32496668ed8061bb..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_92f3139 -ops = torch.ops._quantization_eetq_92f3139 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_92f3139::{op_name}" \ No newline at end of file diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so deleted file mode 100644 index d96419978cfca526fdeeed071e790fe8a502442b..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a87d3bf237f1e897b2b58d95a686ee4b5584329b6d04243eaf970681be00bb67 -size 31977872 diff --git a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu118-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py b/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py b/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index e3eba5306869676d333d0aef70d53688a4bccbae..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_6337ee0 -ops = torch.ops._quantization_eetq_6337ee0 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_6337ee0::{op_name}" \ No newline at end of file diff --git a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so b/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so deleted file mode 100755 index 2e5f6a843de1b5a81cf5fb679058f63e63f17224..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_6337ee0.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85f2f79a15fee959addb101180c59e6f67f9739b795d6bf5ce696db9760b2807 -size 30887136 diff --git a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index c7ef1e106828b07199e27dc3db211a9192f76995..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index 4e1bf83fa8eee688a00a7b568f1bc0c6eada661c..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index db8ca6cfc35062c0f72aca34e7f5c8aa79badba6..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index 7ca134cca31c3e4f6dbc2bda32496668ed8061bb..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_92f3139 -ops = torch.ops._quantization_eetq_92f3139 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_92f3139::{op_name}" \ No newline at end of file diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so deleted file mode 100644 index ab97a6a7bf6b48b1d51bad46c7569d8748669c51..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a0d40ed3d499de55afde610e6bdb0c08e3ed40128c6f82984a1fdfbd2a5baae -size 31639912 diff --git a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu126-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 47c6cd9d0f0aa7d5a18bea9830f52f8040f152d4..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index 77ece60ca504b3fe50fbc49221d65d5f2c93dd58..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index 716a5880a810e81b8bf029320a6f81aeaae0b541..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index 36f39b4d4fa79b4a8a6bbf9181cd71831f70a633..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_ee9ac42 -ops = torch.ops._quantization_eetq_ee9ac42 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_ee9ac42::{op_name}" \ No newline at end of file diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so deleted file mode 100644 index f20ed8218a942ae54455c6aaed44e8820e1dc808..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c32dd6d144418fd7255d5555b634407890ad96b298c98a00bb8463d6f6dd9be -size 38028936 diff --git a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 2c33283dc44b927628a3af9ca2f19232b93e1ffa..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index ca9825e4a92eb9b7a6ca5cdd16a15312dd852bb1..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index c7a8ce97732c00a2ce8bcc355bf57cfe284761b7..0000000000000000000000000000000000000000 Binary files a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_ops.py b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_ops.py deleted file mode 100644 index 7ca134cca31c3e4f6dbc2bda32496668ed8061bb..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_92f3139 -ops = torch.ops._quantization_eetq_92f3139 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_92f3139::{op_name}" \ No newline at end of file diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so deleted file mode 100644 index 2d0a22e88f35ace9fc27e20d02197486b439fe67..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/_quantization_eetq_92f3139.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb04c8f5d3cb36f8566d702e184f66277061bbbc2a72693bdfdb1182e2516125 -size 38054616 diff --git a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/custom_ops.py b/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch27-cxx11-cu128-x86_64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 8227ca00f8cbcce3782760c6048df9807fe65a03..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index a49f22ad0e44d80e12c52e37b19610454845913c..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index 1295452813ceab08f3b02fbd71e2f2e1855a1851..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index ca4f55199f0790796ac528270956a3046014573c..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_1d4b892 -ops = torch.ops._quantization_eetq_1d4b892 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_1d4b892::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so deleted file mode 100755 index f30efb3c50ffc04c5dd424f5ca0207c7e4a0ec9f..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5df285bd2f19db1923189158250f6aa42e48caf8e4a4a9b9a36fc463fd0cdf4c -size 30814608 diff --git a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu126-x86_64-linux/__init__.py b/build/torch28-cxx11-cu126-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu126-x86_64-linux/_ops.py b/build/torch28-cxx11-cu126-x86_64-linux/_ops.py deleted file mode 100644 index be717c1c4741c58826e26a2990d6ce319687e70a..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_605c008 -ops = torch.ops._quantization_eetq_605c008 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_605c008::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu126-x86_64-linux/_quantization_eetq_605c008.abi3.so b/build/torch28-cxx11-cu126-x86_64-linux/_quantization_eetq_605c008.abi3.so deleted file mode 100644 index e6c86ed5f1652619b25d2499f8fc27bd4456aeaf..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/_quantization_eetq_605c008.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11e5e3b0a58f1f91bc5809e248100d391480e24f39e5104f56acb3e70d1894bc -size 39045544 diff --git a/build/torch28-cxx11-cu126-x86_64-linux/custom_ops.py b/build/torch28-cxx11-cu126-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu126-x86_64-linux/metadata.json b/build/torch28-cxx11-cu126-x86_64-linux/metadata.json deleted file mode 100644 index 9cf5deed9898dce769f4cc73913d3530b92a0bd8..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/metadata.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "version": 1, - "python-depends": [] -} \ No newline at end of file diff --git a/build/torch28-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 59674a5420a3fe2b393a7ec87f05be4d7809c6d5..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index ff9f7cd5f81606282c1528f14c955cf3309ed08d..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index 3a9bb1278b5e3db274c5947b45d4b992cb59bca4..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index ca4f55199f0790796ac528270956a3046014573c..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_1d4b892 -ops = torch.ops._quantization_eetq_1d4b892 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_1d4b892::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so deleted file mode 100755 index f588d976a3b0007d1887c984d706afa0fcec5a1b..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/_quantization_eetq_1d4b892.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d538ef151884e17e07c471c397a6645a0dbfbd66d7ae4b299a4c8091f41a55e9 -size 37432240 diff --git a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu128-x86_64-linux/__init__.py b/build/torch28-cxx11-cu128-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu128-x86_64-linux/_ops.py b/build/torch28-cxx11-cu128-x86_64-linux/_ops.py deleted file mode 100644 index be717c1c4741c58826e26a2990d6ce319687e70a..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_605c008 -ops = torch.ops._quantization_eetq_605c008 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_605c008::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu128-x86_64-linux/_quantization_eetq_605c008.abi3.so b/build/torch28-cxx11-cu128-x86_64-linux/_quantization_eetq_605c008.abi3.so deleted file mode 100644 index ee70dfb44c87d58a8a52f7983256814873a82f59..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/_quantization_eetq_605c008.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6c0ec3bf231c79df6cac872280b7d4fb4fbb0fa563784e00b83f1aa5be3825a -size 45378576 diff --git a/build/torch28-cxx11-cu128-x86_64-linux/custom_ops.py b/build/torch28-cxx11-cu128-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu128-x86_64-linux/metadata.json b/build/torch28-cxx11-cu128-x86_64-linux/metadata.json deleted file mode 100644 index 9cf5deed9898dce769f4cc73913d3530b92a0bd8..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/metadata.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "version": 1, - "python-depends": [] -} \ No newline at end of file diff --git a/build/torch28-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index cd55f62f9ecdac66048d1b51750411c2e1f4d484..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc deleted file mode 100644 index d1bd2e02a4d62092f4e1d7487445734283a8b418..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc deleted file mode 100644 index 3fb4e784cbd1f7ffa6e40def01fc3f014205913d..0000000000000000000000000000000000000000 Binary files a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/__pycache__/custom_ops.cpython-313.pyc and /dev/null differ diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_ops.py b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_ops.py deleted file mode 100644 index 36f39b4d4fa79b4a8a6bbf9181cd71831f70a633..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_ee9ac42 -ops = torch.ops._quantization_eetq_ee9ac42 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_ee9ac42::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so deleted file mode 100644 index 0df48b6ab7fbab2946d74a7fd630348e668a1372..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/_quantization_eetq_ee9ac42.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c3c53ac387f693a12937e3c6d8640832470cd801117269fcbc2f6a1a83382612 -size 38743552 diff --git a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/custom_ops.py b/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-aarch64-linux/quantization_eetq/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu129-x86_64-linux/__init__.py b/build/torch28-cxx11-cu129-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch28-cxx11-cu129-x86_64-linux/_ops.py b/build/torch28-cxx11-cu129-x86_64-linux/_ops.py deleted file mode 100644 index be717c1c4741c58826e26a2990d6ce319687e70a..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_605c008 -ops = torch.ops._quantization_eetq_605c008 - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_605c008::{op_name}" \ No newline at end of file diff --git a/build/torch28-cxx11-cu129-x86_64-linux/_quantization_eetq_605c008.abi3.so b/build/torch28-cxx11-cu129-x86_64-linux/_quantization_eetq_605c008.abi3.so deleted file mode 100644 index 79a684b1366a17beb76407c8f2e86766a90164e8..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/_quantization_eetq_605c008.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5c671d2cd844ed9703744e1a337c901ef7e6265f70ef1cb28cc64a4a06df81f -size 46492944 diff --git a/build/torch28-cxx11-cu129-x86_64-linux/custom_ops.py b/build/torch28-cxx11-cu129-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch28-cxx11-cu129-x86_64-linux/metadata.json b/build/torch28-cxx11-cu129-x86_64-linux/metadata.json deleted file mode 100644 index 9cf5deed9898dce769f4cc73913d3530b92a0bd8..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/metadata.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "version": 1, - "python-depends": [] -} \ No newline at end of file diff --git a/build/torch28-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py b/build/torch28-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch28-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu126-aarch64-linux/__init__.py b/build/torch29-cxx11-cu126-aarch64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu126-aarch64-linux/_ops.py b/build/torch29-cxx11-cu126-aarch64-linux/_ops.py deleted file mode 100644 index 52f2ce3367ecf7eb86267cd1d358ae9cff984cdb..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_07c987f -ops = torch.ops._quantization_eetq_cuda_07c987f - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_07c987f::{op_name}" diff --git a/build/torch29-cxx11-cu126-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so b/build/torch29-cxx11-cu126-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so deleted file mode 100644 index e80ee1b31ed76215ebbb2c6f607386dfc2e49c37..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0dc7862071e70892ff753e2c3b90f40e9f67f698d585b5be9fca0dc1e8d92fb -size 39006704 diff --git a/build/torch29-cxx11-cu126-aarch64-linux/custom_ops.py b/build/torch29-cxx11-cu126-aarch64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu126-aarch64-linux/metadata.json b/build/torch29-cxx11-cu126-aarch64-linux/metadata.json deleted file mode 100644 index f5902b55ab0b2b561c0cf97567c9806c60839c7f..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/metadata.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0+PTX" - ] - } -} diff --git a/build/torch29-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu126-x86_64-linux/__init__.py b/build/torch29-cxx11-cu126-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu126-x86_64-linux/_ops.py b/build/torch29-cxx11-cu126-x86_64-linux/_ops.py deleted file mode 100644 index 52f2ce3367ecf7eb86267cd1d358ae9cff984cdb..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_07c987f -ops = torch.ops._quantization_eetq_cuda_07c987f - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_07c987f::{op_name}" diff --git a/build/torch29-cxx11-cu126-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so b/build/torch29-cxx11-cu126-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so deleted file mode 100644 index a44a834da02a835ca27cdf3b71530fa11aeeac48..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4bc9529940b02d24b5d8ea454e2a459fbf2f17e3db6261c30c50145544d27bc4 -size 39049640 diff --git a/build/torch29-cxx11-cu126-x86_64-linux/custom_ops.py b/build/torch29-cxx11-cu126-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu126-x86_64-linux/metadata.json b/build/torch29-cxx11-cu126-x86_64-linux/metadata.json deleted file mode 100644 index f5902b55ab0b2b561c0cf97567c9806c60839c7f..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/metadata.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0+PTX" - ] - } -} diff --git a/build/torch29-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu126-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu128-aarch64-linux/__init__.py b/build/torch29-cxx11-cu128-aarch64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu128-aarch64-linux/_ops.py b/build/torch29-cxx11-cu128-aarch64-linux/_ops.py deleted file mode 100644 index 52f2ce3367ecf7eb86267cd1d358ae9cff984cdb..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_07c987f -ops = torch.ops._quantization_eetq_cuda_07c987f - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_07c987f::{op_name}" diff --git a/build/torch29-cxx11-cu128-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so b/build/torch29-cxx11-cu128-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so deleted file mode 100644 index 2bd91fdcf72f4acbe5c1f04527cae37a9b317487..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/_quantization_eetq_cuda_07c987f.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5fe7e9d12743a281594a2bcc46d8592a8f1bc6d74c0e51bb1c85d04a67e5001c -size 45296736 diff --git a/build/torch29-cxx11-cu128-aarch64-linux/custom_ops.py b/build/torch29-cxx11-cu128-aarch64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu128-aarch64-linux/metadata.json b/build/torch29-cxx11-cu128-aarch64-linux/metadata.json deleted file mode 100644 index 8b796af185fbbd8594fcd846949aa5fadc0ccdda..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/metadata.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "10.0", - "10.1", - "12.0+PTX", - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0" - ] - } -} diff --git a/build/torch29-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu128-x86_64-linux/__init__.py b/build/torch29-cxx11-cu128-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu128-x86_64-linux/_ops.py b/build/torch29-cxx11-cu128-x86_64-linux/_ops.py deleted file mode 100644 index 52f2ce3367ecf7eb86267cd1d358ae9cff984cdb..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_07c987f -ops = torch.ops._quantization_eetq_cuda_07c987f - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_07c987f::{op_name}" diff --git a/build/torch29-cxx11-cu128-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so b/build/torch29-cxx11-cu128-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so deleted file mode 100644 index 01fcff319d05e27a67d6e40d2ec4a74f531ebd4e..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/_quantization_eetq_cuda_07c987f.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7b185f90016c91944fbe70d6907ea4597e41f7be5777e57a01d11cbb4922478 -size 45378760 diff --git a/build/torch29-cxx11-cu128-x86_64-linux/custom_ops.py b/build/torch29-cxx11-cu128-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu128-x86_64-linux/metadata.json b/build/torch29-cxx11-cu128-x86_64-linux/metadata.json deleted file mode 100644 index 8b796af185fbbd8594fcd846949aa5fadc0ccdda..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/metadata.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "10.0", - "10.1", - "12.0+PTX", - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0" - ] - } -} diff --git a/build/torch29-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index 03dbc1afe1cf156661a2b1b22003cd5f599a0309..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu128-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import sys - -import importlib -from pathlib import Path -from types import ModuleType - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu129-aarch64-linux/__init__.py b/build/torch29-cxx11-cu129-aarch64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu129-aarch64-linux/_ops.py b/build/torch29-cxx11-cu129-aarch64-linux/_ops.py deleted file mode 100644 index 00b327da5f4a6d51afe70812bcaa1aad785784af..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_3177cdf -ops = torch.ops._quantization_eetq_cuda_3177cdf - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_3177cdf::{op_name}" diff --git a/build/torch29-cxx11-cu129-aarch64-linux/_quantization_eetq_cuda_3177cdf.abi3.so b/build/torch29-cxx11-cu129-aarch64-linux/_quantization_eetq_cuda_3177cdf.abi3.so deleted file mode 100644 index 71483f17758381808b06e54a017fd164475f7062..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/_quantization_eetq_cuda_3177cdf.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f12dcd8ded621dd76c784ce6b410232a0ae7fa6dbed1a4809dc62c2636661a6 -size 46411448 diff --git a/build/torch29-cxx11-cu129-aarch64-linux/custom_ops.py b/build/torch29-cxx11-cu129-aarch64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu129-aarch64-linux/metadata.json b/build/torch29-cxx11-cu129-aarch64-linux/metadata.json deleted file mode 100644 index 8b796af185fbbd8594fcd846949aa5fadc0ccdda..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/metadata.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "10.0", - "10.1", - "12.0+PTX", - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0" - ] - } -} diff --git a/build/torch29-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py deleted file mode 100644 index a9b2672c1cd85b74c1b3ded0fc0b2100e1aeac23..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-aarch64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import importlib.util -import sys -from pathlib import Path -from types import ModuleType - - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py"))) diff --git a/build/torch29-cxx11-cu129-x86_64-linux/__init__.py b/build/torch29-cxx11-cu129-x86_64-linux/__init__.py deleted file mode 100644 index c65d0601c655d7acf1a12e61b6549618b46a70d7..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -from .custom_ops import w8_a16_gemm, w8_a16_gemm_, preprocess_weights, quant_weights - -__all__ = ["w8_a16_gemm", "w8_a16_gemm_", "preprocess_weights", "quant_weights"] diff --git a/build/torch29-cxx11-cu129-x86_64-linux/_ops.py b/build/torch29-cxx11-cu129-x86_64-linux/_ops.py deleted file mode 100644 index 00b327da5f4a6d51afe70812bcaa1aad785784af..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/_ops.py +++ /dev/null @@ -1,9 +0,0 @@ -import torch -from . import _quantization_eetq_cuda_3177cdf -ops = torch.ops._quantization_eetq_cuda_3177cdf - -def add_op_namespace_prefix(op_name: str): - """ - Prefix op by namespace. - """ - return f"_quantization_eetq_cuda_3177cdf::{op_name}" diff --git a/build/torch29-cxx11-cu129-x86_64-linux/_quantization_eetq_cuda_3177cdf.abi3.so b/build/torch29-cxx11-cu129-x86_64-linux/_quantization_eetq_cuda_3177cdf.abi3.so deleted file mode 100644 index de6c3445a676c700cf866943605b5ed0b1053598..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/_quantization_eetq_cuda_3177cdf.abi3.so +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:69412b14b8fa6b69189a64b6b2ceccc22eb9aba241bc080071df4c92d012bbe3 -size 46493136 diff --git a/build/torch29-cxx11-cu129-x86_64-linux/custom_ops.py b/build/torch29-cxx11-cu129-x86_64-linux/custom_ops.py deleted file mode 100644 index 005b5a6e3cd5f7bcfd4aa5d7d80d60a5ed9fab88..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/custom_ops.py +++ /dev/null @@ -1,36 +0,0 @@ -from typing import List -import torch - -from ._ops import ops - - -def w8_a16_gemm( - input: torch.Tensor, weight: torch.Tensor, scale: torch.Tensor -) -> torch.Tensor: - return ops.w8_a16_gemm(input, weight, scale) - - -def w8_a16_gemm_( - input: torch.Tensor, - weight: torch.Tensor, - scale: torch.Tensor, - output: torch.Tensor, - m: int, - n: int, - k: int, -) -> torch.Tensor: - return ops.w8_a16_gemm_(input, weight, scale, output, m, n, k) - - -def preprocess_weights(origin_weight: torch.Tensor, is_int4: bool) -> torch.Tensor: - return ops.preprocess_weights(origin_weight, is_int4) - - -def quant_weights( - origin_weight: torch.Tensor, - quant_type: torch.dtype, - return_unprocessed_quantized_tensor: bool, -) -> List[torch.Tensor]: - return ops.quant_weights( - origin_weight, quant_type, return_unprocessed_quantized_tensor - ) diff --git a/build/torch29-cxx11-cu129-x86_64-linux/metadata.json b/build/torch29-cxx11-cu129-x86_64-linux/metadata.json deleted file mode 100644 index 8b796af185fbbd8594fcd846949aa5fadc0ccdda..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/metadata.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": 1, - "license": "Apache-2.0", - "python-depends": [], - "backend": { - "type": "cuda", - "archs": [ - "10.0", - "10.1", - "12.0+PTX", - "7.0", - "7.2", - "7.5", - "8.0", - "8.6", - "8.7", - "8.9", - "9.0" - ] - } -} diff --git a/build/torch29-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py b/build/torch29-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py deleted file mode 100644 index a9b2672c1cd85b74c1b3ded0fc0b2100e1aeac23..0000000000000000000000000000000000000000 --- a/build/torch29-cxx11-cu129-x86_64-linux/quantization_eetq/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -import ctypes -import importlib.util -import sys -from pathlib import Path -from types import ModuleType - - -def _import_from_path(file_path: Path) -> ModuleType: - # We cannot use the module name as-is, after adding it to `sys.modules`, - # it would also be used for other imports. So, we make a module name that - # depends on the path for it to be unique using the hex-encoded hash of - # the path. - path_hash = "{:x}".format(ctypes.c_size_t(hash(file_path.absolute())).value) - module_name = path_hash - spec = importlib.util.spec_from_file_location(module_name, file_path) - if spec is None: - raise ImportError(f"Cannot load spec for {module_name} from {file_path}") - module = importlib.util.module_from_spec(spec) - if module is None: - raise ImportError(f"Cannot load module {module_name} from spec") - sys.modules[module_name] = module - spec.loader.exec_module(module) # type: ignore - return module - - -globals().update(vars(_import_from_path(Path(__file__).parent.parent / "__init__.py")))