- 08 Sep, 2023 1 commit
-
-
xiaobin authored
As more and more people begin to use Baichuan's open-source models, the influence of Baichuan models is growing, especially in China. Many community members are interested in adding support for Baichuan models to TGI. Meanwhile, Baichuan is a very open company, and in the future, it plans to open-source more and more models, taking all this into consideration, we would like to add support for the Baichuan model to TGI. To do this, we need to make some changes, which we hope can be merged into the main branch of TGI. In the future, we would be happy to help maintain support for Baichuan models in TGI. We sincerely hope that our pull request can be accepted. Thank you. By the way, the changes of this time mainly for supporting Baichuan-7B. --------- Co-authored-by:
xiaoyuze <xiaoyuze@baichuan.com> Co-authored-by:
Nicolas Patry <patry.nicolas@protonmail.com>
-
- 13 Jul, 2023 1 commit
-
-
OlivierDehaene authored
Close #589 #602
-
- 07 Jul, 2023 1 commit
-
-
Nicolas Patry authored
- Look at `transformers` base class to check for `_key_to_ignore_on_load_missing` or `_tied_weights` which are the standard attributes to select the keys to NOT save on disk (since they are ignored) - Modified safetensors code (to be reflected in safetensors even if it's an internal function). - Will not work for trust_remote_code=True repos (like santacoder). Should help with : https://github.com/huggingface/text-generation-inference/issues/555 and : https://github.com/huggingface/text-generation-inference/pull/501 and https://github.com/huggingface/text-generation-inference/issues/556 and https://github.com/huggingface/text-generation-inference/issues/482#issuecomment-1623713593
-
- 23 Jun, 2023 1 commit
-
-
Nicolas Patry authored
Should be more robust to shared tensors (ok when using `from_pretrained). But forcing us to add new checks in our loading code (since the chosen key to keep might be different from `transformers`). --------- Co-authored-by:Ubuntu <ubuntu@ip-172-31-41-161.ec2.internal>
-
- 19 Jun, 2023 1 commit
-
-
OlivierDehaene authored
@lewtun, is this enough? Closes #458 Closes #456
-
- 26 May, 2023 1 commit
-
-
OlivierDehaene authored
Co-authored-by:Joel Lamy-Poirier <joel.lamy-poirier@servicenow.com>
-
- 05 May, 2023 2 commits
-
-
Nicolas Patry authored
-
Nicolas Patry authored
-
- 04 May, 2023 1 commit
-
-
Nicolas Patry authored
-
- 07 Mar, 2023 1 commit
-
-
OlivierDehaene authored
-
- 16 Feb, 2023 1 commit
-
-
OlivierDehaene authored
-
- 15 Feb, 2023 1 commit
-
-
OlivierDehaene authored
-
- 14 Feb, 2023 1 commit
-
-
OlivierDehaene authored
-