Skip to content
Discussion options

You must be logged in to vote

Hi,

You may find this implementation of whisper handy: https://github.com/ggerganov/whisper.cpp
fp16 can be enabled there on Ampere A1 systems by modifying Makefile:

diff --git a/Makefile b/Makefile
index b61a588..50a312d 100644
--- a/Makefile
+++ b/Makefile
@@ -141,6 +141,7 @@ ifdef WHISPER_GPROF
CXXFLAGS += -pg
endif
ifneq ($(filter aarch64%,$(UNAME_M)),)
+ CFLAGS += -march=armv8.2-a+fp16
endif
ifneq ($(filter armv6%,$(UNAME_M)),)
# Raspberry Pi 1, 2, 3

Also you could find Ampere optimized Torch interesting: https://amperecomputing.com/solutions/ampere-ai

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@FlippFuzz
Comment options

@FlippFuzz
Comment options

@jan-grzybek-ampere
Comment options

Answer selected by FlippFuzz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants