Skip to content

Commit 4f027ee

Browse files
committed
ggml-et: Fix embed kernels scripts for old python
This allows GGML-ET to build on pre-3.8 python.
1 parent b82b102 commit 4f027ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ggml/src/ggml-et/et-kernels/scripts/embed_kernels.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
import os
77
import argparse
88
from pathlib import Path
9+
from typing import Tuple
910

1011

11-
def embed_elf_as_bytes(elf_path: Path, var_name: str) -> tuple[str, str]:
12+
def embed_elf_as_bytes(elf_path: Path, var_name: str) -> Tuple[str, str]:
1213
"""
1314
Read an ELF file and convert it to C byte array declarations.
1415

0 commit comments

Comments
 (0)