hf_text-generation-inference/server/text_generation_server/models/custom_modeling
drbh bab02ff2bc
feat: add ruff and resolve issue (#2262)
* feat: add ruff and resolve issue

* fix: update client exports and adjust after rebase

* fix: adjust syntax to avoid circular import

* fix: adjust client ruff settings

* fix: lint and refactor import check and avoid model enum as global names

* fix: improve fbgemm_gpu check and lints

* fix: update lints

* fix: prefer comparing model enum over str

* fix: adjust lints and ignore specific rules

* fix: avoid unneeded quantize check
2024-07-26 10:29:09 -04:00
..
__init__.py feat(server): flash santacoder (#153) 2023-04-03 19:06:42 +02:00
bloom_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
clip.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_cohere_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_dbrx_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_deepseek_v2_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_gemma2_modeling.py Softcapping for gemma2. (#2273) 2024-07-22 18:27:10 +02:00
flash_gemma_modeling.py Hotfix: fix of use of unquantized weights in Gemma GQA loading (#2255) 2024-07-19 12:55:59 +02:00
flash_gpt2_modeling.py Improve the handling of quantized weights (#2250) 2024-07-19 09:37:39 +02:00
flash_llama_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_mistral_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_mixtral_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_neox_modeling.py Hotfix: various GPT-based model fixes (#2256) 2024-07-19 14:42:19 +02:00
flash_pali_gemma_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_phi_modeling.py Improve the handling of quantized weights (#2250) 2024-07-19 09:37:39 +02:00
flash_qwen2_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
flash_rw_modeling.py Improve the handling of quantized weights (#2250) 2024-07-19 09:37:39 +02:00
flash_santacoder_modeling.py Improve the handling of quantized weights (#2250) 2024-07-19 09:37:39 +02:00
flash_starcoder2_modeling.py Hotfix: various GPT-based model fixes (#2256) 2024-07-19 14:42:19 +02:00
idefics2.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
idefics_config.py chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
idefics_image_processing.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
idefics_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
idefics_perceiver.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
idefics_processing.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
idefics_vision.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
llava_next.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
mamba_modeling.py Refactor layers. (#1866) 2024-05-13 12:44:30 +02:00
mpt_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
neox_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
opt_modeling.py fix dbrx & opt model prefix bug (#2201) 2024-07-08 09:01:14 +02:00
phi_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
siglip.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
t5_modeling.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00
vlm.py feat: add ruff and resolve issue (#2262) 2024-07-26 10:29:09 -04:00