Skip to content

Commit 4a4cb60

Browse files
committed
fix
1 parent 1b4a0c6 commit 4a4cb60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ ensure-checkpoints:
141141
.PHONY: ensure-checkpoint
142142
ensure-checkpoint: ## Ensure checkpoint file
143143
@outfile="checkpoints/$${FILENAME}" && \
144-
current_sha256=$$(cat "$${outfile}" | sha256) && \
144+
current_sha256=$$(cat "$${outfile}" | sha256sum | cut -f1 -d ' ') && \
145145
echo SHA256 Check: $${current_sha256} $${SHA256} && \
146146
if [ "$${current_sha256}" != "$${SHA256}" ]; then \
147147
url="$${HF_HUB_BASE_URL}/$${MODEL}/resolve/$${COMMIT}/$${FILENAME}" && \

0 commit comments

Comments
 (0)