Run this model with HF Jobs
Run replicate/quantization-eetq on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/replicate/quantization-eetq. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/replicate/quantization-eetq on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use replicate/quantization-eetq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/quantization-eetq with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/quantization-eetq", version=1) - Notebooks
- Google Colab
- Kaggle
Update for build.toml changes
Browse filesFiles changed (2)
- build.toml+3-6
- torch-ext/registration.hDeleted-27
123456789101112131415161743 unmodified lines61626364656667[general]version = "0.0.1"[torch]name = "quantization_eetq"src = ["torch-ext/registration.h","torch-ext/torch_binding.cpp","torch-ext/torch_binding.h"]pyroot = "torch-ext"[kernel.cutlass_kernels]capabilities = [ "7.0", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]src = ["cutlass_extensions/include/cutlass_extensions/arch/mma.h","cutlass_extensions/include/cutlass_extensions/compute_occupancy.h",43 unmodified linesinclude = [ ".", "utils", "cutlass_extensions/include" ][kernel.weight_only_batched_gemv]capabilities = [ "7.0", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]src = ["cutlass_extensions/include/cutlass_extensions/interleaved_numeric_conversion.h","cutlass_extensions/include/cutlass_extensions/gemm/kernel/mixed_gemm_B_layout.h",123456789101112131443 unmodified lines58596061626364[general]name = "quantization_eetq"[torch]src = ["torch-ext/torch_binding.cpp","torch-ext/torch_binding.h"][kernel.cutlass_kernels]cuda-capabilities = [ "7.0", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]src = ["cutlass_extensions/include/cutlass_extensions/arch/mma.h","cutlass_extensions/include/cutlass_extensions/compute_occupancy.h",43 unmodified linesinclude = [ ".", "utils", "cutlass_extensions/include" ][kernel.weight_only_batched_gemv]cuda-capabilities = [ "7.0", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]src = ["cutlass_extensions/include/cutlass_extensions/interleaved_numeric_conversion.h","cutlass_extensions/include/cutlass_extensions/gemm/kernel/mixed_gemm_B_layout.h",
123456789101112131415161718192021222324252627#pragma once
#include <Python.h>
#define _CONCAT(A, B) A##B#define CONCAT(A, B) _CONCAT(A, B)
#define _STRINGIFY(A) #A#define STRINGIFY(A) _STRINGIFY(A)
// A version of the TORCH_LIBRARY macro that expands the NAME, i.e. so NAME// could be a macro instead of a literal token.#define TORCH_LIBRARY_EXPAND(NAME, MODULE) TORCH_LIBRARY(NAME, MODULE)
// A version of the TORCH_LIBRARY_IMPL macro that expands the NAME, i.e. so NAME// could be a macro instead of a literal token.#define TORCH_LIBRARY_IMPL_EXPAND(NAME, DEVICE, MODULE) \ TORCH_LIBRARY_IMPL(NAME, DEVICE, MODULE)
// REGISTER_EXTENSION allows the shared library to be loaded and initialized// via python's import statement.#define REGISTER_EXTENSION(NAME) \ PyMODINIT_FUNC CONCAT(PyInit_, NAME)() { \ static struct PyModuleDef module = {PyModuleDef_HEAD_INIT, \ STRINGIFY(NAME), nullptr, 0, nullptr}; \ return PyModule_Create(&module); \ }build.toml+3-6
torch-ext/registration.hDeleted-27