Buckets:
| get_filename_component(DEST_DIR "${DEST}" DIRECTORY) | |
| file(MAKE_DIRECTORY "${DEST_DIR}") | |
| if(NOT EXISTS "${DEST}") | |
| message(STATUS "Downloading ${NAME} from ggml-org/models...") | |
| endif() | |
| file(DOWNLOAD | |
| "https://huggingface.co/ggml-org/models/resolve/main/${NAME}?download=true" | |
| "${DEST}" | |
| TLS_VERIFY ON | |
| EXPECTED_HASH ${HASH} | |
| STATUS status | |
| ) | |
| list(GET status 0 code) | |
| if(NOT code EQUAL 0) | |
| list(GET status 1 msg) | |
| message(FATAL_ERROR "Failed to download ${NAME}: ${msg}") | |
| endif() | |
Xet Storage Details
- Size:
- 505 Bytes
- Xet hash:
- cee738ee39f8e05228e8e5867aee615edb4317e6f59625f160f7e2a312a16386
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.