From 73bffbd112339427984f714a34e1882097176a92 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Fri, 7 Feb 2025 21:40:52 +0100 Subject: [PATCH 1/3] Update CONTRIBUTING.md Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cc7394b291..ac3a4e90ff 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -203,7 +203,7 @@ Then visit [github.com/replicate/cog/actions](https://github.com/replicate/cog/a Prereleases are a useful way to give testers a way to try out new versions of Cog without affecting the documented `latest` download URL which people normally use to install Cog. -To publish a prerelease version, append a [SemVer prerelease identifer](https://semver.org/#spec-item-9) like `-alpha` or `-beta` to the git tag name. Goreleaser will detect this and mark it as a prerelease in GitHub Releases. +To publish a prerelease version, append a [SemVer prerelease identifier](https://semver.org/#spec-item-9) like `-alpha` or `-beta` to the git tag name. Goreleaser will detect this and mark it as a prerelease in GitHub Releases. git checkout some-prerelease-branch git fetch --all --tags From 8f971b4127b1ac3f5357582e60a4055b5cb753d6 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Fri, 7 Feb 2025 21:41:55 +0100 Subject: [PATCH 2/3] Update fast_weights_test.go Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> --- pkg/weights/fast_weights_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/weights/fast_weights_test.go b/pkg/weights/fast_weights_test.go index bf787888dd..a759848f6c 100644 --- a/pkg/weights/fast_weights_test.go +++ b/pkg/weights/fast_weights_test.go @@ -24,7 +24,7 @@ func TestFindFastWeightsWithRemovedWeight(t *testing.T) { weightFile := filepath.Join(tmpDir, WEIGHT_FILE) weights := []Weight{ { - Path: "nonexistant_weight.h5", + Path: "nonexistent_weight.h5", Digest: "1", Timestamp: time.Now(), Size: 10, From 1717379477e3f0c17f136ca67dfb509a3e66a99d Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Fri, 7 Feb 2025 21:42:36 +0100 Subject: [PATCH 3/3] Update test_worker.py Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> --- python/tests/server/test_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/server/test_worker.py b/python/tests/server/test_worker.py index dd1b4e82fb..31912c26ba 100644 --- a/python/tests/server/test_worker.py +++ b/python/tests/server/test_worker.py @@ -576,7 +576,7 @@ def test_cancel_idempotency(worker: Worker): fut = worker.predict({"sleep": 0.5}, tag) # We call cancel a WHOLE BUNCH to make sure that we don't propagate any - # of those cancelations to subsequent predictions, regardless of the + # of those cancellations to subsequent predictions, regardless of the # internal implementation of exceptions raised inside signal handlers. for _ in range(5): time.sleep(0.05)