Upload ms-swift/examples/train/all_to_all/infer.sh with huggingface_hub
Browse files
ms-swift/examples/train/all_to_all/infer.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 53GiB
|
| 2 |
+
CUDA_VISIBLE_DEVICES=0 \
|
| 3 |
+
swift infer \
|
| 4 |
+
--model BAAI/Emu3-Gen \
|
| 5 |
+
--infer_backend pt \
|
| 6 |
+
--stream False \
|
| 7 |
+
--use_chat_template False \
|
| 8 |
+
--top_k 2048 \
|
| 9 |
+
--max_new_tokens 40960
|