Skip to content

Commit

Permalink
fix: use spaces (kaito-project#145)
Browse files Browse the repository at this point in the history
tabs are inconsistent, need to use spaces to prevent a python spacing
error
  • Loading branch information
ishaansehgal99 authored Nov 7, 2023
1 parent b79e622 commit 50feff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/presets/llama-2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN git clone https://github.com/facebookresearch/llama

WORKDIR /workspace/llama

RUN sed -i $'/torch.distributed.init_process_group("nccl")/c\\\t\t\timport datetime\\\n\\\t\t\ttorch.distributed.init_process_group("nccl", timeout=datetime.timedelta(days=365*100))' /workspace/llama/llama/generation.py
RUN sed -i $'/torch.distributed.init_process_group("nccl")/c\\ import datetime\\\n torch.distributed.init_process_group("nccl", timeout=datetime.timedelta(days=365*100))' /workspace/llama/llama/generation.py

RUN pip install -e .
RUN pip install fastapi pydantic
Expand Down

0 comments on commit 50feff7

Please sign in to comment.