ipd commited on
Commit
5dbff86
·
1 Parent(s): 2530cc1

update requirements.txt

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -0
  2. Dockerfile-conda +1 -0
  3. requirements.txt +0 -1
Dockerfile CHANGED
@@ -4,6 +4,7 @@ WORKDIR /app
4
  COPY requirements.txt .
5
  RUN pip install -r --no-cache-dir requirements.txt
6
  # preload models
 
7
  RUN python -c '\
8
  from transformers import BartForConditionalGeneration, AutoTokenizer;\
9
  AutoTokenizer.from_pretrained("ibm/materials.selfies-ted");\
 
4
  COPY requirements.txt .
5
  RUN pip install -r --no-cache-dir requirements.txt
6
  # preload models
7
+ RUN pip install torch_scatter==2.1.2
8
  RUN python -c '\
9
  from transformers import BartForConditionalGeneration, AutoTokenizer;\
10
  AutoTokenizer.from_pretrained("ibm/materials.selfies-ted");\
Dockerfile-conda CHANGED
@@ -8,6 +8,7 @@ RUN conda create --name fm4m python=3.9.7
8
  RUN conda activate fm4m
9
  COPY requirements.txt .
10
  RUN pip install -r --no-cache-dir requirements.txt
 
11
  COPY . .
12
 
13
  CMD ["python", "app.py"]
 
8
  RUN conda activate fm4m
9
  COPY requirements.txt .
10
  RUN pip install -r --no-cache-dir requirements.txt
11
+ RUN pip install torch_scatter==2.1.2
12
  COPY . .
13
 
14
  CMD ["python", "app.py"]
requirements.txt CHANGED
@@ -29,4 +29,3 @@ pandas==2.2.3
29
  mordred
30
  ase==3.24.0
31
  torch_nl==0.3
32
- torch_scatter==2.1.2
 
29
  mordred
30
  ase==3.24.0
31
  torch_nl==0.3