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 | 4826abb6c2f391a9fb26c83d8ec4d6bc7cc6dc1a | 283d65413db75edbc4691c4fecf23228509436f0 | cmd/compile: do not assume TST and TEQ set V on arm
These replacement rules assume that TST and TEQ set V. But TST and
TEQ do not set V. This is a problem because instructions like LT are
actually checking for N!=V. But with TST and TEQ not setting V, LT
doesn't do anything meaningful. It's possible to construct trivi... | [
{
"path": "src/cmd/compile/internal/ssa/gen/ARM.rules",
"patch": "@@ -1369,38 +1369,38 @@\n (LE (CMPconst [0] l:(ADDshiftLLreg x y z)) yes no) && l.Uses==1 => (LEnoov (CMNshiftLLreg x y z) yes no)\n (LE (CMPconst [0] l:(ADDshiftRLreg x y z)) yes no) && l.Uses==1 => (LEnoov (CMNshiftRLreg x y z) yes no)\n (L... | 2020-11-30T09:41:46 |
nodejs/node | 8578fe22a973848b4303f915371b98153ed50d44 | 968e20c7e59e33900cf45523026b1e4bc50ed9f0 | assert: fix strict regression
Using `assert()` or `assert.ok()` resulted in a error since a
refactoring.
Refs: https://github.com/nodejs/node/pull/17582
PR-URL: https://github.com/nodejs/node/pull/17903
Refs: https://github.com/nodejs/node/pull/17582
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By:... | [
{
"path": "lib/assert.js",
"patch": "@@ -316,7 +316,15 @@ assert.ifError = function ifError(err) { if (err) throw err; };\n \n // Expose a strict only variant of assert\n function strict(value, message) {\n- if (!value) innerFail(value, true, message, '==', strict);\n+ if (!value) {\n+ innerFail({\n+ ... | 2017-12-28T17:58:08 |
vercel/next.js | 8324cf521813e8596882a520cc9cc90639a8c28b | 49d5e362d40645bd0cba9140120941d454f5d920 | update webpack (#38988)
https://github.com/webpack/webpack/releases/tag/v5.74.0
There is a nice little performance fix for rebuild performance in this release.
It also fixes the edge case @Kikobeats did run into: https://vercel.slack.com/archives/CGU8HUTUH/p1656505879286119 | [
{
"path": "package.json",
"patch": "@@ -199,9 +199,8 @@\n \"turbo\": \"1.3.2-canary.1\",\n \"typescript\": \"4.6.3\",\n \"wait-port\": \"0.2.2\",\n- \"webpack\": \"link:node_modules/webpack5\",\n- \"webpack-bundle-analyzer\": \"4.3.0\",\n- \"worker-loader\": \"3.0.7\"\n+ \"webpack\":... | 2022-07-25T15:47:11 |
rust-lang/rust | 5da1ba41b3ba8573b8b16a7207b7b29f895f3dfa | ecade534c66478c51c5d3c1d3682dc4beb0ac972 | Fix typo in hir lowering lint diag | [
{
"path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs",
"patch": "@@ -411,7 +411,9 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n Applicability::MachineApplicable,\n );\n if !is_dyn_compatible {\n- diag.note(format!(\"`{trait_name}` it is dy... | 2025-03-14T20:19:38 |
ollama/ollama | 7ed367419e8fee28c393f1f80edfb5686fddaed6 | 50ee8b5f56fa370c0f1b6b8d93826c7a0bfa7c29 | fix concurrency test | [
{
"path": "integration/concurrency_test.go",
"patch": "@@ -5,6 +5,7 @@ package integration\n import (\n \t\"context\"\n \t\"log/slog\"\n+\t\"os\"\n \t\"strconv\"\n \t\"sync\"\n \t\"testing\"\n@@ -13,7 +14,6 @@ import (\n \t\"github.com/stretchr/testify/require\"\n \n \t\"github.com/ollama/ollama/api\"\n-\t\... | 2024-08-05T23:34:54 |
huggingface/transformers | 1c36db697a52fb7ef09c85c46fe60f5434a1aff1 | 0b066bed14306303e456928e405fbfd4e45b4094 | fix multi-gpu with static cache (#32543) | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1085,6 +1085,8 @@ def update(\n A tuple containing the updated key and value states.\n \"\"\"\n cache_position = cache_kwargs.get(\"cache_position\")\n+ self.key_cache[layer_idx] = self.key_cache[layer_idx].to(devi... | 2024-08-16T17:02:37 |
golang/go | 283d65413db75edbc4691c4fecf23228509436f0 | 7fca39aa05ad3c60abac1ae51ae9847dfbe017d6 | encoding/json: revert "add "json: " prefix to SyntaxError messages"
This reverts commit 6af088bfc66c13143c9ef46b4cf0805df77a8fbe.
Reason for revert: Broke many tests inside Google which implies many
tests were broken outside of Google as well. The tests may be brittle
but still would require work to change and it's n... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -454,12 +454,6 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"encoding/json\"><dt><a href=\"/pkg/encoding/json/\">encoding/json</a></dt>\n <dd>\n- <p><!-- CL 263619 -->\n- The error message for\n- <a href=\"/pkg/en... | 2020-11-27T21:55:27 |
rust-lang/rust | ed1778c226591425b31f93ae01a2997fcbbcc738 | 9576c712ccc22ce09be4317b90813600d2af2533 | Fix clippy | [
{
"path": "clippy_lints/src/suspicious_operation_groupings.rs",
"patch": "@@ -528,7 +528,7 @@ fn ident_difference_expr_with_base_location(\n &strip_non_ident_wrappers(left).kind,\n &strip_non_ident_wrappers(right).kind,\n ) {\n- (Yield(_), Yield(_))\n+ (Yield(_, _), Yield(_... | 2025-03-13T23:14:31 |
vercel/next.js | 49d5e362d40645bd0cba9140120941d454f5d920 | e32a4c857b82b22296b9d4893a6183cc6293f4b9 | Add state comparison to router (#38422)
Lands #37431 again, but it only solves the re-render issue completely for the middleware case (closes #38267), not the `rewrites` case (#37139).
For `rewrites`, the blocker is `isReady` always being `false` initially and to match the markup on hydration we can't simply work aro... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -46,6 +46,7 @@ import { addBasePath } from '../../../client/add-base-path'\n import { hasBasePath } from '../../../client/has-base-path'\n import { getNextPathnameInfo } from './utils/get-next-pathname-info'\n import { formatNextPathnameInf... | 2022-07-25T15:25:56 |
ollama/ollama | 04210aa6ddf9ec5d5b6101f6e8a12b68d7aadfee | 39f2bc6bfccef2d82aa1d7e8a7aecf0e14bc126c | Catch one more error log | [
{
"path": "llm/status.go",
"patch": "@@ -26,6 +26,7 @@ var errorPrefixes = []string{\n \t\"cudaMalloc failed\",\n \t\"\\\"ERR\\\"\",\n \t\"error loading model\",\n+\t\"GGML_ASSERT\",\n }\n \n func (w *StatusWriter) Write(b []byte) (int, error) {",
"additions": 1,
"deletions": 0,
"language": "Go"... | 2024-08-05T16:28:07 |
huggingface/transformers | a27182b7fc57d07adc853689978649b2f6b1cf5b | cf32ee1753c9747b877113a309c2aa989f6d006c | Fix AutoConfig and AutoModel support for Llava-Next-Video (#32844)
* Fix: fix all model_type of Llava-Next-Video to llava_next_video
* Fix doc for llava_next_video
* * Fix formatting issues
* Change llava-next-video.md file name into llava_next_video.md to make it compatible with implementation
* Fix docs TO... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -822,7 +822,7 @@\n title: Llava\n - local: model_doc/llava_next\n title: LLaVA-NeXT\n- - local: model_doc/llava-next-video\n+ - local: model_doc/llava_next_video\n title: LLaVa-NeXT-Video\n - local: model_doc... | 2024-08-16T11:41:05 |
nodejs/node | 507aab58ca4e84ebbc9f8a023b132c944af2d2d6 | 214bbb5228e1f8baedf704a3c7bb0f7b6ce78c69 | repl: fix coloring of `process.versions`
Remove the custom formatter that was added in commit 4fb27d4 ("intl: Add
more versions from ICU"). It's not necessary anymore (and may not have
been necessary at all) and prevents proper coloring in the REPL.
PR-URL: https://github.com/nodejs/node/pull/17861
Fixes: https://gi... | [
{
"path": "lib/util.js",
"patch": "@@ -1093,10 +1093,6 @@ function _exceptionWithHostPort(err,\n return ex;\n }\n \n-// process.versions needs a custom function as some values are lazy-evaluated.\n-process.versions[inspect.custom] =\n- () => exports.format(JSON.parse(JSON.stringify(process.versions)));\n... | 2017-12-25T07:48:33 |
golang/go | bdc4ffe9a86d1dae0fef9de8395850e5c0b391c6 | 72ad2f44eaf8bb71ea100fd4acf7dd04384c7175 | [dev.typeparams] cmd/compile/internal/types2: add Config.IgnoreBranches flag
If the new Config.IgnoreBranches flag is set, the typechecker
ignores errors due to misplaced labels, break, continue,
fallthrough, or goto statements.
Since the syntax parser already checks these errors, we need
to disable a 2nd check by th... | [
{
"path": "src/cmd/compile/internal/gc/noder.go",
"patch": "@@ -84,7 +84,8 @@ func parseFiles(filenames []string, allowGenerics bool) (lines uint) {\n \n \t\tconf := types2.Config{\n \t\t\tInferFromConstraints: true,\n-\t\t\tCompilerErrorMessages: true,\n+\t\t\tIgnoreBranches: true, // parser alread... | 2020-12-01T20:18:20 |
rust-lang/rust | e3776329ff1f94e2ba3b19a30e0a92e773c224c1 | d038fb8fe3982b4b9ad02c1b84bce5a6afe27af5 | Teach rustfmt to handle postfix yield | [
{
"path": "src/expr.rs",
"patch": "@@ -221,7 +221,7 @@ pub(crate) fn format_expr(\n Ok(format!(\"break{id_str}\"))\n }\n }\n- ast::ExprKind::Yield(ref opt_expr) => {\n+ ast::ExprKind::Yield(ref opt_expr, ast::YieldKind::Prefix) => {\n if let Some... | 2025-03-13T21:36:02 |
vercel/next.js | 413d35b75e837885824e1f309e0f050b5c91a63a | 8365bf62df45d1cafdfbd8c4aad0a6f3ced5f854 | docs: update typescript.md (#38717)
"You [SHOULD NOT](https://datatracker.ietf.org/doc/html/rfc2119#section-4) remove ~n~or edit it" in place of "You cannot remove it or edit it".
Rational:
- It is a strong recommendation; not a weak possibility.
- ~Both actions have a negative connotation; as such, it is appropriate ... | [
{
"path": "docs/basic-features/typescript.md",
"patch": "@@ -64,7 +64,7 @@ npm run dev\n \n You're now ready to start converting files from `.js` to `.tsx` and leveraging the benefits of TypeScript!\n \n-> A file named `next-env.d.ts` will be created in the root of your project. This file ensures Next.js ty... | 2022-07-25T01:39:46 |
huggingface/transformers | 8f9fa3b081403288bb2b3f97244053b5afe46084 | 70d5df61079c50c770347a71b42b518e0fe4d0ff | [tests] make test_sdpa_equivalence device-agnostic (#32520)
* fix on xpu
* [run_all] | [
{
"path": "tests/models/gemma/test_modeling_gemma.py",
"patch": "@@ -27,6 +27,7 @@\n require_flash_attn,\n require_read_token,\n require_torch,\n+ require_torch_accelerator,\n require_torch_gpu,\n require_torch_sdpa,\n slow,\n@@ -460,7 +461,7 @@ def test_flash_attn_2_inference_equ... | 2024-08-16T10:34:13 |
rust-lang/rust | c5093ac1224fe9eeff5c5694f1c3ff643005d7d4 | 635eae2d4fc724cb53a3a45975bc18779a3293b1 | Fix clippy | [
{
"path": "src/tools/clippy/clippy_lints/src/suspicious_operation_groupings.rs",
"patch": "@@ -528,7 +528,7 @@ fn ident_difference_expr_with_base_location(\n &strip_non_ident_wrappers(left).kind,\n &strip_non_ident_wrappers(right).kind,\n ) {\n- (Yield(_), Yield(_))\n+ (Yie... | 2025-03-13T23:14:31 |
golang/go | 72ad2f44eaf8bb71ea100fd4acf7dd04384c7175 | 87bc85a846d5dc2d8fe7dbda900d6066ab98f1a5 | [dev.typeparams] test: add scaffolding to run.go to check compiler with -G flag
Added a new flag -G to run. Setting -G (as in: go run run.go -G)
will run tests marked with "errorcheck" (and no other flags) also
with the compiler using the new typechecker.
Many tests don't pass yet (due to discrepancies in error messa... | [
{
"path": "src/cmd/compile/internal/gc/noder.go",
"patch": "@@ -83,7 +83,8 @@ func parseFiles(filenames []string, allowGenerics bool) (lines uint) {\n \t\t}\n \n \t\tconf := types2.Config{\n-\t\t\tInferFromConstraints: true,\n+\t\t\tInferFromConstraints: true,\n+\t\t\tCompilerErrorMessages: true,\n \t\t\tE... | 2020-12-01T05:38:49 |
huggingface/transformers | c2155235288f09a9751d946b538f97daa9f97598 | f3c8b18053054674b9fe8e2bd4e555e52b1ab857 | add back the position ids (#32554)
* add back the position ids
* fix failing test | [
{
"path": "src/transformers/models/recurrent_gemma/modeling_recurrent_gemma.py",
"patch": "@@ -818,6 +818,7 @@ def get_decoder(self):\n def forward(\n self,\n input_ids: Optional[torch.LongTensor] = None,\n+ position_ids: Optional[torch.LongTensor] = None,\n cache_position... | 2024-08-16T09:00:05 |
vercel/next.js | 8365bf62df45d1cafdfbd8c4aad0a6f3ced5f854 | 8b721227cf82a0af3be07663dc8d218430c80514 | Docs: Fix grammatical typo (#38962)
Fixes grammatical typo found on line 73 of `docs/basic-features/data-fetching/get-static-paths`
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an ... | [
{
"path": "docs/basic-features/data-fetching/get-static-paths.md",
"patch": "@@ -70,7 +70,7 @@ In development (`next dev`), `getStaticPaths` will be called on every request.\n \n `getStaticProps` allows you to control which pages are generated during the build instead of on-demand with [`fallback`](/docs/ap... | 2022-07-24T03:12:10 |
nodejs/node | 41f8c8d121e2854aba53e378357323dbdd49c936 | fd724c5c638d97545e055cdae80a087f077af28a | process: do not directly schedule _tickCallback in _fatalException
When a process encounters a _fatalException that is caught, it should
schedule execution of nextTicks but not in an arbitrary place of the
next Immediates queue. Instead, add a no-op function to the queue
that will ensure processImmediate runs, which w... | [
{
"path": "lib/internal/bootstrap_node.js",
"patch": "@@ -362,6 +362,8 @@\n }\n }\n \n+ function noop() {}\n+\n function setupProcessFatal() {\n const async_wrap = process.binding('async_wrap');\n // Arrays containing hook flags and ids for async_hook calls.\n@@ -372,23 +374,15 @@\n ... | 2017-12-23T15:39:52 |
rust-lang/rust | 9576c712ccc22ce09be4317b90813600d2af2533 | 650b7d957b463bd760cfa7fdbc42619c172a7626 | Teach rustfmt to handle postfix yield | [
{
"path": "clippy_utils/src/ast_utils/mod.rs",
"patch": "@@ -201,7 +201,8 @@ pub fn eq_expr(l: &Expr, r: &Expr) -> bool {\n (Loop(lt, ll, _), Loop(rt, rl, _)) => eq_label(ll.as_ref(), rl.as_ref()) && eq_block(lt, rt),\n (Block(lb, ll), Block(rb, rl)) => eq_label(ll.as_ref(), rl.as_ref()) && ... | 2025-03-13T21:36:02 |
golang/go | 87bc85a846d5dc2d8fe7dbda900d6066ab98f1a5 | fbc4c6a3ae5eb21c93d167e5eebdb07327aa5462 | [dev.typeparams] cmd/compile/internal/types2: adjustments toward matching compiler error messages
In order to get types2 usable by the compiler, we need to
pass all the compiler tests with respect to error messages.
Sometimes the compiler error messages are better, sometimes
the types2 error messages are better. Where... | [
{
"path": "src/cmd/compile/internal/types2/api.go",
"patch": "@@ -119,6 +119,11 @@ type Config struct {\n \t// Do not use casually!\n \tFakeImportC bool\n \n+\t// If CompilerErrorMessages is set, errors are reported using\n+\t// cmd/compile error strings to match $GOROOT/test errors.\n+\t// TODO(gr... | 2020-12-01T05:28:32 |
huggingface/transformers | f3c8b18053054674b9fe8e2bd4e555e52b1ab857 | d6751d91c8f58cdeb35af6adae182d7dc90aa883 | VLMs: small clean-up for cache class (#32417)
* fix beam search in video llava
* [run-slow] video_llava | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -583,6 +583,3 @@ def prepare_inputs_for_generation(\n model_inputs[\"pixel_values\"] = pixel_values\n \n return model_inputs\n-\n- def _reorder_cache(self, *args, **kwargs):\n- return self.language_model.... | 2024-08-16T04:07:05 |
nodejs/node | fd724c5c638d97545e055cdae80a087f077af28a | 9c00f071f0cddad4bbd5ab72f9275c187c11c514 | doc: fix typo
PR-URL: https://github.com/nodejs/node/pull/17900
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -422,7 +422,7 @@ changes:\n When using an authenticated encryption mode (only `GCM` is currently\n supported), the `decipher.setAuthTag()` method is used to pass in the\n received _authentication tag_. If no tag is provided, or if the cipher text\n-has been tamper... | 2017-12-28T12:00:03 |
vercel/next.js | c49c6ab31b6c05e4b369fb8a5e0be09a05e21ded | 25d34057d63e00209721a7dd1c1216824a95b772 | fix: fix generateEtags type inside schema (#38936) | [
{
"path": "packages/next/server/config-schema.ts",
"patch": "@@ -414,8 +414,8 @@ const configSchema = {\n isFunction: true,\n } as any,\n generateEtags: {\n- isFunction: true,\n- } as any,\n+ type: 'boolean',\n+ },\n headers: {\n isFunction: true,\n } as any,",
... | 2022-07-22T19:57:58 |
rust-lang/rust | 635eae2d4fc724cb53a3a45975bc18779a3293b1 | 1c0916a2b3cd6c595e1c7b69a31d507f7619bb67 | Teach rustfmt to handle postfix yield | [
{
"path": "src/tools/clippy/clippy_utils/src/ast_utils/mod.rs",
"patch": "@@ -201,7 +201,8 @@ pub fn eq_expr(l: &Expr, r: &Expr) -> bool {\n (Loop(lt, ll, _), Loop(rt, rl, _)) => eq_label(ll.as_ref(), rl.as_ref()) && eq_block(lt, rt),\n (Block(lb, ll), Block(rb, rl)) => eq_label(ll.as_ref(),... | 2025-03-13T21:36:02 |
ollama/ollama | 4addf6b587b38afb9d3038035c6fc792136bc448 | 85c7f11170cc5aeafdebd7456381b1b3673f1fec | Update OpenAI Compatibility Docs with /v1/completions (#5311)
* Update docs
* token bug corrected
* Update docs/openai.md
* Update docs/openai.md
* add suffix
* merge conflicts
* merge conflicts | [
{
"path": "docs/openai.md",
"patch": "@@ -43,14 +43,20 @@ response = client.chat.completions.create(\n }\n ],\n max_tokens=300,\n+)\n+\n+completion = client.completions.create(\n+ model=\"llama3\",\n+ prompt=\"Say this is a test\",\n+)\n \n list_completion = client.models.list()\n \n m... | 2024-08-02T20:16:23 |
huggingface/transformers | d6751d91c8f58cdeb35af6adae182d7dc90aa883 | ab7e893d09285e0b235e4886401cfab93487169c | fix: update doc link for runhouse in README.md (#32664) | [
{
"path": "examples/README.md",
"patch": "@@ -104,7 +104,7 @@ for running remotely as well. You can easily customize the example used, command\n and type of compute hardware, and then run the script to automatically launch the example.\n \n You can refer to\n-[hardware setup](https://runhouse-docs.readthedo... | 2024-08-15T19:00:55 |
golang/go | 933ce97bbae311b299d342c38df81165334cea37 | 50b16f9de590822a04ec8d6cbac476366c1bde32 | cmd/go: don't print deprecation notice for 'go get exe'
It's difficult for module authors to provide installation instructions
that work in both Go 1.15 and 1.16. We'll wait until 1.17 to print a
deprecation warning for installing executables with 'go get'.
Fixes #42885
Change-Id: I835b447e83e760f48fd664e8a117749e0c... | [
{
"path": "src/cmd/go/internal/modget/get.go",
"patch": "@@ -436,32 +436,9 @@ func runGet(ctx context.Context, cmd *base.Command, args []string) {\n \t\twork.BuildInit()\n \t\tpkgs := load.PackagesForBuild(ctx, pkgPatterns)\n \t\twork.InstallPackages(ctx, pkgPatterns, pkgs)\n-\n-\t\thaveExe := false\n-\t\tf... | 2020-12-01T18:51:17 |
nodejs/node | 9c00f071f0cddad4bbd5ab72f9275c187c11c514 | 64129898fecb3c60ec9bdcc015da1eef6afec236 | test: fix flaky test-benchmark-fs
Some benchmarks may return 0 operations with the new very short duration
provided by the test program. Set environment variable to allow that.
PR-URL: https://github.com/nodejs/node/pull/17885
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.co... | [
{
"path": "test/parallel/test-benchmark-fs.js",
"patch": "@@ -16,4 +16,4 @@ runBenchmark('fs', [\n 'statSyncType=fstatSync',\n 'encodingType=buf',\n 'filesize=1024'\n-], { NODE_TMPDIR: common.tmpDir });\n+], { NODE_TMPDIR: common.tmpDir, NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });",
"additions": 1,
"... | 2017-12-27T19:42:15 |
vercel/next.js | 25d34057d63e00209721a7dd1c1216824a95b772 | e8a049272ddfbc0074ca3eb121492b86c4c394fb | feat: enhance warning messages about unanalyzable `config` field (#38907)
x-ref: #38750
x-ref: https://github.com/vercel/next.js/pull/38750#discussion_r926203439
cc @ijjk
The PR implements the details about un-extractable fields in the `UnsupportedValueError`.
The PR also enhances the warning message about the unr... | [
{
"path": "packages/next/build/analysis/extract-const-value.ts",
"patch": "@@ -53,7 +53,7 @@ export function extractExportedConstValue(\n decl.id.value === exportedName &&\n decl.init\n ) {\n- return extractValue(decl.init)\n+ return extractValue(decl.init, [exportedName]... | 2022-07-22T19:31:47 |
rust-lang/rust | edf65e735cd871d01149131f5d050293a9f1037c | cb50d4d8566b1ee97e9a5ef95a37a40936a62c30 | Add support for postfix yield expressions
We had a discussion[1] today about whether postfix yield would make sense.
It's easy enough to support both in the parser, so we might as well have
both and see how people use it while the feature is experimental.
[1]: https://rust-lang.zulipchat.com/#narrow/channel/481571-t-... | [
{
"path": "compiler/rustc_parse/src/parser/expr.rs",
"patch": "@@ -1310,6 +1310,13 @@ impl<'a> Parser<'a> {\n return self.parse_match_block(lo, match_span, self_arg, MatchKind::Postfix);\n }\n \n+ // Post-fix yield\n+ if self.eat_keyword(exp!(Yield)) {\n+ let yie... | 2025-03-12T22:59:28 |
huggingface/transformers | ab7e893d09285e0b235e4886401cfab93487169c | e8401273704e550b38879eef2f92f0e4866636b8 | fix: Corrected ` falcon-mamba-7b` model checkpoint name (#32837)
Corrected the model checkpoint. | [
{
"path": "src/transformers/models/falcon_mamba/modeling_falcon_mamba.py",
"patch": "@@ -59,7 +59,7 @@\n (selective_state_update, selective_scan_fn, causal_conv1d_fn, causal_conv1d_update, mamba_inner_fn)\n )\n \n-_CHECKPOINT_FOR_DOC = \"tiiuae/falcon_mamba-7b\"\n+_CHECKPOINT_FOR_DOC = \"tiiuae/falcon-m... | 2024-08-15T17:03:18 |
ollama/ollama | ce1fb4447efc9958dcf279f7eb2ae6941bec1220 | 558a54b098dc5044f5c4167ede5c327c970185a2 | Fix models/{model} URL (#6132) | [
{
"path": "docs/openai.md",
"patch": "@@ -86,7 +86,7 @@ curl http://localhost:11434/v1/chat/completions \\\n \n curl http://localhost:11434/v1/models\n \n-curl https://api.openai.com/v1/models/llama3\n+curl http://localhost:11434/v1/models/llama3\n \n curl http://localhost:11434/v1/embeddings \\\n -H \"... | 2024-08-01T23:31:47 |
golang/go | 50b16f9de590822a04ec8d6cbac476366c1bde32 | 212d385a2f723a8dd5e7d2e83efb478ddd139349 | net/http: allow upgrading non keepalive connections
If one was using http.Transport with DisableKeepAlives and trying
to upgrade a connection against net/http's Server, the Server
would not allow a "Connection: Upgrade" header to be written
and instead override it to "Connection: Close" which would
break the handshake... | [
{
"path": "src/net/http/response.go",
"patch": "@@ -352,10 +352,16 @@ func (r *Response) bodyIsWritable() bool {\n \treturn ok\n }\n \n-// isProtocolSwitch reports whether r is a response to a successful\n-// protocol upgrade.\n+// isProtocolSwitch reports whether the response code and header\n+// indicate ... | 2020-10-24T00:40:41 |
nodejs/node | 06666305da855a3c72fd396bd9f3346c8271e40f | 57594d2782c57b0529126a57f7771daf12d045b5 | http2: keep session objects alive during Http2Scope
Keep a local handle as a reference to the JS `Http2Session`
object so that it will not be garbage collected
when inside an `Http2Scope`, because the presence of the
latter usually indicates that further actions on
the session object are expected.
Strictly speaking, ... | [
{
"path": "src/node_http2.cc",
"patch": "@@ -71,6 +71,11 @@ Http2Scope::Http2Scope(Http2Session* session) {\n }\n session->flags_ |= SESSION_STATE_HAS_SCOPE;\n session_ = session;\n+\n+ // Always keep the session object alive for at least as long as\n+ // this scope is active.\n+ session_handle_ = ... | 2017-12-25T19:16:54 |
rust-lang/rust | 50c659fcba19f6d51d465815cadcea00d8abb02b | f7b43542838f0a4a6cfdb17fbeadf45002042a77 | Clarify "owned data" in E0515.md
This clarifies the explanation of why this is not allowed and also what to do instead.
Fixes 62071
PS There was suggestion of adding a link to the book. I did not yet do that, but if desired that could be added. | [
{
"path": "compiler/rustc_error_codes/src/error_codes/E0515.md",
"patch": "@@ -17,10 +17,13 @@ fn get_dangling_iterator<'a>() -> Iter<'a, i32> {\n }\n ```\n \n-Local variables, function parameters and temporaries are all dropped before the\n-end of the function body. So a reference to them cannot be returne... | 2025-03-14T16:30:47 |
huggingface/transformers | 95a77819db1d0d765da34e63019a9433151addd0 | 6577c77d9353951aef9b7b83a8fb661e2529fb56 | fix: Fixed unknown pytest config option `doctest_glob` (#32475)
Fixed unknown config option doctest_glob. | [
{
"path": "pyproject.toml",
"patch": "@@ -30,8 +30,8 @@ skip-magic-trailing-comma = false\n line-ending = \"auto\"\n \n [tool.pytest.ini_options]\n+addopts = \"--doctest-glob='**/*.md'\"\n doctest_optionflags=\"NUMBER NORMALIZE_WHITESPACE ELLIPSIS\"\n-doctest_glob=\"**/*.md\"\n markers = [\n \"flash_att... | 2024-08-14T17:30:01 |
vercel/next.js | d1d0258f29c98e3208b3abdfba6fb19f4f411990 | 4d8d99e47e6360d63f169c349abcded055624602 | fix: Impl `attachRequestMeta` in base server to handle meta differently in edge and node servers (#38932)
This line was introduced in #38862 to the base server but should only be useful for the Node.js server:
```js
addRequestMeta(req, '__NEXT_CLONABLE_BODY', getClonableBody(req.body))
```
It also introduces polyfil... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -16,7 +16,6 @@ import type { ParsedUrlQuery } from 'querystring'\n import type { RenderOpts, RenderOptsPartial } from './render'\n import type { ResponseCacheEntry, ResponseCacheValue } from './response-cache'\n import type { UrlWithParsedQuery }... | 2022-07-22T18:42:35 |
golang/go | 212d385a2f723a8dd5e7d2e83efb478ddd139349 | 4ef78b09c9ea54019e13fd19b2368960b155399f | net/http: ignore connection closes once done with the connection
Once the connection is put back into the idle pool, the request should
not take any action if the connection is closed.
Fixes #41600
Change-Id: I5e4ddcdc03cd44f5197ecfbe324638604961de84
Reviewed-on: https://go-review.googlesource.com/c/go/+/257818
Revi... | [
{
"path": "src/net/http/transport.go",
"patch": "@@ -2599,6 +2599,7 @@ func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err err\n \tvar respHeaderTimer <-chan time.Time\n \tcancelChan := req.Request.Cancel\n \tctxDoneChan := req.Context().Done()\n+\tpcClosed := pc.closech\n \tfor {\n... | 2020-09-26T15:20:16 |
huggingface/transformers | 20a04497a86dc79adb8a93e31325f25255d317e1 | 78d78cdf8ae0351554eaae4f528c532e3274cf50 | Fix `JetMoeIntegrationTest` (#32332)
JetMoeIntegrationTest
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/jetmoe/test_modeling_jetmoe.py",
"patch": "@@ -478,7 +478,7 @@ class JetMoeIntegrationTest(unittest.TestCase):\n @slow\n def test_model_8b_logits(self):\n input_ids = [1, 306, 4658, 278, 6593, 310, 2834, 338]\n- model = JetMoeForCausalLM.from_pretrained(\"jetmo... | 2024-08-14T14:22:06 |
nodejs/node | 57594d2782c57b0529126a57f7771daf12d045b5 | 62a44a32adc214f8daa66aac4c47a0c3cad8d40f | http2: fix compiling with `--debug-http2`
PR-URL: https://github.com/nodejs/node/pull/17863
Fixes: https://github.com/nodejs/node/issues/17840
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "src/node_http2.cc",
"patch": "@@ -174,47 +174,47 @@ void Http2Session::Http2Settings::Init() {\n \n if (flags & (1 << IDX_SETTINGS_HEADER_TABLE_SIZE)) {\n uint32_t val = buffer[IDX_SETTINGS_HEADER_TABLE_SIZE];\n- DEBUG_HTTP2SESSION2(session, \"setting header table size: %d\\n\", val);\n+... | 2017-12-25T11:21:58 |
vercel/next.js | e8bbf14865924e8ef1f876c31670f52a27bba4f6 | 98f4bdd12d894f036440609db137654306bf6e91 | Add example with cookies-next package (#31243)
* Add example with cookies-next package
* Update examples/with-cookies-next/package.json
Co-authored-by: Balázs Orbán <info@balazsorban.com>
* add typescript and update cookies-next version
* Update examples/with-cookies-next/.gitignore
Co-authored-by: Balá... | [
{
"path": "examples/with-cookies-next/.gitignore",
"patch": "@@ -0,0 +1,37 @@\n+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n+\n+# dependencies\n+/node_modules\n+/.pnp\n+.pnp.js\n+\n+# testing\n+/coverage\n+\n+# next.js\n+/.next/\n+/out/\n+\n+# production\n+/build\n... | 2022-07-22T15:32:54 |
ollama/ollama | 6bc5c137581cdd825627e7ec3da308843c94e162 | 3e614260af0a5668dad032f4be477ce2aeb42931 | Fix extra context concatenation in generate handler (#5980). | [
{
"path": "server/routes.go",
"patch": "@@ -247,7 +247,7 @@ func (s *Server) GenerateHandler(c *gin.Context) {\n \t\t\t\t\t\tch <- gin.H{\"error\": err.Error()}\n \t\t\t\t\t\treturn\n \t\t\t\t\t}\n-\t\t\t\t\tres.Context = append(req.Context, tokens...)\n+\t\t\t\t\tres.Context = tokens\n \t\t\t\t}\n \t\t\t}\... | 2024-08-01T08:45:41 |
golang/go | 4ef78b09c9ea54019e13fd19b2368960b155399f | ae3bfba6269fcc75aced2418b870ba2706b0d35f | doc/go1.16: add runtime/debug changes to release notes
For #40700
Fixes #42912
Change-Id: Ifd36950136db1fc93a8de76a2717a473210418b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/274473
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitri Shuralyov... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -663,7 +663,10 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"runtime/debug\"><dt><a href=\"/pkg/runtime/debug/\">runtime/debug</a></dt>\n <dd>\n <p><!-- CL 249677 -->\n- TODO: <a href=\"https://golang.org/cl/249677\">htt... | 2020-12-01T13:03:54 |
rust-lang/rust | 2c2bc99a634689840e1c2c465ca7382c2bf0e1b9 | 35209f462bbb1506d03ae8b232c2d9f2b865f890 | Avoid recursively debug printing crates | [
{
"path": "src/tools/rust-analyzer/crates/base-db/src/input.rs",
"patch": "@@ -393,7 +393,8 @@ impl BuiltDependency {\n \n pub type CratesIdMap = FxHashMap<CrateBuilderId, Crate>;\n \n-#[salsa::input]\n+#[salsa::input(no_debug)]\n+#[derive(Debug)]\n pub struct Crate {\n #[return_ref]\n pub data: Bui... | 2025-03-14T13:52:03 |
huggingface/transformers | 78d78cdf8ae0351554eaae4f528c532e3274cf50 | 9485289f374d4df7e8aa0ca917dc131dcf64ebaf | Add TorchAOHfQuantizer (#32306)
* Add TorchAOHfQuantizer
Summary:
Enable loading torchao quantized model in huggingface.
Test Plan:
local test
Reviewers:
Subscribers:
Tasks:
Tags:
* Fix a few issues
* style
* Added tests and addressed some comments about dtype conversion
* fix torch_dty... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -163,6 +163,8 @@\n title: FBGEMM_FP8\n - local: quantization/optimum\n title: Optimum\n+ - local: quantization/torchao\n+ title: TorchAO\n - local: quantization/contribute\n title: Contribute new quantization method\n title: Quantiz... | 2024-08-14T14:14:24 |
nodejs/node | d3ac18a176b26c0df517f48bed77d070bb07a267 | 9f122e3b5513fd354b3876d06ea322b676b7350d | lib: migrate _http_outgoing.js's remaining errors
A couple of lib/_http_outgoing.js's errors were still in the
"old style": `throw new Error(<some message here>)`.
This commit migrates those 2 old style errors to the "new style":
internal/errors.js's error-system.
In the future, changes to these errors' messages won... | [
{
"path": "lib/_http_outgoing.js",
"patch": "@@ -629,7 +629,7 @@ OutgoingMessage.prototype.write = function write(chunk, encoding, callback) {\n \n function write_(msg, chunk, encoding, callback, fromEnd) {\n if (msg.finished) {\n- var err = new Error('write after end');\n+ const err = new errors.Er... | 2017-12-23T09:53:17 |
vercel/next.js | 2a1dc3c647ee28d858ebc818e8bbe86b39f770df | d034fff65ae1b04bf1de4f6521cd688b8cf3aa1a | Clear unnecessary code (#38900)
This always seems to execute.
unless there is a special reason, I think it can declare and assign at the same time, how about this?
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
##... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -1604,18 +1604,10 @@ export default class Router implements BaseRouter {\n }\n \n try {\n- let Component: ComponentType\n- let styleSheets: StyleSheetTuple[]\n let props: Record<string, any> | undefined\n-\n- if... | 2022-07-22T15:16:57 |
golang/go | ae3bfba6269fcc75aced2418b870ba2706b0d35f | dd4a52c2a588c57edc76cb0a414ae6f2e5bf5d52 | doc/go1.16: add text/template changes to release notes
For #40700
Fixes #42914
Change-Id: I673d86a946c362e28bfbf35fab2c60ebfbd8bda2
Reviewed-on: https://go-review.googlesource.com/c/go/+/274472
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> | [
{
"path": "doc/go1.16.html",
"patch": "@@ -699,8 +699,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"text/template\"><dt><a href=\"/pkg/text/template/\">text/template</a></dt>\n <dd>\n- <p><!-- CL 254257 -->\n- TODO: <a href=\"https://golang.org/cl/254257\">h... | 2020-12-01T12:54:53 |
huggingface/transformers | df323476a3abc9ad256f50858d86e979dc236795 | a22ff36e0e347d3d0095cccd931cbbd12b14e86a | fix: Fixed failing tests in `tests/utils/test_add_new_model_like.py` (#32678)
* Fixed failing tests in tests/utils/test_add_new_model_like.py
* Fixed formatting using ruff.
* Small nit. | [
{
"path": "tests/utils/test_add_new_model_like.py",
"patch": "@@ -61,6 +61,7 @@\n \"src/transformers/models/vit/convert_vit_timm_to_pytorch.py\",\n \"src/transformers/models/vit/feature_extraction_vit.py\",\n \"src/transformers/models/vit/image_processing_vit.py\",\n+ \"src/transformers/model... | 2024-08-14T11:06:17 |
nodejs/node | 9f122e3b5513fd354b3876d06ea322b676b7350d | 6ca10de9468ed027f5e0b45f721d441df5972bc9 | fs: throw fs.close errors in JS
* Collect the error context in both JS and C++, then throw
the error in JS
* Test that the errors thrown from fs.close and fs.closeSync
includes the correct error code, error number and syscall
properties
PR-URL: https://github.com/nodejs/node/pull/17338
Reviewed-By: James M Snel... | [
{
"path": "lib/fs.js",
"patch": "@@ -661,7 +661,11 @@ fs.closeSync = function(fd) {\n if (!isUint32(fd))\n throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'fd', 'integer');\n \n- return binding.close(fd);\n+ const ctx = {};\n+ binding.close(fd, undefined, ctx);\n+ if (ctx.errno !== undefined) {... | 2017-11-29T04:52:16 |
vercel/next.js | d034fff65ae1b04bf1de4f6521cd688b8cf3aa1a | 5c8a5b64133280b309acc81045e16ba8d82933ff | Remove unnecessary assertions (#38899)
removed unnecessary assertions of variables to prevent misuse
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. ... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -172,7 +172,7 @@ function omit<T extends { [key: string]: any }, K extends keyof T>(\n const omitted: { [key: string]: any } = {}\n Object.keys(object).forEach((key) => {\n if (!keys.includes(key as K)) {\n- omitted[key as stri... | 2022-07-22T14:50:45 |
ollama/ollama | d87b4a488eaf6e52bc0ba170a803cbf4d63921cd | 4c14855ad78cde21862ae5286e18e31a4ae9147a | fix modelfile message quotes | [
{
"path": "server/images.go",
"patch": "@@ -184,7 +184,7 @@ func (m *Model) String() string {\n \tfor _, msg := range m.Messages {\n \t\tmodelfile.Commands = append(modelfile.Commands, parser.Command{\n \t\t\tName: \"message\",\n-\t\t\tArgs: fmt.Sprintf(\"%s %s\", msg.Role, msg.Content),\n+\t\t\tArgs: fmt.S... | 2024-07-31T23:52:09 |
huggingface/transformers | c1357834e86e71792d1cad06a998f5ebf6e07126 | 9d2ab8824c2a820a0ac9f2cd884ef838ca77b481 | Fix tests recurrent (#32651)
* add fix for recurrentgemma
* [no-filter]
* trigger-ci
* [no-filter]
* [no-filter]
* attempt to fix mysterious zip error
* [no-filter]
* fix lookup error
* [no-filter]
* remove summarization hack
* [no-filter] | [
{
"path": "tests/test_modeling_common.py",
"patch": "@@ -2829,8 +2829,8 @@ def test_inputs_embeds_matches_input_ids_with_generate(self):\n model.eval()\n \n model_forward_args = inspect.signature(model.forward).parameters\n- if \"inputs_embeds\" not in model_forward_args:\... | 2024-08-13T21:40:50 |
golang/go | 5ffa275f3cab631483a1ce76a63fc4ede3d204e8 | 6ca23a45feebc8672a1851dbc65c5b34d481ca30 | [dev.regabi] cmd/compile: first pass at abstracting Type
Passes toolstash/buildall.
[git-generate]
cd src/cmd/compile/internal/ssa
rf '
ex . ../ir ../gc {
import "cmd/compile/internal/types"
var t *types.Type
t.Etype -> t.Kind()
t.Sym -> t.GetSym()
t.Orig -> t.Underlying()
}
'
cd ../types
rf '
mv EType Kin... | [
{
"path": "src/cmd/compile/fmtmap_test.go",
"patch": "@@ -127,10 +127,10 @@ var knownFormats = map[string]string{\n \t\"cmd/compile/internal/syntax.position %s\": \"\",\n \t\"cmd/compile/internal/syntax.token %q\": \"\",\n \t\"cmd/compile/internal/syntax.token %s\": \"\",\n-\t\... | 2020-12-01T11:25:29 |
vercel/next.js | 5c8a5b64133280b309acc81045e16ba8d82933ff | 02f46f022ddf505ddb8d41f3669e8ba179ced8a6 | Ensure hash on initial request is preserved in new router (#38913)
Fixes the hash being overwritten when you open a page.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing fe... | [
{
"path": "packages/next/client/components/app-router.client.tsx",
"patch": "@@ -82,7 +82,11 @@ export default function AppRouter({\n },\n pushRef: { pendingPush: false, mpaNavigation: false },\n focusRef: { focus: false },\n- canonicalUrl: initialCanonicalUrl,\n+ canonicalUrl:\n... | 2022-07-22T14:26:37 |
nodejs/node | 6ca10de9468ed027f5e0b45f721d441df5972bc9 | c56972779b8c239a48df46b7caadf1ef1b9eacd2 | fs: simplify the error context collection in C++
- Simplify the SyncCall template function, only collect error
number and syscall in the C++ layer and collect the rest of context
in JS for flexibility.
- Remove the stringFromPath JS helper now that the unprefixed path is
directly put into the context before the ... | [
{
"path": "lib/fs.js",
"patch": "@@ -329,10 +329,10 @@ fs.accessSync = function(path, mode) {\n else\n mode = mode | 0;\n \n- const ctx = {};\n+ const ctx = { path };\n binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);\n \n- if (ctx.code !== undefined) {\n+ if (ctx.errno !... | 2017-11-27T04:08:05 |
huggingface/transformers | c3cd9d807e251b9905a104eb1d3c0f9f3ead49d6 | cc25757a44d08cc7e3cca32554455cbcfc5db957 | Fix: Fixed directory path for utils folder in `test_tokenization_utils.py` (#32601)
* Removed un-necessary expressions.
* Fixed directory path for utils folder in test_tokenization_utils.py | [
{
"path": "examples/research_projects/jax-projects/big_bird/evaluate.py",
"patch": "@@ -94,7 +94,6 @@ def main():\n \n short_validation_dataset = dataset.filter(lambda x: (len(x[\"question\"]) + len(x[\"context\"])) < 4 * 4096)\n short_validation_dataset = short_validation_dataset.filter(lambda x: x... | 2024-08-13T15:48:15 |
ollama/ollama | dc77bbcfa40dea8b8fc7713a2ecacbc6a9d08a25 | c4c84b7a0d19a3ac6b2c15cb320241bc26e0672b | server: fix json marshalling of downloadBlobPart (#6108) | [
{
"path": "server/download.go",
"patch": "@@ -61,6 +61,36 @@ type blobDownloadPart struct {\n \t*blobDownload `json:\"-\"`\n }\n \n+type jsonBlobDownloadPart struct {\n+\tN int\n+\tOffset int64\n+\tSize int64\n+\tCompleted int64\n+}\n+\n+func (p *blobDownloadPart) MarshalJSON() ([]byte, erro... | 2024-07-31T23:01:24 |
vercel/next.js | 02f46f022ddf505ddb8d41f3669e8ba179ced8a6 | 0f99768f9811fdf027a083471bd2a435f6207f4a | fix(#38090): add missing `analyticsId` to config schema (#38911) | [
{
"path": "packages/next/server/config-schema.ts",
"patch": "@@ -16,6 +16,9 @@ const configSchema = {\n },\n type: 'object',\n },\n+ analyticsId: {\n+ type: 'string',\n+ },\n assetPrefix: {\n minLength: 1,\n type: 'string',",
"additions": 3,
"deletions": 0,... | 2022-07-22T13:50:24 |
nodejs/node | c56972779b8c239a48df46b7caadf1ef1b9eacd2 | 24c71fb47cd772d4b4f8f3d55e5be24ba7a43342 | src: expose uv.errmap to binding
Add a errno -> [error code, uv error message] map to the uv binding
so the error message can be assembled in the JS layer.
PR-URL: https://github.com/nodejs/node/pull/17338
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "src/uv.cc",
"patch": "@@ -27,10 +27,15 @@\n namespace node {\n namespace {\n \n+using v8::Array;\n using v8::Context;\n using v8::FunctionCallbackInfo;\n+using v8::Integer;\n+using v8::Isolate;\n using v8::Local;\n+using v8::Map;\n using v8::Object;\n+using v8::String;\n using v8::Value;\n \n \n@... | 2017-12-25T13:36:15 |
huggingface/transformers | cc25757a44d08cc7e3cca32554455cbcfc5db957 | 481e15604a0527fec3cbdcccd350f9374a9116b1 | Add Depth Anything V2 Metric models (#32126)
* add checkpoint and repo names
* adapt head to support metric depth estimation
* add max_depth output scaling
* add expected logits
* improve docs
* fix docstring
* add checkpoint and repo names
* adapt head to support metric depth estimation
* add ... | [
{
"path": "src/transformers/models/depth_anything/configuration_depth_anything.py",
"patch": "@@ -27,7 +27,7 @@\n \n class DepthAnythingConfig(PretrainedConfig):\n r\"\"\"\n- This is the configuration class to store the configuration of a [`DepthAnythingModel`]. It is used to instantiate an DepthAnyt... | 2024-08-13T14:16:30 |
ollama/ollama | d8e2664c33e81af0549aa9e75c57e08317d0322d | eafc607abb3422a7d8e488aeb7a129a67a1f75c6 | convert: fix parse functions | [
{
"path": "convert/reader.go",
"patch": "@@ -56,22 +56,25 @@ func (t *tensorBase) SetRepacker(fn repacker) {\n type repacker func(string, []float32, []uint64) ([]float32, error)\n \n func parseTensors(fsys fs.FS) ([]Tensor, error) {\n-\tpatterns := map[string]func(fs.FS, ...string) ([]Tensor, error){\n-\t\t... | 2024-07-31T22:39:11 |
huggingface/transformers | b5016d5de76df66f77506831c932bdb2578f87b4 | a5a8291ad10bda4933c1859b40155571567297f6 | fix tensors on different devices in `WhisperGenerationMixin` (#32316)
* fix
* enable on xpu
* no manual remove
* move to device
* remove to
* add move to | [
{
"path": "tests/pipelines/test_pipelines_automatic_speech_recognition.py",
"patch": "@@ -1513,7 +1513,7 @@ def test_with_local_lm_fast(self):\n def test_whisper_prompted(self):\n processor = AutoProcessor.from_pretrained(\"openai/whisper-tiny\")\n model = WhisperForConditionalGeneration... | 2024-08-13T10:29:57 |
vercel/next.js | a55a831b398dde470c850bc1c901dc92ca18fb37 | 115c5008e4813f02e09c1a86577a4b006844514b | Node Module Trace webpack plugin (vercel/turbo#140)
* Initialize Node.js/TypeScript workspace
* node-module-trace Webpack plugin
* Add new fmt checks to pipeline
* Popup unwind error
* Implement --exact flag
* Yarn 3.2.2
* Reformat toml files
* Fix socket io test, 100ms timeout is too long
* re... | [
{
"path": "packages/next-swc/crates/next-dev/Cargo.toml",
"patch": "@@ -11,21 +11,25 @@ bench = false\n # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n \n [features]\n-tokio_console = [\"dep:console-subscriber\", \"tokio/tracing\", \"turbo-tasks/tokio_traci... | 2022-07-22T10:36:08 |
nodejs/node | 83e5215a4e8438a43b9f0002b7a43e2fd2dd37a4 | df30fd586d123fc189887fc0f9c7f27808374c2e | async_hooks: use typed array stack as fast path
- Communicate the current async stack length through a
typed array field rather than a native binding method
- Add a new fixed-size `async_ids_fast_stack` typed array
that contains the async ID stack up to a fixed limit.
This increases performance noticeably, since... | [
{
"path": "lib/internal/async_hooks.js",
"patch": "@@ -19,14 +19,20 @@ const async_wrap = process.binding('async_wrap');\n * retrieving the triggerAsyncId value is passing directly to the\n * constructor -> value set in kDefaultTriggerAsyncId -> executionAsyncId of\n * the current resource.\n+ *... | 2017-12-19T14:08:18 |
golang/go | f2311462ab6f2359006f42b7febd19ce95a9bbcf | 2d6ff998edc0f3877ee24d28647a494491742f25 | [dev.regabi] cmd/compile: cleanup type-checking of defined types
The code for type-checking defined types was scattered between
typecheckdef, typecheckdeftype, and setUnderlying. There was redundant
work between them, and setUnderlying also needed to redo a lot of work
because of its brute-force solution of just copyi... | [
{
"path": "src/cmd/compile/internal/gc/typecheck.go",
"patch": "@@ -3434,33 +3434,28 @@ func setUnderlying(t, underlying *types.Type) {\n \t\treturn\n \t}\n \n-\tn := ir.AsNode(t.Nod)\n \tft := t.ForwardType()\n-\tcache := t.Cache\n \n \t// TODO(mdempsky): Fix Type rekinding.\n-\t*t = *underlying\n+\tt.Etyp... | 2020-12-01T09:01:59 |
huggingface/transformers | a5a8291ad10bda4933c1859b40155571567297f6 | 29c3a0fa019f418230d20314f59a11e08d98840d | Fix tests (#32649)
* skip failing tests
* [no-filter]
* [no-filter]
* fix wording catch in FA2 test
* [no-filter]
* trigger normal CI without filtering | [
{
"path": "tests/test_modeling_common.py",
"patch": "@@ -2831,7 +2831,11 @@ def test_inputs_embeds_matches_input_ids_with_generate(self):\n model_forward_args = inspect.signature(model.forward).parameters\n if \"inputs_embeds\" not in model_forward_args:\n self.skipTe... | 2024-08-13T08:46:21 |
vercel/next.js | f6edf590ab57288a845c04abfb5dedb7dc7e63c1 | 3f2341841c76e47997d9717e4350231276e771e4 | Node Module Trace webpack plugin (#140)
* Initialize Node.js/TypeScript workspace
* node-module-trace Webpack plugin
* Add new fmt checks to pipeline
* Popup unwind error
* Implement --exact flag
* Yarn 3.2.2
* Reformat toml files
* Fix socket io test, 100ms timeout is too long
* remove unneces... | [
{
"path": ".editorconfig",
"patch": "@@ -14,5 +14,5 @@ max_line_length = 120\n [{*.markdown,*.md}]\n max_line_length = 80\n \n-[{*.yml,*.yaml}]\n+[{*.yml,*.yaml,*.json,*.ts,*.js}]\n indent_size = 2",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "crates/next-dev/Carg... | 2022-07-22T10:36:08 |
nodejs/node | 46510f54bee7cecb565424aeee8beb19b0162079 | 9e5ccf0313b7167d710e50c511db17ecfcdf416f | tls: fix SNICallback without .server option
`options.server` only needs to be set when its
contents are actually being inspected.
PR-URL: https://github.com/nodejs/node/pull/17835
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.co... | [
{
"path": "lib/_tls_wrap.js",
"patch": "@@ -505,9 +505,8 @@ TLSSocket.prototype._init = function(socket, wrap) {\n if (process.features.tls_sni &&\n options.isServer &&\n options.SNICallback &&\n- options.server &&\n (options.SNICallback !== SNICallback ||\n- options.server._c... | 2017-12-23T08:01:58 |
ollama/ollama | 0be8baad2b684cda667fa5d48bf334382913a09c | 1a83581a8e1063418f5f1fec14638409d0681b68 | Update and Fix example models (#6065)
* Update example models
* Remove unused README.md | [
{
"path": "examples/go-chat/main.go",
"patch": "@@ -35,7 +35,7 @@ func main() {\n \n \tctx := context.Background()\n \treq := &api.ChatRequest{\n-\t\tModel: \"llama3\",\n+\t\tModel: \"llama3.1\",\n \t\tMessages: messages,\n \t}\n ",
"additions": 1,
"deletions": 1,
"language": "Go"
},
{... | 2024-07-30T06:56:37 |
golang/go | 2d6ff998edc0f3877ee24d28647a494491742f25 | ecff7628ead3b0191f5fe191864ee47fcc90bb92 | [dev.regabi] cmd/compile: process //go:linknames after declarations
Allows emitting errors about ineffectual //go:linkname directives.
In particular, this exposed: a typo in os2_aix.go; redundant (but
harmless) directives for libc_pipe in both os3_solaris.go and
syscall2_solaris.go; and a bunch of useless //go:linkna... | [
{
"path": "src/cmd/compile/internal/gc/noder.go",
"patch": "@@ -75,6 +75,10 @@ func parseFiles(filenames []string) uint {\n \t\ttestdclstack()\n \t}\n \n+\tfor _, p := range noders {\n+\t\tp.processPragmas()\n+\t}\n+\n \tir.LocalPkg.Height = myheight\n \n \treturn lines\n@@ -258,23 +262,27 @@ func (p *noder... | 2020-11-29T22:06:17 |
rust-lang/rust | 2579bb59a42abf35882f37aaba169c91b4545910 | 3d9bf08289176c2185aee3a7a864e165f1717af4 | Fix MCP links | [
{
"path": "src/doc/rustc-dev-guide/src/contributing.md",
"patch": "@@ -81,7 +81,7 @@ smaller user-facing changes.\n into a PR that ends up not getting merged!** [See this document][mcpinfo] for\n more info on MCPs.\n \n-[mcpinfo]: https://forge.rust-lang.org/compiler/mcp.html\n+[mcpinfo]: https://forge.rust... | 2025-03-14T14:18:58 |
huggingface/transformers | a29eabd0eb1bec9d8ca71048fdca5f7e0465e15d | 2a5a6ad18aa22e98429bb5ecb880660328030ea0 | Expand inputs in processors for VLMs (#30962)
* let it be
* draft
* should not have changed
* add warnings
* fix & add tests
* fix tests
* ipnuts embeds cannot be passed with pixels
* more updates
* paligemma ready!
* minor typos
* update blip-2
* fix tests & raise error
* docstring... | [
{
"path": "src/transformers/models/blip_2/configuration_blip_2.py",
"patch": "@@ -264,6 +264,8 @@ class Blip2Config(PretrainedConfig):\n num_query_tokens (`int`, *optional*, defaults to 32):\n The number of query tokens passed through the Transformer.\n \n+ image_token_index (`int... | 2024-08-13T05:14:39 |
vercel/next.js | 11607b8a6cb84fda61ba29bc08902f4e073057a1 | 4b6cb447d126b5b23560a36b99c37ad285638aa8 | Fix error message typos (#38894)
Removes unintended the unintended code below multiple strings
```html
', '
)}),
``` | [
{
"path": "packages/next/server/config.ts",
"patch": "@@ -372,9 +372,7 @@ function assignDefaults(userConfig: { [key: string]: any }) {\n (!Number.isInteger(images.minimumCacheTTL) || images.minimumCacheTTL < 0)\n ) {\n throw new Error(\n- `Specified images.minimumCacheTTL should be a... | 2022-07-22T01:58:44 |
nodejs/node | 6c0da349056578d36254d1aed973ddbaa252ce89 | b0dd43cd6379a77a4e437f6ba1fdda7c0b4b744a | http: add rawPacket in err of `clientError` event
The `rawPacket` is the current buffer that just parsed. Adding this
buffer to the error object of `clientError` event is to make it possible
that developers can log the broken packet.
PR-URL: https://github.com/nodejs/node/pull/17672
Reviewed-By: Anna Henningsen <anna... | [
{
"path": "doc/api/http.md",
"patch": "@@ -734,6 +734,11 @@ changes:\n description: The default action of calling `.destroy()` on the `socket`\n will no longer take place if there are listeners attached\n for `clientError`.\n+ - version: REPLACEME\n+ pr-url: https:/... | 2017-12-14T04:40:32 |
golang/go | 4da41fb3f8aa2e81b6ed371b617643042ba5e170 | dadfc80bc173ce4475bc76231de5259d797b0522 | [dev.regabi] cmd/compile: use ir.Copy instead of direct use of RawCopy
The ONIL export bug happened because the logic about
maintaining an “implicit” orig pointer in the comments
around ir.Orig only applies to Copy and SepCopy, not to
direct use of RawCopy. I'd forgotten those could exist.
The sole direct use of RawC... | [
{
"path": "src/cmd/compile/internal/gc/const.go",
"patch": "@@ -118,7 +118,12 @@ func convlit1(n ir.Node, t *types.Type, explicit bool, context func() string) ir\n \tif n.Op() == ir.OLITERAL || n.Op() == ir.ONIL {\n \t\t// Can't always set n.Type directly on OLITERAL nodes.\n \t\t// See discussion on CL 208... | 2020-12-01T02:18:48 |
rust-lang/rust | a672448f0d223bcfa6907d17c321015ac83606d7 | 79034bd291c13b92d68561ba957dc898c6ad3ae7 | fix(linker): use arg list estimate on only Windows
Though I doubt anyone running rustc outside Unix/Windows | [
{
"path": "compiler/rustc_codegen_ssa/src/back/command.rs",
"patch": "@@ -139,7 +139,7 @@ impl Command {\n pub(crate) fn very_likely_to_exceed_some_spawn_limit(&self) -> bool {\n // We mostly only care about Windows in this method, on Unix the limits\n // can be gargantuan anyway so we'r... | 2025-03-14T12:55:53 |
huggingface/transformers | 2a5a6ad18aa22e98429bb5ecb880660328030ea0 | f1c8542ff7ddf6f2597b14aed5f947aa62aa9a80 | fix: Updated the `is_torch_mps_available()` function to include `min_version` argument (#32545)
* Fixed wrong argument in is_torch_mps_available() function call.
* Fixed wrong argument in is_torch_mps_available() function call.
* sorted the import.
* Fixed wrong argument in is_torch_mps_available() function c... | [
{
"path": "src/transformers/utils/import_utils.py",
"patch": "@@ -27,7 +27,7 @@\n from functools import lru_cache\n from itertools import chain\n from types import ModuleType\n-from typing import Any, Tuple, Union\n+from typing import Any, Optional, Tuple, Union\n \n from packaging import version\n \n@@ -42... | 2024-08-12T19:42:57 |
vercel/next.js | 02c78a5c15c8e9fac3fceb8a20b7182f37e5398e | 366a04b7acd415f794d8a43b4d8bc9a2439113d5 | fix(#38743): config.runtime support template literal (#38750)
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
Fixes #38743.
Fixes: https://github.com/vercel/next.js/pull/38750
The PR adds basic `TemplateLiteral` ... | [
{
"path": "errors/invalid-page-config.md",
"patch": "@@ -1,39 +1,119 @@\n-# Invalid Page Config\n+# Invalid Page / API Route Config\n \n #### Why This Error Occurred\n \n-In one of your pages you did `export const config` with an invalid value.\n+In one of your pages or API Routes you did `export const conf... | 2022-07-21T19:56:52 |
nodejs/node | b0dd43cd6379a77a4e437f6ba1fdda7c0b4b744a | c0e9cded1ec9daeec178d536b39acf944f80809c | tools: fix AttributeError: __exit__ on Python 2.6
Error occurs while dealing with Tar archives
PR-URL: https://github.com/nodejs/node/pull/17663
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Reviewed-By: Colin Ihrig <... | [
{
"path": "tools/configure.d/nodedownload.py",
"patch": "@@ -60,7 +60,7 @@ def unpack(packedfile, parent_path):\n icuzip.extractall(parent_path)\n return parent_path\n elif tarfile.is_tarfile(packedfile):\n- with tarfile.TarFile.open(packedfile, 'r') as icuzip:\n+ w... | 2017-12-13T21:21:24 |
ollama/ollama | 365431d40617b85d0308fec8d0bd9c0cdb1ab3a4 | 161e12cecf74e502068585187e15e0386e44c63a | return tool calls finish reason for openai (#5995)
* hot fix
* backend stream support
* clean up
* finish reason
* move to openai | [
{
"path": "openai/openai.go",
"patch": "@@ -218,6 +218,9 @@ func toChatCompletion(id string, r api.ChatResponse) ChatCompletion {\n \t\t\tIndex: 0,\n \t\t\tMessage: Message{Role: r.Message.Role, Content: r.Message.Content, ToolCalls: toolCalls},\n \t\t\tFinishReason: func(reason string) *string {\n+\t\t\t... | 2024-07-29T20:56:57 |
golang/go | a36ba090fd647e741668629527e25c657c40f8f3 | f3741bdf7cab5fc8254bebce00479c0168ace86c | cmd/link/internal/amd64: always generate R_X86_64_PLT32 for SDYNIMPORT calls
Currently, in the non-DynlinkingGo case with external linking, we generate a
R_X86_64_GOTPCREL relocation for the imported symbol. This results in the
external linker turning this into a R_X86_64_GLOB_DAT relocation, rather
than a R_X86_64_JU... | [
{
"path": "src/cmd/link/internal/amd64/asm.go",
"patch": "@@ -413,11 +413,7 @@ func elfreloc1(ctxt *ld.Link, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym,\n \tcase objabi.R_CALL:\n \t\tif siz == 4 {\n \t\t\tif ldr.SymType(r.Xsym) == sym.SDYNIMPORT {\n-\t\t\t\tif ctxt.DynlinkingGo() {\n-\t\t\t\t\tout.Wri... | 2020-11-26T15:06:08 |
rust-lang/rust | 79034bd291c13b92d68561ba957dc898c6ad3ae7 | f7b43542838f0a4a6cfdb17fbeadf45002042a77 | fix(linker): prevent overflow when estimating CLI arg list length
This also updates the estimate on Windows of the length argument
list to `saturating_add` to avoid overflow. | [
{
"path": "compiler/rustc_codegen_ssa/src/back/command.rs",
"patch": "@@ -166,7 +166,8 @@ impl Command {\n // [1]: https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessa\n // [2]: https://devblogs.microsoft.com/oldnewthing/?p=41553\n \n- ... | 2025-03-13T00:58:56 |
huggingface/transformers | ce4b28830a439b439e440e8b0025c2fdfceb5927 | 7f777ab7d987766446b4337f9e6545aab268bad5 | fix: Fixed failing `test_find_base_model_checkpoint` (#32638)
Fixed failing test_find_base_model_checkpoint. | [
{
"path": "tests/utils/test_add_new_model_like.py",
"patch": "@@ -657,7 +657,7 @@ def test_get_model_files_tf_and_flax(self):\n \n def test_find_base_model_checkpoint(self):\n self.assertEqual(find_base_model_checkpoint(\"bert\"), \"google-bert/bert-base-uncased\")\n- self.assertEqual(fin... | 2024-08-12T18:51:30 |
nodejs/node | ad02e0d2415681de7a42c5e841ce737d7ab9d7b3 | 15d880bcb62c628f1e7c3cc7baf659a63b312c7c | timers: make setImmediate() immune to tampering
Make setImmediate() immune to `process` global tampering by removing
the dependency on the `process._immediateCallback` property.
PR-URL: https://github.com/nodejs/node/pull/17736
Fixes: https://github.com/nodejs/node/issues/17681
Reviewed-By: Anna Henningsen <anna@adda... | [
{
"path": "lib/timers.js",
"patch": "@@ -22,7 +22,10 @@\n 'use strict';\n \n const async_wrap = process.binding('async_wrap');\n-const TimerWrap = process.binding('timer_wrap').Timer;\n+const {\n+ Timer: TimerWrap,\n+ setImmediateCallback,\n+} = process.binding('timer_wrap');\n const L = require('internal... | 2017-12-18T12:43:53 |
vercel/next.js | 366a04b7acd415f794d8a43b4d8bc9a2439113d5 | 14463ddd10eb24c308c96df12874fb9862abefe4 | Ensure mixed query/hash values are handled correctly (#38852)
This ensures we correctly detect query and hash values when there are `?` characters in the hash. A regression test to ensure this working properly has been added.
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [... | [
{
"path": "packages/next/shared/lib/router/utils/parse-path.ts",
"patch": "@@ -6,14 +6,14 @@\n export function parsePath(path: string) {\n const hashIndex = path.indexOf('#')\n const queryIndex = path.indexOf('?')\n+ const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex)\n \n- i... | 2022-07-21T19:16:38 |
rust-lang/rust | bc6047a5a768b3029978b7f60322468a23f586ac | a2aba0578ba440130d2ee213fc9dfdaa7095bdb5 | Use lit span when suggesting suffix lit cast
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | [
{
"path": "compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs",
"patch": "@@ -2983,7 +2983,8 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n return false;\n }\n \n- let Ok(src) = self.tcx.sess.source_map().span_to_snippet(expr.span) else {\n+ let span = if let hir::ExprKind::Lit(l... | 2025-03-14T08:05:36 |
golang/go | 0ecf7696335a3aade9e41843acfd5ab188d2511f | 7f688d18c0ae6df3e895d21799b8ece7d5941293 | cmd/compile: do not mark OpSP, OpSB pos for debugging
Fixes #42801
Change-Id: I2080ecacc109479f5820035401ce2b26d72e2ef2
Reviewed-on: https://go-review.googlesource.com/c/go/+/273506
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@gola... | [
{
"path": "src/cmd/compile/internal/ssa/func.go",
"patch": "@@ -790,10 +790,10 @@ func (f *Func) spSb() (sp, sb *Value) {\n \t\t}\n \t}\n \tif sb == nil {\n-\t\tsb = f.Entry.NewValue0(initpos, OpSB, f.Config.Types.Uintptr)\n+\t\tsb = f.Entry.NewValue0(initpos.WithNotStmt(), OpSB, f.Config.Types.Uintptr)\n \... | 2020-11-26T16:28:11 |
huggingface/transformers | 7f777ab7d987766446b4337f9e6545aab268bad5 | 4996990d6183eecf139c3a3b54d5d6babde01a30 | 🌐 [i18n-KO] Translated `awq.md`to Korean (#32324)
* fix: manual edits
* Apply suggestions from code review
Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com>
Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr>
* fix:manual edits
- 잘못된 경로에 번역본 파일을 생성해서 옮김
* Delete docs/s... | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -145,8 +145,8 @@\n title: bitsandbytes\n - local: in_translation\n title: (번역중) GPTQ\n- - local: in_translation\n- title: (번역중) AWQ\n+ - local: quantization/awq\n+ title: AWQ\n - local: in_translation\n title: (번역중) AQLM\n - loc... | 2024-08-12T17:12:48 |
vercel/next.js | fe4b71132ea65d0cd66e0af8c7d92d67eb8d411b | 552620f9b876ed589d0310a1e67d15ae5cb8c469 | fix: correct the next config optimizeCss type (#38879)
`experimental.optimizeCss` from `next.config.js` can be an object containing the critters' option:
https://github.com/vercel/next.js/blob/70a53e0789c7e361f12139db6e124a5bb1d2afd9/packages/next/server/post-process.ts#L224-L232
The PR corrects the ajv schema and t... | [
{
"path": "packages/next/server/config-schema.ts",
"patch": "@@ -333,7 +333,14 @@ const configSchema = {\n type: 'boolean',\n },\n optimizeCss: {\n- type: 'boolean',\n+ oneOf: [\n+ {\n+ type: 'boolean',\n+ },\n+ {\n+ ... | 2022-07-21T17:53:41 |
rust-lang/rust | 95d72812f83c0fadb4ffba9de6cd230ee85a10d6 | f85331f4d1efc2878b3ad8bdf5d2ac73fbe0eb2e | fix: `manual_find` suggests wrongly when early return | [
{
"path": "clippy_lints/src/loops/manual_find.rs",
"patch": "@@ -3,6 +3,7 @@ use super::utils::make_iterator_snippet;\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::source::snippet_with_applicability;\n use clippy_utils::ty::implements_trait;\n+use clippy_utils::usage::contains_ret... | 2025-03-14T06:46:00 |
ollama/ollama | 6f26e9322fd4639b4e414f8890b0213783e74d7c | 0e4d653687f81db40622e287a846245b319f1fbe | Fix typo in image docs (#6041) | [
{
"path": "docs/api.md",
"patch": "@@ -587,7 +587,7 @@ Final response:\n \n ##### Request\n \n-Send a chat message with a conversation history.\n+Send a chat message with images. The images should be provided as an array, with the individual images encoded in Base64.\n \n ```shell\n curl http://localhost:11... | 2024-07-29T15:50:53 |
golang/go | 41ad4dec991c11d9e1efff27fc0b1568f5981c9c | ffa68716a0d50acd29a8eae7874c7e8d02f757ca | [dev.regabi] cmd/compile: fix -h
The compile -h flag is *meant* to panic, so you can see the stack
trace where the error is being printed. Make it do that again.
Change-Id: Ieb0042863582d7a4c5d08d2f866a144962915b06
Reviewed-on: https://go-review.googlesource.com/c/go/+/274116
Trust: Russ Cox <rsc@golang.org>
Reviewed... | [
{
"path": "src/cmd/compile/internal/gc/main.go",
"patch": "@@ -43,6 +43,9 @@ func hidePanic() {\n \t\t// about a panic too; let the user clean up\n \t\t// the code and try again.\n \t\tif err := recover(); err != nil {\n+\t\t\tif err == \"-h\" {\n+\t\t\t\tpanic(err)\n+\t\t\t}\n \t\t\tbase.ErrorExit()\n \t\t... | 2020-11-30T14:34:34 |
vercel/next.js | 90bbac44db9832e8c41c39d7e3e1c958fe4f008c | 6486e12eff7888791768d90bbd33aee47fa77686 | fix(edge): error handling for edge route and middleware is inconsistent (#38401)
## What’s in there?
This PR brings more consistency in how errors and warnings are reported when running code in the Edge Runtime:
- Dynamic code evaluation (`eval()`, `new Function()`, `WebAssembly.instantiate()`, `WebAssembly.compile(... | [
{
"path": "packages/next/build/webpack/plugins/middleware-plugin.ts",
"patch": "@@ -380,7 +380,10 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`,\n }\n }\n })\n- registerUnsupportedApiHooks(parser, compilation)\n+ if (!dev) {\n+ // do not issue comp... | 2022-07-21T14:53:23 |
golang/go | 7c9b6b1ca249c14d358075da9678cd1c20041b21 | c6de5d8d1f56465869a9271753796da35c60f3e6 | [dev.regabi] cmd/compile: clean up in preparation for statement Nodes
Using statement nodes restricts the set of valid SetOp operations,
because you can't SetOp across representation. Rewrite various
code to avoid crossing those as-yet-unintroduced boundaries.
In particular, code like
x, y := v.(T)
x... | [
{
"path": "src/cmd/compile/internal/gc/escape.go",
"patch": "@@ -394,8 +394,8 @@ func (e *Escape) stmt(n ir.Node) {\n \tcase ir.OSELRECV:\n \t\te.assign(n.Left(), n.Right(), \"selrecv\", n)\n \tcase ir.OSELRECV2:\n-\t\te.assign(n.Left(), n.Right(), \"selrecv\", n)\n-\t\te.assign(n.List().First(), nil, \"sel... | 2020-11-28T20:28:18 |
vercel/next.js | 5752d4a66833ea5616039d4405720643f5d6418c | adf40a6fceec84f40ef0040c913b78b8ea083b4b | Ensure module require is awaited in app-render (#38860)
Fixes a bug where `import { nanoid } from 'nanoid'` broke the tests.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existi... | [
{
"path": "packages/next/server/app-render.tsx",
"patch": "@@ -538,7 +538,7 @@ export async function renderToHTML(\n return segmentTree\n }\n \n- const createComponentTree = ({\n+ const createComponentTree = async ({\n createSegmentPath,\n tree: [segment, parallelRoutes, { layout, loading, p... | 2022-07-21T09:11:01 |
huggingface/transformers | b7ea171403d53a2aa9bce422f1fad8fb1150844b | 8a3c55eb2126de70a7d1598e99aa8997aaf6e3a9 | Cleanup tool calling documentation and rename doc (#32337)
* Rename "Templates for Chat Models" doc to "Chat Templates"
* Small formatting fix
* Small formatting fix
* Small formatting fix
* Cleanup tool calling docs as well
* Remove unneeded 'revision'
* Move tip to below main code example
* Litt... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -120,7 +120,7 @@\n - local: custom_models\n title: Share a custom model\n - local: chat_templating\n- title: Templates for chat models\n+ title: Chat templates\n - local: trainer\n title: Trainer\n - local: sagemaker",
"addition... | 2024-08-12T15:20:14 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.