Registry / ai-ml / kernels-data

kernels-data

JSON →
library0.15.2pypypi✓ verified 80d ago

Kernels Data is a library providing high-performance data structures for machine learning, primarily used in Hugging Face ecosystem. Version 0.15.2 supports Python >=3.8. Release cadence is irregular; follows kernel development.

pip install kernels-data
INSTALL
IMPORT
SIG · KERNELS-DATA
K
kernels-data
ai-mlpythonv0.15.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

kernels_data
import kernels_data
from kernels import Kernel
Backend
from kernels_data import Backend
KernelName
from kernels_data import KernelName

Basic usage: import and instantiate a Kernel object.

from kernels import Kernel from kernels.data import DataLoader # Create a simple kernel kernel = Kernel("linear") print(kernel)
Debug
Known issues
breakingIn version 0.15.0, the `Kernel` class constructor changed its parameter order. Old: Kernel('linear', ...). New: Kernel('linear', ...) remains same, but `kernel_type` is now required as first positional arg.
fix
Update calls to pass kernel type as first argument.
affects: >=0.15.0
deprecated`from kernels import DataLoader` was moved to `from kernels.data import DataLoader` in 0.14.0. The old import still works but emits a deprecation warning.
fix
Change import to `from kernels.data import DataLoader`.
affects: >=0.14.0
gotchaIf you install `kernels` (the C++ package) instead of `kernels-data`, you may get a different API. Ensure you install `kernels-data` for Python bindings.
fix
Run `pip install kernels-data` explicitly.
affects: all
gotchaThe library may require specific CUDA versions when using GPU kernels. Always check compatibility with your PyTorch/CUDA version.
fix
Refer to https://github.com/huggingface/kernels for compatibility matrix.
affects: all
Upgrade
Version history
0.15.2latest on PyPI · released Jun 3, 2026
Audit
Dependencies
torchrequiredRequired for tensor operations
numpyrequiredRequired for array operations
Agent activity
9 hits · last 30 days
node
8
Resources
kernels-data — pip install kernels-data · libregistry