6908 lines
600 KiB
Plaintext
6908 lines
600 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 모델로 인페인팅 수행
|
|
2025-08-29 21:37:36,545 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:37:40,902 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:37:48,013 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:37:52,015 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:37:56,678 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:01,129 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:04,158 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:09,653 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:14,140 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:18,439 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:26,053 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:31,089 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:49,920 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:38:54,855 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:00,846 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:05,021 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:10,981 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:38,604 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:44,295 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:53,330 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:39:59,444 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:40:05,668 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:40:11,333 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:40:17,330 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:40:24,111 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:40:50,529 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:41:33,153 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:41:49,435 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:41:55,197 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:02,282 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:06,682 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:16,872 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:24,729 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:30,811 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:38,251 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:42,739 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:48,806 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:42:54,878 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:43:00,562 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:43:09,655 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:43:14,226 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:43:18,611 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:44:39,360 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:45:15,544 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 21:45:15,649 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 21:45:15,651 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 21:45:15,652 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 21:45:15,654 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 21:45:15,654 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 21:45:15,655 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 21:45:15,656 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 21:45:15,658 - uvicorn.error - INFO - Finished server process [35210]
|
|
2025-08-29 21:53:26,096 - uvicorn.error - INFO - Started server process [40245]
|
|
2025-08-29 21:53:26,097 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 21:53:26,098 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 21:53:26,098 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 21:53:26,099 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 21:53:26,099 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 21:53:26,099 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 21:53:26,100 - app.core.session_pool - INFO - Initializing session pools...
|
|
2025-08-29 21:53:26,100 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
|
|
2025-08-29 21:53:29,519 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:53:34,217 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:53:34,218 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:53:34,219 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:53:34,220 - app.core.session_pool - INFO - Created session simple_lama_0
|
|
2025-08-29 21:53:34,220 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:53:36,020 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:53:36,020 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:53:36,021 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:53:36,021 - app.core.session_pool - INFO - Created session simple_lama_1
|
|
2025-08-29 21:53:36,021 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:53:37,734 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:53:37,734 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:53:37,735 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:53:37,735 - app.core.session_pool - INFO - Created session simple_lama_2
|
|
2025-08-29 21:53:37,735 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:53:39,422 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:53:39,423 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:53:39,423 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:53:39,423 - app.core.session_pool - INFO - Created session simple_lama_3
|
|
2025-08-29 21:53:39,424 - app.core.session_pool - INFO - Initializing 4 sessions for migan
|
|
2025-08-29 21:53:39,489 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:53:39,490 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:53:39,490 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:42,386 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:42,387 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:53:42,387 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:53:42,388 - app.core.session_pool - INFO - Created session migan_0
|
|
2025-08-29 21:53:42,388 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:53:42,389 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:53:42,389 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:43,692 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:43,692 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:53:43,693 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:53:43,693 - app.core.session_pool - INFO - Created session migan_1
|
|
2025-08-29 21:53:43,694 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:53:43,694 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:53:43,694 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:44,951 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:44,952 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:53:44,952 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:53:44,953 - app.core.session_pool - INFO - Created session migan_2
|
|
2025-08-29 21:53:44,953 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:53:44,953 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:53:44,954 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:46,213 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:53:46,214 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:53:46,214 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:53:46,214 - app.core.session_pool - INFO - Created session migan_3
|
|
2025-08-29 21:53:46,215 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
|
|
2025-08-29 21:53:46,216 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:53:48,257 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:53:48,258 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:53:48,259 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:53:48,259 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:54:01,774 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:54:01,775 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:54:01,775 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:54:01,776 - app.core.session_pool - INFO - Created session rembg_0
|
|
2025-08-29 21:54:01,776 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:54:01,777 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:54:01,777 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:54:01,778 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:54:01,778 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:54:14,698 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:54:14,699 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:54:14,699 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:54:14,700 - app.core.session_pool - INFO - Created session rembg_1
|
|
2025-08-29 21:54:14,700 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:54:14,700 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:54:14,701 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:54:14,702 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:54:14,702 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:54:27,266 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:54:27,267 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:54:27,268 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:54:27,268 - app.core.session_pool - INFO - Created session rembg_2
|
|
2025-08-29 21:54:27,269 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 21:54:27,269 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 21:54:27,269 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 21:54:27,270 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 21:54:27,270 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 21:54:27,271 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 21:54:27,271 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 21:54:30,379 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 21:54:30,391 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 21:54:30,399 - uvicorn.error - ERROR - Traceback (most recent call last):
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 714, in lifespan
|
|
await receive()
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/lifespan/on.py", line 135, in receive
|
|
return await self.receive_queue.get()
|
|
File "/usr/lib/python3.8/asyncio/queues.py", line 163, in get
|
|
await getter
|
|
asyncio.exceptions.CancelledError
|
|
|
|
2025-08-29 21:56:12,908 - uvicorn.error - INFO - Started server process [41241]
|
|
2025-08-29 21:56:12,909 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 21:56:12,910 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 21:56:12,911 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 21:56:12,911 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 21:56:12,911 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 21:56:12,912 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 21:56:12,912 - app.core.session_pool - INFO - Initializing session pools...
|
|
2025-08-29 21:56:12,912 - app.core.session_pool - INFO - Initializing 4 sessions for simple_lama
|
|
2025-08-29 21:56:16,159 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:56:20,613 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:56:20,614 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:56:20,615 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:56:20,616 - app.core.session_pool - INFO - Created session simple_lama_0
|
|
2025-08-29 21:56:20,617 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:56:22,400 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:56:22,401 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:56:22,401 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:56:22,402 - app.core.session_pool - INFO - Created session simple_lama_1
|
|
2025-08-29 21:56:22,402 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:56:24,088 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:56:24,088 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:56:24,089 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:56:24,089 - app.core.session_pool - INFO - Created session simple_lama_2
|
|
2025-08-29 21:56:24,089 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 21:56:25,756 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 21:56:25,756 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 21:56:25,757 - app.core.session_pool - INFO - Simple LAMA 모델 세션 로드 완료
|
|
2025-08-29 21:56:25,757 - app.core.session_pool - INFO - Created session simple_lama_3
|
|
2025-08-29 21:56:25,757 - app.core.session_pool - INFO - Initializing 4 sessions for migan
|
|
2025-08-29 21:56:25,822 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:56:25,822 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:56:25,823 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:28,580 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:28,581 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:56:28,581 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:56:28,582 - app.core.session_pool - INFO - Created session migan_0
|
|
2025-08-29 21:56:28,582 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:56:28,583 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:56:28,583 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:29,852 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:29,853 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:56:29,853 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:56:29,854 - app.core.session_pool - INFO - Created session migan_1
|
|
2025-08-29 21:56:29,854 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:56:29,854 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:56:29,855 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:31,072 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:31,072 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:56:31,073 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:56:31,073 - app.core.session_pool - INFO - Created session migan_2
|
|
2025-08-29 21:56:31,074 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 21:56:31,074 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 21:56:31,074 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:32,306 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:32,307 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 21:56:32,308 - app.core.session_pool - INFO - MIGAN 모델 세션 로드 완료
|
|
2025-08-29 21:56:32,308 - app.core.session_pool - INFO - Created session migan_3
|
|
2025-08-29 21:56:32,309 - app.core.session_pool - INFO - Initializing 3 sessions for rembg
|
|
2025-08-29 21:56:32,310 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:56:34,333 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:56:34,334 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:56:34,334 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:56:34,335 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:56:47,648 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:56:47,649 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:56:47,650 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:56:47,650 - app.core.session_pool - INFO - Created session rembg_0
|
|
2025-08-29 21:56:47,651 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:56:47,651 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:56:47,651 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:56:47,652 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:56:47,652 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:57:00,508 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:57:00,509 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:57:00,509 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:57:00,510 - app.core.session_pool - INFO - Created session rembg_1
|
|
2025-08-29 21:57:00,510 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 21:57:00,511 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 21:57:00,511 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 21:57:00,512 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 21:57:00,512 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 21:57:13,223 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 21:57:13,223 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 21:57:13,224 - app.core.session_pool - INFO - REMBG 모델 세션 로드 완료
|
|
2025-08-29 21:57:13,224 - app.core.session_pool - INFO - Created session rembg_2
|
|
2025-08-29 21:57:13,225 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 21:57:13,225 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 21:57:13,225 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 21:57:13,226 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 21:57:13,226 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 21:57:13,227 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 21:57:13,227 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 21:57:16,343 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 21:57:16,353 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 21:59:51,134 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 21:59:57,813 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 6.722s
|
|
2025-08-29 22:00:02,737 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:18,011 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 15.314s
|
|
2025-08-29 22:00:22,330 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:23,972 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.694s
|
|
2025-08-29 22:00:28,723 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:30,117 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.445s
|
|
2025-08-29 22:00:35,326 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:36,758 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.471s
|
|
2025-08-29 22:00:41,071 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:42,651 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.618s
|
|
2025-08-29 22:00:47,196 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:48,619 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.450s
|
|
2025-08-29 22:00:52,857 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:54,558 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.736s
|
|
2025-08-29 22:00:58,326 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:00:59,657 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.371s
|
|
2025-08-29 22:01:04,284 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:01:05,630 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.378s
|
|
2025-08-29 22:01:57,794 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:02:00,934 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 3.179s
|
|
2025-08-29 22:02:06,382 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:02:07,866 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.514s
|
|
2025-08-29 22:02:15,220 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:02:16,792 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.615s
|
|
2025-08-29 22:02:22,461 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:02:23,790 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.377s
|
|
2025-08-29 22:03:01,528 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:03:04,020 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 2.532s
|
|
2025-08-29 22:03:13,341 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:03:15,572 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 2.260s
|
|
2025-08-29 22:03:21,500 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:03:29,405 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 7.941s
|
|
2025-08-29 22:04:02,266 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:04:12,367 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 10.139s
|
|
2025-08-29 22:04:16,160 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:04:18,086 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.959s
|
|
2025-08-29 22:04:23,356 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:04:25,222 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.918s
|
|
2025-08-29 22:04:49,806 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:04:51,747 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.978s
|
|
2025-08-29 22:05:37,916 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 22:05:41,193 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 3.324s
|
|
2025-08-29 22:05:41,242 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 22:05:41,344 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 22:05:41,345 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 22:05:41,345 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 22:05:41,346 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 22:05:41,346 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 22:05:41,347 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 22:05:41,347 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 22:05:41,348 - uvicorn.error - INFO - Finished server process [41241]
|
|
2025-08-29 23:20:54,214 - uvicorn.error - INFO - Started server process [50693]
|
|
2025-08-29 23:20:54,214 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:20:54,215 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:20:54,216 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:20:54,216 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:20:54,216 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:20:54,217 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:20:54,217 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:20:54,217 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:20:54,218 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:20:54,222 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:20:57,475 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:21:01,937 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:21:01,938 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:21:01,939 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:21:01,940 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:21:01,941 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:21:03,556 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:21:03,557 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:21:03,557 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:21:03,557 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:21:03,559 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:21:03,626 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:21:03,626 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:21:03,627 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:06,719 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:06,720 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:21:06,721 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:21:06,721 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:21:06,721 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:21:06,722 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:21:06,722 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:07,958 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:07,959 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:21:07,960 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:21:07,961 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:21:07,962 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:21:07,963 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:21:07,974 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:21:09,985 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:21:09,986 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:21:09,987 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:21:09,987 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:23,059 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:21:23,060 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:21:23,061 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:21:23,061 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:21:23,061 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:21:23,062 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:21:23,062 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:21:35,415 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:21:35,416 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:21:35,417 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:21:35,417 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:21:35,419 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:21:35,420 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:21:35,420 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:21:35,421 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 23:21:35,421 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:21:35,421 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:21:35,422 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:21:35,422 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:21:35,423 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 23:21:41,056 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 23:21:41,158 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 23:21:41,160 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 23:21:41,161 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 23:21:41,162 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 23:21:41,163 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 23:21:41,164 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 23:21:41,165 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 23:21:41,165 - uvicorn.error - INFO - Finished server process [50693]
|
|
2025-08-29 23:23:30,118 - uvicorn.error - INFO - Started server process [51345]
|
|
2025-08-29 23:23:30,119 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:23:30,120 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:23:30,120 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:23:30,120 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:23:30,121 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:23:30,121 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:23:30,121 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:23:30,122 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:23:30,122 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:23:30,126 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:23:33,346 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:23:38,162 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:23:38,164 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:23:38,166 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:23:38,167 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:23:38,168 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:23:39,914 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:23:39,915 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:23:39,915 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:23:39,916 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:23:39,917 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:23:39,982 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:23:39,983 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:23:39,983 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:23:42,929 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:23:42,930 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:23:42,930 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:23:42,930 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:23:42,931 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:23:42,931 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:23:42,932 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:23:44,203 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:23:44,204 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:23:44,205 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:23:44,205 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:23:44,207 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:23:44,208 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:23:44,212 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:23:46,193 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:23:46,194 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:23:46,194 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:23:46,194 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:23:59,354 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:23:59,355 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:23:59,356 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:23:59,357 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:23:59,357 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:23:59,358 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:23:59,358 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:24:11,844 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:24:11,845 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:24:11,845 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:24:11,846 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:24:11,848 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:24:11,848 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:24:11,848 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:24:11,849 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 23:24:11,849 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:24:11,849 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:24:11,850 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:24:11,850 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:24:11,852 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 23:24:47,869 - app.utils.image_utils - ERROR - base64 이미지 디코딩 실패: cannot identify image file <_io.BytesIO object at 0xffff97735040>
|
|
2025-08-29 23:24:47,869 - app.api.endpoints - ERROR - 인페인팅 처리 실패: cannot identify image file <_io.BytesIO object at 0xffff97735040>
|
|
2025-08-29 23:24:47,872 - app.utils.image_utils - ERROR - base64 이미지 디코딩 실패: cannot identify image file <_io.BytesIO object at 0xfffe880749f0>
|
|
2025-08-29 23:24:47,872 - app.api.endpoints - ERROR - 인페인팅 처리 실패: cannot identify image file <_io.BytesIO object at 0xfffe880749f0>
|
|
2025-08-29 23:24:47,874 - app.utils.image_utils - ERROR - base64 이미지 디코딩 실패: cannot identify image file <_io.BytesIO object at 0xfffe880749f0>
|
|
2025-08-29 23:24:47,874 - app.api.endpoints - ERROR - 인페인팅 처리 실패: cannot identify image file <_io.BytesIO object at 0xfffe880749f0>
|
|
2025-08-29 23:24:47,877 - app.utils.image_utils - ERROR - base64 이미지 디코딩 실패: cannot identify image file <_io.BytesIO object at 0xffff976430e0>
|
|
2025-08-29 23:24:47,877 - app.api.endpoints - ERROR - 인페인팅 처리 실패: cannot identify image file <_io.BytesIO object at 0xffff976430e0>
|
|
2025-08-29 23:24:47,879 - app.utils.image_utils - ERROR - base64 이미지 디코딩 실패: cannot identify image file <_io.BytesIO object at 0xffff976435e0>
|
|
2025-08-29 23:24:47,879 - app.api.endpoints - ERROR - 인페인팅 처리 실패: cannot identify image file <_io.BytesIO object at 0xffff976435e0>
|
|
2025-08-29 23:25:47,005 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:25:50,020 - app.models.simple_lama - ERROR - Inpainting failed: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,021 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 351, in process_inpaint
|
|
result = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 140, in inpaint
|
|
result_pil = self.model(pil_image, pil_mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 32, in __call__
|
|
inpainted = self.model(image, mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
|
|
return forward_call(*args, **kwargs)
|
|
RuntimeError: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,031 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:25:50,055 - app.models.simple_lama - ERROR - Inpainting failed: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,056 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 351, in process_inpaint
|
|
result = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 140, in inpaint
|
|
result_pil = self.model(pil_image, pil_mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 32, in __call__
|
|
inpainted = self.model(image, mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
|
|
return forward_call(*args, **kwargs)
|
|
RuntimeError: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,061 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:25:50,085 - app.models.simple_lama - ERROR - Inpainting failed: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,086 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 351, in process_inpaint
|
|
result = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 140, in inpaint
|
|
result_pil = self.model(pil_image, pil_mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 32, in __call__
|
|
inpainted = self.model(image, mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
|
|
return forward_call(*args, **kwargs)
|
|
RuntimeError: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,092 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:25:50,116 - app.models.simple_lama - ERROR - Inpainting failed: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,117 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 351, in process_inpaint
|
|
result = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 140, in inpaint
|
|
result_pil = self.model(pil_image, pil_mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 32, in __call__
|
|
inpainted = self.model(image, mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
|
|
return forward_call(*args, **kwargs)
|
|
RuntimeError: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,122 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:25:50,146 - app.models.simple_lama - ERROR - Inpainting failed: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:25:50,147 - app.core.worker_manager - ERROR - 인페인팅 처리 실패: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 351, in process_inpaint
|
|
result = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 140, in inpaint
|
|
result_pil = self.model(pil_image, pil_mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 32, in __call__
|
|
inpainted = self.model(image, mask)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
|
|
return forward_call(*args, **kwargs)
|
|
RuntimeError: The following operation failed in the TorchScript interpreter.
|
|
Traceback of TorchScript, serialized code (most recent call last):
|
|
File "code/__torch__/saicinpainting/training/trainers/default.py", line 13, in forward
|
|
masked_img = torch.mul(img, torch.rsub(mask, 1, 1))
|
|
input = torch.cat([masked_img, mask], 1)
|
|
_1 = torch.mul(mask, (_0).forward(input, ))
|
|
~~~~~~~~~~~ <--- HERE
|
|
_2 = torch.mul(torch.rsub(mask, 1, 1), img)
|
|
return torch.add(_1, _2, alpha=1)
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 9, in forward
|
|
def forward(self: __torch__.saicinpainting.training.modules.ffc.FFCResNetGenerator,
|
|
input: Tensor) -> Tensor:
|
|
return (self.model).forward(input, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
class FFC_BN_ACT(Module):
|
|
__parameters__ = []
|
|
File "code/__torch__/torch/nn/modules/container/___torch_mangle_818.py", line 81, in forward
|
|
_35 = (_29).forward((_30).forward(_34, ), )
|
|
_36, _37, = _35
|
|
_38, _39, = (_28).forward(_36, _37, )
|
|
~~~~~~~~~~~~ <--- HERE
|
|
_40, _41, = (_27).forward(_38, _39, )
|
|
_42, _43, = (_26).forward(_40, _41, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc.py", line 58, in forward
|
|
argument_2: Tensor) -> Tuple[Tensor, Tensor]:
|
|
_10 = self.conv2
|
|
_11 = (self.conv1).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_12, _13, = _11
|
|
_14, _15, = (_10).forward(_12, _13, )
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_55.py", line 18, in forward
|
|
_2 = self.act_l
|
|
_3 = self.bn_l
|
|
_4 = (self.ffc).forward(argument_1, argument_2, )
|
|
~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_5, _6, = _4
|
|
_7 = ((_2).forward((_3).forward(_5, ), ), (_0).forward((_1).forward(_6, ), ))
|
|
File "code/__torch__/saicinpainting/training/modules/ffc/___torch_mangle_50.py", line 17, in forward
|
|
_1 = self.convl2g
|
|
_2 = self.convg2l
|
|
_3 = (self.convl2l).forward(argument_1, )
|
|
~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_4 = torch.mul((_2).forward(argument_2, ), CONSTANTS.c1)
|
|
input = torch.add(_3, _4, alpha=1)
|
|
File "code/__torch__/torch/nn/modules/conv/___torch_mangle_38.py", line 10, in forward
|
|
argument_1: Tensor) -> Tensor:
|
|
_0 = self.weight
|
|
_1 = torch.reflection_pad2d(argument_1, [1, 1, 1, 1])
|
|
~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
|
|
_2 = torch._convolution(_1, _0, None, [1, 1], [0, 0], [1, 1], False, [0, 0], 1, False, False, True, True)
|
|
return _2
|
|
|
|
Traceback of TorchScript, original code (most recent call last):
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/functional.py(4017): _pad
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(392): _conv_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/conv.py(399): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(221): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(252): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(285): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/container.py(119): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/modules/ffc.py(367): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/root/home/code/lama/saicinpainting/training/trainers/default.py(83): forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(860): _slow_forward
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/nn/modules/module.py(887): _call_impl
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(940): trace_module
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/torch/jit/_trace.py(742): trace
|
|
bin/to_jit.py(46): main
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/core/utils.py(160): run_job
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/hydra.py(105): run
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(371): <lambda>
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(211): run_and_report
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/_internal/utils.py(368): _run_hydra
|
|
/opt/venv/ocr-detection-detectron2/lib/python3.6/site-packages/hydra/main.py(53): decorated_main
|
|
bin/to_jit.py(59): <module>
|
|
RuntimeError: Padding size should be less than the corresponding input dimension, but got: padding (1, 1) at dimension 3 of input [1, 128, 1, 1]
|
|
|
|
2025-08-29 23:33:09,258 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 23:33:09,361 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 23:33:09,362 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 23:33:09,362 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 23:33:09,363 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 23:33:09,363 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 23:33:09,364 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 23:33:09,365 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 23:33:09,365 - uvicorn.error - INFO - Finished server process [51345]
|
|
2025-08-29 23:33:37,702 - uvicorn.error - INFO - Started server process [53233]
|
|
2025-08-29 23:33:37,703 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:33:37,704 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:33:37,704 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:33:37,705 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:33:37,705 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:33:37,705 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:33:37,706 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:33:37,706 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:33:37,706 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:33:37,710 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:33:40,904 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:33:45,237 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:33:45,240 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:33:45,241 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:33:45,241 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:33:45,242 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:33:46,972 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:33:46,972 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:33:46,973 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:33:46,973 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:33:46,975 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:33:47,042 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:33:47,043 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:33:47,043 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:33:49,964 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:33:49,965 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:33:49,965 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:33:49,966 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:33:49,966 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:33:49,967 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:33:49,967 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:33:51,262 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:33:51,263 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:33:51,264 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:33:51,265 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:33:51,266 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:33:51,267 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:33:51,271 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:33:53,243 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:33:53,244 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:33:53,244 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:33:53,245 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:34:06,469 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:34:06,470 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:34:06,470 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:34:06,471 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:34:06,471 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:34:06,472 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:34:06,472 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:34:19,024 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:34:19,025 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:34:19,025 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:34:19,026 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:34:19,028 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:34:19,028 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:34:19,028 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:34:19,029 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 23:34:19,029 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:34:19,030 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:34:19,030 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:34:19,030 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:34:19,032 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 23:34:24,962 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 23:34:25,065 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 23:34:25,066 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 23:34:25,067 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 23:34:25,068 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 23:34:25,069 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 23:34:25,070 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 23:34:25,071 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 23:34:25,071 - uvicorn.error - INFO - Finished server process [53233]
|
|
2025-08-29 23:35:30,669 - uvicorn.error - INFO - Started server process [53838]
|
|
2025-08-29 23:35:30,670 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:35:30,671 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:35:30,671 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:35:30,672 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:35:30,672 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:35:30,672 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:35:30,673 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:35:30,673 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:35:30,673 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:35:30,677 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:35:33,862 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:35:37,936 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:35:37,938 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:35:37,939 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:35:37,940 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:35:37,940 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:35:39,727 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:35:39,728 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:35:39,728 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:35:39,728 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:35:39,730 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:35:39,791 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:35:39,792 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:35:39,792 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:35:42,912 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:35:42,913 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:35:42,913 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:35:42,914 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:35:42,914 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:35:42,914 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:35:42,915 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:35:44,194 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:35:44,195 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:35:44,196 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:35:44,196 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:35:44,198 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:35:44,198 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:35:44,202 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:35:46,166 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:35:46,167 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:35:46,167 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:35:46,168 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:35:59,227 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:35:59,228 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:35:59,228 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:35:59,229 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:35:59,229 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:35:59,230 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:35:59,230 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:36:11,690 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:36:11,691 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:36:11,692 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:36:11,692 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:36:11,694 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:36:11,694 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:36:11,695 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:36:11,695 - app.core.worker_manager - INFO - Worker manager started with 4 workers
|
|
2025-08-29 23:36:11,696 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:36:11,696 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:36:11,696 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:36:11,697 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:36:11,698 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 23:37:19,352 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:37:24,848 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 5.545s
|
|
2025-08-29 23:37:24,890 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:37:42,294 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 17.414s
|
|
2025-08-29 23:37:42,340 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:37:43,954 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.623s
|
|
2025-08-29 23:37:43,995 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:37:45,426 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.440s
|
|
2025-08-29 23:37:45,465 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:37:46,886 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.429s
|
|
2025-08-29 23:38:44,108 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 23:38:44,211 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 23:38:44,212 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 23:38:44,213 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 23:38:44,214 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 23:38:44,214 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 23:38:44,215 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 23:38:44,216 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 23:38:44,216 - uvicorn.error - INFO - Finished server process [53838]
|
|
2025-08-29 23:39:12,657 - uvicorn.error - INFO - Started server process [54766]
|
|
2025-08-29 23:39:12,658 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:39:12,659 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:39:12,660 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:39:12,660 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:39:12,660 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:39:12,660 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:39:12,661 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:39:12,661 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:39:12,662 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:39:12,665 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:39:15,801 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:39:20,095 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:39:20,097 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:39:20,097 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:39:20,098 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:39:20,099 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:39:21,768 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:39:21,768 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:39:21,768 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:39:21,769 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:39:21,771 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:39:21,831 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:39:21,832 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:39:21,832 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:24,676 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:24,677 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:39:24,677 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:39:24,678 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:39:24,678 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:39:24,678 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:39:24,679 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:25,873 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:25,874 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:39:25,875 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:39:25,875 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:39:25,877 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:39:25,878 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:39:25,882 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:39:27,836 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:39:27,836 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:39:27,837 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:39:27,837 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:40,800 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:39:40,801 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:39:40,802 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:39:40,802 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:39:40,803 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:39:40,804 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:39:40,804 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:39:53,309 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:39:53,310 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:39:53,311 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:39:53,311 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:39:53,313 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:39:53,314 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:39:53,314 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:39:53,315 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-29 23:39:53,315 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:39:53,315 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:39:53,316 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:39:53,316 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:39:53,317 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-29 23:40:52,158 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:40:58,128 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 6.017s
|
|
2025-08-29 23:40:58,179 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:41:12,245 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 14.078s
|
|
2025-08-29 23:41:12,287 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:41:13,727 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.450s
|
|
2025-08-29 23:41:13,767 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:41:15,212 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.455s
|
|
2025-08-29 23:41:15,258 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 인페인팅 수행
|
|
2025-08-29 23:41:16,691 - app.core.worker_manager - INFO - 'simple-lama' inpainting processed in 1.442s
|
|
2025-08-29 23:46:05,591 - uvicorn.error - INFO - Shutting down
|
|
2025-08-29 23:46:05,694 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-29 23:46:05,695 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-29 23:46:05,695 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-29 23:46:05,696 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-29 23:46:05,697 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-29 23:46:05,697 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-29 23:46:05,698 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-29 23:46:05,698 - uvicorn.error - INFO - Finished server process [54766]
|
|
2025-08-29 23:46:34,096 - uvicorn.error - INFO - Started server process [56165]
|
|
2025-08-29 23:46:34,097 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-29 23:46:34,098 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-29 23:46:34,098 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-29 23:46:34,098 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-29 23:46:34,099 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-29 23:46:34,099 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-29 23:46:34,100 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-29 23:46:34,100 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-29 23:46:34,100 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-29 23:46:34,104 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-29 23:46:37,259 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:46:41,562 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:46:41,563 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:46:41,564 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-29 23:46:41,565 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-29 23:46:41,566 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-29 23:46:43,429 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-29 23:46:43,429 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-29 23:46:43,429 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-29 23:46:43,430 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-29 23:46:43,432 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-29 23:46:43,491 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:46:43,491 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:46:43,492 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:46:46,412 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:46:46,413 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:46:46,413 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-29 23:46:46,414 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-29 23:46:46,414 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-29 23:46:46,415 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-29 23:46:46,415 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:46:47,630 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:46:47,631 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-29 23:46:47,632 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-29 23:46:47,632 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-29 23:46:47,634 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-29 23:46:47,634 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-29 23:46:47,638 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:46:49,612 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:46:49,612 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:46:49,613 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:46:49,613 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:47:02,613 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:47:02,614 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:47:02,615 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-29 23:47:02,615 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-29 23:47:02,616 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-29 23:47:02,617 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-29 23:47:02,617 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-29 23:47:15,228 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-29 23:47:15,229 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-29 23:47:15,230 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-29 23:47:15,230 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-29 23:47:15,232 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-29 23:47:15,232 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-29 23:47:15,233 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-29 23:47:15,234 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-29 23:47:15,234 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-29 23:47:15,234 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-29 23:47:15,235 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-29 23:47:15,235 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-29 23:47:15,236 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 00:23:19,530 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 00:23:19,632 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 00:23:19,634 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 00:23:19,634 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 00:23:19,635 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 00:23:19,635 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 00:23:19,636 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 00:23:19,637 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 00:23:19,637 - uvicorn.error - INFO - Finished server process [56165]
|
|
2025-08-30 00:56:31,018 - uvicorn.error - INFO - Started server process [65709]
|
|
2025-08-30 00:56:31,018 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 00:56:31,021 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 00:56:31,026 - uvicorn.error - ERROR - 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 211, in lifespan
|
|
settings.start_time = time.time()
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 925, in __setattr__
|
|
raise ValueError(f'"{self.__class__.__name__}" object has no field "{name}"')
|
|
ValueError: "Settings" object has no field "start_time"
|
|
|
|
2025-08-30 00:56:31,027 - uvicorn.error - ERROR - Application startup failed. Exiting.
|
|
2025-08-30 00:59:17,812 - uvicorn.error - INFO - Started server process [66225]
|
|
2025-08-30 00:59:17,813 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 00:59:17,816 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 00:59:17,817 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 00:59:17,817 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 00:59:17,818 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 00:59:17,818 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 00:59:17,818 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 00:59:17,819 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 00:59:17,819 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 00:59:17,821 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 00:59:21,077 - app.core.session_pool - ERROR - Failed to create session simple_lama_0: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 123, in _create_session
|
|
model = await self._load_model(model_type)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 140, in _load_model
|
|
return await self._load_simple_lama_model()
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 150, in _load_simple_lama_model
|
|
from ..models.simple_lama import SimpleLamaInpainter
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 13, in <module>
|
|
from ..utils.image_utils import (
|
|
ImportError: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
2025-08-30 00:59:21,080 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 00:59:21,081 - app.core.session_pool - ERROR - Failed to create session simple_lama_1: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 123, in _create_session
|
|
model = await self._load_model(model_type)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 140, in _load_model
|
|
return await self._load_simple_lama_model()
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/session_pool.py", line 150, in _load_simple_lama_model
|
|
from ..models.simple_lama import SimpleLamaInpainter
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 13, in <module>
|
|
from ..utils.image_utils import (
|
|
ImportError: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
2025-08-30 00:59:21,083 - app.core.session_pool - ERROR - Failed to create initial session simple_lama_0: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
2025-08-30 00:59:21,084 - app.core.session_pool - ERROR - Failed to create initial session simple_lama_1: cannot import name 'get_image_size' from 'app.utils.image_utils' (/home/ckh08045/work/inpaintServer/./app/utils/image_utils.py)
|
|
2025-08-30 00:59:21,084 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 00:59:21,087 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 00:59:21,165 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 00:59:21,166 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 00:59:21,167 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:27,170 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:27,171 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 00:59:27,172 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 00:59:27,172 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 00:59:27,173 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 00:59:27,173 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 00:59:27,173 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:28,453 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:28,454 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 00:59:28,454 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 00:59:28,455 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 00:59:28,457 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 00:59:28,457 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 00:59:28,459 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 00:59:30,280 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 00:59:30,281 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 00:59:30,282 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 00:59:30,282 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:43,508 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 00:59:43,509 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 00:59:43,509 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 00:59:43,509 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 00:59:43,510 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 00:59:43,510 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 00:59:43,511 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 00:59:56,449 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 00:59:56,450 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 00:59:56,451 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 00:59:56,451 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 00:59:56,453 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 00:59:56,454 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 00:59:56,454 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 00:59:56,455 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 00:59:56,455 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 00:59:56,455 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 00:59:56,456 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 00:59:56,456 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 00:59:56,456 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 00:59:56,457 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 00:59:56,457 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 00:59:56,458 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 00:59:56,459 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 00:59:56,462 - uvicorn.error - ERROR - Traceback (most recent call last):
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/starlette/routing.py", line 714, in lifespan
|
|
await receive()
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/uvicorn/lifespan/on.py", line 135, in receive
|
|
return await self.receive_queue.get()
|
|
File "/usr/lib/python3.8/asyncio/queues.py", line 163, in get
|
|
await getter
|
|
asyncio.exceptions.CancelledError
|
|
|
|
2025-08-30 01:00:56,650 - uvicorn.error - INFO - Started server process [66666]
|
|
2025-08-30 01:00:56,651 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:00:56,654 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:00:56,655 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:00:56,655 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:00:56,655 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:00:56,656 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:00:56,656 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:00:56,656 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:00:56,657 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:00:56,658 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:00:59,900 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:01:04,244 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:01:04,246 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:01:04,246 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:01:04,247 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:01:04,248 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:01:06,025 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:01:06,026 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:01:06,026 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:01:06,027 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:01:06,028 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:01:06,091 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:01:06,091 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:01:06,092 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:08,887 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:08,888 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:01:08,888 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:01:08,889 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:01:08,889 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:01:08,889 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:01:08,890 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:10,146 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:10,147 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:01:10,147 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:01:10,148 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:01:10,150 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:01:10,150 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:01:10,152 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:01:12,128 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:01:12,129 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:01:12,129 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:01:12,130 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:25,211 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:01:25,212 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:01:25,212 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:01:25,213 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:01:25,213 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:01:25,214 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:01:25,215 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:01:37,757 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:01:37,758 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:01:37,759 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:01:37,759 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:01:37,761 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:01:37,761 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:01:37,762 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:01:37,762 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:01:37,763 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:01:37,763 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:01:37,764 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:01:37,764 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:01:37,764 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:01:37,764 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:01:37,765 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:01:37,765 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:01:37,766 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:01:39,919 - 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 298, 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 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 70, in app
|
|
| response = await func(request)
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
| raise e
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
| raw_response = await run_endpoint_function(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
| return await dependant.call(**values)
|
|
| File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
| return HealthResponse(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
| validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
| pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
| timestamp
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| version
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| uptime
|
|
| Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
+------------------------------------
|
|
|
|
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 298, 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 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 70, in app
|
|
response = await func(request)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
raise e
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
raw_response = await run_endpoint_function(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
return await dependant.call(**values)
|
|
File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
return HealthResponse(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
timestamp
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
version
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
uptime
|
|
Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
2025-08-30 01:01:39,956 - 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 298, 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 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 70, in app
|
|
| response = await func(request)
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
| raise e
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
| raw_response = await run_endpoint_function(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
| return await dependant.call(**values)
|
|
| File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
| return HealthResponse(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
| validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
| pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
| timestamp
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| version
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| uptime
|
|
| Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
+------------------------------------
|
|
|
|
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 298, 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 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 70, in app
|
|
response = await func(request)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
raise e
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
raw_response = await run_endpoint_function(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
return await dependant.call(**values)
|
|
File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
return HealthResponse(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
timestamp
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
version
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
uptime
|
|
Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
2025-08-30 01:02:10,879 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:02:10,984 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:02:10,987 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:02:10,988 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:02:10,989 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:02:10,990 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:02:10,991 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:02:10,992 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:02:10,993 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:02:10,993 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:02:10,994 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:02:10,996 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:02:10,997 - uvicorn.error - INFO - Finished server process [66666]
|
|
2025-08-30 01:03:06,674 - uvicorn.error - INFO - Started server process [67469]
|
|
2025-08-30 01:03:06,675 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:03:06,678 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:03:06,679 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:03:06,679 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:03:06,679 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:03:06,680 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:03:06,680 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:03:06,680 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:03:06,681 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:03:06,682 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:03:09,896 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:03:14,043 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:03:14,044 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:03:14,045 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:03:14,046 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:03:14,046 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:03:15,629 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:03:15,630 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:03:15,630 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:03:15,631 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:03:15,633 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:03:15,695 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:03:15,696 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:03:15,696 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:18,674 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:18,675 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:03:18,676 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:03:18,676 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:03:18,677 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:03:18,677 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:03:18,677 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:19,891 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:19,892 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:03:19,893 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:03:19,894 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:03:19,896 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:03:19,896 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:03:19,898 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:03:21,890 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:03:21,890 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:03:21,891 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:03:21,891 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:34,920 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:03:34,921 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:03:34,921 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:03:34,922 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:03:34,922 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:03:34,923 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:03:34,923 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:03:47,544 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:03:47,545 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:03:47,546 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:03:47,546 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:03:47,548 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:03:47,548 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:03:47,549 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:03:47,550 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:03:47,550 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:03:47,550 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:03:47,551 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:03:47,551 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:03:47,551 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:03:47,552 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:03:47,552 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:03:47,552 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:03:47,554 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:03:49,992 - 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 298, 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 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 70, in app
|
|
| response = await func(request)
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
| raise e
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
| raw_response = await run_endpoint_function(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
| return await dependant.call(**values)
|
|
| File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
| return HealthResponse(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
| validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
| pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
| timestamp
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| version
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| uptime
|
|
| Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
+------------------------------------
|
|
|
|
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 298, 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 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 70, in app
|
|
response = await func(request)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
raise e
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
raw_response = await run_endpoint_function(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
return await dependant.call(**values)
|
|
File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
return HealthResponse(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
timestamp
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
version
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
uptime
|
|
Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
2025-08-30 01:03:50,029 - 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 298, 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 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 70, in app
|
|
| response = await func(request)
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
| raise e
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
| raw_response = await run_endpoint_function(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
| return await dependant.call(**values)
|
|
| File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
| return HealthResponse(
|
|
| File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
| validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
| pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
| timestamp
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| version
|
|
| Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
| uptime
|
|
| Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
| For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
+------------------------------------
|
|
|
|
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 298, 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 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 70, in app
|
|
response = await func(request)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 299, in app
|
|
raise e
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 294, in app
|
|
raw_response = await run_endpoint_function(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
|
|
return await dependant.call(**values)
|
|
File "/home/ckh08045/work/inpaintServer/./app/api/endpoints.py", line 114, in health_check
|
|
return HealthResponse(
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/pydantic/main.py", line 214, in __init__
|
|
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
|
|
pydantic_core._pydantic_core.ValidationError: 3 validation errors for HealthResponse
|
|
timestamp
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
version
|
|
Field required [type=missing, input_value={'status': 'ok', 'uptime': '00:00:43'}, input_type=dict]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/missing
|
|
uptime
|
|
Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='00:00:43', input_type=str]
|
|
For further information visit https://errors.pydantic.dev/2.10/v/float_parsing
|
|
2025-08-30 01:15:31,973 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:15:32,076 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:15:32,077 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:15:32,077 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:15:32,078 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:15:32,078 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:15:32,079 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:15:32,079 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:15:32,080 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:15:32,080 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:15:32,080 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:15:32,081 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:15:32,082 - uvicorn.error - INFO - Finished server process [67469]
|
|
2025-08-30 01:16:00,385 - uvicorn.error - INFO - Started server process [69326]
|
|
2025-08-30 01:16:00,386 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:16:00,389 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:16:00,390 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:16:00,390 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:16:00,390 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:16:00,391 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:16:00,391 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:16:00,392 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:16:00,392 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:16:00,394 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:16:03,609 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:16:07,807 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:16:07,808 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:16:07,810 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:16:07,811 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:16:07,812 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:16:09,506 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:16:09,507 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:16:09,507 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:16:09,508 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:16:09,510 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:16:09,574 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:16:09,575 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:16:09,575 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:12,504 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:12,505 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:16:12,505 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:16:12,506 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:16:12,506 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:16:12,506 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:16:12,507 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:13,765 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:13,766 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:16:13,766 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:16:13,767 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:16:13,769 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:16:13,769 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:16:13,771 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:16:15,732 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:16:15,732 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:16:15,733 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:16:15,733 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:28,881 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:16:28,882 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:16:28,882 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:16:28,883 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:16:28,883 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:16:28,884 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:16:28,884 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:16:41,334 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:16:41,334 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:16:41,335 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:16:41,336 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:16:41,338 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:16:41,338 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:16:41,338 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:16:41,339 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:16:41,340 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:16:41,340 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:16:41,341 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:16:41,341 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:16:41,341 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:16:41,341 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:16:41,342 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:16:41,342 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:16:41,344 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:21:29,203 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:21:29,305 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:21:29,306 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:21:29,307 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:21:29,307 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:21:29,308 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:21:29,308 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:21:29,309 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:21:29,310 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:21:29,311 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:21:29,311 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:21:29,313 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:21:29,314 - uvicorn.error - INFO - Finished server process [69326]
|
|
2025-08-30 01:34:15,804 - uvicorn.error - INFO - Started server process [72953]
|
|
2025-08-30 01:34:15,805 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:34:15,806 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:34:15,806 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:34:15,807 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:34:15,807 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:34:15,807 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:34:15,808 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:34:15,808 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:34:15,809 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:34:15,810 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:34:19,077 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:34:23,295 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:34:23,297 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:34:23,298 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:34:23,299 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:34:23,300 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:34:25,166 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:34:25,166 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:34:25,167 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:34:25,167 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:34:25,169 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:34:25,235 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:34:25,235 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:34:25,236 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:28,263 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:28,264 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:34:28,264 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:34:28,265 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:34:28,265 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:34:28,266 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:34:28,266 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:29,518 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:29,519 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:34:29,520 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:34:29,521 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:34:29,522 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:34:29,523 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:34:29,525 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:34:31,515 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:34:31,515 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:34:31,516 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:34:31,516 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:44,596 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:34:44,597 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:34:44,597 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:34:44,598 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:34:44,598 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:34:44,599 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:34:44,600 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:34:57,057 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:34:57,058 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:34:57,058 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:34:57,059 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:34:57,061 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:34:57,061 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:34:57,061 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:34:57,062 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:34:57,062 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:34:57,063 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:34:57,063 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:34:57,064 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:34:57,064 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:34:57,064 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:34:57,065 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:34:57,065 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:34:57,066 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:36:20,200 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,202 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,221 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,222 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,241 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,242 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,259 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,260 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,277 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,279 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,297 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,298 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,316 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,316 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:36:20,334 - app.core.worker_manager - ERROR - Unsupported model for single inpaint: simple-lama. Use process_inpaint_batch for simple-lama.
|
|
2025-08-30 01:36:20,335 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Unsupported model for single inpaint: simple-lama
|
|
2025-08-30 01:38:15,844 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:38:15,948 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:38:15,950 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:38:15,951 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:38:15,953 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:38:15,953 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:38:15,954 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:38:15,955 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:38:15,956 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:38:15,957 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:38:15,958 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:38:15,960 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:38:15,961 - uvicorn.error - INFO - Finished server process [72953]
|
|
2025-08-30 01:38:41,360 - uvicorn.error - INFO - Started server process [73988]
|
|
2025-08-30 01:38:41,362 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:38:41,363 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:38:41,363 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:38:41,363 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:38:41,364 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:38:41,364 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:38:41,364 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:38:41,365 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:38:41,365 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:38:41,367 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:38:44,641 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:38:48,816 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:38:48,817 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:38:48,818 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:38:48,819 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:38:48,820 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:38:50,504 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:38:50,505 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:38:50,505 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:38:50,506 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:38:50,508 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:38:50,576 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:38:50,577 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:38:50,577 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:38:53,605 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:38:53,606 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:38:53,607 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:38:53,607 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:38:53,608 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:38:53,608 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:38:53,609 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:38:54,888 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:38:54,889 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:38:54,889 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:38:54,890 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:38:54,892 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:38:54,892 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:38:54,894 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:38:56,917 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:38:56,917 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:38:56,918 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:38:56,918 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:39:10,083 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:39:10,084 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:39:10,084 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:39:10,085 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:39:10,085 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:39:10,086 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:39:10,086 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:39:22,619 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:39:22,620 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:39:22,621 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:39:22,621 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:39:22,623 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:39:22,624 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:39:22,624 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:39:22,625 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:39:22,625 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:39:22,626 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:39:22,626 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:39:22,626 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:39:22,627 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:39:22,627 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:39:22,628 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:39:22,628 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:39:22,629 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:39:55,976 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:39:55,982 - app.core.batch_manager - ERROR - Failed to process batch: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 390, in process_inpaint_batch
|
|
return await self._execute_task(_inpaint_batch())
|
|
TypeError: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,985 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,985 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,986 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,986 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,995 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:39:55,996 - app.core.batch_manager - ERROR - Failed to process batch: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 390, in process_inpaint_batch
|
|
return await self._execute_task(_inpaint_batch())
|
|
TypeError: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,997 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,997 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,998 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:39:55,998 - app.api.endpoints - ERROR - 인페인팅 처리 실패: _execute_task() missing 2 required positional arguments: 'task_id' and 'task_func'
|
|
2025-08-30 01:41:08,451 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:41:08,556 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:41:08,558 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:41:08,559 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:41:08,560 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:41:08,560 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:41:08,561 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:41:08,561 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:41:08,562 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:41:08,562 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:41:08,563 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:41:08,564 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:41:08,565 - uvicorn.error - INFO - Finished server process [73988]
|
|
2025-08-30 01:41:49,103 - uvicorn.error - INFO - Started server process [75068]
|
|
2025-08-30 01:41:49,104 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:41:49,105 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:41:49,106 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:41:49,106 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:41:49,107 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:41:49,107 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:41:49,107 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:41:49,108 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:41:49,108 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:41:49,110 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:41:52,348 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:41:56,509 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:41:56,510 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:41:56,511 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:41:56,512 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:41:56,513 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:41:58,123 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:41:58,124 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:41:58,124 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:41:58,125 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:41:58,126 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:41:58,193 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:41:58,194 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:41:58,194 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:01,179 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:01,180 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:42:01,180 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:42:01,181 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:42:01,181 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:42:01,181 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:42:01,182 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:02,437 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:02,438 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:42:02,439 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:42:02,439 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:42:02,441 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:42:02,442 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:42:02,444 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:42:04,416 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:42:04,417 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:42:04,417 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:42:04,418 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:17,374 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:42:17,375 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:42:17,375 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:42:17,376 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:42:17,376 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:42:17,377 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:42:17,377 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:42:29,936 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:42:29,937 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:42:29,938 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:42:29,938 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:42:29,940 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:42:29,940 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:42:29,940 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:42:29,941 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:42:29,941 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:42:29,942 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:42:29,942 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:42:29,942 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:42:29,943 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:42:29,943 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:42:29,944 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:42:29,944 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:42:29,945 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:44:12,289 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:44:12,290 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:44:12,493 - app.core.batch_manager - ERROR - Failed to process batch: Input image should be either PIL Image or numpy array!
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 377, in process_inpaint_batch
|
|
results = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 165, in inpaint
|
|
inpainted_batch = self._model(image_batch, mask_batch)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 29, in __call__
|
|
image, mask = prepare_img_and_mask(image, mask, self.device)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/utils/util.py", line 54, in prepare_img_and_mask
|
|
out_image = get_image(image)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/utils/util.py", line 16, in get_image
|
|
raise Exception(f"Input image should be either PIL Image or numpy array!")
|
|
Exception: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,498 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,499 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,500 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,500 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,510 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:44:12,511 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:44:12,647 - app.core.batch_manager - ERROR - Failed to process batch: Input image should be either PIL Image or numpy array!
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 377, in process_inpaint_batch
|
|
results = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 165, in inpaint
|
|
inpainted_batch = self._model(image_batch, mask_batch)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/models/model.py", line 29, in __call__
|
|
image, mask = prepare_img_and_mask(image, mask, self.device)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/utils/util.py", line 54, in prepare_img_and_mask
|
|
out_image = get_image(image)
|
|
File "/home/ckh08045/.local/lib/python3.8/site-packages/simple_lama_inpainting/utils/util.py", line 16, in get_image
|
|
raise Exception(f"Input image should be either PIL Image or numpy array!")
|
|
Exception: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,648 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,649 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,649 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:44:12,650 - app.api.endpoints - ERROR - 인페인팅 처리 실패: Input image should be either PIL Image or numpy array!
|
|
2025-08-30 01:46:40,529 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:46:40,632 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:46:40,634 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:46:40,635 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:46:40,637 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:46:40,637 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:46:40,638 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:46:40,639 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:46:40,640 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:46:40,640 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:46:40,642 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:46:40,643 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:46:40,644 - uvicorn.error - INFO - Finished server process [75068]
|
|
2025-08-30 01:47:37,767 - uvicorn.error - INFO - Started server process [76545]
|
|
2025-08-30 01:47:37,768 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:47:37,770 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:47:37,770 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:47:37,770 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:47:37,771 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:47:37,771 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:47:37,771 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:47:37,772 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:47:37,772 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:47:37,774 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:47:41,002 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:47:45,041 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:47:45,042 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:47:45,042 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:47:45,043 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:47:45,044 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:47:46,843 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:47:46,844 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:47:46,844 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:47:46,845 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:47:46,847 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:47:46,912 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:47:46,913 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:47:46,913 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:47:49,955 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:47:49,956 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:47:49,956 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:47:49,957 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:47:49,957 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:47:49,958 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:47:49,958 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:47:51,198 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:47:51,199 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:47:51,200 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:47:51,201 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:47:51,202 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:47:51,203 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:47:51,205 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:47:53,178 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:47:53,179 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:47:53,180 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:47:53,180 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:48:06,174 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:48:06,175 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:48:06,176 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:48:06,176 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:48:06,177 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:48:06,177 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:48:06,178 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:48:18,635 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:48:18,636 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:48:18,637 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:48:18,637 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:48:18,639 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:48:18,640 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:48:18,640 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:48:18,641 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:48:18,641 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:48:18,642 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:48:18,642 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:48:18,642 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:48:18,643 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:48:18,643 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:48:18,644 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:48:18,644 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:48:18,645 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:49:34,547 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:49:34,550 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:49:34,551 - app.core.batch_manager - ERROR - Failed to process batch: name 'image_batch' is not defined
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 377, in process_inpaint_batch
|
|
results = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 138, in inpaint
|
|
inpainted_batch = self._model.model(image_batch, mask_batch)
|
|
NameError: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,554 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,554 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,555 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,556 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,563 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:49:34,564 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:49:34,565 - app.core.batch_manager - ERROR - Failed to process batch: name 'image_batch' is not defined
|
|
Traceback (most recent call last):
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/batch_manager.py", line 120, in _process_batch
|
|
results = await worker_manager.process_inpaint_batch(batch_data)
|
|
File "/home/ckh08045/work/inpaintServer/./app/core/worker_manager.py", line 377, in process_inpaint_batch
|
|
results = await session.model.inpaint(
|
|
File "/home/ckh08045/work/inpaintServer/./app/models/simple_lama.py", line 138, in inpaint
|
|
inpainted_batch = self._model.model(image_batch, mask_batch)
|
|
NameError: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,566 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,566 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,567 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:49:34,567 - app.api.endpoints - ERROR - 인페인팅 처리 실패: name 'image_batch' is not defined
|
|
2025-08-30 01:54:41,419 - uvicorn.error - INFO - Shutting down
|
|
2025-08-30 01:54:41,521 - uvicorn.error - INFO - Waiting for application shutdown.
|
|
2025-08-30 01:54:41,523 - main - INFO - 🛑 인페인팅 서버 종료 중...
|
|
2025-08-30 01:54:41,523 - app.core.worker_manager - INFO - Stopping worker manager...
|
|
2025-08-30 01:54:41,524 - app.core.worker_manager - INFO - Worker manager stopped
|
|
2025-08-30 01:54:41,525 - main - INFO - ✅ 워커 매니저 중지 완료
|
|
2025-08-30 01:54:41,525 - app.core.batch_manager - INFO - Stopping BatchManager...
|
|
2025-08-30 01:54:41,526 - app.core.batch_manager - INFO - BatchManager stopped.
|
|
2025-08-30 01:54:41,526 - main - INFO - ✅ 배치 관리자 중지 완료
|
|
2025-08-30 01:54:41,526 - main - INFO - 👋 인페인팅 서버 종료 완료
|
|
2025-08-30 01:54:41,527 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:54:41,528 - uvicorn.error - INFO - Application shutdown complete.
|
|
2025-08-30 01:54:41,529 - uvicorn.error - INFO - Finished server process [76545]
|
|
2025-08-30 01:55:09,899 - uvicorn.error - INFO - Started server process [77869]
|
|
2025-08-30 01:55:09,900 - uvicorn.error - INFO - Waiting for application startup.
|
|
2025-08-30 01:55:09,901 - main - INFO - 🚀 인페인팅 서버 시작 중...
|
|
2025-08-30 01:55:09,901 - main - INFO - ✅ 공유 객체를 app.state에 저장 완료
|
|
2025-08-30 01:55:09,902 - main - INFO - 🔄 상태 저장 백그라운드 작업 생성 중...
|
|
2025-08-30 01:55:09,902 - main - INFO - ✅ 상태 저장 백그라운드 작업 생성 완료
|
|
2025-08-30 01:55:09,902 - main - INFO - 🚀 세션 풀 초기화 (CUDA 자동 감지)
|
|
2025-08-30 01:55:09,902 - app.core.session_pool - INFO - Initializing dynamic session pools...
|
|
2025-08-30 01:55:09,903 - app.core.session_pool - INFO - Pre-loading 2 sessions for simple_lama
|
|
2025-08-30 01:55:09,903 - main - INFO - 🔄 상태 저장 백그라운드 작업 시작됨
|
|
2025-08-30 01:55:09,905 - app.core.session_pool - INFO - Creating new session simple_lama_0 for simple_lama...
|
|
2025-08-30 01:55:13,106 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:55:17,237 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:55:17,239 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:55:17,240 - app.core.session_pool - INFO - Successfully created session simple_lama_0
|
|
2025-08-30 01:55:17,241 - app.core.session_pool - INFO - Creating new session simple_lama_1 for simple_lama...
|
|
2025-08-30 01:55:17,241 - app.models.simple_lama - INFO - Loading Simple LAMA model...
|
|
2025-08-30 01:55:18,996 - app.models.simple_lama - INFO - 실제 SimpleLama 모델 로딩 완료
|
|
2025-08-30 01:55:18,997 - app.models.simple_lama - INFO - Simple LAMA model loaded successfully
|
|
2025-08-30 01:55:18,997 - app.core.session_pool - INFO - Successfully created session simple_lama_1
|
|
2025-08-30 01:55:18,998 - app.core.session_pool - INFO - Pre-loading 2 sessions for migan
|
|
2025-08-30 01:55:18,999 - app.core.session_pool - INFO - Creating new session migan_0 for migan...
|
|
2025-08-30 01:55:19,063 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:55:19,064 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:55:19,064 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:21,872 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:21,873 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:55:21,874 - app.core.session_pool - INFO - Successfully created session migan_0
|
|
2025-08-30 01:55:21,874 - app.core.session_pool - INFO - Creating new session migan_1 for migan...
|
|
2025-08-30 01:55:21,875 - app.models.migan - INFO - Loading MIGAN ONNX model...
|
|
2025-08-30 01:55:21,875 - app.models.migan - INFO - MIGAN ONNX 런타임 세션 생성 시도...
|
|
2025-08-30 01:55:21,875 - app.models.migan - INFO - MIGAN ONNX providers 설정: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:23,132 - app.models.migan - INFO - MIGAN ONNX 세션 생성 완료. Providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:23,133 - app.models.migan - INFO - MIGAN ONNX model loaded successfully
|
|
2025-08-30 01:55:23,134 - app.core.session_pool - INFO - Successfully created session migan_1
|
|
2025-08-30 01:55:23,134 - app.core.session_pool - INFO - Pre-loading 2 sessions for rembg
|
|
2025-08-30 01:55:23,136 - app.core.session_pool - INFO - Creating new session rembg_0 for rembg...
|
|
2025-08-30 01:55:23,137 - app.core.session_pool - INFO - Creating new session rembg_1 for rembg...
|
|
2025-08-30 01:55:23,139 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:55:25,141 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:55:25,141 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:55:25,142 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:55:25,142 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:38,144 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:55:38,145 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:55:38,146 - app.models.rembg_model - INFO - Loading REMBG model (birefnet-general-lite)...
|
|
2025-08-30 01:55:38,146 - app.models.rembg_model - INFO - rembg 모듈 임포트 성공 (세션 생성은 지연 로딩)
|
|
2025-08-30 01:55:38,147 - app.models.rembg_model - INFO - 🔧 rembg 새 세션 생성 필요: birefnet-general-lite_cuda_True
|
|
2025-08-30 01:55:38,148 - app.models.rembg_model - WARNING - rembg.sessions import 실패, 기본 방식 사용
|
|
2025-08-30 01:55:38,148 - app.models.rembg_model - INFO - rembg 세션 생성 providers: ['CUDAExecutionProvider', 'CPUExecutionProvider']
|
|
2025-08-30 01:55:50,692 - app.models.rembg_model - INFO - ✅ rembg 'birefnet-general-lite' GPU 가속로 동작 (providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
|
2025-08-30 01:55:50,693 - app.models.rembg_model - INFO - REMBG model (birefnet-general-lite) loaded successfully
|
|
2025-08-30 01:55:50,694 - app.core.session_pool - INFO - Successfully created session rembg_0
|
|
2025-08-30 01:55:50,694 - app.core.session_pool - INFO - Successfully created session rembg_1
|
|
2025-08-30 01:55:50,696 - app.core.session_pool - INFO - Session pools initialized successfully
|
|
2025-08-30 01:55:50,697 - main - INFO - ✅ 세션 풀 초기화 완료
|
|
2025-08-30 01:55:50,697 - app.core.worker_manager - INFO - Starting worker manager...
|
|
2025-08-30 01:55:50,698 - app.core.worker_manager - INFO - Worker manager started with 10 workers
|
|
2025-08-30 01:55:50,698 - main - INFO - ✅ 워커 매니저 시작 완료
|
|
2025-08-30 01:55:50,698 - app.core.batch_manager - INFO - Starting BatchManager...
|
|
2025-08-30 01:55:50,699 - app.core.batch_manager - INFO - BatchManager started successfully.
|
|
2025-08-30 01:55:50,699 - main - INFO - ✅ 배치 관리자 시작 완료
|
|
2025-08-30 01:55:50,699 - main - INFO - 🎉 인페인팅 서버 시작 완료!
|
|
2025-08-30 01:55:50,700 - app.utils.discord_notifier - WARNING - Discord 웹훅 URL이 설정되지 않아 알림을 보낼 수 없습니다.
|
|
2025-08-30 01:55:50,700 - app.core.session_pool - INFO - Idle session reaper started. Timeout: 1800s, Check Interval: 60s
|
|
2025-08-30 01:55:50,701 - uvicorn.error - INFO - Application startup complete.
|
|
2025-08-30 01:55:50,702 - uvicorn.error - INFO - Uvicorn running on http://0.0.0.0:8008 (Press CTRL+C to quit)
|
|
2025-08-30 01:56:15,715 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:56:15,881 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:56:21,625 - app.core.worker_manager - INFO - 'simple-lama' batch of 4 processed in 5.908s (avg: 1.477s/image)
|
|
2025-08-30 01:56:21,626 - app.core.batch_manager - INFO - Successfully processed batch of 4 jobs.
|
|
2025-08-30 01:56:24,783 - app.core.batch_manager - INFO - Creating a new batch with 2 jobs.
|
|
2025-08-30 01:56:24,995 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 2개 이미지 인페인팅 수행
|
|
2025-08-30 01:56:39,252 - app.core.worker_manager - INFO - 'simple-lama' batch of 2 processed in 14.460s (avg: 7.230s/image)
|
|
2025-08-30 01:56:39,253 - app.core.batch_manager - INFO - Successfully processed batch of 2 jobs.
|
|
2025-08-30 01:56:39,367 - app.core.batch_manager - INFO - Creating a new batch with 2 jobs.
|
|
2025-08-30 01:56:39,469 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 2개 이미지 인페인팅 수행
|
|
2025-08-30 01:56:40,764 - app.core.worker_manager - INFO - 'simple-lama' batch of 2 processed in 1.396s (avg: 0.698s/image)
|
|
2025-08-30 01:56:40,765 - app.core.batch_manager - INFO - Successfully processed batch of 2 jobs.
|
|
2025-08-30 01:57:35,001 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:57:35,213 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:57:37,476 - app.core.worker_manager - INFO - 'simple-lama' batch of 4 processed in 2.472s (avg: 0.618s/image)
|
|
2025-08-30 01:57:37,480 - app.core.batch_manager - INFO - Successfully processed batch of 4 jobs.
|
|
2025-08-30 01:57:37,511 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:57:37,735 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:57:39,686 - app.core.worker_manager - INFO - 'simple-lama' batch of 4 processed in 2.173s (avg: 0.543s/image)
|
|
2025-08-30 01:57:39,687 - app.core.batch_manager - INFO - Successfully processed batch of 4 jobs.
|
|
2025-08-30 01:57:47,368 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:57:47,620 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:57:49,769 - app.core.worker_manager - INFO - 'simple-lama' batch of 4 processed in 2.399s (avg: 0.600s/image)
|
|
2025-08-30 01:57:49,770 - app.core.batch_manager - INFO - Successfully processed batch of 4 jobs.
|
|
2025-08-30 01:57:49,800 - app.core.batch_manager - INFO - Creating a new batch with 4 jobs.
|
|
2025-08-30 01:57:50,022 - app.models.simple_lama - INFO - 실제 SimpleLama 모델로 4개 이미지 인페인팅 수행
|
|
2025-08-30 01:57:51,985 - app.core.worker_manager - INFO - 'simple-lama' batch of 4 processed in 2.184s (avg: 0.546s/image)
|
|
2025-08-30 01:57:51,986 - app.core.batch_manager - INFO - Successfully processed batch of 4 jobs.
|