Open denisyuji opened 4 years ago
I am building from the source for x86, with:
git clone --recursive https://github.com/neo-ai/neo-ai-dlr.git cd neo-ai-dlr mkdir build cd build cmake ..
Then, I got the following error:
... -- Added Test: dlr_relayvm_test -- Added Test: dlr_test -- Added Test: dlr_treelite_test -- Added Test: dlr_tvm_test -- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/tflite-models/cat224-3.txt to /home/denis/TEMP/neo-ai-dlr/build/cat224-3.txt -- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/test-data/street_small.npy to /home/denis/TEMP/neo-ai-dlr/build/street_small.npy -- Downloading: https://neo-ai-dlr-test-artifacts.s3-us-west-2.amazonaws.com/compiled-models/resnet_v1.5_50-ml_c4.tar.gz to /tmp/resnet_v1.5_50-ml_c4.tar.gz CMake Error at cmake/Utils.cmake:48 (file): file DOWNLOAD HASH mismatch for file: [/tmp/resnet_v1.5_50-ml_c4.tar.gz] expected hash: [447c22239e63882a2bc754db550131756373d4df] actual hash: [42c01a36f6ec0eea01f7a40e4217b88ffc503179] status: [28;"Timeout was reached"] Call Stack (most recent call first): CMakeLists.txt:462 (download_file)
I changed the line 49 from cmake/Utils.cmake from:
cmake/Utils.cmake
TIMEOUT 60 # seconds
to:
TIMEOUT 600 # seconds
and then it built correctly. I suggest changing this parameter to avoid errors in slower connections.
Hey @denisyuji I also experienced that issue and it seemed to resolve itself, I didn’t realize it was related to the internet connection. Thanks for the timeout suggestion, I will increase it!
I am building from the source for x86, with:
Then, I got the following error:
I changed the line 49 from
cmake/Utils.cmake
from:to:
and then it built correctly. I suggest changing this parameter to avoid errors in slower connections.