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
ollama/ollama
0d140bd1af59def462a0d3fe61c89b468162b5e7
93e45f0f0d3fbc28d23cc71a68f05249cd53c03f
fix: conv2d bias (#12834)
[ { "path": "ml/nn/convolution.go", "patch": "@@ -10,7 +10,8 @@ type Conv2D struct {\n func (m *Conv2D) Forward(ctx ml.Context, t ml.Tensor, s0, s1, p0, p1, d0, d1 int) ml.Tensor {\n \tt = m.Weight.Conv2D(ctx, t, s0, s1, p0, p1, d0, d1)\n \tif m.Bias != nil {\n-\t\tt = t.Add(ctx, m.Bias)\n+\t\t// Bias shape i...
2025-10-29T18:03:43
nodejs/node
a6f3e8f3fe653c48a48c877feec1c24306c3248e
c6c957d3cc3de335a0ccc25506d570b0a237a0ce
repl: fix tab completion of inspector module Correctly check for the presence of the inspector module before adding it to the builtin libs list. PR-URL: https://github.com/nodejs/node/pull/19505 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hell...
[ { "path": "lib/internal/modules/cjs/helpers.js", "patch": "@@ -104,7 +104,7 @@ const builtinLibs = [\n 'stream', 'string_decoder', 'tls', 'tty', 'url', 'util', 'v8', 'vm', 'zlib'\n ];\n \n-if (typeof process.binding('inspector').connect === 'function') {\n+if (typeof process.binding('inspector').open === ...
2018-03-21T07:17:01
huggingface/transformers
eedc113914908296fa8e4c87c1b371373ec2c991
b99ca4d28b47fa7166e7882cb0695a5c0cc0d411
Add Image Processor Fast Deformable DETR (#34353) * add deformable detr image processor fast * add fast processor to doc * fix copies * nit docstring * Add tests gpu/cpu and fix docstrings * fix docstring * import changes from detr * fix imports * rebase and fix * fix input data format chang...
[ { "path": "docs/source/en/model_doc/deformable_detr.md", "patch": "@@ -54,6 +54,12 @@ If you're interested in submitting a resource to be included here, please feel f\n - preprocess\n - post_process_object_detection\n \n+## DeformableDetrImageProcessorFast\n+\n+[[autodoc]] DeformableDetrImageProcess...
2024-11-19T16:18:58
vercel/next.js
335e91800b1cf525ef1a8a3bcca481f77ac69823
b18489461b4c25c393aa8939de19c66de1d6237d
chore(examples): remove `next-env.d.ts` files (#41041) They are added to `.gitignore` already. Follow-up on #39051 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an exist...
[ { "path": "examples/active-class-name/next-env.d.ts", "patch": "@@ -1,5 +0,0 @@\n-/// <reference types=\"next\" />\n-/// <reference types=\"next/image-types/global\" />\n-\n-// NOTE: This file should not be edited\n-// see https://nextjs.org/docs/basic-features/typescript for more information.", "additi...
2022-09-29T23:39:47
golang/go
1004a7cb31ae31d2ca0b54b507b996c12403d54c
6530f2617f3100d8f1036afc5cb9b30b36628aaa
runtime/metrics: update documentation to current interface The package documentation referenced sample metadata that was removed in CL 282632. Update this documentation to be less specific about what metadata is available. Additionally, the documentation on the Sample type referred to Descriptions instead of All as t...
[ { "path": "src/runtime/metrics/doc.go", "patch": "@@ -16,9 +16,7 @@ Interface\n Metrics are designated by a string key, rather than, for example, a field name in\n a struct. The full list of supported metrics is always available in the slice of\n Descriptions returned by All. Each Description also includes ...
2021-02-16T04:12:15
ollama/ollama
a342160803f4b9cbd85c2cdf411c265af224f385
f6c29409dc0823fcb0b42e8138ea3e208d6b5edf
docs: fix root api documentation page (#12813)
[ { "path": "docs/api.md", "patch": "@@ -1,3 +1,47 @@\n-# API Reference\n+---\n+title: \"Introduction\"\n+---\n \n-Ollama's API reference now lives here: https://docs.ollama.com/api\n+Ollama's API allows you to run and interact with models programatically.\n+\n+## Get started\n+\n+If you're just getting start...
2025-10-29T02:17:54
huggingface/transformers
dc42330388b2243d8fed3c0fde47db8d5c6b8e1d
427b62ed1a4649539988225b841d158187ab4850
fix crash in tiiuae/falcon-11B-vlm image-to-text generation (#34728) Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -1277,12 +1277,18 @@ def forward(\n output_hidden_states: Optional[bool] = None,\n return_dict: Optional[bool] = None,\n cache_position: Optional[torch.LongTensor] = None,\n+ num_logits_to_keep: int = ...
2024-11-19T15:51:32
nodejs/node
c6c957d3cc3de335a0ccc25506d570b0a237a0ce
43506f1013c5568243dc800c42536d5aa72a3589
src: fix upcoming V8 deprecation warnings PR-URL: https://github.com/nodejs/node/pull/19490 Fixes: https://github.com/nodejs/node/issues/18909 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
[ { "path": "src/inspector_js_api.cc", "patch": "@@ -230,7 +230,7 @@ static void AsyncTaskScheduledWrapper(const FunctionCallbackInfo<Value>& args) {\n \n CHECK(args[0]->IsString());\n Local<String> task_name = args[0].As<String>();\n- String::Value task_name_value(task_name);\n+ String::Value task_name...
2018-03-20T17:59:17
vercel/next.js
b18489461b4c25c393aa8939de19c66de1d6237d
2af441cfb75c17b7f01294cddfbded81ae374394
Make sure polyfills are added for browsers without module support (#41029) This PR makes sure that the same polyfills are added in app dir for browsers that match `nomodule`. Main difference from the polyfills in pages is that the script tags here cannot have `defer` as all other scripts will be async by default, a...
[ { "path": "packages/next/build/webpack/plugins/subresource-integrity-plugin.ts", "patch": "@@ -17,17 +17,10 @@ export class SubresourceIntegrityPlugin {\n stage: webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONS,\n },\n (assets) => {\n- // Collect all the entrypoint files...
2022-09-29T23:22:21
rust-lang/rust
ccb2194f9674c5be8bcc4d39ece15a382c863c2a
9bdac177fc2ba94af3529f511a2db6ab2198d100
Factor some code out of `AstValidator::visit_items`. Currently it uses `walk_item` on some item kinds. For other item kinds it visits the fields individually. For the latter group, this commit adds `visit_attrs_vis` and `visit_attrs_vis_ident` which bundle up visits to the fields that don't need special handling. This...
[ { "path": "compiler/rustc_ast_passes/src/ast_validation.rs", "patch": "@@ -727,6 +727,19 @@ impl<'a> AstValidator<'a> {\n )\n }\n }\n+\n+ // Used within `visit_item` for item kinds where we don't call `visit::walk_item`.\n+ fn visit_attrs_vis(&mut self, attrs: &'a AttrVec, vis:...
2025-04-01T01:04:56
golang/go
6530f2617f3100d8f1036afc5cb9b30b36628aaa
353e111455d6b81fdce0a6d3190baba6adca3372
doc/go1.16: remove draft notice Fixes #40700. Change-Id: I99ed479d1bb3cdf469c0209720c728276182a7a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/291809 Reviewed-by: Alexander Rakoczy <alex@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> Trust: Alexander Rakoczy <alex@golang.org> Run-TryBot: Alexan...
[ { "path": "doc/go1.16.html", "patch": "@@ -14,13 +14,13 @@\n main ul li { margin: 0.5em 0; }\n </style>\n \n-<h2 id=\"introduction\">DRAFT RELEASE NOTES — Introduction to Go 1.16</h2>\n+<h2 id=\"introduction\">Introduction to Go 1.16</h2>\n \n <p>\n- <strong>\n- Go 1.16 is not yet released. These are ...
2021-02-13T02:44:11
huggingface/transformers
427b62ed1a4649539988225b841d158187ab4850
fdb9230485945dd7d7817763b87ccc60105a3971
Fix post process function called in the instance segmentation example of mask2former (#34588) * Fix post process function called in the instance segmentation example of mask2former * fix description and additional notes for post_process_instance_segmentation of maskformers * remove white space in maskformers pos...
[ { "path": "docs/source/en/model_doc/rt_detr.md", "patch": "@@ -57,7 +57,7 @@ Initially, an image is processed using a pre-trained convolutional neural networ\n >>> with torch.no_grad():\n ... outputs = model(**inputs)\n \n->>> results = image_processor.post_process_object_detection(outputs, target_sizes...
2024-11-19T15:49:25
ollama/ollama
f6c29409dc0823fcb0b42e8138ea3e208d6b5edf
7d25b9e194f106e9c2a5289dfde40077c0838b7d
docs: add new cloud model + fix openai redirect (#12812)
[ { "path": "docs/api.md", "patch": "@@ -0,0 +1,3 @@\n+# API Reference\n+\n+Ollama's API reference now lives here: https://docs.ollama.com/api", "additions": 3, "deletions": 0, "language": "Markdown" }, { "path": "docs/cloud.mdx", "patch": "@@ -17,6 +17,7 @@ Ollama currently supports t...
2025-10-29T02:09:07
rust-lang/rust
23667ada6d71d2d4fa5214371adeb58c1f9b08a6
0b4a81a4ef637117b365c3c51a5326f1c4a90ded
compiler and tools dependencies Updating anyhow v1.0.95 -> v1.0.97 Updating basic-toml v0.1.9 -> v0.1.10 Updating bitflags v2.8.0 -> v2.9.0 Updating blake3 v1.5.5 -> v1.8.0 Updating bumpalo v3.16.0 -> v3.17.0 Removing byteorder v1.5.0 Updating bytes v1.9.0 -> v1.10.1 Updating cargo_metad...
[ { "path": "Cargo.lock", "patch": "@@ -158,9 +158,9 @@ dependencies = [\n \n [[package]]\n name = \"anyhow\"\n-version = \"1.0.95\"\n+version = \"1.0.97\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04\"\n+c...
2025-03-23T01:21:43
nodejs/node
43506f1013c5568243dc800c42536d5aa72a3589
d1720bddf4de0df8e6c79a38218da61f8a40a080
doc: clarify child_process promise rejections Promisify sections of `child_process.exec()` and `child_process.execFile()` changed to make clear that non-zero exit codes will result in promise rejection. PR-URL: https://github.com/nodejs/node/pull/19541 Fixes: https://github.com/nodejs/node/issues/19494 Reviewed-By: B...
[ { "path": "doc/api/child_process.md", "patch": "@@ -223,8 +223,9 @@ the existing process and uses a shell to execute the command.\n \n If this method is invoked as its [`util.promisify()`][]ed version, it returns\n a Promise for an object with `stdout` and `stderr` properties. In case of an\n-error, a rejec...
2018-03-22T21:11:28
vercel/next.js
2af441cfb75c17b7f01294cddfbded81ae374394
4cb96fb0470e83e62f045be68069eb3b66d8567a
chore(examples): Convert `with-react-hook-form` example to TypeScript (#38796) Converted `with-react-hook-form` example to TypeScript as it is pointed out in the contributing docs that examples should be converted to TS. - updated dependencies - fixed/added types where necessary ## Documentation / Examples - [x]...
[ { "path": "examples/with-react-hook-form/package.json", "patch": "@@ -7,8 +7,14 @@\n },\n \"dependencies\": {\n \"next\": \"latest\",\n- \"react\": \"^17.0.2\",\n- \"react-dom\": \"^17.0.2\",\n- \"react-hook-form\": \"7.4.0\"\n+ \"react\": \"^18.2.0\",\n+ \"react-dom\": \"^18.2.0\",\n...
2022-09-29T23:09:57
golang/go
353e111455d6b81fdce0a6d3190baba6adca3372
f0d23c9dbb2142b975fa8fb13a57213d0c15bdd1
doc/go1.16: fix mismatched id attribute For #40700. Change-Id: I186a21899404bfb79c08bfa8623caf9da74b6b0d GitHub-Last-Rev: 25d240db3c0e2a923720bb9667ef0599ec06819e GitHub-Pull-Request: golang/go#44145 Reviewed-on: https://go-review.googlesource.com/c/go/+/290329 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: D...
[ { "path": "doc/go1.16.html", "patch": "@@ -317,7 +317,7 @@ <h3 id=\"cgo\">Cgo</h3>\n \n <h3 id=\"vet\">Vet</h3>\n \n-<h4 id=\"vet-string-int\">New warning for invalid testing.T use in\n+<h4 id=\"vet-testing-T\">New warning for invalid testing.T use in\n goroutines</h4>\n \n <p><!-- CL 235677 -->", "addi...
2021-02-16T15:51:32
huggingface/transformers
5fa4f64605c0f51d2a65b37df407f8b224eb7b3a
581524389a98814b5a0347a7f6357b272d5cf067
🚨🚨🚨 fix(Mask2Former): torch export 🚨🚨🚨 (#34393) * fix(Mask2Former): torch export Signed-off-by: Phillip Kuznetsov <philkuz@gimletlabs.ai> * revert level_start_index and create a level_start_index_list Signed-off-by: Phillip Kuznetsov <philkuz@gimletlabs.ai> * Add a comment to explain the level_start_...
[ { "path": "src/transformers/models/mask2former/modeling_mask2former.py", "patch": "@@ -926,7 +926,7 @@ def forward(\n encoder_attention_mask=None,\n position_embeddings: Optional[torch.Tensor] = None,\n reference_points=None,\n- spatial_shapes=None,\n+ spatial_shapes_li...
2024-11-19T15:44:53
rust-lang/rust
592d113ff24b91290022d9f1aae271598ff235fa
81afdbc161300549bb5bbfe0bec5c1a60e11243d
Fix problem causing `rusqlite` compilation to OOM. This makes the expression re-parsing more like how it's originally done in `parse_nonterminal`.
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -1397,7 +1397,9 @@ impl<'a> Parser<'a> {\n } else if let Some(expr) = self.eat_metavar_seq_with_matcher(\n |mv_kind| matches!(mv_kind, MetaVarKind::Expr { .. }),\n |this| {\n- let expr = this.par...
2025-03-31T05:32:55
nodejs/node
d1720bddf4de0df8e6c79a38218da61f8a40a080
982e3bdb1f06bf9d9926c808d30864b32a8223f9
doc: fix linting issue in process.md Introduced in https://github.com/nodejs/node/pull/19438 PR-URL: https://github.com/nodejs/node/pull/19542 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "doc/api/process.md", "patch": "@@ -1515,9 +1515,9 @@ tarball.\n * `major`\n * `minor`\n * `patch`\n- * Returns: {number} `-1` if the given version is lower than the release version,\n- `0` if the given version matches the process version, and `1` if the given\n- version i...
2018-03-22T23:34:19
ollama/ollama
14977a93506b853f07cc06fa50c211570435877a
29f63f37c87e2c5a908bfb6b2c8b3320052e0bbe
Fix vulkan PCI ID and ID handling (#12775) * Fix vulkan PCI ID and ID handling Intel GPUs may not report PCI IDs which was leading to incorrect overlap detection. Switch to using the existing PCI IDs, however AMD GPUs claim not to report PCI IDs, but actually do, so try anyway, as this is required for ADLX to find t...
[ { "path": "discover/runner.go", "patch": "@@ -117,7 +117,7 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.\n \n \t\t// In the second pass, we more deeply initialize the GPUs to weed out devices that\n \t\t// aren't supported by a given library. We run this phase in paral...
2025-10-28T22:15:35
huggingface/transformers
581524389a98814b5a0347a7f6357b272d5cf067
e3a5889ef09ed60444d5eff4314f1e87909e2739
MLU devices : Checks if mlu is available via an cndev-based check which won't trigger the drivers and leave mlu (#34326) * add Cambricon MLUs support * fix mlu device rng state * up for quality check * up mlu to support fp16 * fix mlu device dependency error * fix mlu device dependency error * enable...
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -684,25 +684,27 @@ def is_torch_npu_available(check_device=False):\n \n @lru_cache()\n def is_torch_mlu_available(check_device=False):\n- \"Checks if `torch_mlu` is installed and potentially if a MLU is in the environment\"\n+ \"\"\"\n+ ...
2024-11-19T15:37:39
golang/go
f0d23c9dbb2142b975fa8fb13a57213d0c15bdd1
0cb3415154ff354b42db1d65073e9be71abcc970
internal/poll: netpollcheckerr before sendfile In net/http package, the ServeContent/ServeFile doesn't check the I/O timeout error from chunkWriter or *net.TCPConn, which means that both HTTP status and headers might be missing when WriteTimeout happens. If the poll.SendFile() doesn't check the *poll.FD state before s...
[ { "path": "src/internal/poll/sendfile_bsd.go", "patch": "@@ -18,6 +18,10 @@ func SendFile(dstFD *FD, src int, pos, remain int64) (int64, error) {\n \t\treturn 0, err\n \t}\n \tdefer dstFD.writeUnlock()\n+\tif err := dstFD.pd.prepareWrite(dstFD.isFile); err != nil {\n+\t\treturn 0, err\n+\t}\n+\n \tdst := in...
2021-01-24T10:21:06
rust-lang/rust
81afdbc161300549bb5bbfe0bec5c1a60e11243d
d59b17c5cdbf345d0088d90fc03faf2501a39757
Fix a problem with metavars and inner attributes.
[ { "path": "compiler/rustc_ast/src/tokenstream.rs", "patch": "@@ -233,35 +233,52 @@ fn attrs_and_tokens_to_token_trees(\n \n // Insert inner attribute tokens.\n if !inner_attrs.is_empty() {\n- let mut found = false;\n- // Check the last two trees (to account for a trailing semi)\n- ...
2024-09-23T03:04:36
vercel/next.js
06607e3dd1104192c8d43a3c5a183076bbca2586
79a85b73ad7aca2228662400dfe6ed9169e138fb
Add Replay integration for dev e2e tests (#40955) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug - [...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -405,9 +405,27 @@ jobs:\n timeout-minutes: 5\n if: ${{needs.build.outputs.docsChange == 'nope'}}\n \n- - run: NEXT_TEST_MODE=dev node run-tests.js --type e2e --timings -g ${{ matrix.group }}/3\n+ - run: npx @replayio...
2022-09-29T21:45:10
nodejs/node
cef909797af1d716b802f04264e51cf7f26c1b51
ab755484a8a5113cb6d74f8e8ae5a26c44ae4582
http2: do not emit our own close emit in Http2Stream Streams were recently updated to emit their own close event. The Http2Stream was an exception because it included the close argument with the close event. Refactor that to use the built in close. PR-URL: https://github.com/nodejs/node/pull/19451 Reviewed-By: Matteo...
[ { "path": "doc/api/http2.md", "patch": "@@ -335,7 +335,7 @@ Immediately terminates the `Http2Session` and the associated `net.Socket` or\n `tls.TLSSocket`.\n \n Once destroyed, the `Http2Session` will emit the `'close'` event. If `error`\n-is not undefined, an `'error'` event will be emitted immediately aft...
2018-03-19T16:17:23
ollama/ollama
1bdd81691063003e8be5a856942273bd7ca15acd
ad6f6a1d29f45a5c7266bcd7edb5671621e86810
create: inherit FROM model's renderer/parser On main, the `RENDERER` and `PARSER` fields from the `Modelfile` don't get propagated to a new model created with a `req.From` parameter. This is easily triggered via `ollama run qwen3-coder`, then running some save command like `/save qwen3-coder-custom`. Added a regressi...
[ { "path": "server/create.go", "patch": "@@ -119,6 +119,27 @@ func (s *Server) CreateHandler(c *gin.Context) {\n \t\t\t\tif err != nil {\n \t\t\t\t\tch <- gin.H{\"error\": err.Error()}\n \t\t\t\t}\n+\n+\t\t\t\tif err == nil && !remote && (config.Renderer == \"\" || config.Parser == \"\") {\n+\t\t\t\t\tmanife...
2025-10-27T22:14:19
huggingface/transformers
e3a5889ef09ed60444d5eff4314f1e87909e2739
ce1d328e3b73cf6d1d993fc0d487b7dc8a14d7ee
Modular fix (#34802) * Modular fix * style * remove logger warning * Update modular_model_converter.py
[ { "path": "examples/modular-transformers/configuration_my_new_model.py", "patch": "@@ -130,6 +130,16 @@ class MyNewModelConfig(PretrainedConfig):\n \n model_type = \"my_new_model\"\n keys_to_ignore_at_inference = [\"past_key_values\"]\n+ # Default tensor parallel plan for base model `MyNewModelMo...
2024-11-19T15:08:57
golang/go
30641e36aa5b547eee48565caa3078b0a2e7c185
33d72fd4122a4b7e31e738d5d9283093966ec14a
internal/poll: if copy_file_range returns 0, assume it failed On current Linux kernels copy_file_range does not correctly handle files in certain special file systems, such as /proc. For those file systems it fails to copy any data and returns zero. This breaks Go's io.Copy for those files. Fix the problem by assumin...
[ { "path": "src/internal/poll/copy_file_range_linux.go", "patch": "@@ -112,7 +112,15 @@ func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err\n \t\t\treturn 0, false, nil\n \t\tcase nil:\n \t\t\tif n == 0 {\n-\t\t\t\t// src is at EOF, which means we are done.\n+\t\t\t\t// If we did...
2021-02-15T01:14:41
rust-lang/rust
49ed25b5d2d5dc88f9fa3e268d9bd210acc875de
0b4a81a4ef637117b365c3c51a5326f1c4a90ded
Remove `NtExpr` and `NtLiteral`. Notes about tests: - tests/ui/rfcs/rfc-2294-if-let-guard/feature-gate.rs: some messages are now duplicated due to repeated parsing. - tests/ui/rfcs/rfc-2497-if-let-chains/disallowed-positions.rs: ditto. - `tests/ui/proc-macro/macro-rules-derive-cfg.rs`: the diff looks large but t...
[ { "path": "compiler/rustc_ast/src/ast_traits.rs", "patch": "@@ -209,13 +209,11 @@ impl HasTokens for Attribute {\n impl HasTokens for Nonterminal {\n fn tokens(&self) -> Option<&LazyAttrTokenStream> {\n match self {\n- Nonterminal::NtExpr(expr) | Nonterminal::NtLiteral(expr) => expr.t...
2024-04-18T11:31:17
vercel/next.js
79a85b73ad7aca2228662400dfe6ed9169e138fb
26a23e98b0b6c654df3f624941925033c506b593
Alias all client, shared, pages dist assets for esm (#41034) Alias all existing imports from `next/dist/..` to `next/dist/esm` for edge compiler. So that we don't need checking for `process.env.NEXT_RUNTIME === 'edge'` or passing down `nextRuntime` to decide wether the esm or cjs asset to require This will also fix t...
[ { "path": "packages/next/amp.js", "patch": "@@ -1,4 +1 @@\n-module.exports =\n- process.env.NEXT_RUNTIME === 'edge'\n- ? require('./dist/esm/shared/lib/amp')\n- : require('./dist/shared/lib/amp')\n+module.exports = require('./dist/shared/lib/amp')", "additions": 1, "deletions": 4, "langua...
2022-09-29T21:24:04
huggingface/transformers
ce1d328e3b73cf6d1d993fc0d487b7dc8a14d7ee
4bff54f9214e2156e30981eddf7b32cb4e655cba
Fix cache_utils for optimum.quanto kvcache quantization (#34750) * add co-author Co-authored-by: w3rew <w3rew@users.noreply.github.com> * fix docs * fix cache * remove print --------- Co-authored-by: w3rew <w3rew@users.noreply.github.com>
[ { "path": "docs/source/en/quantization/overview.md", "patch": "@@ -55,7 +55,7 @@ Use the table below to help you decide which quantization method to use.\n | GGUF / GGML (llama.cpp) | 🟢 | 🟢 | 🟢 | 🔴 | 🟢 | 🔴 | 🔴 ...
2024-11-19T13:16:34
golang/go
66c27093d0df8be8a75b1ae35fe4ab2003fe028e
ff0e93ea313e53f08018b90bada2edee267a8f55
cmd/link: fix typo in link_test.go specfic -> specific Change-Id: Icad0f70c77c866a1031a2929b90fef61fe92aaee GitHub-Last-Rev: f66b56491c0125f58c47f7f39410e0aeef2539be GitHub-Pull-Request: golang/go#44246 Reviewed-on: https://go-review.googlesource.com/c/go/+/291829 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust...
[ { "path": "src/cmd/link/link_test.go", "patch": "@@ -583,7 +583,7 @@ TEXT\t·alignPc(SB),NOSPLIT, $0-0\n `\n \n // TestFuncAlign verifies that the address of a function can be aligned\n-// with a specfic value on arm64.\n+// with a specific value on arm64.\n func TestFuncAlign(t *testing.T) {\n \tif runtime....
2021-02-13T02:45:51
vercel/next.js
26a23e98b0b6c654df3f624941925033c506b593
b4e53b796b07392701ca5a3b3eb9970f865ba820
chore/fix typo on contributing documentation (#41037) Fixes #41038
[ { "path": "contributing/core/developing.md", "patch": "@@ -9,7 +9,7 @@ To develop locally:\n 1. Install the [GitHub CLI](https://github.com/cli/cli#installation).\n 1. Clone the Next.js repository:\n ```\n- gh repo clone vercel/next.js`\n+ gh repo clone vercel/next.js\n ```\n 1. Create a new branc...
2022-09-29T19:55:10
huggingface/transformers
4bff54f9214e2156e30981eddf7b32cb4e655cba
54739a320e38bc86cd250303a35e68d5d3f14a83
Gemma capping (#34282) * softcapping * soft cap before the mask * style * ... * super nit * update * fixes * update * small issue with modular * fix modular imports * update * fixup * simplify a hell lot * simplify cleaning imports * finish fixing * update our design * n...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1519,6 +1519,7 @@ def _autoset_attn_implementation(\n \"eager\",\n \"sdpa\",\n \"flash_attention_2\",\n+ \"flex_attention\",\n ]:\n message = f'Specified `...
2024-11-19T12:52:38
golang/go
b81efb7ec4348951211058cf4fdfc045c75255d6
a7e9b4b94804a1fbefc0c012ec510f4ee0837ffa
[dev.regabi] go/types: add support for language version checking This is a port of CL 289509 to go/types. It differs from that CL in codes added to errors, to fit the new factoring of check_test.go, and to allow go/types to import regexp in deps_test.go For #31793 Change-Id: Ia9e4c7f5aac1493001189184227c2ebc79a76e77...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -285,7 +285,7 @@ var depsRules = `\n \tmath/big, go/token\n \t< go/constant;\n \n-\tcontainer/heap, go/constant, go/parser\n+\tcontainer/heap, go/constant, go/parser, regexp\n \t< go/types;\n \n \tFMT", "additions": 1, "deletions": 1, "language...
2021-02-11T15:23:41
vercel/next.js
fb76744de1885757bb999632d1922cd762207f8a
3ad7c517683baf95dde3545e8139094e682a6fcb
fix asset paths in server rendered pages (vercel/turbo#436) Currently, when a server rendered page imports an asset (e.g. an image) there's a hydration mismatch
[ { "path": "packages/next-swc/crates/next-core/src/server_render/asset.rs", "patch": "@@ -17,10 +17,7 @@ use turbopack::ecmascript::{\n };\n use turbopack_core::{\n asset::{Asset, AssetContentVc, AssetVc},\n- chunk::{\n- dev::{DevChunkingContext, DevChunkingContextVc},\n- ChunkGroupVc,\n...
2022-09-29T17:14:15
huggingface/transformers
54739a320e38bc86cd250303a35e68d5d3f14a83
5de58d595547f57dd4df2f3572158eb9cbdd24c9
Self-speculation (Layer-Skip Llama) (#34240) * 😅 * early exit (#34244) * mvp * docs and tests * a few fixes * no shared cache * Apply suggestions from code review Co-authored-by: Mostafa Elhoushi <m.elhoushi@ieee.org> * docs * make fix-copies * cohere fix * [test all] * [test all] ...
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -416,16 +416,6 @@ Assisted decoding assumes the main and assistant models have the same tokenizer,\n Currently, only greedy search and sampling are supported with assisted decoding, and assisted decoding doesn't support batched inputs.\n To l...
2024-11-19T12:20:07
nodejs/node
49b2969ef4731ad4a3b63476d80ce31075526613
4e1f0907dae9916215985a9f81bf3dec1eeaeaef
vm: migrate isContext to internal/errors PR-URL: https://github.com/nodejs/node/pull/19268 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Jon Moss <me@jonatha...
[ { "path": "lib/vm.js", "patch": "@@ -26,10 +26,13 @@ const {\n kParsingContext,\n \n makeContext,\n- isContext,\n+ isContext: _isContext,\n } = process.binding('contextify');\n \n-const { ERR_INVALID_ARG_TYPE } = require('internal/errors').codes;\n+const {\n+ ERR_INVALID_ARG_TYPE,\n+ ERR_MISSING_ARG...
2018-03-02T06:11:55
golang/go
a7e9b4b94804a1fbefc0c012ec510f4ee0837ffa
060fa49bd23d758a9062f4cb50e65960ec9662f1
[dev.regabi] go/types: untyped shift counts must fit into uint This is a port of CL 283872 to go/types. It differs from that CL only in added error codes. For #43697 Change-Id: I62277834cef1c0359bcf2c6ee4388731babbc855 Reviewed-on: https://go-review.googlesource.com/c/go/+/291316 Trust: Robert Findley <rfindley@goog...
[ { "path": "src/go/types/expr.go", "patch": "@@ -730,14 +730,14 @@ func (check *Checker) comparison(x, y *operand, op token.Token) {\n \n // If e != nil, it must be the shift expression; it may be nil for non-constant shifts.\n func (check *Checker) shift(x, y *operand, e ast.Expr, op token.Token) {\n-\tunty...
2021-02-11T15:17:39
ollama/ollama
e0ead1adee0a36f8aecf0df9747996354ee1ed8c
d515aed6c3c23cc7830462c2b4055076e207fc9d
embeddings: base64 encoding fix (#12715)
[ { "path": "middleware/openai.go", "patch": "@@ -7,6 +7,7 @@ import (\n \t\"io\"\n \t\"math/rand\"\n \t\"net/http\"\n+\t\"strings\"\n \n \t\"github.com/gin-gonic/gin\"\n \n@@ -44,7 +45,8 @@ type RetrieveWriter struct {\n \n type EmbedWriter struct {\n \tBaseWriter\n-\tmodel string\n+\tmodel string\n...
2025-10-22T18:27:44
huggingface/transformers
5de58d595547f57dd4df2f3572158eb9cbdd24c9
3cd78be34ee48d429e8f924bc5258bf5c453ea69
fix cpu bnb path (#34647) * fix cpu bnb path * Update src/transformers/generation/utils.py Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> * fix awq quantizer env check * fix awq quantizer device check Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by:...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1636,7 +1636,10 @@ def get_layer_device_map(execution_device_map: Optional[dict] = None):\n # This is needed here if we don't want to make changes in accelerate in order to save execution_device\n # For offloaded case, w...
2024-11-19T11:44:44
vercel/next.js
96aa91cf3751c64fa2de77ff6f2bddb3675e72f9
453e057929e36326deeaa83178ef51d51a6b0893
fix asset paths in server rendered pages (#436) Currently, when a server rendered page imports an asset (e.g. an image) there's a hydration mismatch
[ { "path": "crates/next-core/src/server_render/asset.rs", "patch": "@@ -17,10 +17,7 @@ use turbopack::ecmascript::{\n };\n use turbopack_core::{\n asset::{Asset, AssetContentVc, AssetVc},\n- chunk::{\n- dev::{DevChunkingContext, DevChunkingContextVc},\n- ChunkGroupVc,\n- },\n+ chun...
2022-09-29T17:14:15
nodejs/node
4e1f0907dae9916215985a9f81bf3dec1eeaeaef
258bcb9bffb1824d65a76eb30fcd0adda0f753a0
inspector: migrate errors from C++ to JS Assign a code to a user-facing error. Turn other internal-only errors to checks. PR-URL: https://github.com/nodejs/node/pull/19387 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Eugene Ostroukhov <...
[ { "path": "lib/inspector.js", "patch": "@@ -30,9 +30,13 @@ class Session extends EventEmitter {\n \n connect() {\n if (this[connectionSymbol])\n- throw new ERR_INSPECTOR_ALREADY_CONNECTED();\n- this[connectionSymbol] =\n- new Connection((message) => this[onMessageSymbol](message));\n+ ...
2018-03-16T08:17:58
golang/go
042f88fe300be0ee9669fb4f9c119b4044a2789f
0abd7b768b31c0074a10b944067f71f412773328
[dev.typeparams] cmd/compile/internal/types: review of errors_test.go The changes between (equivalent, and reviewed) go/types/errors_test.go and errors_test.go can be seen by comparing patchset 1 and 2. The actual change is just removing the "// UNREVIEWED" marker. Change-Id: I74de039b9e655445f0407a0203ac52a95c6c8a40...
[ { "path": "src/cmd/compile/internal/types2/errors_test.go", "patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2020 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.", "additions": 0, "deletions": 1,...
2021-02-11T01:59:13
ollama/ollama
d515aed6c3c23cc7830462c2b4055076e207fc9d
5fe7ba1b9b1c7f4d67e1ff52adc7bd4285d0e01b
cloud: don't error sending empty messages (#12724)
[ { "path": "server/routes.go", "patch": "@@ -1874,10 +1874,14 @@ func (s *Server) ChatHandler(c *gin.Context) {\n \t\t\treq.Options = map[string]any{}\n \t\t}\n \n-\t\tmsgs := append(m.Messages, req.Messages...)\n-\t\tif req.Messages[0].Role != \"system\" && m.System != \"\" {\n-\t\t\tmsgs = append([]api.Mes...
2025-10-22T01:12:14
vercel/next.js
6fa78a136ab352c0a804cf83ae0a553d861ef5fa
596148c580a6af579eb445e0e37cc7c48c829958
Add test for rewrite from pages to app with existing pages path (#41023) Rather specific test for when you incrementally migrate using middleware and only route to the `app` route based on some condition. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a hel...
[ { "path": "test/e2e/app-dir/app/middleware.js", "patch": "@@ -6,6 +6,10 @@ import { NextResponse } from 'next/server'\n * @returns {NextResponse | undefined}\n */\n export function middleware(request) {\n+ if (request.nextUrl.pathname === '/exists-but-not-routed') {\n+ return NextResponse.rewrite(new ...
2022-09-29T12:29:10
nodejs/node
258bcb9bffb1824d65a76eb30fcd0adda0f753a0
22884a7d23461f3256fd6352d20d0c6088375900
doc: move StackOverflow to unofficial section Fixes: https://github.com/nodejs/node/issues/19412 PR-URL: https://github.com/nodejs/node/pull/19416 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-B...
[ { "path": "README.md", "patch": "@@ -48,12 +48,13 @@ When looking for support, please first search for your question in these venues:\n * [Node.js Website][]\n * [Node.js Help][]\n * [Open or closed issues in the Node.js GitHub organization](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org...
2018-03-17T17:08:44
golang/go
bab3461123060804628744a82e8ba03c51c27564
9168590977fca7a8d86b27b6c39fff0cd5efb8a4
[dev.typeparams] cmd/compile/internal/types: review of infer.go The changes between (equivalent, and reviewed) go/types/infer.go and infer.go can be seen by comparing patchset 1 and 2. The actual change is just removing the "// UNREVIEWED" marker and fixing a few comments. Change-Id: Ieb0c07c325a2e446550f85b159f99d4d...
[ { "path": "src/cmd/compile/internal/types2/infer.go", "patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2018 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n@@ -15,7 +14,7 @@ import \"bytes\"\n // is imp...
2021-02-11T01:21:23
ollama/ollama
d2b63c19b326a5bfeacdfd407a95cf706927e1a0
94f110b35aaa774a797cde3ee16e7260ee46b855
fs(ggml): fill in arch prefix if necessary (#12646)
[ { "path": "convert/convert_test.go", "patch": "@@ -18,6 +18,7 @@ import (\n \t\"strings\"\n \t\"testing\"\n \n+\t\"github.com/google/go-cmp/cmp\"\n \t\"github.com/ollama/ollama/fs/ggml\"\n )\n \n@@ -339,13 +340,8 @@ func TestConvertAdapter(t *testing.T) {\n \t\t\t}\n \n \t\t\tactual := generateResultsJSON(t...
2025-10-20T23:42:18
vercel/next.js
596148c580a6af579eb445e0e37cc7c48c829958
c889b31222c3b0d1ad868af12bdf38b244a6701a
chore(examples): upgrade `with-react-native-web` dependencies (#41024) Closes #41010 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make...
[ { "path": "examples/with-react-native-web/package.json", "patch": "@@ -7,11 +7,11 @@\n },\n \"dependencies\": {\n \"next\": \"latest\",\n- \"react\": \"^17.0.2\",\n- \"react-dom\": \"^17.0.2\",\n- \"react-native-web\": \"^0.13.14\"\n+ \"react\": \"^18.2.0\",\n+ \"react-dom\": \"^18.2....
2022-09-29T12:01:08
nodejs/node
a72bfb94ddb27b1c8cff229702f32df46233506c
f3e078fdce38cd8526e4f7f3aa657e030f141efc
doc: simplify COLLABORATOR_GUIDE.md instructions Remove bulleted list formatting. Only check email/name for new contributors. Change `full name` to `name` and remove italics to avoid incorrect implication that we need a "legal name". PR-URL: https://github.com/nodejs/node/pull/19458 Reviewed-By: Colin Ihrig <cjihrig@...
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -494,12 +494,11 @@ The TSC should serve as the final arbiter where required.\n one](https://github.com/nodejs/node/commit/b636ba8186) if unsure exactly how\n to format your commit messages.\n \n-Additionally:\n+Check PRs from new contributors to make sur...
2018-03-19T19:04:29
ollama/ollama
5d22953ba7913cde3f791ba4aa4ae6c55f3f56bf
d245dffed838b03aadc213df95880d03b22a619c
cuda: get driver version after props (#12707) Users on Windows without GPUs are reporting errors relating to cudaDriverGetVersion with the device set to -1. This ensures we only grab the driver once we're enumerating actual devices.
[ { "path": "llama/patches/0026-GPU-discovery-enhancements.patch", "patch": "@@ -6,20 +6,20 @@ Subject: [PATCH] GPU discovery enhancements\n Expose more information about the devices through backend props, and leverage\n management libraries for more accurate VRAM usage reporting if available.\n ---\n- ggml/i...
2025-10-20T17:57:27
vercel/next.js
6fefa98b3678233376a38d798869d6fe8a2a758d
42713fbf5fa80948f1de9e7aa03ed77851fd1b22
Remove reload on serverComponentChanges in pages (#41020) This caused unexpected full page reloads when viewing pages in `pages`. E.g. when navigating to `app`. Since `app` is the only place you can have server components now this is no longer needed. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] I...
[ { "path": "packages/next/client/dev/error-overlay/hot-dev-client.js", "patch": "@@ -260,16 +260,6 @@ function processMessage(e) {\n )\n return handleSuccess()\n }\n-\n- case 'serverComponentChanges': {\n- sendMessage(\n- JSON.stringify({\n- event: 'server-component-re...
2022-09-29T10:49:52
huggingface/transformers
3cd78be34ee48d429e8f924bc5258bf5c453ea69
0db91c3c8ddd8ca60c061d6ebdea30dc35e2d9f5
Fix: siglip image processor rgb_convert is not being applied correctly. (#34301) Fix: do_convert_rgb
[ { "path": "src/transformers/models/siglip/image_processing_siglip.py", "patch": "@@ -198,12 +198,12 @@ def preprocess(\n size=size,\n resample=resample,\n )\n- # All transformations expect numpy arrays.\n- images = [to_numpy_array(image) for image in images]\n-\...
2024-11-19T11:40:36
nodejs/node
9b34ea6161a637d6be7a68b816df8f8479d7c4ee
6a9f0499688b7515f3156a1754583d7624b25989
cluster: add support for NODE_OPTIONS="--inspect" When using cluster and --inspect as cli argument it is correctly handled and each worker will use a different port, this was fixed by #13619. But when env var NODE_OPTIONS="--inspect" is set this logic doesn't apply and the workers will fail as they try to attach to th...
[ { "path": "lib/internal/cluster/master.js", "patch": "@@ -103,11 +103,14 @@ function createWorkerProcess(id, env) {\n const workerEnv = util._extend({}, process.env);\n const execArgv = cluster.settings.execArgv.slice();\n const debugArgRegex = /--inspect(?:-brk|-port)?|--debug-port/;\n+ const nodeOp...
2018-03-06T08:57:49
golang/go
58758e0a21c4309f96d44ba24e4c2c9cc12732d9
c0aa7bd7602257dd7d5be4db13dd10284bd5f826
[dev.typeparams] go/types: better error message for invalid ... use This is a port of CL 283475 to go/types. For #43680 Change-Id: Ida630651247a40e28d405594394476e346354866 Reviewed-on: https://go-review.googlesource.com/c/go/+/291321 TryBot-Result: Go Bot <gobot@golang.org> Trust: Robert Findley <rfindley@google.co...
[ { "path": "src/go/types/examples/types.go2", "patch": "@@ -112,6 +112,9 @@ type I1[T any] interface{\n \tm1(T)\n }\n \n+// There is no such thing as a variadic generic type.\n+type _[T ... /* ERROR invalid use of ... */ interface{}] struct{}\n+\n // Generic interfaces may be embedded as one would expect.\n ...
2021-02-11T16:46:24
ollama/ollama
ba2253dc30552abc646e0b9f2ee2f6ea01248044
68e04c7ff88dca128016f75dc5bbd2f794bd2028
win: more verbose load failures (#12683) When loading the dynamic libraries, if something goes wrong report some details. Unfortunately this wont explain which dependencies are missing, but this breadcrumb in the logs should help us diagnose GPU discovery failures.
[ { "path": "llama/patches/0031-report-LoadLibrary-failures.patch", "patch": "@@ -0,0 +1,32 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Daniel Hiltgen <daniel@ollama.com>\n+Date: Fri, 17 Oct 2025 14:17:00 -0700\n+Subject: [PATCH] report LoadLibrary failures\n+\n+---\n+ ...
2025-10-18T00:13:16
vercel/next.js
42713fbf5fa80948f1de9e7aa03ed77851fd1b22
e550222db74983ee49f438e48e26b55e596d80d9
misc: make useReducerWithDevtools noop on server (#41019) Making this function a noop on server for bundle size gains with DCE since most of the code is in an useEffect and is not gonna run ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attac...
[ { "path": "packages/next/client/components/use-reducer-with-devtools.ts", "patch": "@@ -104,7 +104,20 @@ function devToolReducer(\n }\n }\n \n-export function useReducerWithReduxDevtools(\n+function useReducerWithReduxDevtoolsNoop(\n+ fn: typeof reducer,\n+ initialState: ReturnType<typeof reducer>\n+): ...
2022-09-29T10:08:44
huggingface/transformers
1a0cd69435cf6ddfef2b15e37cbddd94e13348f4
d8a5d31d9cc7a186c71bf5b43bf2943186c9b92a
feat: allow to use hf-hub models for timm backbone (#34729) Currently a backbone name like 'hf-hub:bioptimus/H-optimus-0' throws an error, even though it could work. Co-authored-by: Christian Gebbe <>
[ { "path": "src/transformers/models/timm_backbone/modeling_timm_backbone.py", "patch": "@@ -50,11 +50,6 @@ def __init__(self, config, **kwargs):\n if config.backbone is None:\n raise ValueError(\"backbone is not set in the config. Please set it to a timm model name.\")\n \n- # Cert...
2024-11-19T10:26:35
nodejs/node
6a9f0499688b7515f3156a1754583d7624b25989
ab8bf26994677a5f0823b3810668f6cfa18374d9
tools,lib: forbid native Error constructors This adds a rule that forbids the use of native Error constructors in the `lib` directory. This is to encourage use of the `internal/errors` mechanism. The rule is disabled for errors that are not created with the `internal/errors` module but are still assigned an error code...
[ { "path": ".eslintrc.js", "patch": "@@ -148,6 +148,7 @@ module.exports = {\n }\n ],\n /* eslint-disable max-len, quotes */\n+ // If this list is modified, please copy the change to lib/.eslintrc.yaml\n 'no-restricted-syntax': [\n 'error',\n {", "additions": 1, "delet...
2018-03-15T13:22:43
golang/go
c0aa7bd7602257dd7d5be4db13dd10284bd5f826
df23540ddef33f47faf7bba2a6fc37c44a662ab0
[dev.typeparams] cmd/compile: small fixes for stenciling - Create the stencil name using targ.Type.String(), which handles cases where, for example, a type argument is a pointer to a named type, etc. *obj. - Set name.Def properly for a new stenciled func (have the symbol point back to the associated functi...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -80,7 +80,7 @@ func makeInstName(inst *ir.InstExpr) *types.Sym {\n \t\tif i > 0 {\n \t\t\tb.WriteString(\",\")\n \t\t}\n-\t\tb.WriteString(targ.Name().Sym().Name)\n+\t\tb.WriteString(targ.Type().String())\n \t}\n \tb.WriteString(\"]\")\n \t...
2021-02-10T23:26:40
ollama/ollama
c744134287788cef18a64f7c022fc7cfee9a8737
4be41d2d4562b39712da8fee1e16ae1d81cf9697
vulkan: Get FilterID from Backend for Vulkan (#12655) * vulkan: Get FilterID from Backend for Vulkan * Fixing patch
[ { "path": "discover/runner.go", "patch": "@@ -550,13 +550,6 @@ func bootstrapDevices(ctx context.Context, ollamaLibDirs []string, extraEnvs []s\n \t}\n \tlogutil.Trace(\"runner enumerated devices\", \"OLLAMA_LIBRARY_PATH\", ollamaLibDirs, \"devices\", devices)\n \n-\t// Enumerate returned devices starting a...
2025-10-16T16:07:35
huggingface/transformers
eed11f34abe558c76590366a21316318e5f820ed
759a378ee50a561ee0081651a927c693c3d777e3
Fix Whisper CI (#34617) * Revert "Revert "Fix Whisper CI" (#34605)" This reverts commit 74d3824cc0725829e7d92e1d43b97be1f18454f8. * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/generation/flax_utils.py", "patch": "@@ -398,7 +398,11 @@ def generate(\n )\n generation_config.max_length = generation_config.max_new_tokens + input_ids_seq_length\n else: # by default let's always generate 10 new tokens\n- generat...
2024-11-18T20:37:50
vercel/next.js
e550222db74983ee49f438e48e26b55e596d80d9
c1c95bfd319ff90c3867d9950aa4fea70117e6f2
Drop legacy React DOM Server in Edge runtime (#40018) When possible (`ReactRoot` enabled), we always use `renderToReadableStream` to render the element to string and drop all `renderToString` and `renderToStaticMarkup` usages. Since this is always true for the Edge Runtime (which requires React 18+), so we can safe...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1186,6 +1186,10 @@ export default async function getBaseWebpackConfig(\n '@builder.io/partytown': '{}',\n 'next/dist/compiled/etag': '{}',\n 'next/dist/compiled/chalk': '{}',\n+ ...
2022-09-29T08:56:28
nodejs/node
ab8bf26994677a5f0823b3810668f6cfa18374d9
fddcd6253b237ca68430f44c7614bf52d57c4f97
fs,cluster,net: assign error codes to remaining errors After this commit, all errors thrown from JS code in lib have an error code. PR-URL: https://github.com/nodejs/node/pull/19373 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -777,6 +777,12 @@ Encoding provided to `util.TextDecoder()` API was not one of the\n A `Promise` that was callbackified via `util.callbackify()` was rejected with a\n falsy value.\n \n+<a id=\"ERR_FS_FILE_TOO_LARGE\"></a>\n+### ERR_FS_FILE_TOO_LARGE\n+\n+An attemp...
2018-03-15T13:22:36
rust-lang/rust
6bb090438559e1b0ff3717036d81f8ed40bb15d5
fabb6fdc4f137cb9258cd1f90ea54b2964da27b8
Fix a bug in MBE expansion that arose from incorrect fixing of an older bug in MBE Specifically, #18744 was the PR that was supposed to fix the old bug, but it fixed it incorrectly (and didn't add a test!) The underlying reason was that we marked metavariables in expansions as joint if they were joint in the macro cal...
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mbe.rs", "patch": "@@ -1979,3 +1979,51 @@ fn f() {\n \"#]],\n );\n }\n+\n+#[test]\n+fn semicolon_does_not_glue() {\n+ check(\n+ r#\"\n+macro_rules! bug {\n+ ($id: expr) => {\n+ true\n+ };\n+ ($id: expr;...
2025-04-01T16:21:01
ollama/ollama
de670570c919f5c3e906b3beb91e9d2fc7ebe600
201d93716e365766af734406df6b637207b75a63
fs/ggml: fix function name in comment (#12630)
[ { "path": "fs/ggml/type.go", "patch": "@@ -229,7 +229,7 @@ const (\n \tTensorTypeMXFP4\n )\n \n-// ParseFileType parses the provided GGUF file type\n+// ParseTensorType parses the provided GGUF tensor type\n // Only Ollama supported types are considered valid\n func ParseTensorType(s string) (TensorType, er...
2025-10-16T04:53:38
golang/go
864d4f1c6b364e13c0a4008bc203f336b0027f44
26ceae85a89dc4ea910cc0bfa209c85213a93725
cmd/go: multiple small 'go help' fixes * Link to privacy policies for proxy.golang.org and sum.golang.org in 'go help modules'. It's important that both policies are linked from the go command's documentation. * Fix wording and typo in 'go help vcs' following comments in CL 290992, which adds reference documenta...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1808,7 +1808,7 @@\n // \t\tThe directory where the go command will write\n // \t\ttemporary source files, packages, and binaries.\n // \tGOVCS\n-// \t Lists version control commands that may be used with matching servers.\n+// \t\tLists version control comma...
2021-02-11T15:27:55
huggingface/transformers
20142ab5422fbafcd10e221e37e95f8aaf1bde3c
7df93d6ffb48946e532c7d766fe10372e98d78b6
Simplify Tensor Parallel implementation with PyTorch TP (#34184) * Simplify Tensor Parallel implementation with PyTorch TP * Move tp_plan to config * Lint * Format and warning * Disable copy-from check * Conditionally get attr from config * make fix-copies * Move base_model_tp_plan to PretrainedCo...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -218,6 +218,8 @@\n title: CPU inference\n - local: perf_infer_gpu_one\n title: GPU inference\n+ - local: perf_infer_gpu_multi\n+ title: Multi-GPU inference\n title: Optimizing inference\n - local: big_models\n title: Ins...
2024-11-18T18:51:49
vercel/next.js
2df817ceb9c564e3693f9588b8ddf2e6b60088e8
8659d6f87a3bee9828acf09297e647d2e253ad21
Docs for experimental font optimization `adjustFontFallbacks` (#40771) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature reque...
[ { "path": "docs/basic-features/font-optimization.md", "patch": "@@ -65,6 +65,58 @@ module.exports = {\n }\n ```\n \n+## Optimize CLS for Fonts\n+\n+Next.js can reduce the Cumulative Layout Shift ([CLS](https://web.dev/cls/)) of your website by adjusting the size of your fallback fonts and inlining the font ...
2022-09-29T05:58:21
nodejs/node
fddcd6253b237ca68430f44c7614bf52d57c4f97
9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4
test: move ESM fixtures to fixtures dir Also consistently import the `common` module where possible. PR-URL: https://github.com/nodejs/node/pull/19409 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me...
[ { "path": "test/es-module/esm-snapshot.js", "patch": "@@ -1,3 +0,0 @@\n-/* eslint-disable node-core/required-modules */\n-'use strict';\n-module.exports = 1;", "additions": 0, "deletions": 3, "language": "JavaScript" }, { "path": "test/es-module/test-esm-basic-imports.mjs", "patch": ...
2018-03-17T11:45:22
huggingface/transformers
7df93d6ffb48946e532c7d766fe10372e98d78b6
7693b6226820a5168f7b4e7c0b08b351ce36a690
fix: Wrong task mentioned in docs (#34757)
[ { "path": "docs/source/en/tasks_explained.md", "patch": "@@ -182,7 +182,7 @@ There are three main components to Mask2Former:\n \n The mask predictions are generated by combining the pixel-embeddings with the final decoder hidden states. The sigmoid cross-entropy and dice loss is calculated between the l...
2024-11-18T18:42:28
ollama/ollama
8b6e5baee71c6a1588cf062b150f229b2436e1d8
75d17fc6c20514417193882de7a0ece75ee301d1
CI: Set up temporary opt-out Vulkan support (#12614) Initially Vulkan support in Ollama will require building from source. Once it is more thoroughly tested and we have fixed any critical bugs, then we can bundle Vulkan into the official binary releases.
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -237,13 +237,13 @@ jobs:\n include:\n - os: linux\n arch: amd64\n- target: archive\n+ target: archive_novulkan\n - os: linux\n arch: amd64\n target: rocm\n ...
2025-10-15T21:18:01
golang/go
e5b08e6d5cecb646066c0cadddf6300e2a10ffb2
ed8079096fe2e78d6dcb8002758774dca6d24eee
io/fs: allow backslash in ValidPath, reject in os.DirFS.Open Rejecting backslash introduces problems with presenting underlying OS file systems that contain names with backslash. Rejecting backslash also does not Windows-proof the syntax, because colon can also be a path separator. And we are not going to reject colon...
[ { "path": "src/io/fs/fs.go", "patch": "@@ -10,6 +10,7 @@ package fs\n import (\n \t\"internal/oserror\"\n \t\"time\"\n+\t\"unicode/utf8\"\n )\n \n // An FS provides access to a hierarchical file system.\n@@ -32,15 +33,22 @@ type FS interface {\n \n // ValidPath reports whether the given path name\n // is va...
2021-02-09T18:46:53
vercel/next.js
7424c4b6cd4273d5420f15ea12de6897d78b169a
be38f61c1104a1702b803bae5f274b079a0b0b4e
Fix broken link in migration docs. (#41013) https://vercel.com/templates/next.js/monorepo-turborepo
[ { "path": "docs/migrating/incremental-adoption.md", "patch": "@@ -92,4 +92,4 @@ Once your monorepo is set up, push changes to your Git repository as usual and y\n \n ## Conclusion\n \n-To learn more, read about [subpaths](/docs/api-reference/next.config.js/basepath.md) and [rewrites](/docs/api-reference/nex...
2022-09-29T02:35:09
nodejs/node
9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4
74553465e6c450a3777c27f9cd3bd209a3726eda
net: emit 'close' after 'end' Currently the writable side of the socket is closed as soon as `UV_EOF` is read regardless of the state of the socket. This allows the handle to be closed before `'end'` is emitted and thus `'close'` can be emitted before `'end'` if the socket is paused. This commit prevents the handle f...
[ { "path": "lib/net.js", "patch": "@@ -373,8 +373,6 @@ function afterShutdown(status, handle) {\n if (self._readableState.ended) {\n debug('readableState ended, destroying');\n self.destroy();\n- } else {\n- self.once('_socketEnd', self.destroy);\n }\n }\n \n@@ -530,6 +528,11 @@ Socket.protot...
2018-03-08T21:47:55
huggingface/transformers
7693b6226820a5168f7b4e7c0b08b351ce36a690
1ef6c5f1c5b96af27d569fd7520c8884898125c1
Fix callback key name (#34762) Fixes typo.
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -174,7 +174,7 @@ trainer = Trainer(\n processing_class=tokenizer,\n data_collator=data_collator,\n compute_metrics=compute_metrics,\n- callback=[EarlyStoppingCallback()],\n+ callbacks=[EarlyStoppingCallback()],\n )\n ```\n ", "additio...
2024-11-18T18:41:12
ollama/ollama
8fafc8af77105030ce485c96c355dafce316ec24
c3c85aa06c1b7dcf8d7d811a4ebdf53d407faceb
ml/backend/ggml: NVML fallback for unified memory GPUs (#12619) * Simplify NVML fallback for unified memory GPUs Remove device-specific checks and environment variable dependency for NVML_ERROR_NOT_SUPPORTED fallback. When NVML doesn't support memory queries, unconditionally use /proc/meminfo instead of checking devi...
[ { "path": "llama/patches/0029-NVML-fallback-for-unified-memory-GPUs.patch", "patch": "@@ -0,0 +1,137 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Santosh Bhavani <santosh.bhavani@live.com>\n+Date: Wed, 15 Oct 2025 09:29:51 -0700\n+Subject: [PATCH] NVML fallback for uni...
2025-10-15T18:40:06
golang/go
ed8079096fe2e78d6dcb8002758774dca6d24eee
e9c96835971044aa4ace37c7787de231bbde05d9
cmd/compile: mark concrete call of reflect.(*rtype).Method as REFLECTMETHOD For functions that call reflect.Type.Method (or MethodByName), we mark it as REFLECTMETHOD, which tells the linker that methods can be retrieved via reflection and the linker keeps all exported methods live. Currently, this marking expects exa...
[ { "path": "src/cmd/compile/internal/gc/walk.go", "patch": "@@ -550,8 +550,12 @@ opswitch:\n \tcase OCLOSUREVAR, OCFUNC:\n \n \tcase OCALLINTER, OCALLFUNC, OCALLMETH:\n-\t\tif n.Op == OCALLINTER {\n+\t\tif n.Op == OCALLINTER || n.Op == OCALLMETH {\n+\t\t\t// We expect both interface call reflect.Type.Method ...
2021-02-10T17:43:18
vercel/next.js
be38f61c1104a1702b803bae5f274b079a0b0b4e
7e8eb2880f0d885e0487df8196fe913963796fe7
Use throw to trigger Suspense to avoid use() in reducer warning (#40950) This is a temporarily fix as discussed with @sebmarkbage. It will be superseded by async reducer functions once that's added. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful ...
[ { "path": "packages/next/client/components/reducer.ts", "patch": "@@ -7,10 +7,43 @@ import type {\n Segment,\n } from '../../server/app-render'\n // TODO-APP: change to React.use once it becomes stable\n-import { experimental_use as use } from 'react'\n import { matchSegment } from './match-segments'\n im...
2022-09-29T00:21:41
huggingface/transformers
1ef6c5f1c5b96af27d569fd7520c8884898125c1
e80a65ba4fbbf085fda2cf0fdb0e8d48785979c8
fix: Update pixel_values parameter in hf_model input (#34782)
[ { "path": "src/transformers/models/blip_2/convert_blip_2_original_to_pytorch.py", "patch": "@@ -249,7 +249,7 @@ def convert_blip2_checkpoint(\n {\"image\": original_pixel_values, \"text_input\": [caption]}, match_head=\"itm\"\n )\n logits = hf_model(\n- ...
2024-11-18T18:40:01
nodejs/node
0ac4ef9a4c5672b573768050259b0fe537778a1e
0fc3592255f8d06a838869ca6827beb58871e98b
doc: fix changelog s/9\.7\.1/9\.8\.0 PR-URL: https://github.com/nodejs/node/pull/19515 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "CHANGELOG.md", "patch": "@@ -32,7 +32,7 @@ release.\n <tr>\n <td valign=\"top\">\n <b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.9.0\">9.9.0</a></b><br/>\n-<a href=\"doc/changelogs/CHANGELOG_V9.md#9.7.1\">9.8.0</a><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.8.0\">9.8.0</a><br/>\n <a hr...
2018-03-21T16:04:32
ollama/ollama
3dcfd5f69e186ccd186a94848e870a87828be68a
53a969d509cdf7472622c648d03525b5150ddbc0
llm: Perform eviction when num_gpu is set with new estimates Currently, if you set num_gpu then this forces the model to load with that number of layers in the current configuration. This is done regardless of any other information, which means that no eviction is performed even if another model is loaded. This behav...
[ { "path": "llm/server.go", "patch": "@@ -928,7 +928,7 @@ func (s *ollamaServer) createLayout(systemInfo discover.SystemInfo, systemGPUs d\n \t\t\t}\n \t\t}\n \n-\t\tlibraryGpuLayers := assignLayers(layers, gl, s.options.NumGPU, lastUsedGPU)\n+\t\tlibraryGpuLayers := assignLayers(layers, gl, requireFull, s.o...
2025-10-15T00:21:16
golang/go
7743f60b5a01b5892edda7311484a2c2bc207ea2
25bd2e962e33d15922111464311c4a94ec910773
[dev.fuzz] testing: make F.Fuzz more similar to T.Run This change rewrites much of the glue code in testing/fuzz.go to work more analogously to T.Run. This results in improved behavior: * If a fuzz target returns without calling F.Skip, F.Fail, or F.Fuzz, 'go test' will report an error and exit non-zero. * Function...
[ { "path": "src/cmd/go/testdata/script/test_fuzz.txt", "patch": "@@ -3,17 +3,15 @@\n \n # Test that running a fuzz target that returns without failing or calling\n # f.Fuzz fails and causes a non-zero exit status.\n-# BUG(jayconrod): for now, it passes.\n-go test noop_fuzz_test.go\n-stdout ok\n-! stdout FAIL...
2021-02-09T15:08:48
rust-lang/rust
54994b2d4b89a8af8c5a04799e7fa224c7103ea6
d28d2344d000aa96bef729cf408731f952f71fb0
Fix the primary span of redundant_pub_crate when flagging nameless items
[ { "path": "clippy_lints/src/redundant_pub_crate.rs", "patch": "@@ -52,13 +52,10 @@ impl<'tcx> LateLintPass<'tcx> for RedundantPubCrate {\n && is_not_macro_export(item)\n && !item.span.in_external_macro(cx.sess().source_map())\n {\n- // FIXME: `DUMMY_SP` isn't right...
2025-04-01T16:20:41
vercel/next.js
299f392d7b63773065b42c322ae5f5ca040e3bf4
a89d760d60fbc1fb670715a010a71cf9a6c2ebb4
Add support for fallback font and css variable for font/local (#40990) Adds support for generating a fallback font by providing font override metrics for the given local font. Also adds support for providing a CSS variable name that then can be accessed through the `.variable` export, it contains the hashed font fa...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -1,8 +1,8 @@\n-import type { FontLoader } from 'next/font'\n+import type { AdjustFontFallback, FontLoader } from 'next/font'\n // @ts-ignore\n import fetch from 'next/dist/compiled/node-fetch'\n // @ts-ignore\n-import { calculateOverrideCSS } from...
2022-09-28T19:19:52
huggingface/transformers
1c471fc3070a9179f32d147df40b760804f2ef4e
c772d4d91eedf65e1cc12971dd7bd4f7232883d4
Fix skip of test_training_gradient_checkpointing (#34723) 19d58d31f has introduced a context manager to manage subtests of test_training_gradient_checkpointing. However, test body was not moved under "with" statement. Thus, while tests are correctly marked as skipped, test bodies were still executed. In some cases,...
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -849,29 +849,29 @@ def check_training_gradient_checkpointing(self, gradient_checkpointing_kwargs=No\n ):\n self.skipTest(reason=f\"`supports_gradient_checkpointing` is False for {model_class.__name__}.\")\n \n- ...
2024-11-18T14:45:40
nodejs/node
0fc3592255f8d06a838869ca6827beb58871e98b
81f88e30dd6de4c2132580a7238cb54b55e012fc
2018-03-21, Version 9.9.0 (Current) Notable changes: * assert: - From now on all error messages produced by `assert` in strict mode will produce a error diff. (Ruben Bridgewater) https://github.com/nodejs/node/pull/17615 - From now on it is possible to use a validation object in throws instead of the ...
[ { "path": "CHANGELOG.md", "patch": "@@ -31,7 +31,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.8.0\">9.8.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.9.0\">9.9.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.7.1\">9.8.0</...
2018-03-18T13:45:41
ollama/ollama
850da848c58869474c97fc5c4ae58d27f05b65a1
2aba569a2a593f56651ded7f5011480ece70c80f
logs: fix bogus "0 MiB free" log line (#12590) On the llama runner, after the recent GGML bump a new log line reports incorrect 0 MiB free after our patch to remove memory from the props. This adjusts the llama.cpp code to fetch the actual free memory of the active device.
[ { "path": "llama/llama.cpp/src/llama.cpp", "patch": "@@ -267,10 +267,12 @@ static struct llama_model * llama_model_load_from_file_impl(\n for (auto * dev : model->devices) {\n ggml_backend_dev_props props;\n ggml_backend_dev_get_props(dev, &props);\n+ size_t memory_free, memory_to...
2025-10-14T18:26:28
rust-lang/rust
d2358f7f2e1ec1a058308fc3149ecd5e7d3d4a12
ed201574c5d6117fb4a491db545c96fa4289ea9c
fix link in netbsd.md Update netbsd.md Update netbsd.md
[ { "path": "src/doc/rustc/src/platform-support/netbsd.md", "patch": "@@ -34,7 +34,7 @@ are built for NetBSD 8.x but also work on newer OS versions).\n ## Designated Developers\n \n - [@he32](https://github.com/he32), `he@NetBSD.org`\n-- [NetBSD/pkgsrc-wip's rust](https://github.com/NetBSD/pkgsrc-wip/blob/mas...
2025-04-01T12:26:55
vercel/next.js
78cb07a4ca6fc66c583a28e30b714ad91275adbe
fa19f172bcd4cc1d0fea3761d0f5f96931ffba74
chore: remove unsless @ts-ignore (#40992) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for impl...
[ { "path": "packages/next/build/webpack/plugins/app-build-manifest-plugin.ts", "patch": "@@ -45,7 +45,6 @@ export class AppBuildManifestPlugin {\n compilation.hooks.processAssets.tap(\n {\n name: PLUGIN_NAME,\n- // @ts-ignore TODO: Remove ignore when webpack 5 is stable\n ...
2022-09-28T17:53:08
golang/go
25bd2e962e33d15922111464311c4a94ec910773
1b5cf71ccf0dc95f121830cfdad8280c4f6c1f28
[dev.fuzz] testing: move inFuzzFn checks from common to F inFuzzFn is set when the fuzz function is called. While it's set, F methods that have side effects like Skip and Fail may not be called. Previously, (CL 259657) inFuzzFn was in common, and we checked it in the common implementation of those methods. This cause...
[ { "path": "src/testing/fuzz.go", "patch": "@@ -43,11 +43,14 @@ type InternalFuzzTarget struct {\n type F struct {\n \tcommon\n \tcontext *fuzzContext\n+\tinFuzzFn bool // set to true when fuzz function is running\n \tcorpus []corpusEntry // corpus is the in-memory corpus\n \tresult FuzzResult ...
2021-02-09T22:32:08
huggingface/transformers
c772d4d91eedf65e1cc12971dd7bd4f7232883d4
eb0ab3ed4bf61066edb3d38e4131cd9b8a6e94bc
fix a typo bug where 'id2label' was incorrectly written as 'i2label' when reading config (#34637) fix a bug where 'id2label' was incorrectly written as 'i2label' when reading the config from pretrained config
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -331,7 +331,7 @@ def main():\n config = AutoConfig.from_pretrained(\n args.model_name_or_path,\n num_labels=len(labels),\n- i2label=id2label,\n+ id2label=id2label,\n ...
2024-11-18T13:41:48
nodejs/node
1d42b2018fe87bbf4e032d398d24e9279279a480
41193bcf2f660eb9efb8510752b4ca6ebf27600a
tools: fix nits in tools/doc/preprocess.js PR-URL: https://github.com/nodejs/node/pull/19473 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "tools/doc/preprocess.js", "patch": "@@ -5,7 +5,7 @@ module.exports = preprocess;\n const path = require('path');\n const fs = require('fs');\n \n-const includeExpr = /^@include\\s+([A-Za-z0-9-_]+)(?:\\.)?([a-zA-Z]*)$/gmi;\n+const includeExpr = /^@include\\s+[\\w-]+\\.?[a-zA-Z]*$/gmi;\n const incl...
2018-03-20T11:25:45
golang/go
9b967d12a9f1a13c79104b834a17c4356585cc7a
6f401df36680526d7e6eabb70ce8c4dd986273ef
[dev.fuzz] internal/fuzz: worker exiting 0 should not be a crasher If a worker process exits with status 0, treat it as a communication error. Previously, we treated this as a crasher, but it seems more likely to be caused by a bug in the fuzz function rather than a bug in the code being tested. Change-Id: I0c4efeaef...
[ { "path": "src/internal/fuzz/worker.go", "patch": "@@ -96,6 +96,11 @@ func (w *worker) runFuzzing() error {\n \t\t\t\tw.stop()\n \t\t\t\treturn nil\n \t\t\t}\n+\t\t\tif w.waitErr == nil {\n+\t\t\t\t// Worker exited 0.\n+\t\t\t\tw.stop()\n+\t\t\t\treturn fmt.Errorf(\"worker exited unexpectedly with status 0\...
2021-02-09T15:23:40
vercel/next.js
fa19f172bcd4cc1d0fea3761d0f5f96931ffba74
ebf2b298cbaac71d91fb098dd402babd549dade7
Skip creating virtual app client entry for pages (#41000) When there're only one edge route in `pages/` and one in `app/`, the virtual client entry is split into pages chunks which is not expected. We should only create client virtual entries for `app/`, not `pages/`, now we skip the `pages/` entries for client entry ...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -96,6 +96,9 @@ export class FlightClientEntryPlugin {\n }) => void\n ) {\n for (const [name, entry] of compilation.entries.entries()) {\n+ // Skip for entries under pages/\n+ if (name.st...
2022-09-28T17:03:21
huggingface/transformers
eb0ab3ed4bf61066edb3d38e4131cd9b8a6e94bc
1646ffb4d19b6777fd45ac727c7a7c323d51e7f8
Fix broken link (#34618)
[ { "path": "docs/source/en/tasks/image_classification.md", "patch": "@@ -26,7 +26,7 @@ after a natural disaster, monitoring crop health, or helping screen medical imag\n \n This guide illustrates how to:\n \n-1. Fine-tune [ViT](model_doc/vit) on the [Food-101](https://huggingface.co/datasets/food101) dataset...
2024-11-18T13:13:26
nodejs/node
3662934b5ac9002586676fdec662bea957144b34
1b8746fb9558ca15bd7e514ddc9f4fe052768efe
doc: fix paragraph order in stream.md Place `writable.destroy()`, `readable.destroy()`, and `readable.read()` in the proper ABC order. PR-URL: https://github.com/nodejs/node/pull/19501 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -354,6 +354,19 @@ buffered writes in a more optimized manner.\n \n See also: [`writable.uncork()`][].\n \n+##### writable.destroy([error])\n+<!-- YAML\n+added: v8.0.0\n+-->\n+\n+* Returns: {this}\n+\n+Destroy the stream, and emit the passed `error` and a `close` e...
2018-03-21T02:12:32
ollama/ollama
2aba569a2a593f56651ded7f5011480ece70c80f
fd8aa947f3f096a876fe2d3e2bfd4861eda930bb
Vulkan based on #9650 (#11835) * implement the vulkan C backend * add support in gpu.go * add support in gen_linux.sh * it builds * fix segfault * fix compilation * fix free memory monitor * fix total memory monitor * update gpu.go * fix build * fix check_perfmon len * remove cap_get_bound check * fix vulk...
[ { "path": ".github/workflows/test.yaml", "patch": "@@ -52,14 +52,32 @@ jobs:\n container: rocm/dev-ubuntu-22.04:6.1.2\n extra-packages: rocm-libs\n flags: '-DAMDGPU_TARGETS=gfx1010 -DCMAKE_PREFIX_PATH=/opt/rocm'\n+ - preset: Vulkan\n+ container: ubuntu...
2025-10-14T17:59:58