Skip to content

Commit

Permalink
examples : rename vision to simple-vision
Browse files Browse the repository at this point in the history
This commit renames the vision example to simple-vision. This is to
avoid confusion with vision.cpp in common.
  • Loading branch information
danbev committed Nov 11, 2024
1 parent df21797 commit f2d428c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BUILD_TARGETS = \
llama-speculative \
llama-tokenize \
llama-vdot \
llama-vision \
llama-simple-vision \
llama-cvector-generator \
llama-gen-docs \
tests/test-c.o
Expand Down Expand Up @@ -1470,7 +1470,7 @@ llama-gbnf-validator: examples/gbnf-validator/gbnf-validator.cpp \
$(CXX) $(CXXFLAGS) -c $< -o $(call GET_OBJ_FILE, $<)
$(CXX) $(CXXFLAGS) $(filter-out %.h $<,$^) $(call GET_OBJ_FILE, $<) -o $@ $(LDFLAGS)

llama-vision: examples/vision/vision.cpp \
llama-simple-vision: examples/simple-vision/simple-vision.cpp \
$(OBJ_ALL)
$(CXX) $(CXXFLAGS) -c $< -o $(call GET_OBJ_FILE, $<)
$(CXX) $(CXXFLAGS) $(filter-out %.h $<,$^) $(call GET_OBJ_FILE, $<) -o $@ $(LDFLAGS)
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ else()
add_subdirectory(save-load-state)
add_subdirectory(simple)
add_subdirectory(simple-chat)
add_subdirectory(simple-vision)
add_subdirectory(speculative)
add_subdirectory(tokenize)
add_subdirectory(vision)
endif()
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(TARGET llama-vision)
add_executable(${TARGET} vision.cpp)
set(TARGET llama-simple-vision)
add_executable(${TARGET} simple-vision.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
File renamed without changes.

0 comments on commit f2d428c

Please sign in to comment.