lkhphuc commited on
Commit
bdaeeba
1 Parent(s): b0b9920

pip and conda cpu install

Browse files
Files changed (3) hide show
  1. README.md +7 -1
  2. environment.yaml +10 -0
  3. requirements.txt +5 -0
README.md CHANGED
@@ -12,4 +12,10 @@
12
  * integrate CLIP for better results (only if we have the time)
13
  * work on a demo (streamlit or colab or maybe just HF widget)
14
  * document (set up repo on model hub per instructions, start on README writeup…)
15
- * help with coordinating activities & progress
 
 
 
 
 
 
 
12
  * integrate CLIP for better results (only if we have the time)
13
  * work on a demo (streamlit or colab or maybe just HF widget)
14
  * document (set up repo on model hub per instructions, start on README writeup…)
15
+ * help with coordinating activities & progress
16
+
17
+
18
+ ## Dependencies Installation
19
+ You should create a new python virtual environment and install the project dependencies inside the virtual env: `pip install -r requirements.txt`
20
+
21
+ If you use `conda`, you can create the virtual env and install everything using: `conda env update -f environments.yaml`
environment.yaml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ name: dalle
2
+ channels:
3
+ - defaults
4
+ dependencies:
5
+ - python=3.9.5
6
+ - pip=21.1.3
7
+ - ipython=7.22.0
8
+ - cudatoolkit
9
+ - pip:
10
+ - -r requirements.txt
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ jax
2
+ flax
3
+ optax
4
+ datasets
5
+ git+https://github.com/huggingface/transformers