Skip to content

Commit 1d75966

Browse files
authored
v0.1.8 (#59)
* fixed url opening through markdown * added system prompt editor * added auto scroll * fixed height model variant scroll * added model size in gb * added status bar footer * fix layout to add scrollbar in chat window * added /completion endpoint * added multi model and smart memory approximator * added threadpool to model manager and fixed gpu memory usage * use vulkan backend detector * fixed gpu vram monitoring to use directx * fixed crashed on multimodel by threadpool * update nsis installer
1 parent b5198b4 commit 1d75966

59 files changed

Lines changed: 4388 additions & 1364 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,6 @@ option(DEBUG "Build with debugging information" OFF)
2424

2525
# ==== External Dependencies ====
2626

27-
# OpenGL
28-
find_package(OpenGL REQUIRED)
29-
if(NOT OpenGL_FOUND)
30-
message(FATAL_ERROR "OpenGL not found")
31-
endif()
32-
message(STATUS "Found OpenGL: ${OpenGL_INCLUDE_DIR}")
33-
3427
# OpenSSL
3528
find_package(OpenSSL REQUIRED)
3629
if(NOT OpenSSL_FOUND)
@@ -112,7 +105,6 @@ target_compile_definitions(kolosal_lib PUBLIC
112105
target_include_directories(kolosal_lib PUBLIC
113106
${IMGUI_DIR}
114107
${IMGUI_DIR}/backends
115-
${OpenGL_INCLUDE_DIR}
116108
${EXTERNAL_DIR}/glad/include
117109
${EXTERNAL_DIR}/icons
118110
${EXTERNAL_DIR}/nlohmann
@@ -131,7 +123,6 @@ target_include_directories(kolosal_lib PUBLIC
131123
# Platform-specific library dependencies
132124
if(WIN32)
133125
target_link_libraries(kolosal_lib PUBLIC
134-
${OpenGL_LIBRARIES}
135126
glad
136127
nfd
137128
Dwmapi
@@ -153,12 +144,11 @@ if(WIN32)
153144
)
154145
else()
155146
target_link_libraries(kolosal_lib PUBLIC
156-
${OpenGL_LIBRARIES}
157147
glad
158148
nfd
159149
OpenSSL::SSL
160150
)
161-
151+
162152
target_compile_definitions(kolosal_lib PUBLIC
163153
IMGUI_IMPL_OPENGL_LOADER_GLAD
164154
${FONT_DEFINITIONS}
231 KB
Binary file not shown.
731 KB
Binary file not shown.

external/genta-personal/include/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct LoadingParameters
6969
bool warmup = false;
7070
int n_parallel = 1;
7171
int n_gpu_layers = 100;
72-
int n_batch = 4096;
72+
int n_batch = 256;
7373
};
7474

7575
#endif // TYPES_H

include/config.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include <imgui.h>
44

5+
#define APP_VERSION "0.1.8"
56

67
// TODO: Need to refactor this to use json file that is modifiable by the user in realtime
78
// Set up a system to save and load the settings from a json file
@@ -132,4 +133,5 @@ namespace Config
132133
constexpr float INPUT_HEIGHT = 100.0F;
133134
constexpr float CHAT_WINDOW_CONTENT_WIDTH = 750.0F;
134135
constexpr float TITLE_BAR_HEIGHT = 50.0F;
136+
constexpr float FOOTER_HEIGHT = 22.0F;
135137
} // namespace Config

0 commit comments

Comments
 (0)