inpaintServer/logs/main_server.log

149 lines
14 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

INFO: Started server process [35210]
2025-08-29 21:32:06,424 - uvicorn.error - INFO - Started server process [35210]
INFO: Waiting for application startup.
2025-08-29 21:32:06,424 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 21:32:06,425 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 21:32:06,426 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 21:32:06,426 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 21:32:06,426 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 21:32:06,427 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 21:32:06,427 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 21:32:06,427 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 21:32:09,609 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:32:13,763 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:32:13,764 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:32:13,765 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:32:13,766 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 21:32:13,766 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:32:15,606 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:32:15,606 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:32:15,607 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:32:15,607 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 21:32:15,608 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:32:17,289 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:32:17,290 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:32:17,290 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:32:17,291 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 21:32:17,291 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:32:18,958 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:32:18,959 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:32:18,959 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:32:18,960 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 21:32:18,960 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 21:32:19,025 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:32:19,026 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:32:19,026 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:20.460420837 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 17 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2025-08-29 21:32:21,873 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:21,874 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:32:21,874 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:32:21,874 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 21:32:21,875 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:32:21,875 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:32:21,876 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:22.968792052 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 17 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2025-08-29 21:32:23,134 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:23,135 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:32:23,135 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:32:23,136 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 21:32:23,136 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:32:23,137 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:32:23,137 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:24.203228802 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 17 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2025-08-29 21:32:24,367 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:24,368 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:32:24,368 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:32:24,369 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 21:32:24,369 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:32:24,370 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:32:24,370 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:25.439378113 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 17 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2025-08-29 21:32:25,605 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:25,606 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:32:25,607 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:32:25,607 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 21:32:25,608 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 21:32:25,610 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:32:27,663 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:32:27,664 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:32:27,664 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:32:27,665 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:40,606 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:32:40,606 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:32:40,607 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:32:40,607 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 21:32:40,608 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:32:40,608 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:32:40,608 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:32:40,609 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:32:40,609 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:32:53,362 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:32:53,363 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:32:53,364 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:32:53,364 - app.core.session_pool - INFO - Created session rembg_1
2025-08-29 21:32:53,365 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:32:53,365 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:32:53,366 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:32:53,366 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:32:53,367 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:33:05,746 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:33:05,747 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:33:05,747 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:33:05,748 - app.core.session_pool - INFO - Created session rembg_2
2025-08-29 21:33:05,748 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 21:33:05,749 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 21:33:05,749 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 21:33:05,750 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 21:33:05,750 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 21:33:05,750 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 21:33:05,751 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
INFO: Application startup complete.
2025-08-29 21:33:05,753 - uvicorn.error - INFO - Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:33:05,754 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
INFO: 127.0.0.1:37912 - "GET /api/v1/health HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37916 - "GET /api/v1/health HTTP/1.1" 404 Not Found
INFO: 192.168.0.119:54788 - "GET /health HTTP/1.1" 200 OK
INFO: 192.168.0.119:54910 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:34:22,942 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:54911 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:54959 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:34:33,468 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:54960 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55054 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:34:54,879 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55055 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55078 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:00,881 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55091 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55106 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:06,470 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55107 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55137 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:15,091 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55138 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55172 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:24,091 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55173 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55212 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:34,140 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55213 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55228 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:39,477 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55229 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55262 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:35:45,252 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55263 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55478 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:36:44,752 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55479 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55521 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:36:56,862 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55526 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55551 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:37:03,465 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55553 - "POST /api/v1/inpaint HTTP/1.1" 200 OK
INFO: 192.168.0.119:55575 - "GET /api/v1/model HTTP/1.1" 200 OK
2025-08-29 21:37:09,535 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
INFO: 192.168.0.119:55576 - "POST /api/v1/inpaint HTTP/1.1" 200 OK