1
mirror of https://github.com/cocktailpeanut/dalai synced 2025-02-17 01:21:28 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
cocktailpeanut
6378f8d060 npm update 2023-03-20 01:46:49 -04:00
cocktailpeanut
80253e576b d 2023-03-20 00:41:53 -04:00
cocktailpeanut
932a14143e just to make sure use the original magnet 2023-03-19 21:20:00 -04:00
cocktailpeanut
e02476d3d1 Torrent downloader + alpaca.13B 2023-03-19 21:08:24 -04:00
cocktailpeanut
91a75f6f83 ensure that git succeeds one way or another 2023-03-19 19:57:50 -04:00
cocktailpeanut
938c50e857 npm update 2023-03-19 17:54:18 -04:00
cocktailpeanut
b732b5066b Try global python first 2023-03-19 01:10:17 -04:00
cocktailpeanut
ab8c0c3df5 Troubleshoot update 2023-03-18 08:24:45 -04:00
cocktailpeanut
b8a7af8262 try prebuilt nodepty
1. try prebuilt node-pty
2. escaping should happen on the server side for safety
2023-03-18 04:48:29 -04:00
cocktailpeanut
2cfe069aa2 fix the https issue
was using webcrypto sha256 to generate unique ID for messages but it was too much hassle when trying to use it on http that's not localhost (such as 0.0.0.0) so just started using timestamp + random number instead.
2023-03-18 01:21:40 -04:00
cocktailpeanut
6b9bd0c1b4 custom home folder 2023-03-17 20:07:21 -04:00
cocktailpeanut
bc49b5ac0f setup postinstall script fix
The path `node ./bin/cli setup` isn't working on some operating systems such as windows, because the forward slash is not recognized.

Just create a setup.js file in the root path and call it without any path issues.
2023-03-17 16:56:47 -04:00
cocktailpeanut
37daa20280 revert to NPX
NPM install -g has a lot of issues related to permissions and too restrictive and has resulted in some unexpected behaviors. Roll back to npx
2023-03-17 04:53:51 -04:00
cocktailpeanut
c5349d066e New API
- dalai <model_type> add <model_name>
- dalai serve
2023-03-17 03:01:52 -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
d15b1a4770 update 2023-03-16 19:15:14 -04:00
cocktailpeanut
a4cbf1c73c dalai alpaca 2023-03-16 18:46:41 -04:00
cocktailpeanut
4a000f4825 npm update 2023-03-15 17:43:22 -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
e9a1ba4247 . 2023-03-15 09:25:15 -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
19198cf3e0 0.1.0 2023-03-13 16:37:24 -04: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
e8ca492650 Use yarn and add scripts 2023-03-13 04:28:24 -04:00
cocktailpeanut
315e6fd0b9 update 2023-03-12 17:56:04 -04:00
cocktailpeanut
38a3eca656 init 2023-03-12 16:06:51 -04:00