We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1df0b1 commit f237ca5Copy full SHA for f237ca5
inference/huggingface/text-generation/README.md
@@ -15,6 +15,13 @@ Python dependencies:
15
<pre>
16
pip install -r requirements.txt
17
</pre>
18
+If you are using conda, the following works:
19
+<pre>
20
+conda create -c conda-forge -n deepspeed python=3.10
21
+conda activate deepspeed
22
+pip install -r requirements.txt
23
+deepspeed --num_gpus 1 inference-test.py --name bigscience/bloom-3b --batch_size 2
24
+</pre>
25
26
# Inference Test
27
inference/huggingface/text-generation/requirements.txt
@@ -1,3 +1,3 @@
1
deepspeed
2
torch
3
-transformers==4.21.2
+transformers==4.28.1
0 commit comments