inpaintServer/logs/main.log

3311 lines
305 KiB
Plaintext

2025-08-29 09:38:57,147 - uvicorn.error - INFO - Started server process [1402064]
2025-08-29 09:38:57,148 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 09:38:57,149 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 09:38:57,150 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 09:38:57,150 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 09:38:57,150 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 09:38:57,150 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 09:38:57,151 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 09:38:57,151 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 09:38:57,253 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 09:38:57,355 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 09:38:57,356 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 09:38:57,457 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 09:38:57,559 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 09:38:57,560 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 09:38:57,662 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 09:38:57,663 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 09:38:57,663 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 09:38:57,664 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 09:38:57,665 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 09:38:57,665 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 09:38:57,666 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 09:38:57,666 - uvicorn.error - INFO - Application startup complete.
2025-08-29 09:38:57,669 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 12:12:45,451 - uvicorn.error - INFO - Shutting down
2025-08-29 12:12:45,555 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 12:12:45,558 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 12:12:45,559 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 12:12:45,560 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 12:12:45,561 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 12:12:45,562 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 12:12:45,563 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 12:12:45,565 - uvicorn.error - INFO - Finished server process [1402064]
2025-08-29 12:13:40,136 - uvicorn.error - INFO - Started server process [1420462]
2025-08-29 12:13:40,137 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 12:13:40,138 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 12:13:40,138 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 12:13:40,138 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 12:13:40,139 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 12:13:40,139 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 12:13:40,139 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 12:13:40,140 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 12:13:40,241 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 12:13:40,343 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 12:13:40,344 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 12:13:40,446 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 12:13:40,548 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 12:13:40,548 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 12:13:40,650 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 12:13:40,651 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 12:13:40,651 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 12:13:40,652 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 12:13:40,653 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 12:13:40,653 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 12:13:40,654 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 12:13:40,654 - uvicorn.error - INFO - Application startup complete.
2025-08-29 12:13:40,657 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 12:13:52,513 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 12:13:57,504 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 12:13:57,505 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 12:13:57,525 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 12:14:36,173 - uvicorn.error - ERROR - Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
| yield
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/home/ckh08045/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 685, in __aexit__
| raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
| result = await app(self.scope, self.receive, self.send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
| return await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
| await self.app(scope, receive, _send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
| self.gen.throw(type, value, traceback)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
| response = await call_next(request)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
| await app(scope, receive, sender)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
| await route.handle(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
| response = await handler(conn, exc)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
| content={"detail": jsonable_encoder(exc.errors())},
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
| jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
| encoded_value = jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
| return ENCODERS_BY_TYPE[type(obj)](obj)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
| bytes: lambda o: o.decode(),
| UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
response_sent.set()
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
response = await call_next(request)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
await route.handle(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
response = await handler(conn, exc)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
content={"detail": jsonable_encoder(exc.errors())},
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
encoded_value = jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
return ENCODERS_BY_TYPE[type(obj)](obj)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
bytes: lambda o: o.decode(),
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
2025-08-29 12:14:52,780 - uvicorn.error - ERROR - Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
| yield
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/home/ckh08045/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 685, in __aexit__
| raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
| result = await app(self.scope, self.receive, self.send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
| return await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
| await self.app(scope, receive, _send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
| self.gen.throw(type, value, traceback)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
| response = await call_next(request)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
| await app(scope, receive, sender)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
| await route.handle(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
| response = await handler(conn, exc)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
| content={"detail": jsonable_encoder(exc.errors())},
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
| jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
| encoded_value = jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
| return ENCODERS_BY_TYPE[type(obj)](obj)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
| bytes: lambda o: o.decode(),
| UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
response_sent.set()
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
response = await call_next(request)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
await route.handle(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
response = await handler(conn, exc)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
content={"detail": jsonable_encoder(exc.errors())},
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
encoded_value = jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
return ENCODERS_BY_TYPE[type(obj)](obj)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
bytes: lambda o: o.decode(),
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
2025-08-29 12:29:57,920 - uvicorn.error - INFO - Shutting down
2025-08-29 12:29:58,024 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 12:29:58,026 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 12:29:58,027 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 12:29:58,029 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 12:29:58,030 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 12:29:58,030 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 12:29:58,032 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 12:29:58,033 - uvicorn.error - INFO - Finished server process [1420462]
2025-08-29 12:33:17,521 - uvicorn.error - INFO - Started server process [1425185]
2025-08-29 12:33:17,522 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 12:33:17,523 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 12:33:17,524 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 12:33:17,524 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 12:33:17,524 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 12:33:17,525 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 12:33:17,525 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 12:33:20,795 - app.core.session_pool - ERROR - Failed to create session for simple_lama: cannot import name 'Config' from 'app.core.config' (/home/ckh08045/work/inpaintServer/./app/core/config.py)
2025-08-29 12:33:20,797 - app.core.session_pool - ERROR - Failed to create session for simple_lama: cannot import name 'Config' from 'app.core.config' (/home/ckh08045/work/inpaintServer/./app/core/config.py)
2025-08-29 12:33:20,797 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 12:33:20,881 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'Config' from 'app.core.config' (/home/ckh08045/work/inpaintServer/./app/core/config.py)
2025-08-29 12:33:20,882 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'Config' from 'app.core.config' (/home/ckh08045/work/inpaintServer/./app/core/config.py)
2025-08-29 12:33:20,883 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 12:33:20,894 - app.core.session_pool - ERROR - Failed to create session for rembg: cannot import name 'Config' from 'app.core.config' (/home/ckh08045/work/inpaintServer/./app/core/config.py)
2025-08-29 12:33:20,894 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 12:33:20,896 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 12:33:20,897 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 12:33:20,898 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 12:33:20,898 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 12:33:20,899 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 12:33:20,900 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 12:33:20,902 - uvicorn.error - INFO - Application startup complete.
2025-08-29 12:33:20,904 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 12:39:42,916 - uvicorn.error - INFO - Shutting down
2025-08-29 12:39:43,021 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 12:39:43,023 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 12:39:43,024 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 12:39:43,025 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 12:39:43,026 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 12:39:43,027 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 12:39:43,028 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 12:39:43,029 - uvicorn.error - INFO - Finished server process [1425185]
2025-08-29 12:40:16,930 - uvicorn.error - INFO - Started server process [1426832]
2025-08-29 12:40:16,930 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 12:40:16,931 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 12:40:16,932 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 12:40:16,932 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 12:40:16,932 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 12:40:16,933 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 12:40:16,933 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 12:40:20,173 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,174 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,176 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,176 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,177 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 12:40:20,247 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:40:20,248 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,250 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,251 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:40:20,251 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,252 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,253 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 12:40:20,255 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,256 - app.core.session_pool - ERROR - Failed to create session for rembg: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:40:20,257 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 12:40:20,257 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 12:40:20,258 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 12:40:20,259 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 12:40:20,260 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 12:40:20,261 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 12:40:20,261 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 12:40:20,264 - uvicorn.error - INFO - Application startup complete.
2025-08-29 12:40:20,266 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 12:42:32,772 - uvicorn.error - INFO - Shutting down
2025-08-29 12:42:32,876 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 12:42:32,878 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 12:42:32,878 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 12:42:32,879 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 12:42:32,880 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 12:42:32,880 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 12:42:32,881 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 12:42:32,881 - uvicorn.error - INFO - Finished server process [1426832]
2025-08-29 12:42:51,818 - uvicorn.error - INFO - Started server process [1427517]
2025-08-29 12:42:51,819 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 12:42:51,820 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 12:42:51,821 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 12:42:51,821 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 12:42:51,821 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 12:42:51,822 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 12:42:51,822 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 12:42:55,074 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,075 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,076 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,077 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,078 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 12:42:55,153 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:42:55,155 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,156 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,156 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:42:55,158 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,159 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,159 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 12:42:55,162 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,162 - app.core.session_pool - ERROR - Failed to create session for rembg: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:42:55,163 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 12:42:55,164 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 12:42:55,165 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 12:42:55,166 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 12:42:55,166 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 12:42:55,167 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 12:42:55,168 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 12:42:55,171 - uvicorn.error - INFO - Application startup complete.
2025-08-29 12:42:55,173 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 12:58:17,779 - uvicorn.error - INFO - Shutting down
2025-08-29 12:58:17,882 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 12:58:17,883 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 12:58:17,883 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 12:58:17,884 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 12:58:17,885 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 12:58:17,885 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 12:58:17,886 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 12:58:17,886 - uvicorn.error - INFO - Finished server process [1427517]
2025-08-29 12:58:36,744 - uvicorn.error - INFO - Started server process [1430774]
2025-08-29 12:58:36,745 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 12:58:36,746 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 12:58:36,746 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 12:58:36,746 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 12:58:36,747 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 12:58:36,747 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 12:58:36,747 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 12:58:39,958 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:39,959 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:39,960 - app.core.session_pool - ERROR - Simple LAMA 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:39,961 - app.core.session_pool - ERROR - Failed to create session for simple_lama: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:39,962 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 12:58:40,037 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:58:40,038 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,039 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,040 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 12:58:40,041 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,041 - app.core.session_pool - ERROR - Failed to create session for migan: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,042 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 12:58:40,044 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,045 - app.core.session_pool - ERROR - Failed to create session for rembg: 'Settings' object has no attribute 'USE_CUDA'
2025-08-29 12:58:40,046 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 12:58:40,047 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 12:58:40,047 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 12:58:40,049 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 12:58:40,050 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 12:58:40,050 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 12:58:40,051 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 12:58:40,054 - uvicorn.error - INFO - Application startup complete.
2025-08-29 12:58:40,056 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:01:06,848 - uvicorn.error - INFO - Shutting down
2025-08-29 13:01:06,951 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:01:06,952 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:01:06,953 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:01:06,953 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:01:06,954 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:01:06,954 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:01:06,955 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:01:06,956 - uvicorn.error - INFO - Finished server process [1430774]
2025-08-29 13:01:25,695 - uvicorn.error - INFO - Started server process [1431654]
2025-08-29 13:01:25,696 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:01:25,697 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:01:25,697 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:01:25,697 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:01:25,698 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:01:25,698 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:01:25,698 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:01:28,908 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:01:34,054 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:01:34,056 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:01:34,057 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:01:34,057 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:01:34,058 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:01:36,196 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:01:36,197 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:01:36,197 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:01:36,198 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:01:36,198 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:01:36,261 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:01:36,261 - app.models.migan - ERROR - MIGAN ONNX 파일을 찾을 수 없습니다: models/migan
2025-08-29 13:01:36,262 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:01:36,262 - app.core.session_pool - ERROR - Failed to create session for migan: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:01:36,262 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:01:36,263 - app.models.migan - ERROR - MIGAN ONNX 파일을 찾을 수 없습니다: models/migan
2025-08-29 13:01:36,263 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:01:36,263 - app.core.session_pool - ERROR - Failed to create session for migan: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:01:36,264 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:01:36,265 - app.models.rembg_model - INFO - Loading REMBG model (u2net)...
2025-08-29 13:02:53,693 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:03:07,587 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:03:07,588 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:03:07,640 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: u2net_cuda_None_local_False
2025-08-29 13:03:07,642 - app.models.rembg_model - ERROR - rembg 세션 생성 실패 ('u2net'): cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
Traceback (most recent call last):
File "/home/ckh08045/work/inpaintServer/./app/models/rembg_model.py", line 120, in get_session
from rembg.sessions import sessions
ImportError: cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
2025-08-29 13:03:07,644 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 세션 생성 실패: u2net
2025-08-29 13:03:07,644 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 세션 생성 실패: u2net
2025-08-29 13:03:07,644 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 세션 생성 실패: u2net
2025-08-29 13:03:07,644 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:03:07,645 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:03:07,645 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:03:07,646 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:03:07,646 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:03:07,646 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:03:07,647 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:03:10,742 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:03:10,751 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:09:02,112 - uvicorn.error - INFO - Shutting down
2025-08-29 13:09:02,214 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:09:02,216 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:09:02,216 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:09:02,217 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:09:02,217 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:09:02,218 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:09:02,218 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:09:02,219 - uvicorn.error - INFO - Finished server process [1431654]
2025-08-29 13:09:13,567 - uvicorn.error - INFO - Started server process [1433630]
2025-08-29 13:09:13,568 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:09:13,569 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:09:13,570 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:09:13,570 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:09:13,570 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:09:13,571 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:09:13,571 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:09:17,251 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:09:22,093 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:09:22,095 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:09:22,096 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:09:22,097 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:09:22,097 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:09:23,887 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:09:23,887 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:09:23,888 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:09:23,888 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:09:23,888 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:09:23,952 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:09:23,953 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:09:23,953 - app.models.migan - INFO - MIGAN Provider 우선순위: ['CPUExecutionProvider']
2025-08-29 13:09:24,259 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:09:24,260 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:09:24,260 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:09:24,261 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:09:24,261 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:09:24,262 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:09:24,262 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:09:24,262 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:09:24,262 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:09:24,271 - app.models.rembg_model - INFO - Loading REMBG model (u2net)...
2025-08-29 13:09:26,223 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:09:27,497 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:09:27,498 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:09:27,551 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: u2net_cuda_None_local_False
2025-08-29 13:09:27,552 - app.models.rembg_model - ERROR - rembg 세션 생성 실패 ('u2net'): cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
Traceback (most recent call last):
File "/home/ckh08045/work/inpaintServer/./app/models/rembg_model.py", line 120, in get_session
from rembg.sessions import sessions
ImportError: cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
2025-08-29 13:09:27,554 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:27,554 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:27,555 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:27,555 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:09:27,555 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:09:27,556 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:09:27,556 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:09:27,556 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:09:27,557 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:09:27,557 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:09:27,559 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:09:27,560 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:09:37,922 - uvicorn.error - INFO - Started server process [1433883]
2025-08-29 13:09:37,923 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:09:37,924 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:09:37,924 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:09:37,925 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:09:37,925 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:09:37,925 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:09:37,926 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:09:42,497 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:09:47,507 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:09:47,508 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:09:47,508 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:09:47,509 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:09:47,509 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:09:49,487 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:09:49,488 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:09:49,488 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:09:49,488 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:09:49,489 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:09:49,544 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:09:49,544 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:09:49,545 - app.models.migan - INFO - MIGAN Provider 우선순위: ['CPUExecutionProvider']
2025-08-29 13:09:49,859 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:09:49,860 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:09:49,860 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:09:49,861 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:09:49,861 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:09:49,861 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:09:49,862 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:09:49,862 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:09:49,862 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:09:49,864 - app.models.rembg_model - INFO - Loading REMBG model (u2net)...
2025-08-29 13:09:51,785 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:09:53,182 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:09:53,183 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:09:53,217 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: u2net_cuda_None_local_False
2025-08-29 13:09:53,218 - app.models.rembg_model - ERROR - rembg 세션 생성 실패 ('u2net'): cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
Traceback (most recent call last):
File "/home/ckh08045/work/inpaintServer/./app/models/rembg_model.py", line 120, in get_session
from rembg.sessions import sessions
ImportError: cannot import name 'sessions' from 'rembg.sessions' (/home/ckh08045/.local/lib/python3.8/site-packages/rembg/sessions/__init__.py)
2025-08-29 13:09:53,220 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:53,220 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:53,220 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 세션 생성 실패: u2net
2025-08-29 13:09:53,221 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:09:53,221 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:09:53,221 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:09:53,222 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:09:53,222 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:09:53,222 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:09:53,223 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:09:53,225 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:09:53,226 - uvicorn.error - ERROR - [Errno 98] error while attempting to bind on address ('0.0.0.0', 8008): address already in use
2025-08-29 13:09:53,226 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:09:53,227 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:09:53,227 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:09:53,228 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:09:53,228 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:09:53,228 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:09:53,228 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:11:35,249 - uvicorn.error - ERROR - Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 82, in collapse_excgroups
| yield
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/home/ckh08045/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 685, in __aexit__
| raise BaseExceptionGroup(
| exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
| result = await app(self.scope, self.receive, self.send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
| return await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
| await self.app(scope, receive, _send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
| response_sent.set()
| File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
| self.gen.throw(type, value, traceback)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
| response = await call_next(request)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
| raise exc
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
| await app(scope, receive, sender)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
| await route.handle(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
| await self.app(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
| response = await handler(conn, exc)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
| content={"detail": jsonable_encoder(exc.errors())},
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
| jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
| encoded_value = jsonable_encoder(
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
| return ENCODERS_BY_TYPE[type(obj)](obj)
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
| bytes: lambda o: o.decode(),
| UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 373, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/applications.py", line 116, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 83, in __call__
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 193, in __call__
response_sent.set()
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_utils.py", line 88, in collapse_excgroups
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
File "/home/ckh08045/work/inpaintServer/./main.py", line 272, in collect_api_stats
response = await call_next(request)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 746, in __call__
await route.handle(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 75, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/_exception_handler.py", line 63, in wrapped_app
response = await handler(conn, exc)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/exception_handlers.py", line 25, in request_validation_exception_handler
content={"detail": jsonable_encoder(exc.errors())},
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
encoded_value = jsonable_encoder(
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 316, in jsonable_encoder
return ENCODERS_BY_TYPE[type(obj)](obj)
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/encoders.py", line 59, in <lambda>
bytes: lambda o: o.decode(),
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 148: invalid start byte
2025-08-29 13:12:14,306 - uvicorn.error - INFO - Shutting down
2025-08-29 13:12:14,411 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:12:14,413 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:12:14,414 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:12:14,416 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:12:14,417 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:12:14,417 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:12:14,418 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:12:14,419 - uvicorn.error - INFO - Finished server process [1433630]
2025-08-29 13:12:53,665 - uvicorn.error - INFO - Started server process [1435157]
2025-08-29 13:12:53,666 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:12:53,667 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:12:53,667 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:12:53,667 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:12:53,668 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:12:53,668 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:12:53,668 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:12:56,921 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:13:01,260 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:13:01,261 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:13:01,262 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:13:01,262 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:13:01,263 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:13:03,129 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:13:03,129 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:13:03,129 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:13:03,130 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:13:03,130 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:13:03,186 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:13:03,187 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:13:03,187 - app.models.migan - INFO - MIGAN Provider 우선순위: ['CPUExecutionProvider']
2025-08-29 13:13:03,457 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:13:03,457 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:13:03,458 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:13:03,458 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:13:03,459 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:13:03,459 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:13:03,459 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:13:03,460 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:13:03,460 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:13:03,468 - app.models.rembg_model - INFO - Loading REMBG model (u2net)...
2025-08-29 13:13:05,325 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:13:06,308 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:13:06,309 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:13:06,316 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: u2net_cuda_None_local_False
2025-08-29 13:13:06,318 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 13:13:06,318 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): u2net
2025-08-29 13:13:06,319 - app.models.rembg_model - INFO - 기본 방식으로 세션 생성: u2net
2025-08-29 13:13:07,154 - app.models.rembg_model - INFO - ✅ rembg 'u2net' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 13:13:07,155 - app.models.rembg_model - INFO - REMBG model (u2net) loaded successfully
2025-08-29 13:13:07,155 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 13:13:07,156 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 13:13:07,156 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:13:07,156 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:13:07,157 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:13:07,157 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:13:07,158 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:13:07,158 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:13:07,158 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:13:07,160 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:13:07,161 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:15:04,560 - uvicorn.error - INFO - Shutting down
2025-08-29 13:15:04,662 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:15:04,664 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:15:04,664 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:15:04,665 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:15:04,666 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:15:04,666 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:15:04,667 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:15:04,667 - uvicorn.error - INFO - Finished server process [1435157]
2025-08-29 13:15:23,810 - uvicorn.error - INFO - Started server process [1435825]
2025-08-29 13:15:23,811 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:15:23,813 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:15:23,813 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:15:23,813 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:15:23,814 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:15:23,814 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:15:23,815 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:15:27,989 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:15:32,408 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:15:32,409 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:15:32,410 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:15:32,411 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:15:32,412 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:15:34,234 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:15:34,234 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:15:34,235 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:15:34,235 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:15:34,235 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:15:34,289 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:15:34,290 - app.models.migan - ERROR - MIGAN ONNX 파일을 찾을 수 없습니다: models/migan
2025-08-29 13:15:34,291 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:15:34,291 - app.core.session_pool - ERROR - Failed to create session for migan: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:15:34,291 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:15:34,292 - app.models.migan - ERROR - MIGAN ONNX 파일을 찾을 수 없습니다: models/migan
2025-08-29 13:15:34,292 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:15:34,292 - app.core.session_pool - ERROR - Failed to create session for migan: MIGAN ONNX 파일이 없습니다: models/migan
2025-08-29 13:15:34,292 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:15:34,300 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 13:15:36,333 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:15:37,297 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:15:37,297 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:15:37,305 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 13:15:37,306 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 13:15:37,307 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 13:15:37,307 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 13:16:00,231 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 13:16:00,232 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 13:16:00,232 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 13:16:00,233 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 13:16:00,233 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:16:00,233 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:16:00,234 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:16:00,234 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:16:00,235 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:16:00,235 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:16:00,235 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:16:00,237 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:16:00,238 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:16:28,288 - uvicorn.error - INFO - Shutting down
2025-08-29 13:16:28,391 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:16:28,393 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:16:28,394 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:16:28,395 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:16:28,396 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:16:28,397 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:16:28,398 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:16:28,399 - uvicorn.error - INFO - Finished server process [1435825]
2025-08-29 13:17:03,462 - uvicorn.error - INFO - Started server process [1436545]
2025-08-29 13:17:03,463 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:17:03,464 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:17:03,464 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:17:03,465 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:17:03,465 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:17:03,465 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:17:03,466 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:17:07,204 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:17:12,497 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:17:12,498 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:17:12,498 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:17:12,499 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:17:12,499 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:17:14,244 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:17:14,244 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:17:14,245 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:17:14,245 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:17:14,245 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:17:14,302 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:17:14,302 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:17:14,303 - app.models.migan - INFO - MIGAN Provider 우선순위: ['CPUExecutionProvider']
2025-08-29 13:17:14,554 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:17:14,555 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:17:14,555 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:17:14,556 - app.core.session_pool - WARNING - MIGAN ONNX 경로가 설정되지 않음, 기본 모델 사용
2025-08-29 13:17:14,556 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:17:14,557 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:17:14,557 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:17:14,557 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:17:14,557 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:17:14,566 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 13:17:16,433 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:17:17,386 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:17:17,387 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:17:17,409 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 13:17:17,410 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 13:17:17,410 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 13:17:17,411 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 13:17:23,328 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 13:17:23,329 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 13:17:23,329 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 13:17:23,330 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 13:17:23,330 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:17:23,330 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:17:23,331 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:17:23,331 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:17:23,332 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:17:23,332 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:17:23,333 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:17:23,335 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:17:23,336 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:17:41,419 - uvicorn.error - INFO - Shutting down
2025-08-29 13:17:41,520 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:17:41,521 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:17:41,522 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:17:41,522 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:17:41,523 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:17:41,523 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:17:41,524 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:17:41,524 - uvicorn.error - INFO - Finished server process [1436545]
2025-08-29 13:18:15,544 - uvicorn.error - INFO - Started server process [1437240]
2025-08-29 13:18:15,545 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:18:15,545 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:18:15,546 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:18:15,546 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:18:15,546 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:18:15,547 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:18:15,547 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:18:18,770 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:18:23,342 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:18:23,344 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:18:23,345 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:18:23,346 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:18:23,347 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:18:25,183 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:18:25,184 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:18:25,184 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:18:25,184 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:18:25,185 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:18:25,238 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:18:25,238 - app.models.migan - INFO - MIGAN Provider 우선순위: ['TensorRTExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 13:18:25,524 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:18:25,525 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:18:25,525 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:18:25,526 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:18:25,526 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:18:25,526 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:18:25,527 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:18:25,527 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:18:25,529 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 13:18:27,397 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:18:28,316 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:18:28,317 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:18:28,337 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 13:18:28,338 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 13:18:28,339 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 13:18:28,339 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 13:18:34,185 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 13:18:34,186 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 13:18:34,186 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 13:18:34,187 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 13:18:34,187 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:18:34,187 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:18:34,188 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:18:34,188 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:18:34,189 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:18:34,189 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:18:34,189 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:18:34,191 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:18:34,193 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:49:32,624 - uvicorn.error - INFO - Shutting down
2025-08-29 13:49:32,730 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:49:32,732 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:49:32,733 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:49:32,735 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:49:32,736 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:49:32,736 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:49:32,738 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:49:32,739 - uvicorn.error - INFO - Finished server process [1437240]
2025-08-29 13:51:19,238 - uvicorn.error - INFO - Started server process [1450421]
2025-08-29 13:51:19,239 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:51:19,240 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:51:19,240 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:51:19,241 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:51:19,241 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:51:19,241 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:51:19,242 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:51:22,447 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:51:26,829 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:51:26,830 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:51:26,831 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:51:26,832 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:51:26,832 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:51:28,552 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:51:28,553 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:51:28,553 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:51:28,553 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:51:28,554 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:51:28,617 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:51:28,618 - app.models.migan - INFO - MIGAN Provider 우선순위: ['TensorRTExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 13:51:32,095 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:51:32,096 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:51:32,096 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:51:32,097 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:51:32,097 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:51:32,098 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:51:32,098 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:51:32,098 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:51:32,106 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 13:51:33,948 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 13:51:35,279 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 13:51:35,279 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 13:51:35,303 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 13:51:35,305 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 13:51:35,305 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 13:51:35,305 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 13:51:48,892 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 13:51:48,893 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 13:51:48,894 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 13:51:48,894 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 13:51:48,894 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 13:51:48,895 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 13:51:48,895 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 13:51:48,896 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 13:51:48,896 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 13:51:48,896 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 13:51:48,897 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 13:51:48,899 - uvicorn.error - INFO - Application startup complete.
2025-08-29 13:51:48,900 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 13:59:08,848 - uvicorn.error - INFO - Shutting down
2025-08-29 13:59:08,953 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 13:59:08,956 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 13:59:08,957 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 13:59:08,958 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 13:59:08,959 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 13:59:08,960 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 13:59:08,962 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 13:59:08,963 - uvicorn.error - INFO - Finished server process [1450421]
2025-08-29 13:59:44,777 - uvicorn.error - INFO - Started server process [1452376]
2025-08-29 13:59:44,778 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 13:59:44,779 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 13:59:44,780 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 13:59:44,780 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 13:59:44,780 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 13:59:44,781 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 13:59:44,781 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 13:59:48,079 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:59:53,418 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:59:53,420 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:59:53,421 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:59:53,421 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 13:59:53,422 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 13:59:55,286 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 13:59:55,287 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 13:59:55,287 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 13:59:55,287 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 13:59:55,288 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 13:59:55,352 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:59:55,353 - app.models.migan - INFO - MIGAN Provider 우선순위: ['TensorRTExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 13:59:58,380 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:59:58,381 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:59:58,381 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 13:59:58,382 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 13:59:58,382 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 13:59:58,383 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 13:59:58,383 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 13:59:58,384 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 13:59:58,392 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:00:00,273 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:00:01,534 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:00:01,535 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:00:01,557 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:00:01,559 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:00:01,559 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:00:01,560 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:00:15,061 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:00:15,062 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:00:15,062 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:00:15,063 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:00:15,063 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:00:15,064 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:00:15,064 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:00:15,065 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:00:15,065 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:00:15,065 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:00:15,066 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:00:15,068 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:00:15,069 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:00:20,294 - uvicorn.error - INFO - Shutting down
2025-08-29 14:00:20,396 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:00:20,398 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:00:20,398 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:00:20,400 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:00:20,400 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:00:20,401 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:00:20,402 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:00:20,403 - uvicorn.error - INFO - Finished server process [1452376]
2025-08-29 14:01:53,230 - uvicorn.error - INFO - Started server process [1453327]
2025-08-29 14:01:53,231 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:01:53,232 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:01:53,232 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:01:53,233 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:01:53,233 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:01:53,233 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:01:53,234 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:01:56,516 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:02:00,889 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:02:00,890 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:02:00,891 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:02:00,892 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:02:00,893 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:02:02,699 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:02:02,699 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:02:02,700 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:02:02,700 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:02:02,700 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:02:02,761 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:02:02,762 - app.models.migan - INFO - MIGAN Provider 우선순위: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 14:02:06,221 - app.models.migan - WARNING - MIGAN CUDA EP 초기화 실패, CPU로 폴백: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /home/yifanl/onnxruntime/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:2188 SubGraphCollection_t onnxruntime::TensorrtExecutionProvider::GetSupportedList(SubGraphCollection_t, int, int, const onnxruntime::GraphViewer&, bool*) const [ONNXRuntimeError] : 1 : FAIL : TensorRT input: /Pad_output_0 has no shape specified. Please run shape inference on the onnx model first. Details can be found in https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#shape-inference-for-tensorrt-subgraphs
2025-08-29 14:02:07,113 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:02:07,115 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:02:07,116 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 14:02:07,116 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:02:07,116 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:02:07,117 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:02:07,117 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 14:02:07,117 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:02:07,125 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:02:09,036 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:02:10,260 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:02:10,261 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:02:10,272 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:02:10,273 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:02:10,273 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:02:10,274 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:02:55,898 - uvicorn.error - INFO - Started server process [1454285]
2025-08-29 14:02:55,899 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:02:55,900 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:02:55,901 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:02:55,901 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:02:55,901 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:02:55,902 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:02:55,902 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:02:59,102 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:03:03,621 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:03:03,622 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:03:03,623 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:03:03,624 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:03:03,625 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:03:05,352 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:03:05,353 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:03:05,353 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:03:05,354 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:03:05,354 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:03:05,416 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:03:05,417 - app.models.migan - INFO - MIGAN Provider 우선순위: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 14:03:08,588 - app.models.migan - WARNING - MIGAN CUDA EP 초기화 실패, CPU로 폴백: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: /home/yifanl/onnxruntime/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:2188 SubGraphCollection_t onnxruntime::TensorrtExecutionProvider::GetSupportedList(SubGraphCollection_t, int, int, const onnxruntime::GraphViewer&, bool*) const [ONNXRuntimeError] : 1 : FAIL : TensorRT input: /Pad_output_0 has no shape specified. Please run shape inference on the onnx model first. Details can be found in https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#shape-inference-for-tensorrt-subgraphs
2025-08-29 14:03:09,458 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:03:09,460 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:03:09,460 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 14:03:09,461 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:03:09,461 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:03:09,461 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:03:09,462 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 14:03:09,462 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:03:09,470 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:03:11,342 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:03:12,526 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:03:12,527 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:03:12,542 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:03:12,546 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:03:12,546 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:03:12,547 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:03:26,251 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:03:26,252 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:03:26,252 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:03:26,253 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:03:26,253 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:03:26,253 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:03:26,254 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:03:26,254 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:03:26,255 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:03:26,255 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:03:26,255 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:03:26,257 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:03:26,258 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:07:25,766 - uvicorn.error - INFO - Shutting down
2025-08-29 14:07:25,871 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:07:25,875 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:07:25,877 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:07:25,878 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:07:25,879 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:07:25,880 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:07:25,882 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:07:25,883 - uvicorn.error - INFO - Finished server process [1454285]
2025-08-29 14:08:05,067 - uvicorn.error - INFO - Started server process [1455980]
2025-08-29 14:08:05,068 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:08:05,069 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:08:05,069 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:08:05,070 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:08:05,070 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:08:05,070 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:08:05,071 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:08:08,384 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:08:12,983 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:08:12,984 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:08:12,985 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:08:12,986 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:08:12,987 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:08:14,899 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:08:14,900 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:08:14,900 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:08:14,901 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:08:14,901 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:08:14,965 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:08:14,965 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 14:08:17,658 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:08:17,659 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:08:17,659 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 14:08:17,660 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:08:17,660 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:08:17,661 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:08:17,661 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 14:08:17,661 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:08:17,663 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:08:19,592 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:08:21,059 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:08:21,060 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:08:21,068 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:08:21,072 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:08:21,073 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:08:21,074 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:08:26,300 - uvicorn.error - INFO - Started server process [1456407]
2025-08-29 14:08:26,301 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:08:26,302 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:08:26,302 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:08:26,303 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:08:26,303 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:08:26,304 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:08:26,304 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:08:30,318 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:08:36,063 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:08:36,064 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:08:36,065 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:08:36,065 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:08:36,066 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:08:36,750 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:08:36,751 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:08:36,751 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:08:36,751 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:08:36,752 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:08:36,752 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:08:36,753 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:08:36,753 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:08:36,754 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:08:36,754 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:08:36,754 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:08:36,757 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:08:36,758 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:08:37,855 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:08:37,856 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:08:37,856 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:08:37,856 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:08:37,857 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:08:37,916 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:08:37,917 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 14:08:40,888 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:08:40,889 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:08:40,889 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 14:08:40,890 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:08:40,890 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:08:40,891 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:08:40,891 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 14:08:40,891 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:08:40,893 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:08:42,864 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:08:44,532 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:08:44,533 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:08:44,571 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:08:44,573 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:08:44,573 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:08:44,574 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:08:58,516 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:08:58,517 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:08:58,517 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:08:58,518 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:08:58,518 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:08:58,519 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:08:58,519 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:08:58,520 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:08:58,520 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:08:58,520 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:08:58,521 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:08:58,523 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:08:58,524 - uvicorn.error - ERROR - [Errno 98] error while attempting to bind on address ('0.0.0.0', 8008): address already in use
2025-08-29 14:08:58,525 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:08:58,525 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:08:58,526 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:08:58,526 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:08:58,527 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:08:58,527 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:08:58,528 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:28:33,272 - uvicorn.error - INFO - Shutting down
2025-08-29 14:28:33,376 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:28:33,379 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:28:33,380 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:28:33,382 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:28:33,382 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:28:33,384 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:28:33,385 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:28:33,386 - uvicorn.error - INFO - Finished server process [1455980]
2025-08-29 14:35:05,504 - uvicorn.error - INFO - Started server process [1464294]
2025-08-29 14:35:05,505 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:35:05,506 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:35:05,507 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:35:05,507 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:35:05,507 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:35:05,508 - main - INFO - 🚀 GPU 관리자 초기화 중...
2025-08-29 14:35:05,517 - main - ERROR - ❌ 서버 시작 실패: log() got multiple values for argument 'level'
2025-08-29 14:35:05,521 - uvicorn.error - ERROR - Traceback (most recent call last):
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 50, in _auto_setup_cudnn_path
self.logger.log("Jetson Xavier 감지됨: 시스템 cuDNN 사용", level=logging.INFO)
TypeError: log() got multiple values for argument 'level'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 705, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "/usr/lib/python3.8/contextlib.py", line 171, in __aenter__
return await self.gen.__anext__()
File "/home/ckh08045/work/inpaintServer/./main.py", line 228, in lifespan
gpu_manager.initialize_gpu_state(toggle_states)
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 108, in initialize_gpu_state
self._auto_setup_cudnn_path()
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 93, in _auto_setup_cudnn_path
self.logger.log(f"cuDNN PATH 자동 설정 중 오류: {e}", level=logging.WARNING)
TypeError: log() got multiple values for argument 'level'
2025-08-29 14:35:05,522 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:35:05,524 - uvicorn.error - ERROR - Application startup failed. Exiting.
2025-08-29 14:35:41,301 - uvicorn.error - INFO - Started server process [1464668]
2025-08-29 14:35:41,302 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:35:41,303 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:35:41,303 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:35:41,304 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:35:41,304 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:35:41,304 - main - INFO - 🚀 GPU 관리자 초기화 중...
2025-08-29 14:35:41,314 - main - ERROR - ❌ 서버 시작 실패: log() got multiple values for argument 'level'
2025-08-29 14:35:41,317 - uvicorn.error - ERROR - Traceback (most recent call last):
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 50, in _auto_setup_cudnn_path
self.logger.log("Jetson Xavier 감지됨: 시스템 cuDNN 사용", level=logging.INFO)
TypeError: log() got multiple values for argument 'level'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 705, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "/usr/lib/python3.8/contextlib.py", line 171, in __aenter__
return await self.gen.__anext__()
File "/home/ckh08045/work/inpaintServer/./main.py", line 228, in lifespan
gpu_manager.initialize_gpu_state(toggle_states)
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 108, in initialize_gpu_state
self._auto_setup_cudnn_path()
File "/home/ckh08045/work/inpaintServer/./app/core/gpu_utils.py", line 93, in _auto_setup_cudnn_path
self.logger.log(f"cuDNN PATH 자동 설정 중 오류: {e}", level=logging.WARNING)
TypeError: log() got multiple values for argument 'level'
2025-08-29 14:35:41,318 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:35:41,320 - uvicorn.error - ERROR - Application startup failed. Exiting.
2025-08-29 14:38:30,800 - uvicorn.error - INFO - Started server process [1465833]
2025-08-29 14:38:30,800 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:38:30,801 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:38:30,802 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:38:30,802 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:38:30,802 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:38:30,803 - main - INFO - 🚀 GPU 관리자 초기화 중...
2025-08-29 14:38:30,804 - main - INFO - 🚀 GPU 상태 초기화 시작
2025-08-29 14:38:30,804 - main - INFO - 사용자 CUDA 사용 요청: True
2025-08-29 14:38:30,805 - main - INFO - Jetson Xavier (ARM64) 환경 확인됨
2025-08-29 14:38:30,823 - main - INFO - CUDA 컴파일러 감지됨
2025-08-29 14:38:30,896 - main - INFO - ONNX Runtime 사용 가능한 providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 14:38:30,896 - main - INFO - 🚀 TensorRT ExecutionProvider 지원 확인됨
2025-08-29 14:38:30,897 - main - INFO - ⚡ CUDA ExecutionProvider 지원 확인됨
2025-08-29 14:38:30,897 - main - INFO - ✅ CUDA 사용 가능 - GPU 가속 모드로 동작
2025-08-29 14:38:30,897 - main - INFO - GPU 정보: {'gpu_0': {'name': 'Jetson Xavier GPU', 'memory_mb': '8192', 'driver_version': 'JetPack'}}
2025-08-29 14:38:30,898 - main - INFO - ✅ GPU 관리자 초기화 완료
2025-08-29 14:38:30,898 - main - INFO - ✅ GPU 관리자를 세션 풀에 설정 완료
2025-08-29 14:38:30,899 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:38:30,899 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:38:34,129 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:38:38,558 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:38:38,560 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:38:38,560 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:38:38,561 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:38:38,562 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:38:40,319 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:38:40,320 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:38:40,320 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:38:40,321 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:38:40,321 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:38:40,329 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:38:40,330 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:38:40,330 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:38:40,336 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:38:42,159 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 14:38:44,934 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 14:38:44,935 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 14:38:44,949 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 14:38:44,954 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:38:44,955 - app.models.rembg_model - INFO - rembg 세션 생성 (GPU): birefnet-general-lite with TensorRT→CUDA→CPU
2025-08-29 14:38:44,955 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:38:58,477 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:38:58,478 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:38:58,478 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:38:58,479 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:38:58,479 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:38:58,479 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:38:58,480 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:38:58,481 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:38:58,481 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:38:58,481 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:38:58,482 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:38:58,484 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:38:58,485 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:39:19,010 - uvicorn.error - INFO - Shutting down
2025-08-29 14:39:19,112 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:39:19,114 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:39:19,115 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:39:19,116 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:39:19,117 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:39:19,118 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:39:19,118 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:39:19,120 - uvicorn.error - INFO - Finished server process [1465833]
2025-08-29 14:39:22,910 - uvicorn.error - INFO - Started server process [1466401]
2025-08-29 14:39:22,910 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:39:22,911 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:39:22,912 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:39:22,912 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:39:22,913 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:39:22,913 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 14:39:22,913 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 14:39:22,914 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:39:22,914 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:39:26,177 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:39:30,343 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:39:30,345 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:39:30,346 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:39:30,347 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:39:30,349 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:39:32,130 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:39:32,131 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:39:32,131 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:39:32,132 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:39:32,132 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:39:32,188 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:39:32,189 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:39:32,189 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:39:32,190 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:39:34,078 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:39:35,327 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:39:35,327 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:39:35,334 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:39:35,336 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:39:35,337 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:39:35,337 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:39:48,631 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:39:48,632 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:39:48,632 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:39:48,633 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:39:48,633 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:39:48,634 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:39:48,634 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:39:48,635 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:39:48,635 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:39:48,635 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:39:48,636 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:39:48,638 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:39:48,639 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:42:43,860 - uvicorn.error - INFO - Started server process [1467573]
2025-08-29 14:42:43,860 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:42:43,861 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:42:43,862 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:42:43,862 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:42:43,863 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:42:43,863 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 14:42:43,863 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 14:42:43,864 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:42:43,864 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:42:47,235 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:42:51,565 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:42:51,567 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:42:51,567 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:42:51,568 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:42:51,569 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:42:53,159 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:42:53,160 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:42:53,160 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:42:53,161 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:42:53,161 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:42:53,222 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:42:53,223 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:42:53,224 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:42:53,231 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:42:55,078 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:42:56,370 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:42:56,370 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:42:56,377 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:42:56,379 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:42:56,380 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:42:56,380 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:44:33,078 - uvicorn.error - INFO - Started server process [1468784]
2025-08-29 14:44:33,079 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:44:33,080 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:44:33,080 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:44:33,081 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:44:33,081 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:44:33,081 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 14:44:33,082 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 14:44:33,082 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:44:33,082 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:44:36,264 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:44:40,429 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:44:40,430 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:44:40,431 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:44:40,432 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:44:40,433 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:44:42,103 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:44:42,104 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:44:42,104 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:44:42,104 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:44:42,105 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:44:42,156 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:44:42,157 - app.core.session_pool - ERROR - Failed to create session for migan: cannot import name 'build_migan_from_toggle' from 'app.models.migan' (/home/ckh08045/work/inpaintServer/./app/models/migan.py)
2025-08-29 14:44:42,157 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:44:42,159 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:44:43,987 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:44:45,234 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:44:45,235 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:44:45,242 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_None
2025-08-29 14:44:45,244 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:44:45,244 - app.models.rembg_model - INFO - rembg 세션 생성 (CPU): birefnet-general-lite
2025-08-29 14:44:45,244 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:44:58,878 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:44:58,879 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:44:58,879 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:44:58,879 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:44:58,880 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:44:58,880 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:44:58,881 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:44:58,881 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:44:58,881 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:44:58,882 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:44:58,882 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:44:58,884 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:44:58,885 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:55:20,023 - uvicorn.error - INFO - Shutting down
2025-08-29 14:55:20,128 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:55:20,131 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:55:20,132 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:55:20,134 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:55:20,135 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:55:20,135 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:55:20,137 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:55:20,138 - uvicorn.error - INFO - Finished server process [1468784]
2025-08-29 14:55:23,706 - uvicorn.error - INFO - Started server process [1472065]
2025-08-29 14:55:23,707 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:55:23,708 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:55:23,708 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:55:23,708 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:55:23,709 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:55:23,709 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 14:55:23,709 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 14:55:23,710 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:55:23,710 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:55:26,889 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:55:31,195 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:55:31,196 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:55:31,197 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:55:31,198 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:55:31,199 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:55:32,902 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:55:32,903 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:55:32,903 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:55:32,903 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:55:32,904 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:55:32,957 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: __init__() got an unexpected keyword argument 'gpu_manager'
2025-08-29 14:55:32,957 - app.core.session_pool - ERROR - Failed to create session for migan: __init__() got an unexpected keyword argument 'gpu_manager'
2025-08-29 14:55:32,958 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: __init__() got an unexpected keyword argument 'gpu_manager'
2025-08-29 14:55:32,958 - app.core.session_pool - ERROR - Failed to create session for migan: __init__() got an unexpected keyword argument 'gpu_manager'
2025-08-29 14:55:32,958 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:55:32,966 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:55:34,813 - app.models.rembg_model - INFO - rembg CPU-only 모드로 테스트
2025-08-29 14:55:36,089 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CPUExecutionProvider']
2025-08-29 14:55:36,089 - app.models.rembg_model - INFO - rembg CPU 모드로 동작
2025-08-29 14:55:36,110 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 14:55:36,113 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:55:36,114 - app.models.rembg_model - INFO - rembg 세션 생성 (GPU): birefnet-general-lite with TensorRT→CUDA→CPU
2025-08-29 14:55:36,114 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:55:49,919 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:55:49,920 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:55:49,921 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:55:49,921 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:55:49,921 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:55:49,922 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:55:49,922 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:55:49,923 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:55:49,923 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:55:49,923 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:55:49,924 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:55:49,926 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:55:49,927 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 14:58:52,816 - uvicorn.error - INFO - Shutting down
2025-08-29 14:58:52,922 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 14:58:52,924 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 14:58:52,926 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 14:58:52,927 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 14:58:52,928 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 14:58:52,929 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 14:58:52,931 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 14:58:52,932 - uvicorn.error - INFO - Finished server process [1472065]
2025-08-29 14:58:57,683 - uvicorn.error - INFO - Started server process [1473514]
2025-08-29 14:58:57,683 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 14:58:57,685 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 14:58:57,685 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 14:58:57,685 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 14:58:57,686 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 14:58:57,686 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 14:58:57,686 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 14:58:57,687 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 14:58:57,687 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 14:59:00,994 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:59:05,279 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:59:05,280 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:59:05,281 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:59:05,282 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 14:59:05,282 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 14:59:06,878 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 14:59:06,879 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 14:59:06,879 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 14:59:06,880 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 14:59:06,880 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 14:59:06,933 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:59:06,933 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 14:59:09,983 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:59:09,984 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:59:09,985 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 14:59:09,985 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 14:59:09,986 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 14:59:09,986 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 14:59:09,986 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 14:59:09,987 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 14:59:09,995 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 14:59:11,810 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 14:59:13,177 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 14:59:13,178 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 14:59:13,193 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 14:59:13,195 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 14:59:13,196 - app.models.rembg_model - INFO - rembg 세션 생성 (GPU): birefnet-general-lite with TensorRT→CUDA
2025-08-29 14:59:13,196 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 14:59:26,429 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 14:59:26,430 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 14:59:26,430 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 14:59:26,430 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 14:59:26,431 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 14:59:26,431 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 14:59:26,432 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 14:59:26,432 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 14:59:26,433 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 14:59:26,433 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 14:59:26,433 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 14:59:26,435 - uvicorn.error - INFO - Application startup complete.
2025-08-29 14:59:26,437 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 15:05:34,286 - uvicorn.error - INFO - Shutting down
2025-08-29 15:05:34,394 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 15:05:34,397 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 15:05:34,399 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 15:05:34,401 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 15:05:34,401 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 15:05:34,402 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 15:05:34,404 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 15:05:34,405 - uvicorn.error - INFO - Finished server process [1473514]
2025-08-29 15:05:39,163 - uvicorn.error - INFO - Started server process [1475921]
2025-08-29 15:05:39,164 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 15:05:39,165 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 15:05:39,166 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 15:05:39,166 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 15:05:39,167 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 15:05:39,167 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 15:05:39,167 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 15:05:39,168 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 15:05:39,168 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 15:05:42,354 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:05:46,454 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:05:46,456 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:05:46,458 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:05:46,460 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 15:05:46,462 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:05:48,272 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:05:48,273 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:05:48,274 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:05:48,274 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 15:05:48,274 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 15:05:48,327 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:05:48,328 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 15:05:51,174 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:05:51,175 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:05:51,176 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 15:05:51,176 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:05:51,177 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:05:51,177 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:05:51,178 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 15:05:51,178 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 15:05:51,186 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 15:05:52,996 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 15:05:54,353 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 15:05:54,355 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 15:05:54,369 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 15:05:54,371 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 15:05:54,372 - app.models.rembg_model - INFO - rembg 세션 생성 (GPU 전용): birefnet-general-lite with TensorRT→CUDA
2025-08-29 15:05:54,372 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 15:05:54,373 - app.models.rembg_model - INFO - rembg providers 전달: ['TensorrtExecutionProvider', 'CUDAExecutionProvider']
2025-08-29 15:06:07,558 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' CPU 모드로 동작 (실제 providers: ['CPUExecutionProvider'])
2025-08-29 15:06:07,559 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 15:06:07,560 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 15:06:07,560 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 15:06:07,560 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 15:06:07,561 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 15:06:07,561 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 15:06:07,562 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 15:06:07,562 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 15:06:07,563 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 15:06:07,563 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 15:06:07,565 - uvicorn.error - INFO - Application startup complete.
2025-08-29 15:06:07,567 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 15:07:26,429 - uvicorn.error - INFO - Shutting down
2025-08-29 15:07:26,534 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 15:07:26,536 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 15:07:26,538 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 15:07:26,539 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 15:07:26,540 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 15:07:26,541 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 15:07:26,542 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 15:07:26,543 - uvicorn.error - INFO - Finished server process [1475921]
2025-08-29 15:07:31,314 - uvicorn.error - INFO - Started server process [1476786]
2025-08-29 15:07:31,315 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 15:07:31,316 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 15:07:31,316 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 15:07:31,316 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 15:07:31,317 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 15:07:31,317 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 15:07:31,317 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 15:07:31,318 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 15:07:31,318 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 15:07:34,524 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:07:38,619 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:07:38,620 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:07:38,621 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:07:38,622 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 15:07:38,624 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:07:40,250 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:07:40,251 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:07:40,252 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:07:40,252 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 15:07:40,252 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 15:07:40,306 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:07:40,307 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 15:07:43,450 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:07:43,451 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:07:43,451 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 15:07:43,452 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:07:43,452 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:07:43,453 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:07:43,453 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 15:07:43,453 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 15:07:43,462 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 15:07:45,290 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 15:07:46,721 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 15:07:46,721 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 15:07:46,734 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 15:07:46,738 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 15:07:46,739 - app.models.rembg_model - INFO - rembg 세션 생성 (GPU): birefnet-general-lite with TensorRT→CUDA
2025-08-29 15:07:46,739 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 15:07:46,740 - app.models.rembg_model - INFO - rembg에 전달할 providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider']
2025-08-29 15:09:20,879 - uvicorn.error - INFO - Started server process [1477809]
2025-08-29 15:09:20,880 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 15:09:20,881 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 15:09:20,881 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 15:09:20,881 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 15:09:20,882 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 15:09:20,882 - main - INFO - 🚀 GPU 관리자 없이 세션 풀 초기화
2025-08-29 15:09:20,883 - main - INFO - ✅ 세션 풀 GPU 관리자 설정 완료 (비활성화)
2025-08-29 15:09:20,883 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 15:09:20,883 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 15:09:24,201 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:09:29,504 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:09:29,505 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:09:29,506 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:09:29,507 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 15:09:29,507 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:09:32,289 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:09:32,290 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:09:32,290 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:09:32,290 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 15:09:32,291 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 15:09:32,349 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:09:32,350 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 15:09:35,743 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:09:35,744 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:09:35,745 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 15:09:35,745 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:09:35,746 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:09:35,747 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:09:35,747 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 15:09:35,748 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 15:09:35,757 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 15:09:37,916 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 15:09:39,592 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 15:09:39,593 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 15:09:39,610 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 15:09:39,612 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 15:09:39,613 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 15:09:39,614 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 15:22:00,207 - uvicorn.error - INFO - Started server process [1482031]
2025-08-29 15:22:00,208 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 15:22:00,209 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 15:22:00,210 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 15:22:00,210 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 15:22:00,210 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 15:22:00,211 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 15:22:00,211 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 15:22:00,212 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 15:22:03,640 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:22:11,802 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:22:11,803 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:22:11,804 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:22:11,804 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 15:22:11,804 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 15:22:15,798 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 15:22:15,799 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 15:22:15,799 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 15:22:15,800 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 15:22:15,800 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 15:22:15,864 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:22:15,865 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 15:22:20,118 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:22:20,119 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:22:20,120 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 15:22:20,121 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 15:22:20,122 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 15:22:20,123 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 15:22:20,123 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 15:22:20,124 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 15:22:20,139 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 15:22:22,228 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 15:22:24,717 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 15:22:24,718 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 15:22:24,738 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 15:22:24,740 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 15:22:24,741 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 15:22:24,741 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 16:04:15,013 - uvicorn.error - INFO - Started server process [1494794]
2025-08-29 16:04:15,014 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 16:04:15,015 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:04:15,016 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:04:15,016 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:04:15,016 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:04:15,017 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:04:15,017 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:04:15,018 - app.core.session_pool - INFO - Initializing 2 sessions for simple_lama
2025-08-29 16:04:19,096 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:04:25,300 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:04:25,301 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:04:25,301 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:04:25,301 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 16:04:25,302 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:04:28,236 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:04:28,237 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:04:28,237 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:04:28,238 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 16:04:28,238 - app.core.session_pool - INFO - Initializing 2 sessions for migan
2025-08-29 16:04:28,316 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:04:28,317 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 16:04:32,521 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:04:32,522 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:04:32,523 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 16:04:32,525 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:04:32,525 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:04:32,526 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:04:32,527 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 16:04:32,528 - app.core.session_pool - INFO - Initializing 1 sessions for rembg
2025-08-29 16:04:32,542 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:04:34,856 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 16:04:36,636 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 16:04:36,638 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 16:04:36,655 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 16:04:36,660 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 16:04:36,661 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 16:04:36,661 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 16:06:32,218 - uvicorn.error - INFO - Started server process [1495779]
2025-08-29 16:06:32,220 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 16:06:32,221 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:06:32,222 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:06:32,222 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:06:32,223 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:06:32,223 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:06:32,224 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:06:32,224 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 16:06:35,915 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:06:44,050 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:06:44,052 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:06:44,052 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:06:44,052 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 16:06:44,053 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:06:47,176 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:06:47,177 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:06:47,178 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:06:47,178 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 16:06:47,178 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:06:50,685 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:06:50,686 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:06:50,686 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:06:50,687 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 16:06:50,687 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:06:54,580 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 16:06:54,581 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:06:54,581 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:06:54,581 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 16:06:54,582 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 16:06:54,660 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:06:54,661 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 16:06:59,066 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:06:59,067 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:06:59,068 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 16:06:59,069 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:06:59,070 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:06:59,070 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:06:59,071 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 16:06:59,072 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:06:59,073 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:06:59,073 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:06:59,075 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 16:06:59,075 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:06:59,076 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:06:59,077 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:06:59,077 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 16:06:59,078 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 16:06:59,081 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:07:01,810 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 16:07:03,945 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 16:07:03,946 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 16:07:03,998 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 16:07:04,000 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 16:07:04,000 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 16:07:04,001 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 16:35:38,848 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:35:38,849 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:35:38,849 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:35:38,850 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:35:38,850 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:35:38,850 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:35:38,851 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 16:35:38,857 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:35:38,858 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:35:38,860 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:35:38,861 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:35:38,861 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 16:35:38,968 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:35:38,969 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 16:35:43,503 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:35:43,504 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:35:43,505 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 16:35:43,506 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:35:43,506 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:35:43,506 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:35:43,507 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 16:35:43,507 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:35:43,508 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:35:43,508 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:35:43,509 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 16:35:43,509 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:35:43,510 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:35:43,510 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:35:43,510 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 16:35:43,511 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 16:35:43,513 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:35:43,513 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,514 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,514 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,514 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,515 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:35:43,515 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,516 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,516 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,516 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,517 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:35:43,517 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,518 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,518 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,518 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:35:43,519 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 16:35:43,519 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 16:35:43,519 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 16:35:43,520 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 16:35:43,520 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 16:35:43,521 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 16:35:43,521 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 16:36:15,156 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 16:36:15,157 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 16:36:15,157 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 16:36:15,158 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 16:36:15,158 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 16:36:15,159 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 16:36:15,159 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 16:36:15,160 - app.core.worker_manager - INFO - Worker manager started with 2 workers
2025-08-29 16:36:15,160 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 16:36:15,161 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 16:36:15,162 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 16:36:18,223 - app.core.worker_manager - INFO - Scaled down to 2 workers (VRAM: 0.77)
2025-08-29 16:36:18,227 - uvicorn.error - INFO - Application startup complete.
2025-08-29 16:36:18,238 - uvicorn.error - ERROR - [Errno 98] error while attempting to bind on address ('0.0.0.0', 8008): address already in use
2025-08-29 16:36:18,239 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 16:36:18,241 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 16:36:18,242 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 16:36:18,244 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 16:36:18,245 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 16:36:18,245 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 16:36:18,247 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 16:47:02,694 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 16:47:02,696 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 16:47:02,696 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 16:47:02,697 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 16:47:02,697 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 16:47:25,732 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:47:25,732 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:47:25,733 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:47:25,733 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:47:25,734 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:47:25,734 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:47:25,734 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 16:47:25,736 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:47:25,737 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:47:25,738 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:47:25,739 - app.core.session_pool - ERROR - Failed to create session for simple_lama: No module named 'torch'
2025-08-29 16:47:25,739 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 16:47:25,819 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:47:25,820 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 16:47:29,235 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:47:29,236 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:47:29,237 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 16:47:29,237 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:47:29,238 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:47:29,238 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:47:29,238 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 16:47:29,239 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:47:29,239 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:47:29,240 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:47:29,240 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 16:47:29,241 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:47:29,241 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:47:29,241 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:47:29,242 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 16:47:29,242 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 16:47:29,244 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:47:29,245 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,245 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,245 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,246 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,246 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:47:29,247 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,247 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,247 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,248 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,248 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:47:29,248 - app.models.rembg_model - ERROR - rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,249 - app.models.rembg_model - ERROR - Failed to load REMBG model: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,249 - app.core.session_pool - ERROR - REMBG 모델 로드 실패: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,249 - app.core.session_pool - ERROR - Failed to create session for rembg: REMBG 사용 불가: rembg 모듈이 설치되지 않음: No module named 'rembg'
2025-08-29 16:47:29,250 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 16:47:29,250 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 16:47:29,250 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 16:47:29,251 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 16:47:29,251 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 16:47:29,252 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 16:47:29,252 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 16:50:50,963 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 16:50:50,964 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 16:50:50,965 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 16:50:50,965 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 16:50:50,966 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 16:56:36,377 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:56:36,377 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:56:36,378 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:56:36,378 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:56:36,378 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:56:36,379 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:56:36,379 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 16:56:39,262 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:56:39,263 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 16:56:39,264 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 16:56:39,264 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:56:39,265 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:56:39,265 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 16:56:39,265 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:56:39,266 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 16:56:39,266 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 16:56:39,267 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:56:39,267 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:56:39,267 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 16:56:39,268 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:56:39,268 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 16:56:39,268 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 16:56:39,269 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:56:39,269 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:56:39,269 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 16:56:39,270 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 16:56:39,270 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 16:56:39,270 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 16:56:39,271 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 16:56:39,271 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 16:56:39,271 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 16:56:39,272 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 16:56:39,345 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:56:39,345 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 16:56:42,784 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:56:42,785 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:56:42,785 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 16:56:42,786 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:56:42,786 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:56:42,786 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:56:42,787 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 16:56:42,787 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:56:42,788 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:56:42,788 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:56:42,788 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 16:56:42,789 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 16:56:42,789 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 16:56:42,790 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 16:56:42,790 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 16:56:42,790 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 16:56:42,792 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 16:58:31,873 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 16:58:33,486 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 16:58:33,487 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 16:58:33,511 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 16:58:33,513 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 16:58:33,513 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 16:58:33,514 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 16:59:57,843 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 16:59:57,844 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 16:59:57,844 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 16:59:57,845 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 16:59:57,845 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 16:59:57,845 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 16:59:57,846 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 17:00:00,617 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:00:00,618 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 17:00:00,618 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 17:00:00,619 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:00:00,619 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:00:00,619 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 17:00:00,620 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:00:00,620 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 17:00:00,621 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 17:00:00,621 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:00:00,621 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:00:00,622 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 17:00:00,622 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:00:00,622 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 17:00:00,623 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 17:00:00,623 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:00:00,623 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:00:00,624 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 17:00:00,624 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:00:00,625 - app.models.simple_lama - WARNING - SimpleLama 라이브러리 import 실패: No module named 'simple_lama_inpainting'
2025-08-29 17:00:00,625 - app.models.simple_lama - INFO - fallback 모드로 전환합니다...
2025-08-29 17:00:00,625 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:00:00,625 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:00:00,626 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 17:00:00,626 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 17:00:00,690 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:00:00,691 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 17:00:04,435 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:00:04,437 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:00:04,437 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 17:00:04,438 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:00:04,439 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:00:04,440 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:00:04,440 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 17:00:04,441 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:00:04,442 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:00:04,443 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:00:04,443 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 17:00:04,444 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:00:04,445 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:00:04,445 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:00:04,446 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 17:00:04,446 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 17:00:04,449 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 17:00:06,306 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 17:00:07,872 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 17:00:07,873 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 17:00:07,899 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 17:00:07,901 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 17:00:07,901 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 17:00:07,902 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 17:03:54,078 - uvicorn.error - INFO - Started server process [1517885]
2025-08-29 17:03:54,079 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 17:03:54,080 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 17:03:54,081 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 17:03:54,081 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 17:03:54,081 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 17:03:54,082 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 17:03:54,082 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 17:03:54,082 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 17:03:57,670 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:04:05,096 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:04:05,096 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:04:05,097 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:04:05,097 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 17:04:05,097 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:04:08,862 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:04:08,863 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:04:08,863 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:04:08,864 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 17:04:08,864 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:04:12,718 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:04:12,718 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:04:12,719 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:04:12,719 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 17:04:12,719 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:04:16,523 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:04:16,524 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:04:16,524 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:04:16,524 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 17:04:16,525 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 17:04:16,595 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:04:16,596 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 17:04:20,922 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:04:20,923 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:04:20,924 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 17:04:20,925 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:04:20,926 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:04:20,926 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:04:20,927 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 17:04:20,927 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:04:20,928 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:04:20,929 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:04:20,929 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 17:04:20,930 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:04:20,931 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:04:20,931 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:04:20,932 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 17:04:20,932 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 17:04:20,935 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 17:04:23,481 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 17:04:25,364 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 17:04:25,365 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 17:04:25,394 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 17:04:25,398 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 17:04:25,399 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 17:04:25,399 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 17:27:04,832 - uvicorn.error - INFO - Started server process [1520518]
2025-08-29 17:27:04,833 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 17:27:04,834 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 17:27:04,834 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 17:27:04,834 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 17:27:04,835 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 17:27:04,835 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 17:27:04,835 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 17:27:04,836 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 17:27:08,094 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:27:17,168 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:27:17,172 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:27:17,172 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:27:17,173 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 17:27:17,173 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:27:22,089 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:27:22,089 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:27:22,090 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:27:22,090 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 17:27:22,090 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:27:27,038 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:27:27,039 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:27:27,039 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:27:27,039 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 17:27:27,040 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:27:31,922 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:27:31,922 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:27:31,923 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:27:31,923 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 17:27:31,924 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 17:27:32,005 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:27:32,006 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 17:27:37,066 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:27:37,067 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:27:37,068 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 17:27:37,069 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:27:37,070 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:27:37,070 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:27:37,071 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 17:27:37,072 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:27:37,073 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:27:37,074 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:27:37,074 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 17:27:37,075 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:27:37,076 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:27:37,076 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:27:37,077 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 17:27:37,078 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 17:27:37,081 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 17:27:39,277 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 17:27:41,645 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 17:27:41,646 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 17:27:41,706 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 17:27:41,707 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 17:27:41,708 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 17:27:41,708 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 17:29:05,094 - uvicorn.error - INFO - Started server process [1521103]
2025-08-29 17:29:05,095 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 17:29:05,096 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 17:29:05,096 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 17:29:05,096 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 17:29:05,097 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 17:29:05,097 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 17:29:05,097 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 17:29:05,098 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 17:29:08,681 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:29:19,836 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:29:19,837 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:29:19,837 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:29:19,838 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 17:29:19,838 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:29:26,143 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:29:26,145 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:29:26,145 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:29:26,146 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 17:29:26,146 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:29:32,189 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:29:32,190 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:29:32,190 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:29:32,191 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 17:29:32,191 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:29:38,243 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:29:38,244 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:29:38,244 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:29:38,244 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 17:29:38,245 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 17:29:38,346 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:29:38,346 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 17:29:44,426 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:29:44,428 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:29:44,429 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 17:29:44,429 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:29:44,430 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:29:44,431 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:29:44,431 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 17:29:44,432 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:29:44,433 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:29:44,434 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:29:44,434 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 17:29:44,435 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:29:44,436 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:29:44,436 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:29:44,437 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 17:29:44,437 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 17:29:44,440 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 17:29:47,220 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 17:29:49,845 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 17:29:49,846 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 17:29:49,917 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 17:29:49,919 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 17:29:49,919 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 17:29:49,919 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 17:38:08,128 - uvicorn.error - INFO - Started server process [1522513]
2025-08-29 17:38:08,129 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 17:38:08,130 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 17:38:08,130 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 17:38:08,130 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 17:38:08,131 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 17:38:08,131 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 17:38:08,131 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 17:38:08,132 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 17:38:11,776 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:38:17,049 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:38:17,049 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:38:17,050 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:38:17,050 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 17:38:17,050 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:38:18,832 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:38:18,832 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:38:18,833 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:38:18,833 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 17:38:18,833 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:38:20,615 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:38:20,616 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:38:20,616 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:38:20,616 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 17:38:20,617 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 17:38:22,363 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 17:38:22,363 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 17:38:22,364 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 17:38:22,364 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 17:38:22,364 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 17:38:22,430 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:38:22,431 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 17:38:25,342 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:38:25,343 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:38:25,343 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 17:38:25,344 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:38:25,344 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:38:25,344 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:38:25,345 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 17:38:25,345 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:38:25,345 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:38:25,346 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:38:25,346 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 17:38:25,347 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 17:38:25,347 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 17:38:25,347 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 17:38:25,347 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 17:38:25,348 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 17:38:25,352 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 17:38:27,616 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 17:38:29,048 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 17:38:29,049 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 17:38:29,064 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 17:38:29,065 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 17:38:29,066 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 17:38:29,066 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 18:01:55,516 - uvicorn.error - INFO - Started server process [1525502]
2025-08-29 18:01:55,517 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 18:01:55,518 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 18:01:55,518 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 18:01:55,518 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 18:01:55,519 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 18:01:55,519 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 18:01:55,519 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 18:01:55,520 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 18:01:58,788 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:02:05,439 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:02:05,440 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:02:05,440 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:02:05,440 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 18:02:05,441 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:02:09,306 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:02:09,306 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:02:09,306 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:02:09,307 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 18:02:09,307 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:02:12,250 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:02:12,250 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:02:12,251 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:02:12,251 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 18:02:12,252 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:02:14,902 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:02:14,903 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:02:14,903 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:02:14,904 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 18:02:14,904 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 18:02:14,972 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:02:14,973 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 18:02:18,208 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:02:18,208 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:02:18,209 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 18:02:18,209 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:02:18,210 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:02:18,210 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:02:18,211 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 18:02:18,211 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:02:18,211 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:02:18,212 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:02:18,212 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 18:02:18,213 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:02:18,213 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:02:18,213 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:02:18,214 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 18:02:18,214 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 18:02:18,216 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:02:20,356 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 18:02:21,946 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 18:02:21,946 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 18:02:21,972 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:02:21,974 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:02:21,975 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:02:21,975 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 18:25:05,265 - uvicorn.error - INFO - Started server process [5428]
2025-08-29 18:25:05,267 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 18:25:05,268 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 18:25:05,269 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 18:25:05,269 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 18:25:05,270 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 18:25:05,270 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 18:25:05,270 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 18:25:05,271 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 18:25:09,030 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:25:15,733 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:25:15,733 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:25:15,734 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:25:15,734 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 18:25:15,734 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:25:18,790 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:25:18,791 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:25:18,791 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:25:18,792 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 18:25:18,792 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:25:21,661 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:25:21,662 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:25:21,662 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:25:21,662 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 18:25:21,663 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:25:24,495 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:25:24,496 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:25:24,496 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:25:24,496 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 18:25:24,497 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 18:25:24,564 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:25:24,564 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 18:25:28,121 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:25:28,122 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:25:28,123 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 18:25:28,123 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:25:28,124 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:25:28,125 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:25:28,125 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 18:25:28,126 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:25:28,127 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:25:28,127 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:25:28,128 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 18:25:28,129 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:25:28,129 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:25:28,130 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:25:28,131 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 18:25:28,131 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 18:25:28,134 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:25:30,328 - app.models.rembg_model - INFO - rembg CUDA provider 테스트 시작
2025-08-29 18:25:32,135 - app.models.rembg_model - INFO - rembg 세션 생성 성공, 사용된 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 18:25:32,136 - app.models.rembg_model - INFO - ✅ rembg CUDA 가속 활성화됨
2025-08-29 18:25:32,171 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:25:32,172 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:25:32,173 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:25:32,173 - app.models.rembg_model - INFO - rembg 모델 자동 다운로드: birefnet-general-lite
2025-08-29 18:32:30,039 - uvicorn.error - INFO - Started server process [7151]
2025-08-29 18:32:30,040 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 18:32:30,041 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 18:32:30,042 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 18:32:30,042 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 18:32:30,042 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 18:32:30,043 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 18:32:30,043 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 18:32:30,044 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 18:32:33,550 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:32:40,396 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:32:40,396 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:32:40,397 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:32:40,397 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 18:32:40,398 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:32:44,271 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:32:44,271 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:32:44,272 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:32:44,272 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 18:32:44,272 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:32:48,130 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:32:48,130 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:32:48,131 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:32:48,131 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 18:32:48,131 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:32:51,964 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:32:51,965 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:32:51,965 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:32:51,965 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 18:32:51,966 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 18:32:52,031 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:32:52,032 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 18:32:55,995 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:32:55,997 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:32:55,997 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 18:32:55,998 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:32:55,999 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:32:56,000 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:32:56,000 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 18:32:56,001 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:32:56,002 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:32:56,002 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:32:56,003 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 18:32:56,004 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:32:56,004 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:32:56,005 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:32:56,006 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 18:32:56,006 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 18:32:56,021 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:32:58,209 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 18:32:58,209 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:32:58,210 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:32:58,210 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:32:58,211 - app.models.rembg_model - INFO - rembg 캐시된 모델 사용: /home/ckh08045/.u2net/birefnet-general-lite.onnx
2025-08-29 18:41:12,177 - uvicorn.error - INFO - Started server process [8904]
2025-08-29 18:41:12,178 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 18:41:12,179 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 18:41:12,179 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 18:41:12,180 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 18:41:12,180 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 18:41:12,180 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 18:41:12,181 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 18:41:12,181 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 18:41:15,643 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:41:22,939 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:41:22,940 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:41:22,940 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:41:22,941 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 18:41:22,941 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:41:27,065 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:41:27,066 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:41:27,066 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:41:27,066 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 18:41:27,067 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:41:31,285 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:41:31,285 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:41:31,285 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:41:31,286 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 18:41:31,286 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:41:35,377 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:41:35,378 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:41:35,378 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:41:35,378 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 18:41:35,379 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 18:41:35,440 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:41:35,441 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 18:41:39,706 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:41:39,706 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:41:39,707 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 18:41:39,707 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:41:39,708 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:41:39,709 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:41:39,709 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 18:41:39,710 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:41:39,711 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:41:39,711 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:41:39,711 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 18:41:39,712 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:41:39,712 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:41:39,713 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:41:39,713 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 18:41:39,714 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 18:41:39,726 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:41:41,863 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 18:41:41,863 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:41:41,864 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:41:41,864 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:41:41,865 - app.models.rembg_model - INFO - rembg 캐시된 모델 감지: /home/ckh08045/.u2net/birefnet-general-lite.onnx (213.6MB)
2025-08-29 18:41:41,866 - app.models.rembg_model - INFO - rembg.new_session 시작: model='/home/ckh08045/.u2net/birefnet-general-lite.onnx', rembg_ver=2.0.61, onnxruntime_ver=1.17.0
2025-08-29 18:41:41,866 - app.models.rembg_model - INFO - onnxruntime 사용가능 providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 18:42:01,827 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 18:42:01,829 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 18:42:01,829 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 18:42:01,830 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 18:42:01,831 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:42:01,831 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 18:42:01,832 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:42:01,833 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:42:01,834 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:42:01,834 - app.models.rembg_model - INFO - rembg 캐시된 모델 사용: /home/ckh08045/.u2net/birefnet-general-lite.onnx
2025-08-29 18:48:22,268 - uvicorn.error - INFO - Started server process [10432]
2025-08-29 18:48:22,269 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 18:48:22,270 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 18:48:22,271 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 18:48:22,271 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 18:48:22,271 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 18:48:22,272 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 18:48:22,272 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 18:48:22,272 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 18:48:25,562 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:48:30,885 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:48:30,887 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:48:30,888 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:48:30,888 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 18:48:30,889 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:48:33,712 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:48:33,713 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:48:33,713 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:48:33,714 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 18:48:33,714 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:48:36,512 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:48:36,513 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:48:36,513 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:48:36,514 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 18:48:36,514 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 18:48:39,296 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 18:48:39,297 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 18:48:39,297 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 18:48:39,298 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 18:48:39,298 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 18:48:39,353 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:48:39,354 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 18:48:42,688 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:48:42,689 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:48:42,690 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 18:48:42,691 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:48:42,691 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:48:42,692 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:48:42,692 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 18:48:42,693 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:48:42,694 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:48:42,695 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:48:42,695 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 18:48:42,696 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 18:48:42,696 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 18:48:42,697 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 18:48:42,698 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 18:48:42,698 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 18:48:42,713 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 18:48:44,777 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 18:48:44,778 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 18:48:44,778 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 18:48:44,778 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 18:48:44,779 - app.models.rembg_model - INFO - rembg 캐시된 모델 감지: /home/ckh08045/.u2net/birefnet-general-lite.onnx (213.6MB)
2025-08-29 18:48:44,779 - app.models.rembg_model - INFO - U2NET_HOME 설정: /home/ckh08045/.u2net
2025-08-29 18:48:44,780 - app.models.rembg_model - INFO - MODEL_CHECKSUM_DISABLED=1 설정 (캐시된 모델 사용)
2025-08-29 18:48:44,781 - app.models.rembg_model - INFO - rembg.new_session 시작: model='birefnet-general-lite', rembg_ver=2.0.61, onnxruntime_ver=1.17.0
2025-08-29 18:48:44,782 - app.models.rembg_model - INFO - onnxruntime 사용가능 providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 19:59:26,388 - uvicorn.error - INFO - Started server process [18404]
2025-08-29 19:59:26,389 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 19:59:26,390 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 19:59:26,391 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 19:59:26,391 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 19:59:26,391 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 19:59:26,392 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 19:59:26,392 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 19:59:26,392 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 19:59:29,648 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 19:59:35,188 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 19:59:35,189 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 19:59:35,190 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 19:59:35,191 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 19:59:35,192 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 19:59:38,051 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 19:59:38,052 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 19:59:38,052 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 19:59:38,052 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 19:59:38,053 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 19:59:40,897 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 19:59:40,898 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 19:59:40,898 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 19:59:40,898 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 19:59:40,899 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 19:59:43,735 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 19:59:43,736 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 19:59:43,736 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 19:59:43,736 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 19:59:43,737 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 19:59:43,792 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 19:59:43,793 - app.models.migan - INFO - MIGAN 기존 방식 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], use_cuda=True
2025-08-29 19:59:47,177 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 19:59:47,178 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 19:59:47,179 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 19:59:47,179 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 19:59:47,180 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 19:59:47,181 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 19:59:47,181 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 19:59:47,182 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 19:59:47,183 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 19:59:47,183 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 19:59:47,184 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 19:59:47,184 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 19:59:47,185 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 19:59:47,186 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 19:59:47,186 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 19:59:47,187 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 19:59:47,202 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 19:59:49,299 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 19:59:49,300 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 19:59:49,300 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 19:59:49,301 - app.models.rembg_model - INFO - rembg 자동 GPU 감지 모드: birefnet-general-lite
2025-08-29 19:59:49,301 - app.models.rembg_model - INFO - rembg 캐시된 모델 감지: /home/ckh08045/.u2net/birefnet-general-lite.onnx (213.6MB)
2025-08-29 19:59:49,302 - app.models.rembg_model - INFO - U2NET_HOME 설정: /home/ckh08045/.u2net
2025-08-29 19:59:49,302 - app.models.rembg_model - INFO - MODEL_CHECKSUM_DISABLED=1 설정 (캐시된 모델 사용)
2025-08-29 19:59:49,303 - app.models.rembg_model - INFO - rembg.new_session 시작: model='birefnet-general-lite', rembg_ver=2.0.61, onnxruntime_ver=1.17.0
2025-08-29 19:59:49,304 - app.models.rembg_model - INFO - onnxruntime 사용가능 providers: ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 20:40:32,750 - uvicorn.error - INFO - Started server process [23597]
2025-08-29 20:40:32,750 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 20:40:32,751 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 20:40:32,752 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 20:40:32,752 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 20:40:32,753 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 20:40:32,753 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 20:40:32,753 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 20:40:32,754 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 20:40:35,935 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 20:40:40,421 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 20:40:40,423 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 20:40:40,423 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 20:40:40,424 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 20:40:40,425 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 20:40:42,169 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 20:40:42,170 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 20:40:42,170 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 20:40:42,171 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 20:40:42,171 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 20:40:43,838 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 20:40:43,839 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 20:40:43,839 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 20:40:43,840 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 20:40:43,840 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 20:40:45,508 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 20:40:45,509 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 20:40:45,509 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 20:40:45,509 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 20:40:45,510 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 20:40:45,575 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 20:40:45,576 - app.models.migan - ERROR - Failed to load MIGAN model: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,576 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,577 - app.core.session_pool - ERROR - Failed to create session for migan: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,577 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 20:40:45,577 - app.models.migan - ERROR - Failed to load MIGAN model: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,578 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,578 - app.core.session_pool - ERROR - Failed to create session for migan: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,578 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 20:40:45,579 - app.models.migan - ERROR - Failed to load MIGAN model: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,579 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,579 - app.core.session_pool - ERROR - Failed to create session for migan: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,580 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 20:40:45,580 - app.models.migan - ERROR - Failed to load MIGAN model: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,580 - app.core.session_pool - ERROR - MIGAN 모델 로드 실패: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,581 - app.core.session_pool - ERROR - Failed to create session for migan: 'MiganInpainter' object has no attribute '_session'
2025-08-29 20:40:45,581 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 20:40:45,589 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 20:40:47,616 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 20:40:47,616 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 20:40:47,617 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 20:40:47,617 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 20:41:02,867 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 20:41:02,868 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 20:41:02,868 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 20:41:02,868 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 20:41:02,869 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 20:41:02,869 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 20:41:02,869 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 20:41:02,870 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 20:41:02,870 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 20:41:16,213 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 20:41:16,214 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 20:41:16,215 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 20:41:16,215 - app.core.session_pool - INFO - Created session rembg_1
2025-08-29 20:41:16,215 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 20:41:16,216 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 20:41:16,216 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 20:41:16,217 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 20:41:16,217 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 20:41:28,807 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 20:41:28,807 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 20:41:28,808 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 20:41:28,808 - app.core.session_pool - INFO - Created session rembg_2
2025-08-29 20:41:28,808 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 20:41:28,809 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 20:41:28,809 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 20:41:28,810 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 20:41:28,810 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 20:41:28,810 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 20:41:28,811 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 20:41:28,813 - uvicorn.error - INFO - Application startup complete.
2025-08-29 20:41:28,814 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:03:42,424 - uvicorn.error - INFO - Shutting down
2025-08-29 21:03:42,526 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 21:03:42,529 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 21:03:42,530 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 21:03:42,532 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 21:03:42,532 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 21:03:42,533 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 21:03:42,534 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 21:03:42,536 - uvicorn.error - INFO - Finished server process [23597]
2025-08-29 21:05:30,443 - uvicorn.error - INFO - Started server process [28873]
2025-08-29 21:05:30,444 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 21:05:30,445 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 21:05:30,445 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 21:05:30,445 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 21:05:30,446 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 21:05:30,446 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 21:05:30,446 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 21:05:30,447 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 21:05:33,848 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:05:38,377 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:05:38,378 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:05:38,379 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:05:38,380 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 21:05:38,382 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:05:40,031 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:05:40,031 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:05:40,032 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:05:40,032 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 21:05:40,033 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:05:41,685 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:05:41,686 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:05:41,686 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:05:41,686 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 21:05:41,687 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:05:43,324 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:05:43,325 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:05:43,325 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:05:43,326 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 21:05:43,326 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 21:05:43,328 - app.core.session_pool - ERROR - Failed to create session for migan: unexpected unindent (migan.py, line 90)
2025-08-29 21:05:43,329 - app.core.session_pool - ERROR - Failed to create session for migan: unexpected unindent (migan.py, line 90)
2025-08-29 21:05:43,331 - app.core.session_pool - ERROR - Failed to create session for migan: unexpected unindent (migan.py, line 90)
2025-08-29 21:05:43,332 - app.core.session_pool - ERROR - Failed to create session for migan: unexpected unindent (migan.py, line 90)
2025-08-29 21:05:43,332 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 21:05:43,404 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:05:45,470 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:05:45,470 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:05:45,471 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:05:45,471 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:06:00,931 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:06:00,932 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:06:00,933 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:06:00,933 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 21:06:00,934 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:06:00,934 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:06:00,934 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:06:00,935 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:06:00,935 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:06:14,023 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:06:14,024 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:06:14,024 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:06:14,025 - app.core.session_pool - INFO - Created session rembg_1
2025-08-29 21:06:14,025 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:06:14,025 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:06:14,026 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:06:14,026 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:06:14,027 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:06:26,328 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:06:26,329 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:06:26,330 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:06:26,330 - app.core.session_pool - INFO - Created session rembg_2
2025-08-29 21:06:26,330 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 21:06:26,331 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 21:06:26,331 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 21:06:26,332 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 21:06:26,332 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 21:06:26,333 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 21:06:26,333 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 21:06:26,335 - uvicorn.error - INFO - Application startup complete.
2025-08-29 21:06:26,337 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:06:31,066 - uvicorn.error - INFO - Shutting down
2025-08-29 21:06:31,170 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 21:06:31,171 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 21:06:31,172 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 21:06:31,174 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 21:06:31,174 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 21:06:31,175 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 21:06:31,175 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 21:06:31,176 - uvicorn.error - INFO - Finished server process [28873]
2025-08-29 21:08:23,508 - uvicorn.error - INFO - Started server process [29745]
2025-08-29 21:08:23,509 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 21:08:23,510 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 21:08:23,511 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 21:08:23,511 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 21:08:23,511 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 21:08:23,512 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 21:08:23,512 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 21:08:23,512 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 21:08:26,667 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:08:31,126 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:08:31,127 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:08:31,128 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:08:31,129 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 21:08:31,130 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:08:32,818 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:08:32,819 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:08:32,819 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:08:32,820 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 21:08:32,820 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:08:34,448 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:08:34,449 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:08:34,450 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:08:34,450 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 21:08:34,451 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:08:36,067 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:08:36,068 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:08:36,068 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:08:36,069 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 21:08:36,069 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 21:08:36,144 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:08:36,145 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:08:36,145 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:38,941 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:38,942 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:08:38,943 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:08:38,943 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 21:08:38,944 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:08:38,944 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:08:38,944 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:40,193 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:40,194 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:08:40,195 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:08:40,195 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 21:08:40,196 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:08:40,196 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:08:40,197 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:41,444 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:41,445 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:08:41,446 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:08:41,446 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 21:08:41,447 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:08:41,447 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:08:41,447 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:42,686 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:42,687 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:08:42,688 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:08:42,688 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 21:08:42,689 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 21:08:42,691 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:08:44,724 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:08:44,725 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:08:44,725 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:08:44,726 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:08:57,711 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:08:57,712 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:08:57,712 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:08:57,713 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 21:08:57,713 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:08:57,714 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:08:57,714 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:08:57,715 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:08:57,715 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:09:10,137 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:09:10,138 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:09:10,138 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:09:10,139 - app.core.session_pool - INFO - Created session rembg_1
2025-08-29 21:09:10,139 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:09:10,140 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:09:10,140 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:09:10,141 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:09:10,141 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:09:22,325 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:09:22,326 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:09:22,327 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:09:22,327 - app.core.session_pool - INFO - Created session rembg_2
2025-08-29 21:09:22,328 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 21:09:22,328 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 21:09:22,328 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 21:09:22,329 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 21:09:22,329 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 21:09:22,330 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 21:09:22,330 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 21:09:22,332 - uvicorn.error - INFO - Application startup complete.
2025-08-29 21:09:22,334 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:26:29,586 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:26:33,253 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:26:37,240 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:26:40,696 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:26:45,203 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:26:53,243 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:27:02,450 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:27:09,781 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:27:14,301 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:27:18,528 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: 'ModelSession' object has no attribute 'inpaint'
2025-08-29 21:28:56,827 - uvicorn.error - INFO - Shutting down
2025-08-29 21:28:56,933 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 21:28:56,936 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 21:28:56,937 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 21:28:56,938 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 21:28:56,939 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 21:28:56,940 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 21:28:56,941 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 21:28:56,942 - uvicorn.error - INFO - Finished server process [29745]
2025-08-29 21:29:46,736 - uvicorn.error - INFO - Started server process [34283]
2025-08-29 21:29:46,737 - uvicorn.error - INFO - Waiting for application startup.
2025-08-29 21:29:46,738 - main - INFO - 🚀 인페인팅 서버 시작 중...
2025-08-29 21:29:46,738 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
2025-08-29 21:29:46,739 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
2025-08-29 21:29:46,739 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
2025-08-29 21:29:46,739 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
2025-08-29 21:29:46,740 - app.core.session_pool - INFO - Initializing session pools...
2025-08-29 21:29:46,740 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
2025-08-29 21:29:49,948 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:29:54,542 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:29:54,543 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:29:54,544 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:29:54,544 - app.core.session_pool - INFO - Created session simple_lama_0
2025-08-29 21:29:54,545 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:29:56,231 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:29:56,232 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:29:56,232 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:29:56,232 - app.core.session_pool - INFO - Created session simple_lama_1
2025-08-29 21:29:56,233 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:29:57,793 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:29:57,794 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:29:57,794 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:29:57,795 - app.core.session_pool - INFO - Created session simple_lama_2
2025-08-29 21:29:57,795 - app.models.simple_lama - INFO - Loading Simple LAMA model...
2025-08-29 21:29:59,490 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
2025-08-29 21:29:59,490 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
2025-08-29 21:29:59,491 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
2025-08-29 21:29:59,491 - app.core.session_pool - INFO - Created session simple_lama_3
2025-08-29 21:29:59,491 - app.core.session_pool - INFO - Initializing 4 sessions for migan
2025-08-29 21:29:59,565 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:29:59,566 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:29:59,567 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:02,686 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:02,687 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:30:02,687 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:30:02,688 - app.core.session_pool - INFO - Created session migan_0
2025-08-29 21:30:02,688 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:30:02,689 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:30:02,689 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:03,982 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:03,983 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:30:03,983 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:30:03,984 - app.core.session_pool - INFO - Created session migan_1
2025-08-29 21:30:03,984 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:30:03,985 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:30:03,985 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:05,267 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:05,268 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:30:05,269 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:30:05,269 - app.core.session_pool - INFO - Created session migan_2
2025-08-29 21:30:05,270 - app.models.migan - INFO - Loading MIGAN ONNX model...
2025-08-29 21:30:05,270 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
2025-08-29 21:30:05,270 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:06,565 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:06,566 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
2025-08-29 21:30:06,567 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
2025-08-29 21:30:06,567 - app.core.session_pool - INFO - Created session migan_3
2025-08-29 21:30:06,568 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
2025-08-29 21:30:06,570 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:30:08,623 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:30:08,624 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:30:08,629 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:30:08,630 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:22,181 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:30:22,182 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:30:22,183 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:30:22,183 - app.core.session_pool - INFO - Created session rembg_0
2025-08-29 21:30:22,184 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:30:22,184 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:30:22,184 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:30:22,185 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:30:22,185 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:34,872 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:30:34,873 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:30:34,874 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:30:34,874 - app.core.session_pool - INFO - Created session rembg_1
2025-08-29 21:30:34,874 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
2025-08-29 21:30:34,875 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
2025-08-29 21:30:34,875 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
2025-08-29 21:30:34,876 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
2025-08-29 21:30:34,876 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
2025-08-29 21:30:47,339 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
2025-08-29 21:30:47,340 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
2025-08-29 21:30:47,341 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
2025-08-29 21:30:47,341 - app.core.session_pool - INFO - Created session rembg_2
2025-08-29 21:30:47,342 - app.core.session_pool - INFO - Session pools initialized successfully
2025-08-29 21:30:47,342 - main - INFO - ✅ 세션 풀 초기화 완료
2025-08-29 21:30:47,342 - app.core.worker_manager - INFO - Starting worker manager...
2025-08-29 21:30:47,343 - app.core.worker_manager - INFO - Worker manager started with 4 workers
2025-08-29 21:30:47,344 - main - INFO - ✅ 워커 매니저 시작 완료
2025-08-29 21:30:47,344 - main - INFO - 🎉 인페인팅 서버 시작 완료!
2025-08-29 21:30:47,344 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 21:30:50,456 - uvicorn.error - INFO - Application startup complete.
2025-08-29 21:30:50,467 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:30:59,725 - uvicorn.error - INFO - Shutting down
2025-08-29 21:30:59,828 - uvicorn.error - INFO - Waiting for application shutdown.
2025-08-29 21:30:59,830 - main - INFO - 🛑 인페인팅 서버 종료 중...
2025-08-29 21:30:59,830 - app.core.worker_manager - INFO - Stopping worker manager...
2025-08-29 21:30:59,832 - app.core.worker_manager - INFO - Worker manager stopped
2025-08-29 21:30:59,833 - main - INFO - ✅ 워커 매니저 중지 완료
2025-08-29 21:30:59,833 - main - INFO - 👋 인페인팅 서버 종료 완료
2025-08-29 21:30:59,834 - uvicorn.error - INFO - Application shutdown complete.
2025-08-29 21:30:59,835 - uvicorn.error - INFO - Finished server process [34283]
2025-08-29 21:32:06,424 - uvicorn.error - INFO - Started server process [35210]
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: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: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,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,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 - 🔄 상태 저장 백그라운드 작업 시작됨
2025-08-29 21:33:05,753 - uvicorn.error - INFO - Application startup complete.
2025-08-29 21:33:05,754 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
2025-08-29 21:34:22,942 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:34:33,468 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:34:54,879 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:00,881 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:06,470 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:15,091 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:24,091 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:34,140 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:39,477 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:35:45,252 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:36:44,752 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:36:56,862 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:37:03,465 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
2025-08-29 21:37:09,535 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행