datastx commited on
Commit
8011bf0
1 Parent(s): 072368f

downgrade trans

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -0
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -17,6 +17,10 @@ ENV PATH="/root/.cargo/bin:${PATH}"
17
  RUN pip install --upgrade pip && \
18
  pip install --no-cache-dir -r requirements.txt
19
 
 
 
 
 
20
  # Create directory and download model
21
  RUN mkdir -p /app/medllama2_7b && \
22
  chmod -R 777 /app/medllama2_7b && \
 
17
  RUN pip install --upgrade pip && \
18
  pip install --no-cache-dir -r requirements.txt
19
 
20
+ # Install accelerate and bitsandbytes
21
+ RUN pip install accelerate
22
+ RUN pip install -i https://test.pypi.org/simple/ bitsandbytes
23
+
24
  # Create directory and download model
25
  RUN mkdir -p /app/medllama2_7b && \
26
  chmod -R 777 /app/medllama2_7b && \
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  gradio
2
- transformers
3
  accelerate
4
  bitsandbytes
5
  peft
 
1
  gradio
2
+ transformers==4.30
3
  accelerate
4
  bitsandbytes
5
  peft