We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4a0c6 commit 4a4cb60Copy full SHA for 4a4cb60
Makefile
@@ -141,7 +141,7 @@ ensure-checkpoints:
141
.PHONY: ensure-checkpoint
142
ensure-checkpoint: ## Ensure checkpoint file
143
@outfile="checkpoints/$${FILENAME}" && \
144
- current_sha256=$$(cat "$${outfile}" | sha256) && \
+ current_sha256=$$(cat "$${outfile}" | sha256sum | cut -f1 -d ' ') && \
145
echo SHA256 Check: $${current_sha256} $${SHA256} && \
146
if [ "$${current_sha256}" != "$${SHA256}" ]; then \
147
url="$${HF_HUB_BASE_URL}/$${MODEL}/resolve/$${COMMIT}/$${FILENAME}" && \
0 commit comments