Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: kernels
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 7 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
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.
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
## How to use
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
# make sure `kernels` is installed: `pip install -U kernels`
|
| 17 |
+
from kernels import get_kernel
|
| 18 |
+
|
| 19 |
+
kernel_module = get_kernel("REPO_ID") # <- change the ID if needed
|
| 20 |
+
silu_and_mul = kernel_module.silu_and_mul
|
| 21 |
+
|
| 22 |
+
silu_and_mul(...)
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Benchmarks
|
| 26 |
+
|
| 27 |
+
[TODO: provide benchmarks if available]
|
| 28 |
+
|
| 29 |
+
## Code source
|
| 30 |
+
|
| 31 |
+
[TODO: provide original code source and other relevant citations if available]
|
| 32 |
+
|
| 33 |
+
## Notes
|
| 34 |
+
|
| 35 |
+
[TODO: provide additional notes about this kernel if needed]
|