1
mirror of https://github.com/cocktailpeanut/dalai synced 2024-11-27 14:33:37 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
cocktailpeanut
6b9bd0c1b4 custom home folder 2023-03-17 20:07:21 -04:00
cocktailpeanut
b3b75a08fb Downloader fix
use a method that doesn't waste memory (and eventually run out of system memory)
2023-03-17 00:38:04 -04:00
cocktailpeanut
9561e0d6e7 Use Visual Studio on Windows
1. revert ninja + mingw => need visual studio anyway to even begin, so might as well recommend installing vs before installing dalai. it's simpler too.
2. path resolution
2023-03-15 13:48:17 -04:00
cocktailpeanut
ac1a6d3da7 win32 support
- use ninja generator for cmake
- use mingw64 gcc/g++
- different path for the built binaries on windows
2023-03-15 09:24:47 -07:00
cocktailpeanut
895dec3bb7 Merge branch 'main' of https://github.com/cocktailpeanut/dalai 2023-03-14 20:19:14 -04:00
cocktailpeanut
e33ad58ed3 Remove native program dependencies
1. Use isomorphic-git to avoid requiring users to install git separately
2. On windows, do not assume python is already installed. Instead, download a self-contained python and use this.
2023-03-14 20:17:16 -04:00
EliasVincent
472784ffd7 throw error if Node version is below 18 2023-03-15 00:12:40 +01:00
cocktailpeanut
0de53463e6 Update
- manually setting home: handle by passing in the argument instead of using the ENV variable (for flexibility)
- installed() API
- better exception handling
- request() now takes a "url" attribute (Previously the url was being set in the constructor, this is not really correct, so moved it to the request() method)
- added 2 latest attributes: `repeat_last_n`, `repeat_penalty`
- changed `skipEnd` to `skip_end` to be consistent with the rest of the request spec
- web UI update: less brutalist. expose all customizable knobs in the header. display all currently installed models using the new `installed()` api
2023-03-13 16:11:47 -04:00
Marcus Westin
e62611fa2f Add .prettierignore file to avoid auto-formatting files (and complicate PR merges); but also add .prettierrc and yarn script to auto-format the entire repo to encourage the decision to enable this ability 2023-03-13 04:43:06 -04:00
Marcus Westin
e8ca492650 Use yarn and add scripts 2023-03-13 04:28:24 -04:00