Spaces:
Paused
Paused
Commit
·
01a871f
1
Parent(s):
63b9057
Fixed req file v2
Browse files- main/logs/llm_api.log +12 -0
- requirements.txt +1 -0
main/logs/llm_api.log
CHANGED
@@ -17,3 +17,15 @@
|
|
17 |
2025-01-09 17:02:41,081 - llm_api - INFO - Loading model from source: huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated
|
18 |
2025-01-09 17:02:41,377 - llm_api - ERROR - Failed to initialize generation model huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
|
19 |
2025-01-09 17:02:41,377 - api_routes - ERROR - Error initializing model: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
2025-01-09 17:02:41,081 - llm_api - INFO - Loading model from source: huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated
|
18 |
2025-01-09 17:02:41,377 - llm_api - ERROR - Failed to initialize generation model huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
|
19 |
2025-01-09 17:02:41,377 - api_routes - ERROR - Error initializing model: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
|
20 |
+
2025-01-09 17:11:25,843 - hf_validation - WARNING - No .env file found. Fine if you're on Huggingface, but you need one to run locally on your PC.
|
21 |
+
2025-01-09 17:11:25,843 - hf_validation - ERROR - No HF_TOKEN found in environment variables
|
22 |
+
2025-01-09 17:11:25,843 - main - INFO - Starting LLM API server
|
23 |
+
2025-01-09 17:11:25,843 - llm_api - INFO - Initializing LLM API
|
24 |
+
2025-01-09 17:11:25,844 - llm_api - INFO - LLM API initialized successfully
|
25 |
+
2025-01-09 17:11:25,844 - api_routes - INFO - Router initialized with LLM API instance
|
26 |
+
2025-01-09 17:11:25,846 - main - INFO - FastAPI application created successfully
|
27 |
+
2025-01-09 17:11:38,299 - api_routes - INFO - Received request to initialize model: huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated
|
28 |
+
2025-01-09 17:11:38,299 - llm_api - INFO - Initializing generation model: huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated
|
29 |
+
2025-01-09 17:11:38,299 - llm_api - INFO - Loading model from source: huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated
|
30 |
+
2025-01-09 17:11:38,487 - llm_api - ERROR - Failed to initialize generation model huihui-ai/Qwen2.5-Coder-32B-Instruct-abliterated: Using `bitsandbytes` 8-bit quantization requires the latest version of bitsandbytes: `pip install -U bitsandbytes`
|
31 |
+
2025-01-09 17:11:38,487 - api_routes - ERROR - Error initializing model: Using `bitsandbytes` 8-bit quantization requires the latest version of bitsandbytes: `pip install -U bitsandbytes`
|
requirements.txt
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
accelerate==1.2.1
|
2 |
annotated-types==0.7.0
|
3 |
anyio==4.8.0
|
|
|
4 |
certifi==2024.12.14
|
5 |
charset-normalizer==3.4.1
|
6 |
click==8.1.8
|
|
|
1 |
accelerate==1.2.1
|
2 |
annotated-types==0.7.0
|
3 |
anyio==4.8.0
|
4 |
+
bitsandbytes==0.45.0
|
5 |
certifi==2024.12.14
|
6 |
charset-normalizer==3.4.1
|
7 |
click==8.1.8
|