gpt4 book ai didi

caffe - 要求安装Caffe

转载 作者:行者123 更新时间:2023-12-05 00:19:29 26 4
gpt4 key购买 nike

我在 Mac OS 上安装 Caffe 库,但是当我输入“make run test”时,我遇到了以下问题。我该怎么办?提前致谢。我的 macbook 不包含 Cudas,这会影响安装吗?

.build_release/test/test_all.testbin 0 --gtest_shuffle 
Cuda number of devices: 32767
Setting to use device 0
Current device id: 0
Current device name:
Note: Randomizing tests' orders with a seed of 14037 .
[==========] Running 1927 tests from 259 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from BlobSimpleTest/0, where TypeParam = f
[ RUN ] BlobSimpleTest/0.TestPointersCPUGPU
E0306 11:45:15.035683 2126779136 common.cpp:104] Cannot create Cublas handle. Cublas won't be available.
E0306 11:45:15.114891 2126779136 common.cpp:111] Cannot create Curand generator. Curand won't be available.
F0306 11:45:15.115012 2126779136 syncedmem.cpp:55] Check failed: error == cudaSuccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version
*** Check failure stack trace: ***
@ 0x10d2c976a google::LogMessage::Fail()
@ 0x10d2c8f14 google::LogMessage::SendToLog()
@ 0x10d2c93c7 google::LogMessage::Flush()
@ 0x10d2cc679 google::LogMessageFatal::~LogMessageFatal()
@ 0x10d2c9a4f google::LogMessageFatal::~LogMessageFatal()
@ 0x10e023406 caffe::SyncedMemory::to_gpu()
@ 0x10e022c5e caffe::SyncedMemory::gpu_data()
@ 0x108021d9c caffe::BlobSimpleTest_TestPointersCPUGPU_Test<>::TestBody()
@ 0x10849ba5c testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10848a1ba testing::Test::Run()
@ 0x10848b0e2 testing::TestInfo::Run()
@ 0x10848b7d0 testing::TestCase::Run()
@ 0x108491f86 testing::internal::UnitTestImpl::RunAllTests()
@ 0x10849c264 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x108491c99 testing::UnitTest::Run()
@ 0x107f8c89a main
@ 0x7fff903e15c9 start
@ 0x3 (unknown)
make: *** [runtest] Abort trap: 6

最佳答案

我遇到过同样的问题。但是我有一个专门用于在其上运行 Caffe 的图形卡,因此 CPU_ONLY 不是一个选项;-)

要检查它是否与我的原因相同,请尝试运行 CUDA Samples deviceQuery example

我使用 CUDA Guide runfile verifications 修复了

sudo chmod 0666 /dev/nvidia*

关于caffe - 要求安装Caffe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35823021/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com