Jayant-Kernel commited on
Commit
787e377
·
unverified ·
1 Parent(s): 4f33e83

fix: trl 0.9.6 + bitsandbytes 0.43.1 cu118

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -5
Dockerfile CHANGED
@@ -10,20 +10,24 @@ RUN apt-get update && apt-get install -y git build-essential && rm -rf /var/lib/
10
 
11
  WORKDIR /app
12
 
 
 
13
  RUN pip install --no-cache-dir numpy==1.26.4
14
 
15
- RUN pip install --no-cache-dir torch==2.1.2 --index-url https://download.pytorch.org/whl/cu118
16
 
17
  RUN pip install --no-cache-dir \
18
  transformers==4.40.0 \
19
  accelerate==0.30.0 \
20
  peft==0.10.0 \
21
- trl==0.8.6 \
22
- bitsandbytes==0.43.0 \
23
  wandb datasets huggingface_hub matplotlib Pillow
24
 
25
- RUN pip install --no-cache-dir git+https://github.com/Jayant-kernel/DECEIT-the-ai-truth-environment-.git && \
26
- python -c "import deceit_env; print('deceit_env found')"
 
 
 
27
 
28
  RUN mkdir -p /usr/local/lib/python3.10/site-packages/deceit_env/data/ && \
29
  mkdir -p /usr/local/lib/python3.10/site-packages/deceit_env/server/ && \
 
10
 
11
  WORKDIR /app
12
 
13
+ RUN pip install --no-cache-dir torch==2.1.2 --index-url https://download.pytorch.org/whl/cu118
14
+
15
  RUN pip install --no-cache-dir numpy==1.26.4
16
 
17
+ RUN pip install --no-cache-dir trl==0.9.6
18
 
19
  RUN pip install --no-cache-dir \
20
  transformers==4.40.0 \
21
  accelerate==0.30.0 \
22
  peft==0.10.0 \
23
+ bitsandbytes==0.43.1 \
 
24
  wandb datasets huggingface_hub matplotlib Pillow
25
 
26
+ RUN pip install --no-cache-dir \
27
+ git+https://github.com/Jayant-kernel/DECEIT-the-ai-truth-environment-.git
28
+
29
+ RUN python -c "from trl import GRPOConfig, GRPOTrainer; print('TRL OK')"
30
+ RUN python -c "import bitsandbytes; print('BNB OK')"
31
 
32
  RUN mkdir -p /usr/local/lib/python3.10/site-packages/deceit_env/data/ && \
33
  mkdir -p /usr/local/lib/python3.10/site-packages/deceit_env/server/ && \