Instructions to use Ashiedu/fused-split with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use Ashiedu/fused-split with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("Ashiedu/fused-split") - Notebooks
- Google Colab
- Kaggle
File size: 1,327 Bytes
bc2cb62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | ---
library_name: kernels
{% if license %}license: {{ license }}
{% endif %}---
This is the repository card of {{ repo_id }} that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated.
## How to use
{% if functions %}
```python
# make sure `kernels` is installed: `pip install -U kernels`
from kernels import get_kernel
kernel_module = get_kernel("{{ repo_id }}", version={{ version }})
{{ functions[0] }} = kernel_module.{{ functions[0] }}
{{ functions[0] }}(...)
```
{% else %}
Usage example not available.
{% endif %}
## Available functions
{% if functions %}
{% for func in functions %}
- `{{ func }}`
{% endfor %}
{% else %}
Function list not available.
{% endif %}
{% if layers %}
## Available layers
{% for layer in layers %}
- `{{ layer }}`
{% endfor %}
{% endif %}
## Benchmarks
{% if has_benchmark %}
Benchmarking script is available for this kernel. Run `kernels benchmark {{ repo_id }} --version {{ version }}`.
{% else %}
No benchmark available yet.
{% endif %}
{% if upstream %}
## Upstream
The original source code for this kernel comes from {{ upstream }}.
{% endif %}
{% if source %}
## Source
The kernel-builder formatted source for this kernel is available at {{ source }}.
{% endif %}
|