file-type

Win10下TensorFlow-GPU安装配置与问题解决实录

ZIP文件

下载需积分: 14 | 3KB | 更新于2025-01-03 | 192 浏览量 | 2 下载量 举报 1 收藏
download 立即下载
文档标题中提到的“tensorflow-gpu踩坑实录基于win10”表明作者在安装过程中遇到了一些问题,并记录了如何解决这些问题,以帮助其他用户避免相同的困境。描述部分详细说明了安装顺序和版本匹配问题,以及作者是如何解决DLL加载失败的错误。该文档对于使用Windows系统并希望在GPU上运行TensorFlow的用户具有较高的参考价值。 知识点详细说明: 1. CUDA版本:文档中提到的“cuda_10.0.130_411.31_win10”指的是NVIDIA提供的并行计算平台和编程模型的版本。CUDA允许开发者使用NVIDIA的GPU进行高性能计算。版本号10.0.130是CUDA的核心版本,而411.31则是具体的驱动程序版本号。在安装TensorFlow GPU时,需要确保CUDA的版本与TensorFlow GPU版本兼容。 2. cuDNN版本:cuDNN是专为深度神经网络设计的GPU加速库。文档中提到的“cudnn-10.0-windows10-x64-v7.4.2.24”表示这是适用于Windows 10 64位系统的cuDNN版本7.4.2.24。cuDNN提供了深度神经网络运行所需的底层加速,是构建高性能深度学习应用的关键组件。在安装TensorFlow GPU时,同样需要确保cuDNN版本与TensorFlow GPU版本兼容。 3. TensorFlow GPU版本:TensorFlow是一个开源的机器学习框架,GPU版本是指专门为NVIDIA GPU优化的版本,可以利用GPU的并行处理能力大幅提升计算速度。文档中提到的“tensorflow_gpu-1.13.1-cp36-cp36m-win_amd64”是指适用于Python 3.6的64位Windows系统的TensorFlow GPU版本1.13.1。在安装过程中,作者首次尝试使用1.12.0版本的TensorFlow GPU,遇到了无法加载本机TensorFlow运行时的错误。 4. 安装顺序:文档中明确指出了正确的安装顺序,即先安装CUDA,然后安装cuDNN,最后安装TensorFlow GPU。这是因为TensorFlow GPU的安装依赖于CUDA和cuDNN的存在。 5. 版本对应问题:作者在安装过程中发现,如果CUDA版本与cuDNN以及TensorFlow GPU版本不匹配,将导致无法加载TensorFlow运行时的问题。这是因为不同版本的TensorFlow依赖于特定版本的CUDA和cuDNN。 6. 解决方案:作者描述了如何使用pip命令安装指定版本的TensorFlow GPU,通过指定版本号来确保库文件的兼容性。如果在安装过程中遇到EXCEPTION,很可能是由于网络连接问题导致,此时重新尝试pip安装即可。 通过以上信息,可以看出文档详细记录了一个典型的问题解决过程,对于解决类似问题的用户具有指导意义。作者通过清晰的记录,不仅帮助他人避免安装过程中的常见错误,也强调了版本兼容性的重要性。此外,文档还隐含了对于网络状况的考量,以及在面对错误时进行问题排查和解决的思路,为用户在安装和配置深度学习环境时提供了一种可行的路径。"

相关推荐

filetype

tao@thp:~/文档/PyTorch_Practice/lesson2/rmb_classification$ tensorboard --logdir=lesson5/runs 2025-03-25 19:57:40.459192: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`. 2025-03-25 19:57:40.459794: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used. 2025-03-25 19:57:40.461640: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used. 2025-03-25 19:57:40.466451: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:467] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1742903860.474475 9404 cuda_dnn.cc:8579] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E0000 00:00:1742903860.476797 9404 cuda_blas.cc:1407] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered W0000 00:00:1742903860.483264 9404 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1742903860.483289 9404 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1742903860.483292 9404 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. W0000 00:00:1742903860.483294 9404 computation_placer.cc:177] computation placer already registered. Please check linkage and avoid linking the same target more than once. 2025-03-25 19:57:40.485439: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI AVX512_BF16 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. E0000 00:00:1742903861.655321 9404 cuda_executor.cc:1228] INTERNAL: CUDA Runtime error: Failed call to cudaGetRuntimeVersion: Error loading CUDA libraries. GPU will not be used.: Error loading CUDA libraries. GPU will not be used. W0000 00:00:1742903861.664941 9404 gpu_device.cc:2341] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform. Skipping registering GPU devices... NOTE: Using experimental fast data loading logic. To disable, pass "--load_fast=false" and report issues on GitHub. More details: https://github.com/tensorflow/tensorboard/issues/4784 Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all TensorBoard 2.19.0 at http://localhost:6006/ (Press CTRL+C to quit) 这里输入对应的网址打不开

filetype

2025-03-10T06:43:37.165038Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2025-03-10T06:43:37.165092Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled 2025-03-10T06:43:37.165104Z 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.7.18) starting as process 26836 ... 2025-03-10T06:43:37.169695Z 0 [Note] InnoDB: PUNCH HOLE support not available 2025-03-10T06:43:37.169704Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2025-03-10T06:43:37.169706Z 0 [Note] InnoDB: Uses event mutexes 2025-03-10T06:43:37.169708Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier 2025-03-10T06:43:37.169709Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2025-03-10T06:43:37.169711Z 0 [Note] InnoDB: Using Linux native AIO 2025-03-10T06:43:37.169831Z 0 [Note] InnoDB: Number of pools: 1 2025-03-10T06:43:37.169878Z 0 [Note] InnoDB: Using CPU crc32 instructions 2025-03-10T06:43:37.170938Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2025-03-10T06:43:37.178293Z 0 [Note] InnoDB: Completed initialization of buffer pool 2025-03-10T06:43:37.179917Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2025-03-10T06:43:37.191665Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2025-03-10T06:43:37.195822Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2025-03-10T06:43:37.195863Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2025-03-10T06:43:37.209862Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2025-03-10T06:43:37.210297Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2025-03-10T06:43:37.210301Z 0 [Note] InnoDB: 32 n

filetype

D:\java\apache-tomcat-8.5\apache-tomcat-8.5.69\bin\catalina.bat run [2025-03-31 09:05:31,490] 工件 ssm:war exploded: 正在等待服务器连接以启动工件部署… Using CATALINA_BASE: "C:\Users\李顺义\AppData\Local\JetBrains\IntelliJIdea2022.3\tomcat\d6b34896-45db-412d-a705-e870012b8e26" Using CATALINA_HOME: "D:\java\apache-tomcat-8.5\apache-tomcat-8.5.69" Using CATALINA_TMPDIR: "D:\java\apache-tomcat-8.5\apache-tomcat-8.5.69\temp" Using JRE_HOME: "D:\apache-tomcat-8.5.69" Using CLASSPATH: "D:\java\apache-tomcat-8.5\apache-tomcat-8.5.69\bin\bootstrap.jar;D:\java\apache-tomcat-8.5\apache-tomcat-8.5.69\bin\tomcat-juli.jar" Using CATALINA_OPTS: "" NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 31-Mar-2025 09:05:33.963 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/8.5.69 31-Mar-2025 09:05:33.969 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Jun 30 2021 18:00:00 UTC 31-Mar-2025 09:05:33.970 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器版本号: 8.5.69.0 31-Mar-2025 09:05:33.970 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 操作系统名称: Windows 11 31-Mar-2025 09:05:33.972 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 31-Mar-2025 09:05:33.973 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 31-Mar-2025 09:05:33.974 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: D:\apache-tomcat-8.5.69 31-Mar-2025 09:05:33.974 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java虚拟机版本: 17.0.11+7-LTS-207 31-Mar-2025 09:05:33.975 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 31-Mar-2025 09:05:

filetype

sudo cat /usr/local/mysql/data/VM-16-9-centos.err 2025-03-20T02:00:15.739959Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2025-03-20T02:00:15.740032Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled 2025-03-20T02:00:15.740057Z 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.7.36) starting as process 813856 ... 2025-03-20T02:00:15.747664Z 0 [Note] InnoDB: PUNCH HOLE support available 2025-03-20T02:00:15.747684Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2025-03-20T02:00:15.747688Z 0 [Note] InnoDB: Uses event mutexes 2025-03-20T02:00:15.747691Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier 2025-03-20T02:00:15.747695Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2025-03-20T02:00:15.747698Z 0 [Note] InnoDB: Using Linux native AIO 2025-03-20T02:00:15.747921Z 0 [Note] InnoDB: Number of pools: 1 2025-03-20T02:00:15.748013Z 0 [Note] InnoDB: Using CPU crc32 instructions 2025-03-20T02:00:15.749664Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2025-03-20T02:00:15.758255Z 0 [Note] InnoDB: Completed initialization of buffer pool 2025-03-20T02:00:15.760782Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2025-03-20T02:00:15.772580Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2025-03-20T02:00:15.783164Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2025-03-20T02:00:15.783219Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2025-03-20T02:00:15.815854Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2025-03-20T02:00:15.816646Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.

filetype

2023-06-08T02:25:37.583259Z 1 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> c443b2d8-05a0-11ee-86b8-2e0fddf21737:0 2023-06-08T02:25:39.261528Z WSREP_SST: [INFO] Streaming with xbstream 2023-06-08T02:25:39.273174Z WSREP_SST: [INFO] WARNING: Stale temporary SST directory: /data/mysql//.sst from previous state transfer. Removing 2023-06-08T02:25:39.279749Z WSREP_SST: [INFO] Proceeding with SST......... 2023-06-08T02:25:39.519583Z 0 [Note] WSREP: (c05c7a4e, 'tcp://0.0.0.0:4567') turning message relay requesting off 2023-06-08T02:25:39.553817Z WSREP_SST: [INFO] ............Waiting for SST streaming to complete! 2023-06-08T02:25:49.257301Z WSREP_SST: [ERROR] ******************* FATAL ERROR ********************** 2023-06-08T02:25:49.260159Z WSREP_SST: [ERROR] xtrabackup_checkpoints missing. xtrabackup/SST failed on DONOR. Check DONOR log 2023-06-08T02:25:49.262811Z WSREP_SST: [ERROR] ****************************************************** 2023-06-08T02:25:49.266472Z WSREP_SST: [ERROR] Cleanup after exit with status:2 2023-06-08T02:25:49.289335Z 0 [Warning] WSREP: 1.0 (host78): State transfer to 0.0 (host79) failed: -22 (Invalid argument) 2023-06-08T02:25:49.289400Z 0 [ERROR] WSREP: gcs/src/gcs_group.cpp:gcs_group_handle_join_msg():811: Will never receive state. Need to abort. 2023-06-08T02:25:49.289465Z 0 [Note] WSREP: gcomm: terminating thread 2023-06-08T02:25:49.289494Z 0 [Note] WSREP: gcomm: joining thread 2023-06-08T02:25:49.289662Z 0 [Note] WSREP: gcomm: closing backend 2023-06-08T02:25:49.593055Z 0 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '10.106.113.79' --datadir '/data/mysql/' --defaults-file '/etc/my.cnf' --defaults-group-suffix '' --parent '9996' --mysqld-version '5.7.41-44-57' '' : 2 (No such file or directory) 2023-06-08T02:25:49.593124Z 0 [ERROR] WSREP: Failed to read uuid:seqno from joiner script. 2023-06-08T02:25:49.593137Z 0 [ERROR] WSREP: SST script aborted with error 2 (No such file or directory) 2023-06-08T02:25:49.593186Z 0 [ERROR] WSREP: SST failed: 2 (No such file or directory) 2023-06-08T02:25:49.593234Z 0 [ERROR] Aborting 2023-06-08T02:25:49.593269Z 0 [Note] WSREP: Signalling cancellation of the SST request. 2023-06-08T02:25:49.593306Z 0 [Note] WSREP: SST request was cancelled 2023-06-08T02:25:49.593337Z 0 [Note] Giving 2 client threads a chance to die gracefully 2023-06-08T02:25:49.593357Z 1 [Note] WSREP: Closing send monitor... 2023-06-08T02:25:49.593370Z 1 [Note] WSREP: Closed send monitor. 2023-06-08T02:25:50.292465Z 0 [Note] WSREP: Current view of cluster as seen by this node

filetype

[root@QAQ ~]# sudo tail -n 50 /var/log/mysql/error.log 2023-07-14T02:45:21.370949Z 0 [Note] Shutting down plugin 'partition' 2023-07-14T02:45:21.370952Z 0 [Note] Shutting down plugin 'BLACKHOLE' 2023-07-14T02:45:21.370954Z 0 [Note] Shutting down plugin 'ARCHIVE' 2023-07-14T02:45:21.370956Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA' 2023-07-14T02:45:21.370993Z 0 [Note] Shutting down plugin 'MRG_MYISAM' 2023-07-14T02:45:21.370995Z 0 [Note] Shutting down plugin 'MyISAM' 2023-07-14T02:45:21.371003Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL' 2023-07-14T02:45:21.371011Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' 2023-07-14T02:45:21.371013Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' 2023-07-14T02:45:21.371015Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' 2023-07-14T02:45:21.371017Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' 2023-07-14T02:45:21.371018Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' 2023-07-14T02:45:21.371020Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' 2023-07-14T02:45:21.371022Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' 2023-07-14T02:45:21.371024Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' 2023-07-14T02:45:21.371026Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES' 2023-07-14T02:45:21.371028Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' 2023-07-14T02:45:21.371030Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' 2023-07-14T02:45:21.371032Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG' 2023-07-14T02:45:21.371033Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' 2023-07-14T02:45:21.371035Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED' 2023-07-14T02:45:21.371037Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD' 2023-07-14T02:45:21.371039Z 0 [Note] Shutting down plugin 'INNODB_METRICS' 2023-07-14T02:45:21.371041Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO' 2023-07-14T02:45:21.371043Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' 2023-07-14T02:45:21.371045Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' 2023-07-14T02:45:21.371047Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' 2023-07-14T02:45:21.371049Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET' 2023-07-14T02:45:21.371050Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX' 2023-07-14T02:45:21.371052Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET' 2023-07-14T02:45:21.371054Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM' 2023-07-14T02:45:21.371056Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET' 2023-07-14T02:45:21.371058Z 0 [Note] Shutting down plugin 'INNODB_CMP' 2023-07-14T02:45:21.371060Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS' 2023-07-14T02:45:21.371062Z 0 [Note] Shutting down plugin 'INNODB_LOCKS' 2023-07-14T02:45:21.371064Z 0 [Note] Shutting down plugin 'INNODB_TRX' 2023-07-14T02:45:21.371066Z 0 [Note] Shutting down plugin 'InnoDB' 2023-07-14T02:45:21.371100Z 0 [Note] InnoDB: FTS optimize thread exiting. 2023-07-14T02:45:21.371135Z 0 [Note] InnoDB: Starting shutdown... 2023-07-14T02:45:21.471280Z 0 [Note] InnoDB: Dumping buffer pool(s) to /www/server/data/ib_buffer_pool 2023-07-14T02:45:21.471421Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 230714 10:45:21 2023-07-14T02:45:22.992635Z 0 [Note] InnoDB: Shutdown completed; log sequence number 2767468 2023-07-14T02:45:22.993964Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2023-07-14T02:45:22.993980Z 0 [Note] Shutting down plugin 'MEMORY' 2023-07-14T02:45:22.993985Z 0 [Note] Shutting down plugin 'CSV' 2023-07-14T02:45:22.993989Z 0 [Note] Shutting down plugin 'sha256_password' 2023-07-14T02:45:22.993991Z 0 [Note] Shutting down plugin 'mysql_native_password' 2023-07-14T02:45:22.994103Z 0 [Note] Shutting down plugin 'binlog' 2023-07-14T02:45:22.994915Z 0 [Note] /www/server/mysql/bin/mysqld: Shutdown complete

CharlesXiao
  • 粉丝: 22
上传资源 快速赚钱