Download build/torch-neuron/nki_kernels/__init__.py from aws-neuron/vjepa2-neuron-kernels: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/kernels/aws-neuron/vjepa2-neuron-kernels/resolve/main/build/torch-neuron/nki_kernels/__init__.py
- Command line
-
hf download hf://aws-neuron/vjepa2-neuron-kernels/build/torch-neuron/nki_kernels/__init__.py
-
curl -L -o __init__.py https://huggingface.co/kernels/aws-neuron/vjepa2-neuron-kernels/resolve/main/build/torch-neuron/nki_kernels/__init__.py
536 Bytes
| """The four NKI kernels of the V-JEPA2 encoder plus their host-side weight packing.""" | |
| from .attention_block import ( | |
| attention_block, | |
| lane_permutation, | |
| pack_out_weights, | |
| pack_tables, | |
| pack_v_weights, | |
| pack_weights, | |
| ) | |
| from .mlp import mlp | |
| from .res_layernorm import res_layernorm_fold | |
| from .rope_tables import build_rope_tables | |
| __all__ = [ | |
| "res_layernorm_fold", "attention_block", "mlp", | |
| "pack_weights", "pack_tables", "pack_v_weights", "pack_out_weights", | |
| "lane_permutation", "build_rope_tables", | |
| ] | |