sql-copilot / requirements.txt
Bot
Add bitsandbytes: fine-tuned adapter was silently falling back to base model without it
6daf743
Raw
History Blame Contribute Delete
544 Bytes
# For deployment/inference only. No gradio pin: HF Spaces' Gradio SDK
# installs its own gradio version and pinning here causes a hard
# dependency conflict at build time.
torch
transformers
peft
fastapi
uvicorn
spaces
# Required to load the fine-tuned adapter: it was trained in 4-bit
# (load_in_4bit=True via Unsloth), so loading + merging it back to full
# precision needs bitsandbytes even though the final merged model doesn't
# run in 4-bit. Without this, loading silently failed and fell back to
# the untrained base model.
bitsandbytes