Skip to content

Commit c20cd0b

Browse files
committed
feat: Register spec to build submodules
1 parent 8c76e15 commit c20cd0b

24 files changed

Lines changed: 889 additions & 3091 deletions

File tree

CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ add_executable(gpt2
178178
)
179179
link_infini_train_exe(gpt2)
180180

181-
# add_executable(llama3
182-
# example/llama3/main.cc
183-
# example/common/tiny_shakespeare_dataset.cc
184-
# example/common/utils.cc
185-
# example/llama3/net.cc
186-
# example/common/tokenizer.cc
187-
# )
188-
# link_infini_train_exe(llama3)
181+
add_executable(llama3
182+
example/llama3/main.cc
183+
example/common/tiny_shakespeare_dataset.cc
184+
example/common/utils.cc
185+
example/llama3/net.cc
186+
example/common/tokenizer.cc
187+
)
188+
link_infini_train_exe(llama3)
189189

190190
# Tools
191191
add_subdirectory(tools/infini_run)

example/gpt2/net copy.cc

Lines changed: 0 additions & 715 deletions
This file was deleted.

example/gpt2/net copy.h

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)