Solution:
Uninstall vulkan
In registry HKLM\SOFTWARE\Khronos\Vulkan\ExplicitLayers and HKLM\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers remove everything
reinstall vulkan
I recently started learning how to use Vulkan. I'm following this tutorial but even with a copy/paste of their code I got an error because VK_LAYER_KHRONOS_validation is not listed when I call vkEnumerateInstanceLayerProperties().
In the Vulkan configurator, VK_LAYER_KHRONOS_validation appear in the right panel but not in the bottom one (I'm not sure about what this configurator is for but there is an "Available Layers" category in the bottom panel and the names written there are the one listed by vkEnumerateInstanceLayerProperties()).
Vulkan Development Status:
- Layers override: "Validation" configuration
- VULKAN_SDK environment variable: D:\Games\lib\Vulkan\1.2.176.1
- Vulkan Loader version: 1.2.141
- User-Defined Layers Paths from VK_LAYER_PATH environment variable: None
- User-Defined Layers Paths from Vulkan Configurator: None
- Available Layers:
- VK_LAYER_NV_optimus (1.2.142)
- VK_LAYER_VALVE_steam_overlay (1.2.136)
- VK_LAYER_VALVE_steam_fossilize (1.2.136)
- VK_LAYER_EOS_Overlay (1.2.136)
- VK_LAYER_EOS_Overlay (1.2.136)
- VK_LAYER_OBS_HOOK (1.2.131)
- VK_LAYER_OBS_HOOK (1.2.131)
- Physical Devices:
- GeForce GTX 950 (Discrete GPU) with Vulkan 1.2.142
Other tutorials I found use VK_LAYER_LUNARG_standard_validation but it don't work too and is Deprecated.
So do I need to install validation layer manually, if yes where?
And if no, why is VK_LAYER_KHRONOS_validation unavailable and how can I use it?
I'm sure I'm missing something obvious ç_ç.
Additional information :
I'm compiling x64
I've uninstalled/reinstalled the sdk and it's still not working
The error message is : validation layers requested, but not available!
The sdk is the 1.2.176.1 from 05-May-2021. I downloaded the SDK Installer (.exe the first one)
To get available layer the code is:
uint32_t layerCount;
vkEnumerateInstanceLayerProperties(&layerCount, nullptr);
std::vector<VkLayerProperties> availableLayers(layerCount);
vkEnumerateInstanceLayerProperties(&layerCount, availableLayers.data());
If I skip the verification the error message is: (btw why Rockstar Game line 3??)
validation layer: loaderGetDeviceRegistryFiles: GUID for 23 is not SoftwareComponent skipping
validation layer: loaderGetDeviceRegistryFiles: GUID for 24 is not SoftwareComponent skipping
validation layer: loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_api_dump.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_device_simulation.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_gfxreconstruct.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_synchronization2.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_validation.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_monitor.json
validation layer: loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_screenshot.json
validation layer: verifyMetaLayerComponentLayers: Meta-layer VK_LAYER_LUNARG_override can't find component layer VK_LAYER_KHRONOS_validation at index 0. Skipping this layer.
validation layer: Removing meta-layer VK_LAYER_LUNARG_override from instance layer list since it appears invalid.
validation layer: loaderValidateLayers: Layer 0 does not exist in the list of available layers
failed to create instance!
I'm not a native English speaker nor a regular user of StackOverflow so if I made a mistake please tell me so I can progress
EDIT:
In the BIN folder VkLayer_khronos_validation.dll/.json/.pdb exists
so I run vulkaninfoSDK.exe and notice that it try to load from the file D:\Games\lib\1.2.176.1\Bin instead of D:\Games\lib\Vulkan\1.2.176.1\Bin so I think I found the problem. But WHY? The file is not here why is it skipping a folder ?
EDIT2:
I changed the folder (removed the \Vulkan\ in the directory) and now errors are (with vulkaninfoSDK.exe):
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_api_dump.json invalid layer manifest file version 1.2.0. May cause errors.
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_device_simulation.json invalid layer manifest file version 1.2.0. May cause errors.
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_gfxreconstruct.json invalid layer manifest file version 1.2.0. May cause errors.
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_synchronization2.json invalid layer manifest file version 1.2.0. May cause errors.
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_validation.json invalid layer manifest file version 1.2.0. May cause errors.
WARNING: [Loader Message] Code 0 : loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_screenshot.json invalid layer manifest file version 1.2.0. May cause errors.
and with the code I get:
validation layer: loaderGetDeviceRegistryFiles: GUID for 23 is not SoftwareComponent skipping
validation layer: loaderGetDeviceRegistryFiles: GUID for 24 is not SoftwareComponent skipping
validation layer: loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_api_dump.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_device_simulation.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_gfxreconstruct.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_synchronization2.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_khronos_validation.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_screenshot.json invalid layer manifest file version 1.2.0. May cause errors.
validation layer: Searching for ICD drivers named .\nvoglv64.dll
validation layer: Build ICD instance extension list
validation layer: Instance Extension: VK_KHR_device_group_creation (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_fence_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_memory_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_semaphore_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_get_physical_device_properties2 (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.2
validation layer: Instance Extension: VK_KHR_get_surface_capabilities2 (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_surface (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.25
validation layer: Instance Extension: VK_KHR_surface_protected_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_win32_surface (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.6
validation layer: Instance Extension: VK_EXT_debug_report (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.9
validation layer: Instance Extension: VK_EXT_debug_utils (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.2
validation layer: Instance Extension: VK_EXT_swapchain_colorspace (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.4
validation layer: Instance Extension: VK_NV_external_memory_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Loading layer library D:\Games\lib\1.2.176.1\Bin\.\VkLayer_khronos_validation.dll
validation layer: Loading layer library C:\ProgramData\obs-studio-hook\.\graphics-hook64.dll
validation layer: Loading layer library C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll
validation layer: Build ICD instance extension list
validation layer: Instance Extension: VK_KHR_device_group_creation (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_fence_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_memory_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_external_semaphore_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_get_physical_device_properties2 (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.2
validation layer: Instance Extension: VK_KHR_get_surface_capabilities2 (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_surface (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.25
validation layer: Instance Extension: VK_KHR_surface_protected_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Instance Extension: VK_KHR_win32_surface (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.6
validation layer: Instance Extension: VK_EXT_debug_report (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.9
validation layer: Instance Extension: VK_EXT_debug_utils (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.2
validation layer: Instance Extension: VK_EXT_swapchain_colorspace (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.4
validation layer: Instance Extension: VK_NV_external_memory_capabilities (C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll) version 0.0.1
validation layer: Unloading layer library C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_60daf66a00f2e0b6\.\nvoglv64.dll
validation layer: Unloading layer library C:\ProgramData\obs-studio-hook\.\graphics-hook64.dll
validation layer: Unloading layer library D:\Games\lib\1.2.176.1\Bin\.\VkLayer_khronos_validation.dll
so why Rockestar Game? and why
invalid layer manifest file version 1.2.0.
?
EDIT:
So I change the file location and I think it's working.
the final question is: loaderAddLayerProperties: D:\Games\lib\1.2.176.1\Bin\VkLayer_api_dump.json invalid layer manifest file version 1.2.0. May cause errors. why "May cause errors" and is it important?
And just for fun: why is it trying to load C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json?
Is Rockstar in the development of Vulkan or anything?
Re edit:
I re-uninstall/re-reinstall the sdk and ?????
This time I'm 100% sure I did not move the file and it still try to load from \lib\1.2.176.1 and is skipping the \vulkan\ ???
tbh the first install of the sdk was there (without the \vulkan) and probably didn't work bcs I renamed a folder but why it kept the old path after re-install?
but anyway if I move it to match these directory it seems to work x)
I rerere-uninstall/reinstall the sdk in a totally different folder and guess what?
sdk installed in D:\Prgm\1.2.176.1
when I run vulkaninfoSDK.exe : ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file D:\Games\lib\1.2.176.1\Bin\VkLayer_api_dump.json
So I guess I'm stuck with the path of my first install
just for the joke:(yes I'm talkative)
I rererere-uninstall/reinstall the sdk at its original location and now it try to load the file from D:\Games\lib\Vulkan\1.2.176.1\Bin\VkLayer_api_dump.json ? I probably messed-up with the installation but damn
In the Vulkan installation analysis tool I find duplicates.
Idk why but it look at the previous and wrong directory first but the right directory is present
So I'm trying to remove unnecessary directory
The warnings are normal, as per SDK release notes. The Rockstar thing is some overlay or something that was uncleanly uninstalled (you could remove it in registry similar to below instructions if you want).
You should check the value of %VULKAN_SDK% variable if it is correct.
Then you should check HKLM\SOFTWARE\Khronos\Vulkan\ExplicitLayers and HKLM\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers if it is correct and has no duplicates. (Alternatively you could uninstall first, and in that case there should be no SDK paths left in there)
Also the configurator app allows overrides, so you need to check it is Tools->Reset, and set to "Fully controled by Vulkan apps". When closing it should warn that no Vulkan overrides are active, and you should click Yes.
For the Rockstar problem, It seems that many game launchers install implicit layers for Vulkan. In my case It was a GOG layer causing the problem, but it seems that when you uninstall many of these programs, they do not remove their keys from the registry.
To fix the problem, check both
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ImplicitLayers
and
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ExplicitLayers
for a key that matches the .json that can not be found and delete it. The error should then stop.
I have that exact Rockstar key in the ExplicitLayers folder and found my GOG key in the ImplicitLayers folder.
Related
every time i try to ru the install cli i get this
Welcome to the Google Cloud CLI! dyld[44374]: Library not loaded: /usr/local/opt/brew/opt/gettext/lib/libintl.8.dylib Referenced from: <29C0D6FA-7E7D-31D5-BC06-29F3E0FE2E07> /usr/local/opt/brew/Cellar/python#3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/Python Reason: tried: '/usr/local/opt/brew/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/brew/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/brew/opt/gettext/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache), '/usr/local/opt/brew/Cellar/gettext/0.21.1/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/brew/Cellar/gettext/0.21.1/lib/libintl.8.dylib' (no such file), '/usr/local/opt/brew/Cellar/gettext/0.21.1/lib/libintl.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache) ./google-cloud-sdk/install.sh: line 200: python: command not found
im using the file that's specific for M1, but no luck with it, it was working till the last update on mac
i have tried downloading the last to updates on gcloud (https://cloud.google.com/sdk/docs/install-sdk#installing_the_latest_version:~:text=google%2Dcloud%2Dcli%2D414.0.0%2Ddarwin%2Darm.tar.gz)
and also the 413
I'm using CUDA Toolkit 10.1, my PATH is set correctly.
I am compiling:
import cupy
x = cupy.array([1., 2., 3.])
y = cupy.arange(10)
This gives
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\cupy\cuda\compiler.py", line 625, in compile
nvrtc.compileProgram(self.ptr, options)
File "cupy_backends\cuda\libs\nvrtc.pyx", line 133, in cupy_backends.cuda.libs.nvrtc.compileProgram
File "cupy_backends\cuda\libs\nvrtc.pyx", line 145, in cupy_backends.cuda.libs.nvrtc.compileProgram
File "cupy_backends\cuda\libs\nvrtc.pyx", line 64, in cupy_backends.cuda.libs.nvrtc.check_status
cupy_backends.cuda.libs.nvrtc.NVRTCError: NVRTC_ERROR unknown (7)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Dropbox\Emil\Binance\a.py", line 4, in <module>
y = cupy.arange(10)
File "C:\Python39\lib\site-packages\cupy\_creation\ranges.py", line 57, in arange
_arange_ufunc(typ(start), typ(step), ret, dtype=dtype)
File "cupy\_core\_kernel.pyx", line 1185, in cupy._core._kernel.ufunc.__call__
File "cupy\_core\_kernel.pyx", line 1212, in cupy._core._kernel.ufunc._get_ufunc_kernel
File "cupy\_core\_kernel.pyx", line 952, in cupy._core._kernel._get_ufunc_kernel
File "cupy\_core\_kernel.pyx", line 62, in cupy._core._kernel._get_simple_elementwise_kernel
File "cupy\_core\core.pyx", line 2030, in cupy._core.core.compile_with_cache
File "C:\Python39\lib\site-packages\cupy\cuda\compiler.py", line 434, in compile_with_cache
return _compile_with_cache_cuda(
File "C:\Python39\lib\site-packages\cupy\cuda\compiler.py", line 476, in _compile_with_cache_cuda
base = _preprocess('', options, arch, backend)
File "C:\Python39\lib\site-packages\cupy\cuda\compiler.py", line 375, in _preprocess
result, _ = prog.compile(options)
File "C:\Python39\lib\site-packages\cupy\cuda\compiler.py", line 637, in compile
raise CompileException(log, self.src, self.name, options,
cupy.cuda.compiler.CompileException: nvrtc: error: failed to open nvrtc-builtins64_101.dll.
Make sure that nvrtc-builtins64_101.dll is installed correctly.
I checked, the required DLL is in the \bin folder. What could be wrong here?
Show-config data is below
OS : Windows-10-10.0.19041-SP0
Python Version : 3.9.1
CuPy Version : 9.3.0
CuPy Platform : NVIDIA CUDA
NumPy Version : 1.19.5
SciPy Version : 1.6.2
Cython Build Version : 0.29.24
Cython Runtime Version : None
CUDA Root : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
nvcc PATH : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.EXE
CUDA Build Version : 10010
CUDA Driver Version : 11040
CUDA Runtime Version : 10010
cuBLAS Version : (available)
cuFFT Version : 10010
cuRAND Version : 10010
cuSOLVER Version : (10, 1, 0)
cuSPARSE Version : (available)
NVRTC Version : (10, 1)
Thrust Version : 100906
CUB Build Version : 100800
Jitify Build Version : 60e9e72
cuDNN Build Version : None
cuDNN Version : None
NCCL Build Version : None
NCCL Runtime Version : None
cuTENSOR Version : None
cuSPARSELt Build Version : None
Device 0 Name : NVIDIA GeForce RTX 2080
Device 0 Compute Capability : 75
Device 0 PCI Bus ID : 0000:1A:00.0
Device 1 Name : NVIDIA GeForce RTX 2080
Device 1 Compute Capability : 75
Device 1 PCI Bus ID : 0000:68:00.0
Process finished with exit code 0
Here are the logs:
CUDA_PATH: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
Wheel shared libraries: C:\Python39\lib\site-packages\cupy\.data\lib
Adding DLL search path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin
Adding DLL search path: C:\Python39\lib\site-packages\cupy\.data\lib
CuPy wheel package built for CUDA 10.1
CuPy CUDA library directory: C:\Users\Dmitri/.cupy/cuda_lib
Looking for cudnn version 8.0.5 (cudnn64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn64_8.dll
File cudnn64_8.dll could not be found
Trying to load cudnn64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_ops_infer64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_ops_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_ops_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_ops_infer64_8.dll
File cudnn_ops_infer64_8.dll could not be found
Trying to load cudnn_ops_infer64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_ops_infer64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_ops_train64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_ops_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_ops_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_ops_train64_8.dll
File cudnn_ops_train64_8.dll could not be found
Trying to load cudnn_ops_train64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_ops_train64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_cnn_infer64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_cnn_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_cnn_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_cnn_infer64_8.dll
File cudnn_cnn_infer64_8.dll could not be found
Trying to load cudnn_cnn_infer64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_cnn_infer64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_cnn_train64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_cnn_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_cnn_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_cnn_train64_8.dll
File cudnn_cnn_train64_8.dll could not be found
Trying to load cudnn_cnn_train64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_cnn_train64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_adv_infer64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_adv_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_adv_infer64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_adv_infer64_8.dll
File cudnn_adv_infer64_8.dll could not be found
Trying to load cudnn_adv_infer64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_adv_infer64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Looking for cudnn version 8.0.5 (cudnn_adv_train64_8.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib\cudnn_adv_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\lib64\cudnn_adv_train64_8.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cudnn\8.0.5\bin\cudnn_adv_train64_8.dll
File cudnn_adv_train64_8.dll could not be found
Trying to load cudnn_adv_train64_8.dll from default search path
Library cudnn could not be preloaded: Could not find module 'cudnn_adv_train64_8.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Not preloading nccl
Looking for cutensor version 1.2.2 (cutensor.dll)
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cutensor\1.2.2\lib\cutensor.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cutensor\1.2.2\lib64\cutensor.dll
Rejected candidate (not found): C:\Users\Dmitri/.cupy/cuda_lib\10.1\cutensor\1.2.2\bin\cutensor.dll
File cutensor.dll could not be found
Trying to load cutensor.dll from default search path
Library cutensor could not be preloaded: Could not find module 'cutensor.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Process finished with exit code 0
Recently, I have been using estimator to train and deploy a tensorflow model, but when I deploy the model (it was exported using estimator serving_fn including tf.py_func) using tensorflow seving, there is an error (see below).
I found this question on Github that said the serving can't support tf.py_func.
Can anyone help?
I want to implement a token function using other tokenlizer(NLTK,Jieba).
The error:
Invalid argument: No OpKernel was registered to support Op 'PyFunc' used by {{node map/while/PyFunc}}with these attrs: [Tout=[DT_STRING], token="pyfunc_4", _output_shapes=[<unknown>], Tin=[DT_STRING]]
Registered devices: [CPU]
Registered kernels:
<no registered kernels>
Have you tried using the tensorflow native tokenizer,eg. see https://www.tensorflow.org/beta/tutorials/tensorflow_text/intro#tokenization
I follow an example in kernel.org to write an i2c driver but unfortunately when i compile i got this warning
WARNING: "i2c_register_board_info" [/home/pi/builddriver/samplei2c/pn535.ko] undefined!
Although compile with 1 warning and no error, I cannot insmod module. this is error when insmod
insmod: ERROR: could not insert module pn535.ko: Invalid module format
My question is how to solve the warning above?, I think it make .ko file to be invalid. Here is my source code on
pastebin
thank for your help!
That is not possible in a kernel module simply because the function i2c_register_board_info is not exported from the kernel source tree to the kernel modules (built using obj-m targets). You can achieve this by building your driver within the kernel source tree using (obj-y targets).
I developed some Tensorflow-based C++ application that run successfully on Linux. Now I'm trying to developed Android version but I can't fix the following error: Invalid argument: No OpKernel was registered to support Op 'LRNGrad' with these attrs. Registered kernels:
[[Node: gradients/localresponsenorm1_grad/LRNGrad =
LRNGrad[T=DT_FLOAT, alpha=0.0001, beta=0.5, bias=2, depth_radius=5]
(gradients/maxpool1_grad/MaxPoolGrad,conv2d2, localresponsenorm1)]]
I've added to Android Build all kernels available for Android by means of //tensorflow/core/kernels:android_all_ops in core/kernels/BUILD and even included lrn_op.cc to build separately but there is no effect.
My Linux build works fine. What should I do? Thanks.
Does it actually say <no registered kernels> in your output? I'm assuming this just got interpreted as HTML and rendered invisible.
Which library are you depending on on for your Android app? tensorflow/core:android_tensorflow_lib should already contain this kernel. (android_all_ops is not actually used for any targets internal to TensorFlow, which is somewhat misleading).