Skip to content

Commit

Permalink
misc fixes from #943 (#1086) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jan 11, 2024
1 parent 91502b9 commit 23495a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile-runpod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ENV HF_DATASETS_CACHE="/workspace/data/huggingface-cache/datasets"
ENV HUGGINGFACE_HUB_CACHE="/workspace/data/huggingface-cache/hub"
ENV TRANSFORMERS_CACHE="/workspace/data/huggingface-cache/hub"
ENV HF_HOME="/workspace/data/huggingface-cache/hub"
ENV HF_HUB_ENABLE_HF_TRANSFER="1"

COPY scripts/runpod-entrypoint.sh /root/runpod-entrypoint.sh

Expand Down
4 changes: 4 additions & 0 deletions src/axolotl/cli/merge_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def do_cli(config: Path = Path("examples/"), **kwargs):
f"Target directory for merge: `{parsed_cfg.lora_model_dir}` does not exist."
)

parsed_cfg.load_in_4bit = False
parsed_cfg.load_in_8bit = False
parsed_cfg.flash_attention = False

do_merge_lora(cfg=parsed_cfg, cli_args=parsed_cli_args)


Expand Down

0 comments on commit 23495a8

Please sign in to comment.