diff --git a/common/common.cpp b/common/common.cpp index 1049d3c0c..ae11650b4 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -2543,10 +2543,6 @@ std::string get_cache_directory() { cache_directory += "llama.cpp"; cache_directory += DIRECTORY_SEPARATOR; } - const bool success = create_directory_with_parents(cache_directory); - if (!success) { - throw std::runtime_error("failed to create cache directory: " + cache_directory); - } return cache_directory; }