Commit Graph

1233 Commits (6d9575e1033d4745bfe85d958086ec0549f8e157)
 

Author SHA1 Message Date
Adam Treat 09ae04cee9 This needs to work even when localdocs and codeblocks are detected. 1 year ago
Adam Treat ce7333029f Make the copy button a little more tolerant. 1 year ago
Adam Treat 508993de75 Exit early when no chats are saved. 1 year ago
Adam Treat bd58c46da0 Initialize these to nullptr to prevent double deletion when a model fails to load. 1 year ago
Adam Treat 85bc861835 Fix the alignment. 1 year ago
Adam Treat eebfe642c4 Add an error message to download dialog if models.json can't be retrieved. 1 year ago
Adam Treat 968868415e Move saving chats to a thread and display what we're doing to the user. 1 year ago
Adam Treat c8a590bc6f Get rid of last blocking operations and make the chat/llm thread safe. 1 year ago
Adam Treat 84ec4311e9 Remove duplicated state tracking for chatgpt. 1 year ago
Adam Treat 7d2ce06029 Start working on more thread safety and model load error handling. 1 year ago
Adam Treat d5f56d3308 Forgot to add a signal handler. 1 year ago
Richard Guo a39a897e34 0.3.5 bump 1 year ago
Richard Guo 25ce8c6a1e revert version 1 year ago
Richard Guo 282a3b5498 setup.py update 1 year ago
Adam Treat aa2c824258 Initialize these. 1 year ago
Adam Treat d018b4c821 Make this atomic. 1 year ago
Adam Treat a3a6a20146 Don't store db results in ChatLLM. 1 year ago
Adam Treat 0cfe225506 Remove this as unnecessary. 1 year ago
Adam Treat 7c28e79644 Fix regenerate response with references. 1 year ago
AT f76df0deac
Typescript (#1022)
* Show token generation speed in gui.

* Add typescript/javascript to list of highlighted languages.
1 year ago
AT 2b6cc99a31
Show token generation speed in gui. (#1020) 1 year ago
cosmic-snow fd419caa55
Minor models.json description corrections. (#1013)
Signed-off-by: cosmic-snow <134004613+cosmic-snow@users.noreply.github.com>
1 year ago
cosmic-snow b00ac632e3
Update python/README.md with troubleshooting info (#1012)
- Add some notes about common Windows problems when trying to make a local build (MinGW and MSVC).

Signed-off-by: cosmic-snow <134004613+cosmic-snow@users.noreply.github.com>
1 year ago
standby24x7 cdea838671
Fix spelling typo in gpt4all.py (#1007)
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
1 year ago
Adam Treat 42e8049564 Bump version and new release notes for metal bugfix edition. 1 year ago
Adam Treat e2c807d4df Always install metal on apple. 1 year ago
Adam Treat d5179ac0c0 Fix cmake build. 1 year ago
Adam Treat d4283c0053 Fix metal and replit. 1 year ago
cosmic-snow b66d0b4fff
Fix CLI app.py (#910)
- the bindings API changed in 057b9, but the CLI was not updated
- change 'std_passthrough' param to the renamed 'streaming'
- remove '_cli_override_response_callback' as it breaks and is no longer needed
- bump version to 0.3.4
1 year ago
niansa/tuxifan 68f9786ed9
Use operator ""_MiB (#991) 1 year ago
Adam Treat 0a0d4a714e New release and bump the version. 1 year ago
Adam Treat 782e1e77a4 Fix up model names that don't begin with 'ggml-' 1 year ago
Adam Treat b39a7d4fd9 Fix json. 1 year ago
Adam Treat 6690b49a9f Converts the following to Q4_0
* Snoozy
* Nous Hermes
* Wizard 13b uncensored

Uses the filenames from actual download for these three.
1 year ago
AT a576220b18
Support loading files if 'ggml' is found anywhere in the name not just at (#1001)
the beginning and add deprecated flag to models.json so older versions will
show a model, but later versions don't. This will allow us to transition
away from models < ggmlv2 and still allow older installs of gpt4all to work.
1 year ago
Aaron Miller abc081e48d
fix llama.cpp k-quants (#988)
* enable k-quants on *all* mainline builds
1 year ago
Ettore Di Giacinto b004c53a7b
Allow to set a SetLibrarySearchPath in the golang bindings (#981)
This is used to identify the path where all the various implementations
are
1 year ago
Adam Treat 8953b7f6a6 Fix regression in checked of db and network. 1 year ago
Aaron Miller c4319d2c8e
dlhandle: prevent libs from using each other's symbols (#977)
use RTLD_LOCAL so that symbols are *only* exposed via dlsym

without this all symbols exported by the libs are available for symbol
resolution, resulting in different lib versions potentially resolving
*each other's* symbols, causing incredibly cursed behavior such as
https://gist.github.com/apage43/085c1ff69f6dd05387793ebc301840f6
1 year ago
Aaron Miller f71d8efc71
metal replit (#931)
metal+replit

makes replit work with Metal and removes its use of `mem_per_token`
in favor of fixed size scratch buffers (closer to llama.cpp)
1 year ago
Richard Guo a9b33c3d10 update setup.py 1 year ago
Richard Guo a99cc34efb fix prompt context so it's preserved in class 1 year ago
Aaron Miller 85964a7635
bump llama.cpp mainline to latest (#964) 1 year ago
Tim Miller 797891c995
Initial Library Loader for .NET Bindings / Update bindings to support newest changes (#763)
* Initial Library Loader

* Load library as part of Model factory

* Dynamically search and find the dlls

* Update tests to use locally built runtimes

* Fix dylib loading, add macos runtime support for sample/tests

* Bypass automatic loading by default.

* Only set CMAKE_OSX_ARCHITECTURES if not already set, allow cross-compile

* Switch Loading again

* Update build scripts for mac/linux

* Update bindings to support newest breaking changes

* Fix build

* Use llmodel for Windows

* Actually, it does need to be libllmodel

* Name

* Remove TFMs, bypass loading by default

* Fix script

* Delete mac script

---------

Co-authored-by: Tim Miller <innerlogic4321@ghmail.com>
1 year ago
Aaron Miller 88616fde7f
llmodel: change tokenToString to not use string_view (#968)
fixes a definite use-after-free and likely avoids some other
potential ones - std::string will convert to a std::string_view
automatically but as soon as the std::string in question goes out of
scope it is already freed and the string_view is pointing at freed
memory - this is *mostly* fine if its returning a reference to the
tokenizer's internal vocab table but it's, imo, too easy to return a
reference to a dynamically constructed string with this as replit is
doing (and unfortunately needs to do to convert the internal whitespace
replacement symbol back to a space)
1 year ago
Felix Zaslavskiy 726dcbd43d
Typo, ignore list (#967)
Fix typo in javadoc,
Add word to ignore list for codespellrc

---------

Co-authored-by: felix <felix@zaslavskiy.net>
1 year ago
Richard Guo a9bea27537 bring back when condition 1 year ago
Richard Guo 28d1e37d15 let me deploy pls 1 year ago
Richard Guo 5a0b348219 second hold for pypi deploy 1 year ago
Richard Guo e5cb9f6b7b no need for main 1 year ago