Commit Graph

53 Commits

Author SHA1 Message Date
Henk 1499763472 Flask fix 2023-04-29 02:44:41 +02:00
Henk 219b824b9b SocketIO Requirements Pin 2023-03-17 01:28:59 +01:00
Henk 2ed6cdb411 Huggingface Hub Pin 2023-03-08 18:03:36 +01:00
Henk b58daa1ba1 Pin Flask-cloudflared 2023-02-10 19:11:13 +01:00
Henk e9859cf17d DNSPython workaround
DNSPython had an update eventlet is not ready for. We now manually cap DNSPython to ensure the installations still happen correctly.
2023-01-16 16:32:17 +01:00
Henk 307fc97b9d ROCm Dependency Bump/Fix 2023-01-13 22:49:32 +01:00
Henk 857476ef6b ROCm torch version pin 2023-01-08 17:10:59 +01:00
Henk 7fc5c46c1d Add Safetensors
Having the dependency adds basic support for safetensor models.
2023-01-06 16:40:56 +01:00
henk717 55ef53f39b
Typo fix 2022-12-08 15:17:10 +01:00
Henk d0cb463c53 Pin transformers version
To avoid breaking changes lets force the exact transformers version we code against. This will be automatically picked up by all the automatic updaters.
2022-12-02 01:48:12 +01:00
Henk f1e4664d56 Dependency improvements
Adding psutil from conda to avoid the need for a compiler, finetuneanon should no longer be used. If people really want to use it they are on their own.
2022-11-11 21:13:51 +01:00
henk717 2300fb46ff
Merge branch 'KoboldAI:main' into united 2022-10-23 18:29:28 +02:00
Henk 8ee795055c Force compatible HF Hub 2022-10-23 18:28:50 +02:00
Henk 4699ded3ce Tuner Dependencies 2022-10-22 19:00:06 +02:00
Henk 9f15077337 Requirements Updates 2022-09-25 19:33:18 +02:00
Divided by Zer0 198e2920d2 loguru dependency in all environments 2022-09-16 00:53:53 +02:00
vfbd e8e0ad85be Merge branch 'united' into dependency-fix 2022-09-15 17:41:34 -04:00
vfbd 943614b5e6 Merge branch 'main' into dependency-fix 2022-09-15 17:33:48 -04:00
vfbd d55d8232d0 Unpin transformers version in Conda environments 2022-09-15 17:07:53 -04:00
Divided by Zer0 36b80a5542
Merge branch 'united' into loguru 2022-09-15 12:48:41 +02:00
Henk 7d4c690471 Merge branch 'main' into united 2022-09-15 00:43:10 +02:00
Henk aac999c073 Pin transformers to 4.21.3 2022-09-15 00:25:33 +02:00
Divided by Zer0 3ed39f9863 loguru to deps 2022-09-12 02:06:37 +02:00
Divided by Zer0 239a141d7e added loguru dependency 2022-09-12 02:04:33 +02:00
Divided by Zer0 432af79fa5 reqs 2022-09-11 19:56:36 +02:00
vfbd 34c9535667 Upload basic API with /generate POST endpoint 2022-08-08 02:27:48 -04:00
Henk b76e82644a flask-session for conda 2022-07-04 20:07:11 +02:00
Henk 75bc472a9f Transformers bump to 4.20.1
Transformers issued an important change for the OPT models breaking their compatibility with all older versions. In order for people to be able to use all models on the menu they need 4.20.1 so this is now forced in the dependencies making the update easier.
2022-06-21 23:33:38 +02:00
Henk 49a3cf132e Require accelerate
Transformers 4.20 now requires accelerate to be installed for some of the features we use in KoboldAI. This is now a required dependency for updated users.
2022-06-16 20:38:58 +02:00
Henk 3504581015 Transformers dependency bump
Makes transformers 4.20 mandatory in the dependency lists, not because the old versions are no longer supported but because it contains fixes that benefit our users and this makes it easier for them to update to it. If you stick to an older version the OPT and XGLM workarounds we have in place will remain functional, but you miss on the enhancements newer transformers versions bring.
2022-06-16 19:52:04 +02:00
Henk 810f6614af Cap GIT version for now 2022-04-27 18:20:43 +02:00
Henk 9a2d346d60 Merge branch 'main' into united 2022-04-12 10:41:51 +02:00
Henk b377887336 Cap Bleach version to 4.1.0 2022-04-12 10:32:27 +02:00
henk717 f1487a4551 New Linux Runtime 2022-03-20 00:00:21 +01:00
henk717 f581fe89cb Torch version changes 2022-03-17 21:11:36 +01:00
henk717 9235754eb9 Dependency Fixes 2022-03-17 00:35:59 +01:00
henk717 cb6ccacd64 Dependencies required for newer models 2022-02-21 21:17:12 +01:00
Ben Fox 6f7578abca adding base environment file 2022-02-02 15:10:50 -05:00
henk717 44d49ea732 Remove Huggingface Repo
Huggingface's repo is further behind than conda-forge so we will no longer offer it in the installer. The more is loaded from conda-forge the better. The same transformers package will still be installed, but a newer one from conda-forge is now guaranteed.
2022-01-31 16:21:10 +01:00
henk717 a484244392 Welcome Message API
Allows model creators to customize the welcome message using Markdown and Limited HTML

Existing United users need to run install_requirements..bat again, you can leave the existing dependencies intact.
2022-01-30 19:47:30 +01:00
Gnome Ann 338d437ea3 Use eventlet instead of gevent-websocket 2021-12-13 17:19:04 -05:00
henk717 d546cbd8c6 Update dependencies
Updates dependencies, play.sh didn't work properly so removing that for now since manually running aiserver.py is superior on Linux until I can get conda to init inside the script
2021-12-09 23:49:35 +01:00
henk717 20e0b59fb9
Migrate to official transformers
No longer using VE's fork since its obsolete, in line with what we already did for the CUDA varient.
2021-12-07 23:35:28 +01:00
henk717 44d8068bab Ngrok Support
Not recommended for home users due to DDoS risks, but might make Colab tunnels more reliable.
2021-11-29 18:11:14 +01:00
henk717 3b976c9af7 Updated defaults
Transformers official by default, no more Git versions
2021-11-27 03:14:47 +01:00
henk717 409be6645a Finetune version of rocm
Seperate file so people can easily go back to the legacy implementation based on finetune (Recommended until Huggingface's compatibility is improved) . You can install and use both.
2021-11-20 03:14:18 +01:00
henk717 485034b6bb ROCm Conda
Allows anyone to easily create a ROCm compatible conda environment. Currently set to the newer transformers, you can edit the github link if you want the finetune one.
2021-11-17 22:15:01 +01:00
henk717 0f38dbc0ed Using VE's fork for now
Switching the official huggingface to VE's fork for the time being until some of these changes land upstream.
2021-10-19 11:33:49 +02:00
henk717 7d35f825c6 Huggingface GPT-J Support
Finetune's fork has unofficial support which we supported, but this is not compatible with models designed for the official version. In this update we let models decide which transformers backend to use, and fall back to Neo if they don't choose any. We also add the 6B to the menu and for the time being switch to the github version of transformers to be ahead of the waiting time. (Hopefully we can switch back to the conda version before merging upstream).
2021-09-25 16:26:17 +02:00
henk717 fcc210898f Revert to Python 3.8
tensorflow-base doesn't like the older cudatoolkit anymore. The one for python 3.8 still does, so lets just stick to that for now then.
2021-09-16 01:18:04 +02:00