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 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, 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)