Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications

🕑 Added 2024-12-05 10:00:00 +0000 UTC
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications
Solving CUDA and C++ Tools Compiling Errors Once and For All for Python AI Applications

Comments

Furkan Gözükara

thank you so much appreciate the comment

Mark Molesworth

This was incredible, and you've fixed every single issue I've had with AI repos in general. I never knew that the order of values in path mattered. So many days/weeks of jerry-rigging things fixed in a few hours. Permanent subscriber for how much you've done for me

Furkan Gözükara

yes use the installer here it is fixed : https://www.patreon.com/posts/119254105 use v21 zip file

Adriano Bregu

hi! i have this problem with live portrait, can you help me ? thank you in advance!Please select an option: 1. Human Live Portrait 2. Animal Live Portrait Enter your choice (1 or 2): 1 Starting Human Live Portrait... [23:27:13] Load appearance_feature_extractor from live_portrait_wrapper.py:46 C:\Live_Portrait_tutorial_version\LivePortrait\pretrained_weights\liveportrait\ba se_models\appearance_feature_extractor.pth done. Load motion_extractor from live_portrait_wrapper.py:49 C:\Live_Portrait_tutorial_version\LivePortrait\pretrained_weights\liveportrait\ba se_models\motion_extractor.pth done. Load warping_module from live_portrait_wrapper.py:52 C:\Live_Portrait_tutorial_version\LivePortrait\pretrained_weights\liveportrait\ba se_models\warping_module.pth done. [23:27:14] Load spade_generator from live_portrait_wrapper.py:55 C:\Live_Portrait_tutorial_version\LivePortrait\pretrained_weights\liveportrait\ba se_models\spade_generator.pth done. Load stitching_retargeting_module from live_portrait_wrapper.py:59 C:\Live_Portrait_tutorial_version\LivePortrait\pretrained_weights\liveportrait\re targeting_models\stitching_retargeting_module.pth done. [23:27:15] FaceAnalysisDIY warmup time: 1.727s face_analysis_diy.py:79 [23:27:18] LandmarkRunner warmup time: 2.729s human_landmark_runner.py:95 Running on local URL: http://127.0.0.1:7860 ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\route_utils.py", line 761, in __call__ await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 736, in app await route.handle(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 290, in handle await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 78, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 75, in app response = await f(request) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 302, in app raw_response = await run_endpoint_function( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 215, in run_endpoint_function return await run_in_threadpool(dependant.call, **values) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\concurrency.py", line 38, in run_in_threadpool return await anyio.to_thread.run_sync(func) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2476, in run_sync_in_worker_thread return await future File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 431, in main gradio_api_info = api_info(False) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 460, in api_info app.api_info = app.get_blocks().get_api_info() File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2786, in get_api_info python_type = client_utils.json_schema_to_python_type(info) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type type_ = _json_schema_to_python_type(schema, schema.get("$defs")) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type des = [ File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 948, in f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type type_ = get_type(schema) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 863, in get_type if "const" in schema: TypeError: argument of type 'bool' is not iterable ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\route_utils.py", line 761, in __call__ await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 736, in app await route.handle(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 290, in handle await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 78, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 75, in app response = await f(request) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 302, in app raw_response = await run_endpoint_function( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 215, in run_endpoint_function return await run_in_threadpool(dependant.call, **values) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\concurrency.py", line 38, in run_in_threadpool return await anyio.to_thread.run_sync(func) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2476, in run_sync_in_worker_thread return await future File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 431, in main gradio_api_info = api_info(False) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 460, in api_info app.api_info = app.get_blocks().get_api_info() File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2786, in get_api_info python_type = client_utils.json_schema_to_python_type(info) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type type_ = _json_schema_to_python_type(schema, schema.get("$defs")) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type des = [ File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 948, in f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type type_ = get_type(schema) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 863, in get_type if "const" in schema: TypeError: argument of type 'bool' is not iterable ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\route_utils.py", line 761, in __call__ await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 736, in app await route.handle(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 290, in handle await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 78, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 75, in app response = await f(request) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 302, in app raw_response = await run_endpoint_function( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 215, in run_endpoint_function return await run_in_threadpool(dependant.call, **values) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\concurrency.py", line 38, in run_in_threadpool return await anyio.to_thread.run_sync(func) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2476, in run_sync_in_worker_thread return await future File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 431, in main gradio_api_info = api_info(False) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 460, in api_info app.api_info = app.get_blocks().get_api_info() File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2786, in get_api_info python_type = client_utils.json_schema_to_python_type(info) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type type_ = _json_schema_to_python_type(schema, schema.get("$defs")) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type des = [ File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 948, in f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type type_ = get_type(schema) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 863, in get_type if "const" in schema: TypeError: argument of type 'bool' is not iterable ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\route_utils.py", line 761, in __call__ await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 736, in app await route.handle(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 290, in handle await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 78, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 75, in app response = await f(request) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 302, in app raw_response = await run_endpoint_function( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 215, in run_endpoint_function return await run_in_threadpool(dependant.call, **values) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\concurrency.py", line 38, in run_in_threadpool return await anyio.to_thread.run_sync(func) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2476, in run_sync_in_worker_thread return await future File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 431, in main gradio_api_info = api_info(False) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 460, in api_info app.api_info = app.get_blocks().get_api_info() File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2786, in get_api_info python_type = client_utils.json_schema_to_python_type(info) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type type_ = _json_schema_to_python_type(schema, schema.get("$defs")) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type des = [ File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 948, in f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type type_ = get_type(schema) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 863, in get_type if "const" in schema: TypeError: argument of type 'bool' is not iterable ERROR: Exception in ASGI application Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi result = await app( # type: ignore[func-returns-value] File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__ return await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\applications.py", line 113, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\route_utils.py", line 761, in __call__ await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 716, in __call__ await self.middleware_stack(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 736, in app await route.handle(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 290, in handle await self.app(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 78, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app raise exc File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\routing.py", line 75, in app response = await f(request) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 302, in app raw_response = await run_endpoint_function( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\fastapi\routing.py", line 215, in run_endpoint_function return await run_in_threadpool(dependant.call, **values) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\starlette\concurrency.py", line 38, in run_in_threadpool return await anyio.to_thread.run_sync(func) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2476, in run_sync_in_worker_thread return await future File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 967, in run result = context.run(func, *args) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 431, in main gradio_api_info = api_info(False) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\routes.py", line 460, in api_info app.api_info = app.get_blocks().get_api_info() File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2786, in get_api_info python_type = client_utils.json_schema_to_python_type(info) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 893, in json_schema_to_python_type type_ = _json_schema_to_python_type(schema, schema.get("$defs")) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 947, in _json_schema_to_python_type des = [ File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 948, in f"{n}: {_json_schema_to_python_type(v, defs)}{get_desc(v)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 955, in _json_schema_to_python_type f"str, {_json_schema_to_python_type(schema['additionalProperties'], defs)}" File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 901, in _json_schema_to_python_type type_ = get_type(schema) File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio_client\utils.py", line 863, in get_type if "const" in schema: TypeError: argument of type 'bool' is not iterable Traceback (most recent call last): File "C:\Live_Portrait_tutorial_version\LivePortrait\app.py", line 478, in demo.launch( File "C:\Live_Portrait_tutorial_version\LivePortrait\venv\lib\site-packages\gradio\blocks.py", line 2466, in launch raise ValueError( ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost. Premere un tasto per continuare . . .

Furkan Gözükara

yes it is accurate as long as that folder has the cudnn dll files. i personally prefer C:\cudnn_9.7 since it doesnt have space character

lion king

Hi I downloaded cudnn 9.7 but it appears to be a zip folder instead of the installer. I extracted it and copied to "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDNN\v9.7\bin". I also added a path to it as well. Is that correct? I also copied to the bin folder for CUDA 12.8, 12.4 and 11.8. Is this ok?

Furkan Gözükara

sorry for late reply. CUDA 12.8, cuDNN 9.7 are good.

Kevin Merlos

Hello I have 5090, should I download the latest versions of cuda and cuDNN (there are newer ones) and make those default? Or should I just use the ones shown in this post? Should I also still include the old versions like cuda 11.8? Thanks!

kalayan rao

hi .. just few days back i got this error i dont now what is issue..i installed all reuirments what need for face fusion..what you showing by ur video tutorial ...like cuda cudnn c++ viual all ...everthing going well almost 4month no probelm at all but now i got this error plz help me ..................................error like diz when i run face fusion.....onnxruntime:, sequential_executor.cc:516 onnxruntime::ExecuteKernel] Non-zero status code returned while running Conv node. Name:'Conv_152' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:123 onnxruntime::CudaCall D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:116 onnxruntime::CudaCall CUDA failure 2: out of memory ; GPU=0 ; hostname=DESKTOP-5APH43 ; file=D:\a\_work\1\s\onnxruntime\core\providers\cuda\cuda_allocator.cc ; line=47 ; expr=cudaMalloc((void**)&p, size);

Furkan Gözükara

hi this installer has RTX 5000 series support : https://www.patreon.com/posts/105023709

Jürgen Mayr

Hi, i would like to install comfyui with rtx5090 support. But i am a little lost with your page jumping from one page to another and from one video to another. What is the best way to install it on a fresh win11 pro system?

Furkan Gözükara

i don't know sadly. some libraries are nvidia depended and probably need to be replaced. check this out if works : https://github.com/KwaiVGI/LivePortrait/discussions/482

JT Eberhard

Got to the point of Human or Animal live portrait and it insisted I must have an Nvidia gpu. Can this not be done with AMD?

Stephen Murphy

np thanks!

Furkan Gözükara

just don't run my scripts as administrator - it will break them

Stephen Murphy

I just unchecked install for all users....now it works - guess it is something to do with admin privileges? Hopefully won't cause any probs down the line? It is only me on the computer Thanks!

Furkan Gözükara

you are welcome

Stephen Murphy

OK NP let me see if I can figure it out. Thanks

Furkan Gözükara

well without debugging i dont know. if you upgrade gold tier i can help you via remote desktop

Stephen Murphy

Installing Python310 failed for me. "The feature you are trying to use is on a resource that is unavailable" it seems ro be looking for test.msi for some reason. I have a log file from the set up failed window if tat helps? Not sure how to uplaod it here?

Furkan Gözükara

awesome

trsh3r

finally! thank you that did resolve my issue with the image sorter (I guess that was an issue with cudnn default not being the right one. I might play a bit with the install options of Visual Studio and Build tools, because that's a lot of space installing all. thanks again!

Furkan Gözükara

awesome

Shepard4k

thank you! that fixed some problems

Furkan Gözükara

awesome

David

Thanks heaps. After I installed LTSC 17.8 BuildTools and CUDA 12.4 it solved my issue where your latest ROPE versions couldn't import face images.


More Creators