Spaces:
Runtime error
Runtime error
phi
commited on
Commit
·
0a39e99
1
Parent(s):
d90aef3
update
Browse files- app.py +18 -0
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -66,6 +66,24 @@ HF_MODEL_NAME=DAMO-NLP-SG/seal-13b-chat-a
|
|
| 66 |
MODEL_PATH=./seal-13b-chat-a
|
| 67 |
HF_MODEL_NAME=DAMO-NLP-SG/seal-13b-chat-a
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
|
|
|
|
| 66 |
MODEL_PATH=./seal-13b-chat-a
|
| 67 |
HF_MODEL_NAME=DAMO-NLP-SG/seal-13b-chat-a
|
| 68 |
|
| 69 |
+
|
| 70 |
+
===== Application Startup at 2023-10-20 04:03:49 =====
|
| 71 |
+
|
| 72 |
+
DEBUG mode: False
|
| 73 |
+
Torch version: 2.1.0+cu121
|
| 74 |
+
Torch CUDA version: 12.1
|
| 75 |
+
/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/torch/cuda/__init__.py:138: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
|
| 76 |
+
return torch._C._cuda_getDeviceCount() > 0
|
| 77 |
+
Unable to obtain compute_capability: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
|
| 78 |
+
Launch config: model_title='SeaL-13B - An Assistant for South East Asian Languages' / tensor_parallel=1 / dtype='bfloat16' / 2048 | BLOCK_ZH=True
|
| 79 |
+
| STREAM_YIELD_MULTIPLE=1
|
| 80 |
+
| frequence_penalty=0.4
|
| 81 |
+
| temperature=0.1
|
| 82 |
+
| hf_model_name=DAMO-NLP-SG/seal-13b-chat-a
|
| 83 |
+
| model_path=./seal-13b-chat-a
|
| 84 |
+
| DOWNLOAD_SNAPSHOT=True
|
| 85 |
+
sys=You are a multilingual, helpful,
|
| 86 |
+
|
| 87 |
"""
|
| 88 |
|
| 89 |
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
deepspeed
|
| 2 |
sentencepiece
|
| 3 |
accelerate
|
|
@@ -20,4 +21,4 @@ geomloss
|
|
| 20 |
einops
|
| 21 |
langdetect
|
| 22 |
vllm==0.1.4
|
| 23 |
-
transformers
|
|
|
|
| 1 |
+
torch==2.0.1
|
| 2 |
deepspeed
|
| 3 |
sentencepiece
|
| 4 |
accelerate
|
|
|
|
| 21 |
einops
|
| 22 |
langdetect
|
| 23 |
vllm==0.1.4
|
| 24 |
+
transformers==4.31.0
|