Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add compress and decompress example #17

Merged
merged 32 commits into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
672c1b7
partial fix of lstm network
PABannier Oct 18, 2023
1885a72
fixed quantizer decode part
PABannier Oct 18, 2023
51ef421
debugging conv_transpose_1d
PABannier Oct 21, 2023
45d3de2
sync with ggml submodue
PABannier Oct 21, 2023
dfe759c
debug conv transpose example
PABannier Oct 21, 2023
83e600f
reorganized examples folder + created two examples
PABannier Oct 21, 2023
f489ecf
created encodec_run_mode enum + expose compress_audio func
PABannier Oct 21, 2023
ce54a9b
call function from encodec API
PABannier Oct 21, 2023
79ac5cf
reorg encodec graph
PABannier Oct 21, 2023
40e7981
rm decoder for now
PABannier Oct 21, 2023
ae6ddb5
mv `encoder_only` -> `compress`
PABannier Oct 21, 2023
1787e6f
working compress and full example
PABannier Oct 21, 2023
06f14d3
cosmit
PABannier Oct 21, 2023
d14fefc
decompress example
PABannier Oct 21, 2023
311d58f
mv encodec_print_usage and encodec_params_parse into common
PABannier Oct 21, 2023
490e262
update README
PABannier Oct 21, 2023
b9f7159
json serializer
PABannier Oct 21, 2023
1048ea6
rm n_q hardcoded
PABannier Oct 21, 2023
c249ffc
write header file
PABannier Oct 21, 2023
5f4c9cb
modified main examples
PABannier Oct 21, 2023
977aeec
add compilation flags in CMakeLists
PABannier Oct 21, 2023
4e846b8
fix wrong arg names in common
PABannier Oct 21, 2023
e234e1e
read ecdc file
PABannier Oct 21, 2023
8a44f5a
read codes from file
PABannier Oct 21, 2023
e4dc478
catch encoded
PABannier Oct 21, 2023
0e0e560
generate codec format
PABannier Oct 21, 2023
28b95f9
compy to write header API
PABannier Oct 21, 2023
988fc46
Merge branch 'track_nan_tensors' into encoder_decoder_example
PABannier Oct 21, 2023
4827a52
fix compilation errors
PABannier Oct 21, 2023
c19a535
rm useless functions
PABannier Oct 22, 2023
bda0374
green?
PABannier Oct 22, 2023
d882ffe
green
PABannier Oct 22, 2023
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
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.12)
project("encodec.cpp" C CXX)
project("encodec" C CXX)

if (NOT XCODE AND NOT MSVC AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
Expand All @@ -20,7 +20,7 @@ option(ENCODEC_BUILD_EXAMPLES "encodec: build examples" ${ENCODEC_ST

# Build libraries

set(ENCODEC_LIB encodec.cpp)
set(ENCODEC_LIB encodec)

add_subdirectory(ggml)

Expand Down
Loading