Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions examples/tts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
set(TARGET llama-tts)
add_executable(${TARGET} tts.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama common ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_17)
set(TARGET_1 llama-tts-outetts-v1)
add_executable(${TARGET_1} tts-outetts-v1.cpp)
target_link_libraries(${TARGET_1} PRIVATE llama common ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET_1} PRIVATE cxx_std_17)
install(TARGETS ${TARGET_1} RUNTIME)

set(TARGET_2 llama-tts)
add_executable(${TARGET_2} tts.cpp)
target_link_libraries(${TARGET_2} PRIVATE llama common ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET_2} PRIVATE cxx_std_17)
install(TARGETS ${TARGET_2} RUNTIME)
2 changes: 1 addition & 1 deletion examples/tts/convert_pt_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from safetensors.torch import save_file

# default
model_path = './model.pt';
model_path = './model.pt'

# read from CLI
if len(sys.argv) > 1:
Expand Down
Loading