repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
2a9036fe7e3c8f62bf80c857534dc142a4248f37
33c89be3b72c1c3cae20a12b13da9ee6c723e31c
[dev.fuzz] testing: add script tests for fuzz targets Tests include: - matching fuzz targets - matching fuzz targets with -fuzz - chatty tests with -v - failing tests - skipped tests - passing tests - panic in tests Change-Id: I54e63c8891b45cfae7212924e067e790f25ab411 Reviewed-on: https://go-review.goog...
[ { "path": "src/cmd/go/internal/load/test.go", "patch": "@@ -595,6 +595,7 @@ func (t *testFuncs) load(filename, pkg string, doImport, seen *bool) error {\n \t\t\t\treturn err\n \t\t\t}\n \t\t\tt.FuzzTargets = append(t.FuzzTargets, testFunc{pkg, name, \"\", false})\n+\t\t\t*doImport, *seen = true, true\n \t\t...
2020-09-11T15:11:08
huggingface/transformers
6101d934a1a4b615feef52a04d3cca21ca796f14
7ee4363d19f6503318601478933d59a9333c99d6
🌐 [i18n-KO] Translated `conversations.md` to Korean (#32468) * docs: ko: conversations.md * feat: hand-crafted translate docs * fix: modify typo after Grammar Check * Update docs/source/ko/conversations.md 감사합니다 Co-authored-by: SeungAhSon <gongsoonyee@gmail.com> * Update docs/source/ko/conversations...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -27,8 +27,8 @@\n title: 에이전트\n - local: llm_tutorial\n title: 대규모 언어 모델로 생성하기\n- - local: in_translation\n- title: (번역중)Chatting with Transformers\n+ - local: conversations\n+ title: Transformers로 채팅하기\n title: 튜토리얼\n - sections:\n ...
2024-08-27T16:25:41
ollama/ollama
b05c9e83d91dd25ce578b42aef5947a89283231d
a60d9b89cec60f960841caa9881c4a48e4a87406
Introduce GPU Overhead env var (#5922) Provide a mechanism for users to set aside an amount of VRAM on each GPU to make room for other applications they want to start after Ollama, or workaround memory prediction bugs
[ { "path": "cmd/cmd.go", "patch": "@@ -1421,6 +1421,7 @@ func NewCLI() *cobra.Command {\n \t\t\t\tenvVars[\"OLLAMA_TMPDIR\"],\n \t\t\t\tenvVars[\"OLLAMA_FLASH_ATTENTION\"],\n \t\t\t\tenvVars[\"OLLAMA_LLM_LIBRARY\"],\n+\t\t\t\tenvVars[\"OLLAMA_GPU_OVERHEAD\"],\n \t\t\t})\n \t\tdefault:\n \t\t\tappendEnvDocs(c...
2024-09-05T20:46:35
nodejs/node
bf2e96460c930437a0fe98220fd3a085d2007513
0e98f2971f34c94668a1fe56ba1f88d381e77532
test: use smaller input file for test-zlib.js PR-URL: https://github.com/nodejs/node/pull/17988 Fixes: https://github.com/nodejs/node/issues/17986 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James...
[ { "path": "test/parallel/test-zlib.js", "patch": "@@ -157,7 +157,7 @@ assert.doesNotThrow(() => {\n }, 'windowsBits set to 8 should follow legacy zlib behavior');\n \n {\n- const node = fs.createReadStream(process.execPath);\n+ const node = fs.createReadStream(fixtures.path('person.jpg'));\n const raw =...
2018-01-05T01:03:44
vercel/next.js
cd3e054f14ce38f4ff57c727a997da2a6e1d05dd
c4e8d7d7a32d75603c5d3e5f6a84a5154be7331f
Ensure middleware has single data fetch on query hydration with valid props (#39210) * Ensure middleware has single data fetch on query hydration with valid props * re-add check * fix redirect case
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -427,7 +427,7 @@ const backgroundCache: Record<string, Promise<any>> = {}\n \n interface FetchDataOutput {\n dataHref: string\n- json: Record<string, any>\n+ json: Record<string, any> | null\n response: Response\n text: string\n }\n...
2022-08-02T02:39:58
huggingface/transformers
d47a9e8ce556be790ac98c0a9024dd41c6328fb0
c6b23fda65f9ae74f9a1026b340241f65aebe1a3
fix redundant checkpointing in example training scripts (#33131) * fix redundant checkpointing in example scripts * Update examples/pytorch/image-classification/run_image_classification_no_trainer.py Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> * Update examples/pytorch/translation/run...
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -544,7 +544,7 @@ def collate_fn(examples):\n completed_steps += 1\n \n if isinstance(checkpointing_steps, int):\n- if completed_steps % checkpointing_steps == 0:\...
2024-08-27T13:50:00
golang/go
edf60be15175ff2eb20fb66344d7487875546778
478bde3a4388997924a02ee9296864866d8ba3ba
doc/go1.16: document no language changes There are no language changes in Go 1.16, so document that. For #40700. Fixes #42976. Change-Id: I80b0d2ce6cf550c00c0f026ee59ac9fbce6310be Reviewed-on: https://go-review.googlesource.com/c/go/+/275117 Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor...
[ { "path": "doc/go1.16.html", "patch": "@@ -26,7 +26,7 @@ <h2 id=\"introduction\">DRAFT RELEASE NOTES — Introduction to Go 1.16</h2>\n <h2 id=\"language\">Changes to the language</h2>\n \n <p>\n- TODO\n+ There are no changes to the language.\n </p>\n \n <h2 id=\"ports\">Ports</h2>", "additions": 1, ...
2020-12-03T17:07:52
ollama/ollama
6fc9d2270786a76952a5d55ec75a9f9dcde73e26
f27c00d8c5e2d4bad747c9d330bc02abaec465ae
server: fix blob download when receiving a 200 response (#6656)
[ { "path": "server/download.go", "patch": "@@ -256,7 +256,7 @@ func (b *blobDownload) run(ctx context.Context, requestURL *url.URL, opts *regis\n \t\t\t\tcontinue\n \t\t\t}\n \t\t\tdefer resp.Body.Close()\n-\t\t\tif resp.StatusCode != http.StatusTemporaryRedirect {\n+\t\t\tif resp.StatusCode != http.StatusTe...
2024-09-05T17:48:26
nodejs/node
23c9597b928942b519f4bac3f35e556e0601d57a
7969811a88a5f0a33c51ffe4078a9ec28a19906d
build: fix cctest target with --enable-static Currently the cctest target build will fail if configured with --enable-static $ ./configure --enable-static $ make There're some function multiple definition errors such as: out/Release/obj.target/node/src/node_crypto.o: In function `node::crypto::RandomBytesWork(uv_w...
[ { "path": "node.gyp", "patch": "@@ -861,11 +861,15 @@\n ],\n }],\n [ 'node_use_openssl==\"true\"', {\n- 'libraries': [\n- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_crypto.<(OBJ_SUFFIX)',\n- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_crypto_bio.<(OBJ_SUFFIX)',\n- ...
2018-01-04T08:50:50
huggingface/transformers
9956c2bc984d0bf65c52b22b98b882317e7264af
834ec7b1ccf9b82905d5803aca41e1744849dae7
Add a fix for custom code tokenizers in pipelines (#32300) * Add a fix for the case when tokenizers are passed as a string * Support image processors and feature extractors as well * Reverting load_feature_extractor and load_image_processor * Add test * Test is torch-only * Add tests for preprocessors a...
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -904,7 +904,11 @@ def pipeline(\n \n model_config = model.config\n hub_kwargs[\"_commit_hash\"] = model.config._commit_hash\n- load_tokenizer = type(model_config) in TOKENIZER_MAPPING or model_config.tokenizer_class is not None\n+ ...
2024-08-27T13:39:57
vercel/next.js
e3181c2d7798d801ac849aab02994932f76a8923
ad75204b34692efa24b4a10d74dd7964a2c10397
Export URLPattern from next/server (#39219) This commit allows the users to import URLPattern from `next/server`, by defining a key that uses `global.URLPattern`. Why is this any good? or: why don't we add URLPattern to the global namespace? URLPattern is exposed as global on Edge Runtime _only_. This means that if ...
[ { "path": "package.json", "patch": "@@ -56,7 +56,7 @@\n \"@babel/plugin-proposal-object-rest-spread\": \"7.14.7\",\n \"@babel/preset-flow\": \"7.14.5\",\n \"@babel/preset-react\": \"7.14.5\",\n- \"@edge-runtime/jest-environment\": \"1.1.0-beta.23\",\n+ \"@edge-runtime/jest-environment\": \...
2022-08-02T02:04:08
golang/go
9ab3d854ad95d06f5dd0874050ee57dd63c5a746
bb5aa2b664331087d3230732cb0d11c8e87b9e98
[dev.regabi] cmd/compile: avoid general traversal in deadcode deadcode is trying to walk the statements it can find, but it can sweep in other nodes too. Stop doing that: only walk known statements containing statements. Otherwise, if we put panics in expression accessors that shouldn't be used anymore, deadcode can ...
[ { "path": "src/cmd/compile/internal/gc/typecheck.go", "patch": "@@ -3860,9 +3860,24 @@ func deadcodeslice(nn *ir.Nodes) {\n \t\t}\n \n \t\tdeadcodeslice(n.PtrInit())\n-\t\tdeadcodeslice(n.PtrBody())\n-\t\tdeadcodeslice(n.PtrList())\n-\t\tdeadcodeslice(n.PtrRlist())\n+\t\tswitch n.Op() {\n+\t\tcase ir.OBLOCK...
2020-12-04T04:56:16
ollama/ollama
369479cc3068b5f2b28cdc766de3c27cff7e2f7b
7d89e48f5c1a8e719d5b8d154151c39685f50919
docs: fix spelling error (#6391) change "dorrect" to "correct"
[ { "path": "CONTRIBUTING.md", "patch": "@@ -18,7 +18,7 @@ See the [development documentation](./docs/development.md) for instructions on h\n \n * New features: new features (e.g. API fields, environment variables) add surface area to Ollama and make it harder to maintain in the long run as they cannot be rem...
2024-09-04T13:42:33
huggingface/transformers
834ec7b1ccf9b82905d5803aca41e1744849dae7
d1f39c484d8347aa7b3170ea250a1e8f3bdfdf31
fix Idefics2VisionConfig type annotation (#33103) * fix Idefics2VisionConfig type annotation * Update modeling_idefics2.py * Update modeling_idefics2.py add ignore copy * Update modeling_idefics2.py * Update modeling_idefics2.py
[ { "path": "src/transformers/models/idefics2/modeling_idefics2.py", "patch": "@@ -435,7 +435,7 @@ def forward(self, hidden_state):\n \n \n class Idefics2EncoderLayer(nn.Module):\n- def __init__(self, config: Idefics2Config):\n+ def __init__(self, config: Idefics2VisionConfig):\n super().__init_...
2024-08-27T12:43:28
nodejs/node
7969811a88a5f0a33c51ffe4078a9ec28a19906d
bcb01de515216699ec5ffa2471b98953ec1b2098
test: replace assert.throws with expectsError PR-URL: https://github.com/nodejs/node/pull/17997 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-http-response-statuscode.js", "patch": "@@ -8,14 +8,13 @@ const MAX_REQUESTS = 13;\n let reqNum = 0;\n \n function test(res, header, code) {\n- const errRegExp = common.expectsError({\n+ common.expectsError(() => {\n+ res.writeHead(header);\n+ }, {\n code: 'ERR_HTTP_I...
2018-01-05T07:43:51
golang/go
478bde3a4388997924a02ee9296864866d8ba3ba
5d4569197eeef42862b8ea87a7e8ccda1cd061a0
io/fs: add Sub Sub provides a convenient way to refer to a subdirectory automatically in future operations, like Unix's chdir(2). The CL also includes updates to fstest to check Sub implementations. As part of updating fstest, I changed the meaning of TestFS's expected list to introduce a special case: if you list n...
[ { "path": "doc/go1.16.html", "patch": "@@ -384,7 +384,7 @@ <h3 id=\"fs\">File Systems</h3>\n the new <a href=\"/pkg/embed/#FS\">embed.FS</code></a> type\n implements <code>fs.FS</code>, as does\n <a href=\"/pkg/archive/zip/#Reader\"><code>zip.Reader</code></a>.\n- The new <a href=\"/pkg/os/#Dir\"><co...
2020-12-02T17:49:20
vercel/next.js
7c0a504a168ff41b30e88cb4b6edd89c33f59d02
d56aadae5ba5e62be8b2e5255e59ed94804eea7d
Handle assetPrefix in app (#39236) This ensures we properly leverage the `assetPrefix` for `app`. Note for reviewing the test changes are mostly spacing so hiding that may help. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contr...
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -33,7 +33,8 @@ self.__next_require__ = __webpack_require__\n ;(self as any).__next_chunk_load__ = (chunk: string) => {\n if (!chunk) return Promise.resolve()\n if (chunk.endsWith('.css')) {\n- const chunkPath = `/_next/${chunk}`\n+ // @t...
2022-08-01T22:34:23
ollama/ollama
037a4d103edff143db2f82e1feb8b5b80afea6f1
50c05d57e0100625ee5bdd4ba9accec7f4536005
Log system memory at info (#6617) On systems with low system memory, we can hit allocation failures that are difficult to diagnose without debug logs. This will make it easier to spot.
[ { "path": "llm/server.go", "patch": "@@ -98,7 +98,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\tsystemTotalMemory = systemMemInfo.TotalMemory\n \t\tsystemFreeMemory = systemMemInfo.FreeMemory\n \t\tsystemSwapFreeMemory = systemMemInfo.FreeSwap\n-\t\tslog.Debug(\...
2024-09-03T21:55:20
huggingface/transformers
d1f39c484d8347aa7b3170ea250a1e8f3bdfdf31
6f0ecf1049a13231653e47d386040cb3e1b4ddd0
Update stateful_callbacks state before saving checkpoint (#32115) * update ExportableState callbacks state before saving trainer_state on save_checkpoint * run make fixup and fix format * manage multiple stateful callbacks of same class
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2979,8 +2979,16 @@ def _save_checkpoint(self, model, trial, metrics=None):\n \n # Save the Trainer state\n if self.args.should_save:\n- # Update the `TrainerControl` state to where we are currently\n- self.state.sta...
2024-08-27T12:33:35
rust-lang/rust
3d42541313c98e2570672a008117ed8f2fbd81e8
ecade534c66478c51c5d3c1d3682dc4beb0ac972
Fix the OperandRef type for NullOp::{UbChecks,ContractChecks}
[ { "path": "compiler/rustc_codegen_ssa/src/mir/rvalue.rs", "patch": "@@ -747,7 +747,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {\n let tcx = self.cx.tcx();\n OperandRef {\n val: OperandValue::Immediate(val),\n- ...
2025-03-16T02:33:30
nodejs/node
bcb01de515216699ec5ffa2471b98953ec1b2098
a02fcd2716b6d35123396e1fe73ef2439fa1192a
doc: fix incorrect argument type in fs.readSync The `buffer` argument must be either Buffer or Uint8Array, string values are not supported. PR-URL: https://github.com/nodejs/node/pull/18022 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Tobias Nießen <tni...
[ { "path": "doc/api/fs.md", "patch": "@@ -2351,7 +2351,7 @@ changes:\n -->\n \n * `fd` {integer}\n-* `buffer` {string|Buffer|Uint8Array}\n+* `buffer` {Buffer|Uint8Array}\n * `offset` {integer}\n * `length` {integer}\n * `position` {integer}", "additions": 1, "deletions": 1, "language": "Markdown"...
2018-01-06T23:46:59
golang/go
5d4569197eeef42862b8ea87a7e8ccda1cd061a0
21cfadf0dc1e93c339e319c502f14ee42973c44d
cmd/go/internal/modload: fix minor errors in comments Change-Id: I38848e7bcd5dfa9f7feb415e1c54921768bf1ab8 Reviewed-on: https://go-review.googlesource.com/c/go/+/275295 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay C...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -61,8 +61,8 @@ package modload\n // Similarly, if the LoadTests flag is set but the \"all\" pattern does not close\n // over test dependencies, then when we load the test of a package that is in\n // \"all\" but outside the main module, the depen...
2020-12-03T21:14:07
vercel/next.js
d56aadae5ba5e62be8b2e5255e59ed94804eea7d
cbaaaeb0766a5d571e63dda2a779ceaf9cdf4e05
Update tests to use random directory (#39230) This PR fixes an issue where tests fail because the generated tmp directory already exists. This is likely caused from two tmp dirs being generated in the same millisecond. ``` Failed to create next instance [Error: EEXIST: file already exists, mkdir '/tmp/next-repo-16593...
[ { "path": "test/lib/create-next-install.js", "patch": "@@ -3,6 +3,7 @@ const path = require('path')\n const execa = require('execa')\n const fs = require('fs-extra')\n const childProcess = require('child_process')\n+const { randomBytes } = require('crypto')\n const { linkPackages } =\n require('../../.git...
2022-08-01T19:05:48
huggingface/transformers
6f0ecf1049a13231653e47d386040cb3e1b4ddd0
892d51caee8da7f343b0bc8b1f13e4469c153a42
[docs] add quick usage snippet to Whisper. (#31289) * [docs] add quick usage snippet to Whisper. * Apply suggestions from review. * 💉 Fix the device for pipeline.
[ { "path": "docs/source/en/model_doc/whisper.md", "patch": "@@ -27,6 +27,27 @@ The abstract from the paper is the following:\n This model was contributed by [Arthur Zucker](https://huggingface.co/ArthurZ). The Tensorflow version of this model was contributed by [amyeroberts](https://huggingface.co/amyerobert...
2024-08-27T12:11:52
ollama/ollama
94fff5805fecd25287e1a21ac9910859011adcff
14d5093cd02373f11ed138241e3e2eedf349824b
Fix sprintf to snprintf (#5664) /Users/au/src/ollama/llm/ext_server/server.cpp:289:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.
[ { "path": "llm/ext_server/server.cpp", "patch": "@@ -262,7 +262,7 @@ struct server_slot {\n char buffer[512];\n double t_token = t_prompt_processing / n_prompt_tokens_processed;\n double n_tokens_second = 1e3 / t_prompt_processing * n_prompt_tokens_processed;\n- sprintf(buffer,...
2024-09-03T16:32:59
nodejs/node
ececdd316766998ca3309ccb01f5618d44d0d91e
f3f3f8890c2e2364ca88f043e1ab675d72c370e6
perf_hooks: fix scheduling regression Scheduling a PerformanceGCCallback should not keep the loop alive but due to the recent switch to using the native SetImmediate method, it does. Go back to using uv_async_t and add a regression test. PR-URL: https://github.com/nodejs/node/pull/18051 Fixes: https://github.com/node...
[ { "path": "src/node_perf.cc", "patch": "@@ -182,8 +182,9 @@ void SetupPerformanceObservers(const FunctionCallbackInfo<Value>& args) {\n }\n \n // Creates a GC Performance Entry and passes it to observers\n-void PerformanceGCCallback(Environment* env, void* ptr) {\n- GCPerformanceEntry* entry = static_cast<...
2018-01-09T02:05:14
golang/go
37588ffcb221c12c12882b591a16243ae2799fd1
b67b7ddabcc8e1a4b5819f03d47777bf5ddedbcc
cmd/go, embed: exclude .* and _* from embedded directory trees Discussion on #42328 led to a decision to exclude files matching .* and _* from embedded directory results when embedding an entire directory tree. This CL implements that new behavior. Fixes #42328. Change-Id: I6188994e96348b3449c7d9d3d0d181cfbf2d4db1 ...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1998,6 +1998,16 @@ func (p *Package) resolveEmbed(patterns []string) (files []string, pmap map[stri\n \t\t\t\t\t\treturn err\n \t\t\t\t\t}\n \t\t\t\t\trel := filepath.ToSlash(path[len(p.Dir)+1:])\n+\t\t\t\t\tname := info.Name()\n+\t\t\t\t\tif path !...
2020-12-02T20:09:12
vercel/next.js
cbaaaeb0766a5d571e63dda2a779ceaf9cdf4e05
e9d23d709cdc0d64ad22277a4eb782c6261dd0fa
Add "fill" mode to `next/future/image` (#38855) This PR adds a `fill` attribute to the future image component, that behave similarly to the fill mode on the existing image component. Functionally, it mainly adds `position: "absolute"` and `object-fit: "contain"` to the image element, along with `height: "100%"` and `...
[ { "path": "docs/api-reference/next/future/image.md", "patch": "@@ -9,6 +9,7 @@ description: Try the latest Image Optimization with the experimental `next/futur\n \n | Version | Changes |\n | --------- | -------------------------------------------- |\n+| `v12.2.4` | Sup...
2022-08-01T18:21:36
ollama/ollama
5f7b4a5e3056d083997b744029c30614cd32397b
1aad838707227eaf1be92ff6dd2fd3a6662858c2
fix(cmd): show info may have nil ModelInfo (#6579)
[ { "path": "cmd/cmd.go", "patch": "@@ -726,14 +726,17 @@ func ShowHandler(cmd *cobra.Command, args []string) error {\n }\n \n func showInfo(resp *api.ShowResponse) {\n-\tarch := resp.ModelInfo[\"general.architecture\"].(string)\n-\n \tmodelData := [][]string{\n-\t\t{\"arch\", arch},\n \t\t{\"parameters\", re...
2024-09-01T04:12:17
nodejs/node
33039871c9ea941bb9a27e113739f6c628e4f3a8
6aac05bf47bcbd521c7d18771b367d0bc48450a0
http2: verify flood error and unsolicited frames * verify protections against ping and settings flooding * Strictly handle and verify handling of unsolicited ping and settings frame acks. PR-URL: https://github.com/nodejs/node/pull/17969 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anatoli Papirovs...
[ { "path": "src/node_http2.cc", "patch": "@@ -1305,8 +1305,24 @@ inline void Http2Session::HandlePingFrame(const nghttp2_frame* frame) {\n bool ack = frame->hd.flags & NGHTTP2_FLAG_ACK;\n if (ack) {\n Http2Ping* ping = PopPing();\n- if (ping != nullptr)\n+ if (ping != nullptr) {\n ping->D...
2018-01-03T21:34:45
golang/go
b67b7ddabcc8e1a4b5819f03d47777bf5ddedbcc
cc386bd05ad8076f1d7e5a4d9a13c1276fd26ac6
doc/go1.16: add reflect changes to release notes For #40700 Fixes #42911 Change-Id: I1bd729f72ae3a29d190ffc34a40c3d0b59ebbbb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/274474 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.16.html", "patch": "@@ -783,8 +783,10 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"reflect\"><dt><a href=\"/pkg/reflect/\">reflect</a></dt>\n <dd>\n- <p><!-- CL 248341 -->\n- TODO: <a href=\"https://golang.org/cl/248341\">https://golang.org...
2020-12-01T13:12:22
vercel/next.js
e9d23d709cdc0d64ad22277a4eb782c6261dd0fa
582cb3766d683501076cd480915bd05ff7f04b7e
fix: react dev bundle is picked in prod mode (#39221) When we detect if `reactRoot` rendering should be enabled we `require` the require to check the version. But at that time the `NODE_ENV` isn't set yet. Then the react dev build stays in the `require.cache` that any future require of react will get the wrong build. ...
[ { "path": "packages/next/bin/next.ts", "patch": "@@ -2,7 +2,6 @@\n import * as log from '../build/output/log'\n import arg from 'next/dist/compiled/arg/index.js'\n import { NON_STANDARD_NODE_ENV } from '../lib/constants'\n-import { shouldUseReactRoot } from '../server/utils'\n ;['react', 'react-dom'].forEac...
2022-08-01T14:21:42
nodejs/node
acf56be536ee67e3696f3c2b097cfd176d3d76c6
46f783d74fd3c9a011b30870e11f2194e6d08af4
fs: guarantee order of callbacks in ws.close Refactor WriteStream.prototype.close and WriteStream.prototype._destroy to always call the callback passed to close in order. Protects from calling .close() without a callback. Fixes: https://github.com/nodejs/node/issues/17951 See: https://github.com/nodejs/node/pull/1540...
[ { "path": "lib/fs.js", "patch": "@@ -2348,6 +2348,7 @@ function ReadStream(path, options) {\n this.autoClose = options.autoClose === undefined ? true : options.autoClose;\n this.pos = undefined;\n this.bytesRead = 0;\n+ this.closed = false;\n \n if (this.start !== undefined) {\n if (typeof this...
2018-01-05T09:41:14
golang/go
cc386bd05ad8076f1d7e5a4d9a13c1276fd26ac6
2c2980aa0cde1a44789103981774e34a4c8a0f2d
doc/go1.16: fix broken <code> tag For #40700 Change-Id: I0083db494284d6142e1b8b981fca4ac30af2012a Reviewed-on: https://go-review.googlesource.com/c/go/+/275312 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Filippo Valsorda <filippo@golang.org>
[ { "path": "doc/go1.16.html", "patch": "@@ -287,7 +287,7 @@ <h2 id=\"runtime\">Runtime</h2>\n </p>\n \n <p><!-- CL 254659 -->\n- Setting the <code>GODEBUG<code> environment variable\n+ Setting the <code>GODEBUG</code> environment variable\n to <code>inittrace=1</code> now causes the runtime to emit a sin...
2020-12-04T00:09:13
vercel/next.js
582cb3766d683501076cd480915bd05ff7f04b7e
f0df2c274d562a05d93f6b8ae4eb9e4e7c623b21
Fix: only contain middleware in dev middleware manifest (#39217) x-ref #39199 The change in #39199 isn't correct. Middleware manifest should only contain middleware route, so that when router navigates, it only try to apply middleware instead of checking all edge routes. This PR also changes the middleware manifest g...
[ { "path": "packages/next/client/page-loader.ts", "patch": "@@ -11,7 +11,7 @@ import { createRouteLoader, getClientBuildManifest } from './route-loader'\n \n declare global {\n interface Window {\n- __DEV_MIDDLEWARE_MANIFEST?: [location: string, isSSR: boolean][]\n+ __DEV_MIDDLEWARE_MANIFEST?: { loca...
2022-08-01T13:23:24
huggingface/transformers
ab0ac3b98f3d7a607270c0842f1c654b40579db0
3806faa1713196738aa145ea0c7745746aacbabd
CI: fix `efficientnet` pipeline timeout and prevent future similar issues due to large image size (#33123) * fix param not being passed in tested; add exceptions * better source of model name * Update utils/create_dummy_models.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> -...
[ { "path": "tests/models/efficientnet/test_modeling_efficientnet.py", "patch": "@@ -83,6 +83,7 @@ def prepare_config_and_inputs(self):\n \n def get_config(self):\n return EfficientNetConfig(\n+ image_size=self.image_size,\n num_channels=self.num_channels,\n kern...
2024-08-27T10:58:27
nodejs/node
b396c4db6679d4cb5a0c4860697b75d779d3b7a7
15016f227b371c85dc74c0ad3d773ce9814fdfb3
test: fix flaky test-http-pipeline-flood PR-URL: https://github.com/nodejs/node/pull/17955 Refs: https://github.com/nodejs/node/issues/16317 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http-pipeline-flood.js", "patch": "@@ -56,9 +56,9 @@ function parent() {\n server.close();\n }));\n \n- server.setTimeout(200, common.mustCall(function() {\n+ server.setTimeout(200, common.mustCallAtLeast(function() {\n child.kill();\n- }));\n+ }, 1)...
2018-01-03T02:44:28
vercel/next.js
f0df2c274d562a05d93f6b8ae4eb9e4e7c623b21
0c734543a6596d803a408097bfd599276656d452
Replaces getStaticProps with getStaticPaths (#39218) In `Generating paths on-demand` section It was mentioned that `getStaticProps` allows you to control which pages are generated during the build. But `getStaticPaths` will allows us to control which pages are generated during the build. ## Bug - [ ] Related is...
[ { "path": "docs/basic-features/data-fetching/get-static-paths.md", "patch": "@@ -68,7 +68,7 @@ In development (`next dev`), `getStaticPaths` will be called on every request.\n \n ## Generating paths on-demand\n \n-`getStaticProps` allows you to control which pages are generated during the build instead of o...
2022-08-01T12:48:06
ollama/ollama
e4d0a9c325137b684d9c0bb02694e8f10197314a
7416ced70f02f18f353d4025b817148d04867a3f
fix(test): do not clobber models directory
[ { "path": "server/model_test.go", "patch": "@@ -139,6 +139,7 @@ The temperature in San Francisco, CA is 70°F and in Toronto, Canada is 20°C.`,\n \n func TestParseFromFileFromLayer(t *testing.T) {\n \ttempModels := t.TempDir()\n+\tt.Setenv(\"OLLAMA_MODELS\", tempModels)\n \n \tfile, err := os.CreateTemp(temp...
2024-08-28T21:07:48
huggingface/transformers
7562366d4be98152059e9f8e923bfb1bad600cb5
3bf6dd8aa141ff6bebd579649e9d0ba8bf5d03db
fix: multilingual midel convert to tflite get wrong token (#32079) * fix: multilingual midel convert to tflite get wrong token * fix: modify test_force_tokens_logits_processor the checking value as scores.dtype.min --------- Co-authored-by: kent.sc.hung <kent.sc.hung@benq.com> Co-authored-by: Aya <[kent83121...
[ { "path": "src/transformers/generation/tf_logits_process.py", "patch": "@@ -581,7 +581,7 @@ def _force_token(generation_idx):\n batch_size = scores.shape[0]\n current_token = self.force_token_array[generation_idx]\n \n- new_scores = tf.ones_like(scores, dtype=scores.dtype)...
2024-08-27T09:44:09
golang/go
84cb51d7d7a936d56d6287ca075dd578097499a9
351bc2f38c4291c01299c2add16f1f5a96e54bb4
[dev.regabi] cmd/compile: eliminate more SetOrig This CL consolidates and cleans up fmt.go's logic for skipping past Nodes introduced during typechecking. This allows eliminating SetOrig on ConvExpr and Name. Also changes ConstExpr.SetOrig to a panic for good measure. The only remaining SetOrig uses now are for rewri...
[ { "path": "src/cmd/compile/internal/gc/subr.go", "patch": "@@ -523,7 +523,6 @@ func assignconvfn(n ir.Node, t *types.Type, context func() string) ir.Node {\n \tr.SetType(t)\n \tr.SetTypecheck(1)\n \tr.SetImplicit(true)\n-\tr.(ir.OrigNode).SetOrig(ir.Orig(n))\n \treturn r\n }\n ", "additions": 0, "de...
2020-12-03T19:56:29
nodejs/node
15016f227b371c85dc74c0ad3d773ce9814fdfb3
29d99c1885cc99c955543df33b9f43d48158fc0d
test: add more asserts to `test-internal-errors` PR-URL: https://github.com/nodejs/node/pull/13686 Fixes: https://github.com/nodejs/node/issues/13682 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "test/parallel/test-internal-errors.js", "patch": "@@ -187,6 +187,7 @@ common.expectsError(() => {\n message: /^Error for testing 2/ });\n }, {\n code: 'ERR_ASSERTION',\n+ type: assert.AssertionError,\n message: /.+ does not match \\S/\n });\n \n@@ -237,6 +238,7 @@ common.expectsError(...
2017-06-19T19:24:04
huggingface/transformers
3bf6dd8aa141ff6bebd579649e9d0ba8bf5d03db
9578c2597e2d88b6f0b304b5a05864fd613ddcc1
fix: Fixed CodeGenTokenizationTest::test_truncation failing test (#32850) * Fixed failing CodeGenTokenizationTest::test_truncation. * [run_slow] Codegen * [run_slow] codegen
[ { "path": "tests/models/codegen/test_tokenization_codegen.py", "patch": "@@ -254,12 +254,12 @@ def test_truncation(self):\n tokenizer = CodeGenTokenizer.from_pretrained(\"Salesforce/codegen-350M-mono\")\n \n text = \"\\nif len_a > len_b:\\n result = a\\nelse:\\n result = b\\n\\n\\n\\n#...
2024-08-27T07:20:59
vercel/next.js
de6fc1cf359b94f4133909b3b86dd1910b8435f9
e42c88d8a9a2a6d9dd49d9a8db05c96069fe15be
fix: Update testing.md (#39195) Update `e2e/example.spec.ts` ([/docs/testing](https://nextjs.org/docs/testing#creating-your-first-playwright-end-to-end-test) page) to fix the failed test. Fixes: #39194 ## Bug - [ ] Related issues linked using fixes #number - [ ] Integration tests added - [ ] Errors have helpful lin...
[ { "path": "docs/testing.md", "patch": "@@ -213,7 +213,7 @@ test('should navigate to the about page', async ({ page }) => {\n // Start from the index page (the baseURL is set via the webServer in the playwright.config.ts)\n await page.goto('http://localhost:3000/')\n // Find an element with the text 'A...
2022-07-31T15:30:38
ollama/ollama
6c1c1ad6a90e8fe23d63d2c431745e48e3fe9d81
93ea9240aee8a51b0fe455fdddedec2046438f95
throw an error when encountering unsupport tensor sizes (#6538)
[ { "path": "convert/convert_test.go", "patch": "@@ -140,6 +140,107 @@ func TestConvertFull(t *testing.T) {\n \t}\n }\n \n+func TestConvertInvalidDatatype(t *testing.T) {\n+\tf, err := os.CreateTemp(t.TempDir(), \"testmodel\")\n+\tif err != nil {\n+\t\tt.Fatal(err)\n+\t}\n+\tdefer f.Close()\n+\n+\ttempDir := ...
2024-08-28T00:54:04
golang/go
2c2980aa0cde1a44789103981774e34a4c8a0f2d
37a32a1833a6e55baaa8d971406094148e42f7d1
doc/go1.16: pre-announce GODEBUG=x509ignoreCN=0 removal in Go 1.17 For #40700 Updates #24151 Change-Id: Id63dcaad238f7534bfce8902b8cb3efd8db5942d Reviewed-on: https://go-review.googlesource.com/c/go/+/266539 Trust: Filippo Valsorda <filippo@golang.org> Trust: Katie Hockman <katie@golang.org> Reviewed-by: Katie Hockma...
[ { "path": "doc/go1.16.html", "patch": "@@ -501,6 +501,13 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"crypto/x509\"><dt><a href=\"/pkg/crypto/x509/\">crypto/x509</a></dt>\n <dd>\n+ <p>\n+ The <code>GODEBUG=x509ignoreCN=0</code> flag will be removed in Go 1.17...
2020-10-29T23:04:00
nodejs/node
29d99c1885cc99c955543df33b9f43d48158fc0d
f26cabbe249ae6e095736ef65bd925fb82c4908c
test: fix common.expectsError The function should strictly test for the error class and only accept the correct one. Any other error class should fail. PR-URL: https://github.com/nodejs/node/pull/13686 Fixes: https://github.com/nodejs/node/issues/13682 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Micha...
[ { "path": "test/common/index.js", "patch": "@@ -744,6 +744,11 @@ exports.expectsError = function expectsError(fn, settings, exact) {\n }\n assert(error instanceof type,\n `${error.name} is not instance of ${type.name}`);\n+ let typeName = error.constructor.name;\n+ if (typ...
2017-06-14T19:47:19
huggingface/transformers
9578c2597e2d88b6f0b304b5a05864fd613ddcc1
26f043bd4dd09c985f8852770fa4b3762f56ae6d
Fixup py 38 type hints for mps friendly (#33128) Fixup py 38
[ { "path": "src/transformers/pytorch_utils.py", "patch": "@@ -11,6 +11,8 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+from __future__ import annotations\n+\n import ...
2024-08-26T16:27:39
vercel/next.js
e42c88d8a9a2a6d9dd49d9a8db05c96069fe15be
97ab23fb6f05c4b44c2a14102b2b141ca3ec2e2e
Fix missing edge routes in dev middleware manifest (#39199) ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
[ { "path": "packages/next/server/dev/next-dev-server.ts", "patch": "@@ -282,12 +282,11 @@ export default class DevServer extends Server {\n wp.watch(files, directories, 0)\n \n wp.on('aggregated', async () => {\n- const routedMiddleware: string[] = []\n let middlewareMatcher: RegEx...
2022-07-31T15:20:32
ollama/ollama
1713eddcd05e4c234108511f6fc1470c383e21b2
4e1c4f6e0bfc7b0feabe08d7aa4bf92f444fbe66
Fix import image width (#6528)
[ { "path": "docs/import.md", "patch": "@@ -5,7 +5,7 @@\n * [Importing a Safetensors adapter](#Importing-a-fine-tuned-adapter-from-Safetensors-weights)\n * [Importing a Safetensors model](#Importing-a-model-from-Safetensors-weights)\n * [Importing a GGUF file](#Importing-a-GGUF-based-model-or-adapter)\n...
2024-08-27T21:19:47
huggingface/transformers
26f043bd4dd09c985f8852770fa4b3762f56ae6d
356277296956069bdc764b06ee2ccc54c11284f9
quickfix documentation (#32566) * fix documentation * update config
[ { "path": "docs/source/en/model_doc/mamba2.md", "patch": "@@ -39,11 +39,11 @@ The original code can be found [here](https://github.com/state-spaces/mamba).\n \n ### A simple generation example: \n ```python \n-from transformers import MambaConfig, MambaForCausalLM, AutoTokenizer\n+from transformers import M...
2024-08-26T15:49:44
golang/go
9ff27e9fad185338b09141886b1041b82478b2d6
7a1aa7dfaf9a7208a6cae7518037d885c9fabdbd
[dev.typeparams] test: run all errorcheck tests that pass compiler with -G flag Replace existing ad-hoc file exclusion mechanism with list of excluded files; i.e., files for which the compiler with -G option doesn't produce matching error messages yet. Remove -G option since we now always run all passing tests. Chan...
[ { "path": "test/run.go", "patch": "@@ -39,7 +39,6 @@ var (\n \trunSkips = flag.Bool(\"run_skips\", false, \"run skipped tests (ignore skip and build tags)\")\n \tlinkshared = flag.Bool(\"linkshared\", false, \"\")\n \tupdateErrors = flag.Bool(\"update_errors\", false, \"update error messages in ...
2020-12-03T19:11:05
nodejs/node
f26cabbe249ae6e095736ef65bd925fb82c4908c
22760f31be7f725c217f87b8a5244ff3179f54d6
test: fix wrong error classes passed in as type PR-URL: https://github.com/nodejs/node/pull/13686 Fixes: https://github.com/nodejs/node/issues/13682 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "test/parallel/test-crypto-sign-verify.js", "patch": "@@ -36,7 +36,7 @@ common.expectsError(\n }, ''),\n {\n code: 'ERR_INVALID_OPT_VALUE',\n- type: Error,\n+ type: TypeError,\n message: 'The value \"undefined\" is invalid for option \"padding\"'\n });\n \n@@ -47,7 +47,7 @@ com...
2017-12-11T05:56:41
vercel/next.js
9a1b756defbdc735a136504aae7fa1a6212eefb4
dce8c0ce9d2af48ae29489dab7d052ff79acd357
refactor: simplify middleware execution (#39192) * refactor: simplify middleware execution * remove ssr prop from RoutingItem * fix build
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -87,7 +87,6 @@ export type FindComponentsResult = {\n export interface RoutingItem {\n page: string\n match: RouteMatch\n- ssr?: boolean\n re?: RegExp\n }\n ", "additions": 0, "deletions": 1, "language": "Unknown" }, { ...
2022-07-30T21:45:58
ollama/ollama
397cae79620e09220f4207beadd523ce1ae7cbd5
1c70a00f716ed61c5b0a9e0f2a01876de0fc54d0
llm: fix typo in comment (#6530)
[ { "path": "llm/server.go", "patch": "@@ -409,7 +409,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\t}\n \n \t\tif err = s.cmd.Start(); err != nil {\n-\t\t\t// Detect permission denied and augment them essage about noexec\n+\t\t\t// Detect permission denied and aug...
2024-08-27T20:28:29
huggingface/transformers
356277296956069bdc764b06ee2ccc54c11284f9
a378a54a5738bebebcfc91e1e005975af668daf2
fix: Fixed `pydantic` required version in dockerfiles to make it compatible with DeepSpeed (#33105) Fixed pydantic required version in dockerfiles.
[ { "path": "docker/transformers-pytorch-deepspeed-amd-gpu/Dockerfile", "patch": "@@ -22,7 +22,7 @@ RUN apt update && \\\n apt clean && \\\n rm -rf /var/lib/apt/lists/*\n \n-RUN python3 -m pip install --no-cache-dir --upgrade pip ninja \"pydantic<2\"\n+RUN python3 -m pip install --no-cache-dir --upgra...
2024-08-26T15:10:36
golang/go
37a32a1833a6e55baaa8d971406094148e42f7d1
b78b427be5e4c8a51a2b01b39c1ce6c4f39a93dc
cmd/compile: make sure address of offset(SP) is rematerializeable An address of offset(SP) may point to the callee args area, and may be used to move things into/out of the args/results. If an address like that is spilled and picked up by the GC, it may hold an arg/result live in the callee, which may not actually be ...
[ { "path": "src/cmd/compile/internal/ssa/gen/386.rules", "patch": "@@ -531,6 +531,7 @@\n // fold ADDL into LEAL\n (ADDLconst [c] (LEAL [d] {s} x)) && is32Bit(int64(c)+int64(d)) => (LEAL [c+d] {s} x)\n (LEAL [c] {s} (ADDLconst [d] x)) && is32Bit(int64(c)+int64(d)) => (LEAL [c+d] {s} x)\n+(ADDLconst [c] x:(SP)...
2020-12-03T18:32:11
nodejs/node
33123b97107b5e93846b01b96f535cbc39dc4d81
882e7ef354fd1d11f87c96648fd4b81613d788af
doc: grammar fixes in http2.md PR-URL: https://github.com/nodejs/node/pull/17972 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By:...
[ { "path": "doc/api/http2.md", "patch": "@@ -166,7 +166,7 @@ When invoked, the handler function will receive three arguments:\n \n If the `'frameError'` event is associated with a stream, the stream will be\n closed and destroyed immediately following the `'frameError'` event. If the\n-event is not associate...
2018-01-04T00:39:46
vercel/next.js
dce8c0ce9d2af48ae29489dab7d052ff79acd357
960693b9203cfbafb7db4786ee647efd3eeabd92
fix(#11930): rewritten api routes can correctly handle cors in dev mode (#38937) * fix(#11930): rewritten api routes can correctly handle cors in dev mode * test that request matches hot reloader middleware instead of api https://github.com/vercel/next.js/pull/38937#pullrequestreview-1055957698 * remove unnecess...
[ { "path": "packages/next/server/dev/hot-reloader.ts", "patch": "@@ -17,7 +17,7 @@ import {\n import { watchCompilers } from '../../build/output'\n import * as Log from '../../build/output/log'\n import getBaseWebpackConfig from '../../build/webpack-config'\n-import { API_ROUTE, APP_DIR_ALIAS } from '../../l...
2022-07-30T02:39:43
huggingface/transformers
a378a54a5738bebebcfc91e1e005975af668daf2
72d4a3f9c159685baae2274392562c9db97f4b64
Add changes for uroman package to handle non-Roman characters (#32404) * Add changes for uroman package to handle non-Roman characters * Update docs for uroman changes * Modifying error message to warning, for backward compatibility * Update instruction for user to install uroman * Update docs for uroman p...
[ { "path": "docs/source/en/model_doc/vits.md", "patch": "@@ -93,12 +93,33 @@ from transformers import VitsTokenizer\n tokenizer = VitsTokenizer.from_pretrained(\"facebook/mms-tts-eng\")\n print(tokenizer.is_uroman)\n ```\n+If the is_uroman attribute is `True`, the tokenizer will automatically apply the `urom...
2024-08-26T15:07:01
nodejs/node
882e7ef354fd1d11f87c96648fd4b81613d788af
feaf6ac3dc923ed7b2fcaa3d44c62bf90674a128
http2: implement maxSessionMemory The maxSessionMemory is a cap for the amount of memory an Http2Session is permitted to consume. If exceeded, new `Http2Stream` sessions will be rejected with an `ENHANCE_YOUR_CALM` error and existing `Http2Stream` instances that are still receiving headers will be terminated with an `...
[ { "path": "doc/api/http2.md", "patch": "@@ -1633,6 +1633,15 @@ changes:\n * `options` {Object}\n * `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size\n for deflating header fields. **Default:** `4Kib`\n+ * `maxSessionMemory`{number} Sets the maximum memory that the `Http2Sessio...
2018-01-03T19:15:57
golang/go
b78b427be5e4c8a51a2b01b39c1ce6c4f39a93dc
b635e4b808bf45ebd66e9f687e18b9af6bd634c1
runtime, time: strictly enforce when, period constraints timer.when must always be positive. addtimer and modtimer already check that it is non-negative; we expand it to include zero. Also upgrade from pinning bad values to throwing, as these values shouldn't be possible to pass (except as below). timeSleep may overf...
[ { "path": "src/runtime/time.go", "patch": "@@ -187,6 +187,9 @@ func timeSleep(ns int64) {\n \tt.f = goroutineReady\n \tt.arg = gp\n \tt.nextwhen = nanotime() + ns\n+\tif t.nextwhen < 0 { // check for overflow.\n+\t\tt.nextwhen = maxWhen\n+\t}\n \tgopark(resetForSleep, unsafe.Pointer(t), waitReasonSleep, tra...
2020-12-02T17:19:13
vercel/next.js
801acad17a8103be2338a4bba834b2c91a7e62e3
9fed522c42a2ef4d34fadfc5e337d7e0fc742683
Fix typo in with-docker-compose README (#39176) - [x] Simply fix a typo.
[ { "path": "examples/with-docker-compose/README.md", "patch": "@@ -2,7 +2,7 @@\n \n This example contains everything needed to get a Next.js development and production environment up and running with Docker Compose.\n \n-## Benfits of Docker Compose\n+## Benefits of Docker Compose\n \n - Develop locally with...
2022-07-29T20:00:18
nodejs/node
ec6ef6bd9aff2606454fbc2b1d2bc374a7a683b0
54e8f4835fb2e0601009691e2db433df55343d74
doc: fix code nits in common/README 1. Sync comments and code 2. Fix typos PR-URL: https://github.com/nodejs/node/pull/17971 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihr...
[ { "path": "test/common/README.md", "patch": "@@ -593,7 +593,7 @@ frame.\n // padlen is an 8-bit integer giving the number of padding bytes to include\n // final is a boolean indicating whether the End-of-stream flag should be set,\n // defaults to false.\n-const data = new http2.DataFrame(id, payload, padle...
2018-01-04T00:18:31
rust-lang/rust
dac0032613fe1f048bb5a326c448802c36b9a041
053e6c7c4ef1d692a0e540ac9e1b03c695ae8046
fix temporary value dropped while borrowed
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/test_db.rs", "patch": "@@ -281,8 +281,8 @@ impl TestDB {\n let editioned_file_id_wrapper =\n base_db::EditionedFileId::new(db.as_dyn_database(), position.file_id);\n \n- let root = db.parse(editioned_file_id_wrapper);\n- ...
2025-03-10T19:09:33
golang/go
b635e4b808bf45ebd66e9f687e18b9af6bd634c1
4eb7ceba067cf4f3851f2eaf63c9929386594adf
time, runtime: don't set timer when = 0 timer when == 0, in the context of timer0When and timerModifiedEarliest, is a sentinel value meaning there are no timers on the heap. TestCheckRuntimeTimerOverflow reaching into the runtime to set a timer to when = 0 when it is otherwise not possible breaks this invariant. Afte...
[ { "path": "src/runtime/time.go", "patch": "@@ -23,6 +23,8 @@ type timer struct {\n \t// Timer wakes up at when, and then at when+period, ... (period > 0 only)\n \t// each time calling f(arg, now) in the timer goroutine, so f must be\n \t// a well-behaved function and not block.\n+\t//\n+\t// when must be po...
2020-12-01T22:24:33
huggingface/transformers
19e6e80e10118f855137b90740936c0b11ac397f
8defc95df37cc5b22c43efd8962526d1d499e245
support qwen2-vl (#32318) * support-qwen2-vl * tidy * tidy * tidy * tidy * tidy * tidy * tidy * hyphen->underscore * make style * add-flash2-tipd * delete-tokenize=False * remove-image_processor-in-init-file * add-qwen2_vl-in-MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES * format-doct ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -514,6 +514,8 @@\n title: Qwen2Audio\n - local: model_doc/qwen2_moe\n title: Qwen2MoE\n+ - local: model_doc/qwen2_vl\n+ title: Qwen2VL\n - local: model_doc/rag\n title: RAG\n - local: model_doc/realm"...
2024-08-26T13:16:44
vercel/next.js
9fed522c42a2ef4d34fadfc5e337d7e0fc742683
860c0281b185d3b7dd2765e322ef982ef3411b65
Fix default error style overrides (#39169)
[ { "path": "packages/next/pages/_error.tsx", "patch": "@@ -119,16 +119,17 @@ const styles: { [k: string]: React.CSSProperties } = {\n display: 'inline-block',\n margin: 0,\n marginRight: '20px',\n- padding: '10px 23px 10px 0',\n+ padding: '0 23px 0 0',\n fontSize: '24px',\n fontWeig...
2022-07-29T18:09:41
ollama/ollama
69be940bf6d2816f61c79facfa336183bc882720
9638c24c58ac85fc5223190e25ed4627ba979473
gpu: Group GPU Library sets by variant (#6483) The recent cuda variant changes uncovered a bug in ByLibrary which failed to group by common variant for GPU types.
[ { "path": "gpu/gpu_test.go", "patch": "@@ -32,4 +32,29 @@ func TestCPUMemInfo(t *testing.T) {\n \t}\n }\n \n+func TestByLibrary(t *testing.T) {\n+\ttype testCase struct {\n+\t\tinput []GpuInfo\n+\t\texpect int\n+\t}\n+\n+\ttestCases := map[string]*testCase{\n+\t\t\"empty\": {input: []Gpu...
2024-08-23T22:11:56
rust-lang/rust
edb25788a075011142eec177354e887717c20d79
b5b7a54e95f6a9220008f6e2cb95e2d03fe97e1c
fix clippy::doc_overindented_list_items
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/project_json.rs", "patch": "@@ -85,8 +85,7 @@ impl ProjectJson {\n ///\n /// * `manifest` - The path to the `rust-project.json`.\n /// * `base` - The path to the workspace root (i.e. the folder containing `rust-project.json`)\n- /// ...
2025-03-10T11:41:59
huggingface/transformers
e3a5f35cd590f87fdc37e1f55ddce5d77534305c
1dbd9d3693a3c58c31415670dd1795e7cfbebcb2
added doctring to SchedulerType class (#32898) * added doctring to SchedulerType class * Remove trailing whitespace src/transformers/trainer_utils.py Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * fixup --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.git...
[ { "path": "src/transformers/trainer_utils.py", "patch": "@@ -411,6 +411,22 @@ def speed_metrics(split, start_time, num_samples=None, num_steps=None, num_token\n \n \n class SchedulerType(ExplicitEnum):\n+ \"\"\"\n+ Scheduler names for the parameter `lr_scheduler_type` in [`TrainingArguments`].\n+ B...
2024-08-23T16:15:25
golang/go
4eb7ceba067cf4f3851f2eaf63c9929386594adf
bacb307b80747deaf6a017f5b3cee4e3cb115f61
doc/go1.16: update runtime and compiler sections This resolves all TODOs for the runtime and compiler and mentions several other changes. For #40700. Fixes #42892. Fixes #42894. Change-Id: I18d14cfe572baf679ecf8b0a4e82c4b866da5a04 Reviewed-on: https://go-review.googlesource.com/c/go/+/275176 Trust: Austin Clements <...
[ { "path": "doc/go1.16.html", "patch": "@@ -286,6 +286,17 @@ <h2 id=\"runtime\">Runtime</h2>\n See the package documentation for more details.\n </p>\n \n+<p><!-- CL 254659 -->\n+ Setting the <code>GODEBUG<code> environment variable\n+ to <code>inittrace=1</code> now causes the runtime to emit a single\n...
2020-12-03T18:53:41
vercel/next.js
f68f48a1023d7185d392ea3c4224c3ee3a22b482
dc6093b3182a12b5c09bb58942083de725f7a748
fix benchmarks (#182) broke the path in #177
[ { "path": "crates/turbopack/benches/node_file_trace.rs", "patch": "@@ -22,11 +22,10 @@ pub fn benchmark(c: &mut Criterion) {\n let tests_root = PathBuf::from(env!(\"CARGO_MANIFEST_DIR\")).join(\"tests\");\n let tests_dir = tests_root.join(\"node-file-trace/integration\");\n \n- let results = fs::...
2022-07-29T17:49:40
ollama/ollama
7a1e1c1cafe4d3f3f935dc7192f9e66d4b2185b3
0b03b9c32f483be2d7a4e902d13a909b546ae6bf
gpu: Ensure driver version set before variant (#6480) During rebasing, the ordering was inverted causing the cuda version selection logic to break, with driver version being evaluated as zero incorrectly causing a downgrade to v11.
[ { "path": "gpu/gpu.go", "patch": "@@ -264,6 +264,8 @@ func GetGPUInfo() GpuInfoList {\n \t\t\t\tgpuInfo.computeMajor = int(memInfo.major)\n \t\t\t\tgpuInfo.computeMinor = int(memInfo.minor)\n \t\t\t\tgpuInfo.MinimumMemory = cudaMinimumMemory\n+\t\t\t\tgpuInfo.DriverMajor = driverMajor\n+\t\t\t\tgpuInfo.Driv...
2024-08-23T18:21:12
rust-lang/rust
b5b7a54e95f6a9220008f6e2cb95e2d03fe97e1c
87228245cf4e4ada84709b98e12f36db22b40a9e
cargo clippy --fix
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/item_tree/lower.rs", "patch": "@@ -932,7 +932,7 @@ impl<'a> Ctx<'a> {\n fn desugar_future_path(ctx: &mut LowerCtx<'_>, orig: TypeRefId) -> PathId {\n let path = path![core::future::Future];\n let mut generic_args: Vec<_> =\n- std::iter::re...
2025-03-10T11:41:51
huggingface/transformers
371b9c14863e01e880897feb93d68d72f1b0fe06
adb91179b9e867b7278e0130c87558974056c7b4
Enable some Jinja extensions and add datetime capabilities (#32684) * Add new Jinja features: - Do extension - Break/continue in loops - Call strftime to get current datetime in any format * Add new Jinja features: - Do extension - Break/continue in loops - Call strftime to get current datetime in any for...
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -27,7 +27,6 @@\n from collections.abc import Mapping, Sized\n from contextlib import contextmanager\n from dataclasses import dataclass\n-from functools import lru_cache\n from inspect import isfunction\n from typing import TYPE_CHECKING,...
2024-08-23T13:26:12
golang/go
bacb307b80747deaf6a017f5b3cee4e3cb115f61
7f5a3196c92c9fbe6d691d022202cbbda6e7a431
test: match gofrontend error messages fixedbugs/bug487.go:17:17: error: function result count mismatch fixedbugs/bug487.go:18:16: error: function result count mismatch fixedbugs/issue6977.go:37:26: error: duplicate method ‘m’ fixedbugs/issue6977.go:38:21: error: duplicate method ‘m’ fixedbugs/issue6977.go:39:26: erro...
[ { "path": "test/fixedbugs/bug487.go", "patch": "@@ -14,8 +14,8 @@ func G() (int, int, int) {\n }\n \n func F() {\n-\ta, b := G()\t// ERROR \"assignment mismatch\"\n-\ta, b = G()\t// ERROR \"assignment mismatch\"\n+\ta, b := G()\t// ERROR \"mismatch\"\n+\ta, b = G()\t// ERROR \"mismatch\"\n \t_, _ = a, b\n }...
2020-12-03T20:02:00
vercel/next.js
d12272a6fa373fbd1776a3437fd5bc89f86ee260
eb0e161f2e00556686b5288b3cc8f188276958bc
Fix incorrect component cache for middleware cases (#39159)
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -1763,7 +1763,6 @@ export default class Router implements BaseRouter {\n // If we have a match with the current route due to rewrite,\n // we can copy the existing information to the rewritten one.\n // Then, w...
2022-07-29T04:33:17
ollama/ollama
90ca84172c2a98ecfd76eb7e05cd3e33e1dde507
6bd8a4b0a1ac15d5718f52bbe1cd56f827beb694
Fix embeddings memory corruption (#6467) * Fix embeddings memory corruption The patch was leading to a buffer overrun corruption. Once removed though, parallism in server.cpp lead to hitting an assert due to slot/seq IDs being >= token count. To work around this, only use slot 0 for embeddings. * Fix embed i...
[ { "path": "integration/embed_test.go", "patch": "@@ -70,8 +70,8 @@ func TestAllMiniLMEmbed(t *testing.T) {\n \t\tt.Fatalf(\"expected 0.010071031, got %.8f\", res.Embeddings[0][0])\n \t}\n \n-\tif res.PromptEvalCount != 8 {\n-\t\tt.Fatalf(\"expected 8 prompt tokens, got %d\", res.PromptEvalCount)\n+\tif res....
2024-08-22T21:51:42
rust-lang/rust
b12d934cede0092b26d642f8fdcca80a44d6c563
845ca7b7acc596a15aeb2f373f62e9ec6a2718ec
Fix 2024 syntax errors
[ { "path": "src/tools/rust-analyzer/crates/hir-expand/src/builtin/derive_macro.rs", "patch": "@@ -117,7 +117,7 @@ impl VariantShape {\n quote! {span => #it : #mapped , }\n });\n quote! {span =>\n- #path { ##fields }\n+ ...
2025-03-10T11:37:43
huggingface/transformers
adb91179b9e867b7278e0130c87558974056c7b4
970a16ec7f693104085fd826523e5c6ce64f2040
Integrate Liger (Linkedin GPU Efficient Runtime) Kernel to Trainer (#32860) * add liger integration * fix syntax * fix import issue * add trainer.md * Use _apply_liger_kernel() * Fixed log message * Update docs/source/en/trainer.md Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.co...
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -382,6 +382,41 @@ trainer.train()\n \n Note layerwise optimization is a bit experimental and does not support DDP (Distributed Data Parallel), thus you can run the training script only on a single GPU. Please see [this appropriate section](https://github.c...
2024-08-23T11:20:49
golang/go
bdc9a837e914a3bd684ef3a24588b2627b1c6c04
9b0e8a2c95714e1ddaea8cddb7c37f67ff00144a
doc/go1.16: add path, path/filepath changes to release notes For #40700 Fixes #42910 Change-Id: Ie380f5a03930d20dd5001c4cc184cadf2db33de7 Reviewed-on: https://go-review.googlesource.com/c/go/+/274475 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/go1.16.html", "patch": "@@ -732,16 +732,24 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"path\"><dt><a href=\"/pkg/path/\">path</a></dt>\n <dd>\n- <p><!-- CL 264397 -->\n- TODO: <a href=\"https://golang.org/cl/264397\">https://golang.org/cl/2643...
2020-12-01T13:19:57
vercel/next.js
a154c15799345020efcf234e76dd5d9563bb48ff
c567d7d2daa9e7f24f966ecb27709032d967eaeb
Fix middleware + afterFiles SSG rewrite case (#39153)
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -1747,7 +1747,10 @@ export default class Router implements BaseRouter {\n route = removeTrailingSlash(data.effect.resolvedHref)\n pathname = data.effect.resolvedHref\n query = { ...query, ...data.effect.parsedAs.quer...
2022-07-29T01:23:18
huggingface/transformers
22e6f145259c4e9e156a3f846fad14b1cddfae4f
d806fa3e92289876e01ab19c9e19e9264ea1c1a1
Reducing memory usage: removing useless logits computation in generate() (#31292) * Add .float() in all generation methods logit outputs * Switch float-casting of logits to training only for main models * Add `num_logits_to_keep` in Llama and add it by default in generate * Apply style * Add num_logits_to_...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -119,6 +119,10 @@ def __init__(\n value.detach().to(device) if isinstance(value, torch.Tensor) else copy.deepcopy(value)\n )\n \n+ # Remove potential default \"num_logits_to_keep\" key\n+ ...
2024-08-23T10:08:34
nodejs/node
d964ffeec356167038b4060c867b355d5fea6987
a9e422eee2b32bfed38aa78845305aac06720712
buffer: check byteLength in readInt(B|L)E The 'byteLength' argument should be required and of type 'number'. It should have a value between 1 and 6. PR-URL: https://github.com/nodejs/node/pull/11146 Fixes: https://github.com/nodejs/node/issues/10515 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Ch...
[ { "path": "benchmark/buffers/buffer-read.js", "patch": "@@ -15,7 +15,9 @@ const types = [\n 'FloatLE',\n 'FloatBE',\n 'DoubleLE',\n- 'DoubleBE'\n+ 'DoubleBE',\n+ 'IntLE',\n+ 'IntBE',\n ];\n \n const bench = common.createBenchmark(main, {\n@@ -34,11 +36,19 @@ function main(conf) {\n const fn = `r...
2017-02-03T15:05:28
golang/go
b1369d5862bc78eaa902ae637c874e6a6133f1f9
dda2991c2ea0c5914714469c4defc2562a907230
math/big: remove the s390x assembly for shlVU and shrVU The s390x assembly for shlVU does a forward copy when the shift amount s is 0. This causes corruption of the result z when z is aliased to the input x. This fix removes the s390x assembly for both shlVU and shrVU so the pure go implementations will be used. Tes...
[ { "path": "src/math/big/arith_s390x.s", "patch": "@@ -693,199 +693,11 @@ returnC:\n \n // func shlVU(z, x []Word, s uint) (c Word)\n TEXT ·shlVU(SB), NOSPLIT, $0\n-\tMOVD z_len+8(FP), R5\n-\tMOVD $0, R0\n-\tSUB $1, R5 // n--\n-\tBLT X8b // n < 0 (n <= 0)\n-\n-\t// n > 0\n-\tMOV...
2020-12-02T15:44:10
rust-lang/rust
3bec5066bc1575a4ca0964439bb3874a037e65bc
6e926fd2160a925e11f5adea1fbbc4acc00c1e92
Do not error for actions with no data to resolve Same as the other resolve code handlers in the same file. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#version_3_17_0 does not forbid resolving with no data, so instead of erroring, just consider such items resolved already...
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/request.rs", "patch": "@@ -1480,7 +1480,7 @@ pub(crate) fn handle_code_action_resolve(\n ) -> anyhow::Result<lsp_ext::CodeAction> {\n let _p = tracing::info_span!(\"handle_code_action_resolve\").entered();\n let Some(params) = code...
2025-03-15T19:27:18
vercel/next.js
c567d7d2daa9e7f24f966ecb27709032d967eaeb
a08415be32f35f38f66669429eb4157ea32a9a74
Refactor Flight plugins to use types. (#39136) Cleans up both Flight plugins and leverages type inference more. - Rename plugin - Update name - Remove note on webpack5 - Add types for Flight manifest - Use webpack5 type and tapPromise - Remove any ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Inte...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -111,7 +111,7 @@ import {\n teardownTraceSubscriber,\n teardownCrashReporter,\n } from './swc'\n-import { injectedClientEntries } from './webpack/plugins/client-entry-plugin'\n+import { injectedClientEntries } from './webpack/plugins/flight-client-e...
2022-07-28T22:35:52
huggingface/transformers
d806fa3e92289876e01ab19c9e19e9264ea1c1a1
a26de151390f5cb029b2e39231c00ad4303b4347
docs: fix outdated link to TF32 explanation (#32947) fix outdated link
[ { "path": "src/transformers/training_args.py", "patch": "@@ -416,7 +416,7 @@ class TrainingArguments:\n tf32 (`bool`, *optional*):\n Whether to enable the TF32 mode, available in Ampere and newer GPU architectures. The default value depends\n on PyTorch's version default of `...
2024-08-22T20:28:00
nodejs/node
7914b7524d3679893dae3c03a2e9a3ca5a0c7235
fb6e980e1e3ad4ee48afeae4b567f00d50fc6630
cluster: support windowsHide option for workers Fixes: https://github.com/nodejs/node/issues/17370 PR-URL: https://github.com/nodejs/node/pull/17412 Fixes: https://github.com/nodejs/node/issues/17370 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridge...
[ { "path": "doc/api/cluster.md", "patch": "@@ -722,6 +722,8 @@ changes:\n This can be a number, or a function that takes no arguments and returns a\n number. By default each worker gets its own port, incremented from the\n master's `process.debugPort`.\n+ * `windowsHide` {boolean} Hide the forke...
2017-12-01T16:08:01
golang/go
7a1aa7dfaf9a7208a6cae7518037d885c9fabdbd
07d32c8183eb4f7d8d1d6185ea69b8fb0425f6a6
[dev.typeparams] test: adjust more test cases to match compiler -G output With this CL, the first ~500 errorcheck tests pass when running go run run.go -v -G in the $GOROOT/test directory (the log output includes a few dozen tests that are currently skipped). Change-Id: I9eaa2319fb39a090df54f8699ddc29ffe58b1bf1 Rev...
[ { "path": "test/chan/perm.go", "patch": "@@ -66,5 +66,5 @@ func main() {\n \tclose(c)\n \tclose(cs)\n \tclose(cr) // ERROR \"receive\"\n-\tclose(n) // ERROR \"invalid operation.*non-chan type\"\n+\tclose(n) // ERROR \"invalid operation.*non-chan type|not a channel\"\n }", "additions": 1, "deletion...
2020-12-02T01:37:12
vercel/next.js
e3efc030cdb2336f2c45739b7e7fcfc783f82586
a8186065b8eb30ef73d82075dbeb2a6fd94c2eaa
Ensure we hard navigate for failed _next/data with middleware (#39148) * Ensure we hard navigate for failed _next/data with middleware * fix-lint
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -481,7 +481,7 @@ function fetchNextData({\n return { dataHref, response, text, json: {} }\n }\n \n- if (response.status === 404) {\n+ if (!hasMiddleware && response.status === 404) {\n ...
2022-07-28T20:48:26
huggingface/transformers
09e6579d2d08040b34015556425d3f22f2460602
273c0afc8f0289e0cb5d18dc76ccc251504298e0
🌐 [i18n-KO] Translated `knowledge_distillation_for_image_classification.md to Korean" (#32334) * docs: ko: tasks/knowledge_distillation_for_image_classification.md * feat: nmt draft * fix: manual edits * Apply suggestions from code review Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr> * Ap...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -79,8 +79,8 @@\n title: 이미지 특징 추출\n - local: tasks/mask_generation\n title: 마스크 생성\n- - local: in_translation\n- title: (번역중) Knowledge Distillation for Computer Vision\n+ - local: tasks/knowledge_distillation_for_i...
2024-08-22T17:42:39
ollama/ollama
d8be22e47d460d1483846e2effb9b67fbfce1c0b
652c273f0ea9006856973b960e6feea85d138d3c
Fix overlapping artifact name on CI
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -269,7 +269,7 @@ jobs:\n dist/windows-amd64/**\n - uses: actions/upload-artifact@v4\n with:\n- name: windows-cuda-deps\n+ name: windows-cuda-deps-${{ matrix.cuda.version }}\n path: dist/deps/*\n \n...
2024-08-19T19:07:18
nodejs/node
a51944da0aeae65676a928c9473965c453e0e028
189d29f39e6de9ccf10682bfd1341819b4a2291f
test: fix flaky test-http-highwatermark PR-URL: https://github.com/nodejs/node/pull/17949 Fixes: https://github.com/nodejs/node/issues/17857 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-http-highwatermark.js", "patch": "@@ -14,7 +14,7 @@ let requestReceived = 0;\n const server = http.createServer(function(req, res) {\n const id = ++requestReceived;\n const enoughToDrain = req.connection.writableHighWaterMark;\n- const body = 'x'.repeat(enoughToDrain);\n+ ...
2018-01-02T16:45:21
rust-lang/rust
246415809cb151cbe6411e075c815940d61f55b4
35209f462bbb1506d03ae8b232c2d9f2b865f890
fix: Fix missing `with_durability` calls
[ { "path": "src/tools/rust-analyzer/crates/base-db/src/lib.rs", "patch": "@@ -86,7 +86,7 @@ impl Files {\n let files = Arc::clone(&self.files);\n match files.entry(file_id) {\n Entry::Occupied(mut occupied) => {\n- occupied.get_mut().set_text(db).to(Arc::from(text))...
2025-03-15T14:53:23
golang/go
07d32c8183eb4f7d8d1d6185ea69b8fb0425f6a6
6b4da14dd3db660ff8579d9390d52d00f4f33f9a
[dev.typeparams] cmd/compile/internal/types: adjust some error messages to match the compiler Change-Id: I04bd7b294de4ed0fb01bc0609e09debea2d797bd Reviewed-on: https://go-review.googlesource.com/c/go/+/274974 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1867,7 +1867,11 @@ func (check *Checker) typeAssertion(pos syntax.Pos, x *operand, xtyp *Interface,\n \t} else {\n \t\tmsg = \"missing method \" + method.name\n \t}\n-\tcheck.errorf(pos, \"%s cannot have dynamic type %s (%s)\", x, T, msg)\n+...
2020-12-02T01:37:12
huggingface/transformers
273c0afc8f0289e0cb5d18dc76ccc251504298e0
18199b34e58d06a760929fceef340581152cf55f
Fix regression on `Processor.save_pretrained` caused by #31691 (#32921) fix save_pretrained
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -522,7 +522,7 @@ def save_pretrained(self, save_directory, push_to_hub: bool = False, **kwargs):\n token=kwargs.get(\"token\"),\n )\n \n- if set(self.to_dict().keys()) == {\"processor_class\"}:\n+ if set...
2024-08-22T16:42:44
vercel/next.js
a8186065b8eb30ef73d82075dbeb2a6fd94c2eaa
85b00b2ccae5629d3561b0c85579c9455693244c
[Script] Adds `onReady` prop to `next/script` (#38849) Closes: #30962 This PR adds a new `onReady` prop to `next/script` to handle shortcomings of the current `onLoad` prop. Some third-party providers and widgets require initialization code to run after the script's `load` event and every time the component is mounte...
[ { "path": "docs/api-reference/next/script.md", "patch": "@@ -20,6 +20,7 @@ description: Optimize loading of third-party scripts with the built-in Script co\n \n | Version | Changes |\n | --------- | ------------------------- |\n+| `v12.2.4` | `onReady` prop added. |\n | `v11.0.0` | `...
2022-07-28T20:42:52
ollama/ollama
885cf45087863aa2e064a05da99e8bd07d69970a
9352eeb752531decccc7c6b91a07bc3dd5efa67e
Fix white space.
[ { "path": "server/sched.go", "patch": "@@ -736,8 +736,8 @@ func pickBestFullFitByLibrary(req *LlmRequest, ggml *llm.GGML, gpus gpu.GpuInfoL\n func pickBestPartialFitByLibrary(req *LlmRequest, ggml *llm.GGML, gpus gpu.GpuInfoList, numParallel *int) gpu.GpuInfoList {\n \tif *numParallel <= 0 {\n \t\t*numParal...
2024-08-18T01:07:16