상태 JSON 파일의 API 요청 통계를 업데이트하고, 최근 요청 수 및 성공률을 반영하였습니다. 또한, 일일 통계에서 처리된 이미지 수와 네트워크 트래픽 정보를 개선하였습니다. 서버 로그에 새로운 배치 처리 정보를 추가하였습니다.
This commit is contained in:
parent
aa310e5bf0
commit
d560d61e5e
|
|
@ -428758,3 +428758,9 @@ RuntimeError: Expected tensor for argument #1 'input' to have the same type as t
|
|||
2025-10-03 04:38:49,692 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.154s
|
||||
2025-10-03 04:38:49,693 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.154s (avg: 0.154s/image)
|
||||
2025-10-03 04:38:49,693 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
|
||||
2025-10-03 04:38:53,127 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
|
||||
2025-10-03 04:38:53,127 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
2025-10-03 04:38:53,151 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
2025-10-03 04:38:53,250 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.122s
|
||||
2025-10-03 04:38:53,250 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.122s (avg: 0.122s/image)
|
||||
2025-10-03 04:38:53,250 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
|
||||
|
|
|
|||
|
|
@ -855,3 +855,46 @@ INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
|
|||
INFO: 220.77.167.192:54123 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59576 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59580 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59592 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59602 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
|
||||
INFO: 115.138.85.166:63589 - "GET /api/v1/model HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59618 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
|
||||
2025-10-03 04:38:53,127 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
|
||||
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
2025-10-03 04:38:53,127 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
2025-10-03 04:38:53,151 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.122s
|
||||
2025-10-03 04:38:53,250 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.122s
|
||||
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.122s (avg: 0.122s/image)
|
||||
2025-10-03 04:38:53,250 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.122s (avg: 0.122s/image)
|
||||
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
|
||||
2025-10-03 04:38:53,250 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
|
||||
INFO: 115.138.85.166:63592 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43098 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43104 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43112 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43126 - "GET /api/v1/stats HTTP/1.1" 200 OK
|
||||
INFO: 220.77.167.192:54127 - "GET /api/v1/model HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43140 - "GET /api/v1/realtime_status HTTP/1.1" 200 OK
|
||||
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
|
||||
2025-10-03 04:38:56,972 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
|
||||
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
2025-10-03 04:38:56,973 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
2025-10-03 04:38:56,998 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
INFO:app.core.worker_manager:✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.124s
|
||||
2025-10-03 04:38:57,097 - app.core.worker_manager - INFO - ✅[simple_lama] Batch Inference End (Size: 1). VRAM: 0.0 GB | Duration: 0.124s
|
||||
INFO:app.core.worker_manager:'simple-lama' batch of 1 processed in 0.124s (avg: 0.124s/image)
|
||||
2025-10-03 04:38:57,097 - app.core.worker_manager - INFO - 'simple-lama' batch of 1 processed in 0.124s (avg: 0.124s/image)
|
||||
INFO:app.core.batch_manager:Successfully processed batch of 1 jobs.
|
||||
2025-10-03 04:38:57,097 - app.core.batch_manager - INFO - Successfully processed batch of 1 jobs.
|
||||
INFO: 220.77.167.192:54128 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
|
||||
INFO: 112.165.125.222:8136 - "GET /api/v1/model HTTP/1.1" 200 OK
|
||||
INFO:app.core.batch_manager:Creating a new batch with 1 jobs.
|
||||
2025-10-03 04:38:57,334 - app.core.batch_manager - INFO - Creating a new batch with 1 jobs.
|
||||
INFO:app.core.worker_manager:🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
2025-10-03 04:38:57,335 - app.core.worker_manager - INFO - 🧠[simple_lama] Batch Inference Start (Size: 1). VRAM: 0.0 GB
|
||||
INFO:app.models.simple_lama:실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
2025-10-03 04:38:57,366 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 1개 이미지 인페인팅 수행
|
||||
|
|
|
|||
54
status.json
54
status.json
|
|
@ -78,34 +78,34 @@
|
|||
}
|
||||
},
|
||||
"api_stats": {
|
||||
"total_requests": 158,
|
||||
"successful_requests": 158,
|
||||
"total_requests": 164,
|
||||
"successful_requests": 164,
|
||||
"failed_requests": 0,
|
||||
"success_rate": 100.0,
|
||||
"endpoint_usage": {
|
||||
"GET /api/v1/model": 45,
|
||||
"POST /api/v1/inpaint": 34,
|
||||
"GET /api/v1/realtime_status": 73,
|
||||
"GET /api/v1/model": 46,
|
||||
"POST /api/v1/inpaint": 35,
|
||||
"GET /api/v1/realtime_status": 77,
|
||||
"POST /api/v1/run_plugin_gen_image": 6
|
||||
},
|
||||
"endpoint_stats": {
|
||||
"GET /api/v1/model": {
|
||||
"count": 45,
|
||||
"avg_time": 0.0018958727518717448,
|
||||
"count": 46,
|
||||
"avg_time": 0.001882978107618249,
|
||||
"min_time": 0.0007641315460205078,
|
||||
"max_time": 0.005892276763916016,
|
||||
"current_concurrent": 0
|
||||
},
|
||||
"POST /api/v1/inpaint": {
|
||||
"count": 34,
|
||||
"avg_time": 1.0352204897824455,
|
||||
"count": 35,
|
||||
"avg_time": 1.0241468020847866,
|
||||
"min_time": 0.36550426483154297,
|
||||
"max_time": 17.846105098724365,
|
||||
"current_concurrent": 0
|
||||
},
|
||||
"GET /api/v1/realtime_status": {
|
||||
"count": 73,
|
||||
"avg_time": 0.001790663967393849,
|
||||
"count": 77,
|
||||
"avg_time": 0.0017850368053882154,
|
||||
"min_time": 0.0008914470672607422,
|
||||
"max_time": 0.004540681838989258,
|
||||
"current_concurrent": 0
|
||||
|
|
@ -125,41 +125,41 @@
|
|||
"current_concurrent": 0
|
||||
}
|
||||
},
|
||||
"average_response_time": 0.28333565705939184,
|
||||
"average_response_time": 0.27696772755646126,
|
||||
"min_response_time": 0.0007641315460205078,
|
||||
"max_response_time": 17.846105098724365,
|
||||
"current_concurrent": 0,
|
||||
"max_concurrent": 4,
|
||||
"requests_per_second": 1.0429265690876688,
|
||||
"uptime": 151.49676370620728,
|
||||
"requests_per_second": 1.0479318238477158,
|
||||
"uptime": 156.49873042106628,
|
||||
"recent_errors": []
|
||||
},
|
||||
"daily_stats": {
|
||||
"date": "2025-10-03",
|
||||
"images_processed": {
|
||||
"inpaint": 34,
|
||||
"inpaint": 35,
|
||||
"remove_bg": 0,
|
||||
"gen_image": 6,
|
||||
"total": 40
|
||||
"total": 41
|
||||
},
|
||||
"network": {
|
||||
"bytes_uploaded": 41507276,
|
||||
"bytes_downloaded": 24690416,
|
||||
"requests_count": 158,
|
||||
"mb_uploaded": 39.58442306518555,
|
||||
"mb_downloaded": 23.546615600585938,
|
||||
"gb_uploaded": 0.03865666314959526,
|
||||
"gb_downloaded": 0.022994741797447205
|
||||
"bytes_uploaded": 43833737,
|
||||
"bytes_downloaded": 26184016,
|
||||
"requests_count": 164,
|
||||
"mb_uploaded": 41.80310916900635,
|
||||
"mb_downloaded": 24.971023559570312,
|
||||
"gb_uploaded": 0.04082334879785776,
|
||||
"gb_downloaded": 0.024385765194892883
|
||||
},
|
||||
"api_calls": {
|
||||
"total": 158,
|
||||
"success": 158,
|
||||
"total": 164,
|
||||
"success": 164,
|
||||
"failed": 0
|
||||
},
|
||||
"models_used": {},
|
||||
"peak_concurrent": 3,
|
||||
"start_time": 1759466176.0225163,
|
||||
"last_update": 1759466326.4859023
|
||||
"last_update": 1759466331.8642712
|
||||
},
|
||||
"timestamp": 1759466327.5347402
|
||||
"timestamp": 1759466332.5366766
|
||||
}
|
||||
Loading…
Reference in New Issue