mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-21 05:33:06 +00:00
a0ddd8392c
* add changes from llama upstream * add sycl abstraction * add sycl build * update cmake * add sycl build config * fix bug * fix bug * refactor build * fix bug * update build * call build * use sycl header * add examples * add target * fix typecast in quant.c * readd fp16 and readme * fix quant typecast * add sample * add readme * remove cxx file check
17 lines
442 B
Bash
17 lines
442 B
Bash
#!/bin/bash
|
|
|
|
# MIT license
|
|
# Copyright (C) 2024 Intel Corporation
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
INPUT2="Building a website can be done in 10 simple steps:\nStep 1:"
|
|
source /opt/intel/oneapi/setvars.sh
|
|
|
|
if [ $# -gt 0 ]; then
|
|
export GGML_SYCL_DEVICE=$1
|
|
else
|
|
export GGML_SYCL_DEVICE=0
|
|
fi
|
|
echo GGML_SYCL_DEVICE=$GGML_SYCL_DEVICE
|
|
#export GGML_SYCL_DEBUG=1
|
|
./build/bin/main -m models/ggml-base.en.bin -f samples/jfk.wav |