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
4b6debaf2894757e7ae9ad31f52f6a1279c94e90
4a46e6e44c33b49a5953476669ce5943717f7e9a
cmd/gofmt: don't descend into /testdata directories in tests (fix long builders) Now that the go/types and types2 test files end in .go we must avoid trying to format them as that won't work in general. Change-Id: I05fdd95a0d26cbe746f6d618b22b48dc1f1ea749 Reviewed-on: https://go-review.googlesource.com/c/go/+/394295 ...
[ { "path": "src/cmd/gofmt/long_test.go", "patch": "@@ -114,7 +114,8 @@ func genFilenames(t *testing.T, filenames chan<- string) {\n \t\t\tt.Error(err)\n \t\t\treturn nil\n \t\t}\n-\t\tif isGoFile(d) {\n+\t\t// don't descend into testdata directories\n+\t\tif isGoFile(d) && !strings.Contains(filepath.ToSlash(...
2022-03-21T21:37:38
huggingface/transformers
760946c7fa417f9c2eda74416b67ff5999b34bc1
ab87f2445096554e1c28ffe896afd96fa9469444
handle 1D position_ids for modeling_flash_attention_utils as well (#43403) * handle 1D position_ids for modeling_flash_attention_utils as well Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * delete comments Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * fixed unit test of lighton_ocr Signed-off-by: L...
[ { "path": "tests/models/lighton_ocr/test_modeling_lighton_ocr.py", "patch": "@@ -243,11 +243,14 @@ def _prepare_for_class(self, inputs_dict, model_class, return_labels=False):\n \"\"\"\n inputs_dict = super()._prepare_for_class(inputs_dict, model_class, return_labels=return_labels)\n \n- ...
2026-01-26T13:42:00
vercel/next.js
d93231eb195235b4d05c7aee5cb89eff9b949482
1989f4943d6abd6bcae0c82144fb05103d322f87
feat(next-swc): report native bindings load err code (#52570) Related: https://github.com/vercel/next-telemetry/pull/106 We collect wasm fallback reason (`enabled`, `fallback`, ..) but it is bit unclear why we came to reach `fallback` state for the wasm. This PR expands current reporting to include native bindings ...
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -71,6 +71,14 @@ const knownDefaultWasmFallbackTriples = [\n 'i686-pc-windows-msvc',\n ]\n \n+// The last attempt's error code returned when cjs require to native bindings fails.\n+// If node.js throws an error without error code, this should b...
2023-07-12T16:30:20
rust-lang/rust
29b75a6b34c966524b81e6137b2f868a1006722f
2783fc43fd13a669f314742890acd64200ad0bbf
Fix weird rustdoc output when single and glob reexport conflict on a name
[ { "path": "src/librustdoc/clean/inline.rs", "patch": "@@ -152,8 +152,14 @@ pub(crate) fn try_inline(\n };\n \n cx.inlined.insert(did.into());\n- let mut item =\n- crate::clean::generate_item_with_correct_attrs(cx, kind, did, name, import_def_id, None);\n+ let mut item = crate::clean::ge...
2025-07-07T15:02:59
golang/go
adae6ec542c3287ffe643093a0f61c9871f4e238
29866aa2b6a6a48672a386d05b53779e768c13d6
cmd/compile: replace Type.OrigSym with Type.OrigType First law of cmd/compile frontend development: thou shalt not rely on types.Sym. This CL replaces Type.OrigSym with Type.OrigType, which semantically matches what all of the uses within the frontend actually care about, and avoids using types.Sym, which invariably ...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -114,11 +114,11 @@ func (g *irgen) funcDecl(out *ir.Nodes, decl *syntax.FuncDecl) {\n \t\t// the Fields to represent the receiver's method set.\n \t\tif recv := fn.Type().Recv(); recv != nil {\n \t\t\ttyp := types.ReceiverBaseType(recv.Type)\n...
2022-03-21T17:06:48
huggingface/transformers
d3dfc36ba9685891032032474e0289ffa23f78aa
c8561da82c42adca9325f01ce1ff5aabadea0c3f
Fix Mxfp4 dequantize (#43326) * remove wrong device and dtype conversions * fix * fix * remove more empty_cache * style * sequentially * better * finally fix * better
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -12,7 +12,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-from ..utils import is_torch_available, is_torch_xpu_available, logging\n+from ..utils import is_torch_available, lo...
2026-01-26T12:30:22
vercel/next.js
1989f4943d6abd6bcae0c82144fb05103d322f87
3c3f50ddde5aa937e7bbbed6091715cc531a34f0
Fixed grammar in 03-react-essentials.mdx (#52597) "will eventually be should be placed" was changed to "will eventually be placed".
[ { "path": "docs/01-getting-started/03-react-essentials.mdx", "patch": "@@ -290,7 +290,7 @@ export default function ExampleClientComponent({ children }) {\n \n Now, `<ExampleClientComponent>` has no knowledge of what `children` is. It doesn't know that `children` will eventually be filled in by the result of...
2023-07-12T15:51:33
electron/electron
506bc4db4ce2742dc8c23d6ac9ed3fa7f1aca967
9d55424c482e5054aaf67dd927534e9fe64b1fb7
Fix shared data example since `remote` module unaviable
[ { "path": "docs/faq/electron-faq.md", "patch": "@@ -30,7 +30,7 @@ use HTML5 APIs which are already available in browsers. Good candidates are\n \n Or you can use the IPC system, which is specific to Electron, to store objects\n in the main process as a global variable, and then to access them from the\n-ren...
2016-06-05T10:39:10
huggingface/transformers
c8561da82c42adca9325f01ce1ff5aabadea0c3f
64b12e3e477e202b2d643ec02b3764498276482f
[`fix`] Sam3Video: Avoid fpn_position_embedding; use pooler_output (#43487) * Avoid fpn_position_embedding; only fpn_position_encoding is used Co-authored-by: vaibhav-research * Update get_text_features call in sam3_video
[ { "path": "src/transformers/models/edgetam_video/modeling_edgetam_video.py", "patch": "@@ -2280,7 +2280,7 @@ def _prepare_vision_features(\n image_batch = inference_session.get_frame(frame_idx).unsqueeze(0) # Add batch dimension\n image_outputs = self.get_image_features(image_batch,...
2026-01-26T10:38:53
golang/go
29866aa2b6a6a48672a386d05b53779e768c13d6
4dc5553930a7ead64e7cc62752907625642011d3
go/types, types2: remove predecl. test functions from ordinary tests The type checker implements additional built-in functions (assert and trace) that are useful for debugging. Only permit them in manual tests (go test -run Manual), not for other tests where they are not needed. Change-Id: Idc7723d9e3f6b2c27769b34743...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -297,13 +297,10 @@ func TestManual(t *testing.T) {\n \n // TODO(gri) go/types has extra TestLongConstants and TestIndexRepresentability tests\n \n-func TestCheck(t *testing.T) { DefPredeclaredTestFuncs(); testDirFiles(t, \"testdata/c...
2022-03-18T00:35:11
vercel/next.js
2b98f778874da85cf3ae536517c5e4456f5ae849
b7e2627422e0bfa73fde2d3e0ec6b438c8df416b
Add more extensions to `next-types-plugin` for `Node16`/`NodeNext` (#52562) ### What? Why? How? Similar to https://github.com/vercel/next.js/pull/47571, add `.js` extensions to generated imports to avoid problems with TypeScript `Node16` / `NodeNext` module resolution Without this change, there are confusing error...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin/index.ts", "patch": "@@ -404,15 +404,15 @@ declare namespace __next_route_internal_types__ {\n }\n \n declare module 'next' {\n- export { default } from 'next/types'\n- export * from 'next/types'\n+ export { default } from 'next/types/i...
2023-07-12T15:23:55
huggingface/transformers
59bb7a4602f4023522c779ef54c67d4128c7575b
1e8d1297b5a8d7702e6d8ad8e5fc38cd67cf98d9
Fix typing hints for different rope parameters per layer type (#43320) * Fix typing hints for different rope parameters per layer type Signed-off-by: Tcc0403 <76503978+Tcc0403@users.noreply.github.com> * Stricter assumption Signed-off-by: Tcc0403 <76503978+Tcc0403@users.noreply.github.com> * Update modular files a...
[ { "path": "src/transformers/models/gemma3/configuration_gemma3.py", "patch": "@@ -18,7 +18,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n-from typing import Any\n+f...
2026-01-26T09:12:53
nodejs/node
f76903433f438db2822c40ba46451ccc3ec88fc2
edc83a9203c2a8d0fd219aac95fd1615e001c484
deps: update npm to 6.10.3 BUGFIXES * [`27cccfbda`](https://github.com/npm/cli/commit/27cccfbdac8526cc807b07f416355949b1372a9b) [#223](https://github.com/npm/cli/pull/223) vulns → vulnerabilities in npm audit output ([@sapegin](https://github.com/sapegin)) * [`d5e865eb7`](https://github.com/npm/cli/commit/d5e865e...
[ { "path": "deps/npm/AUTHORS", "patch": "@@ -649,3 +649,6 @@ Iván Reinoso García <ireinoso@plainconcepts.com>\n Roy Marples <roy@marples.name>\n Robert James Gabriel <robert_gabriel@outlook.com>\n John Firebaugh <john.firebaugh@gmail.com>\n+Kitten King <hi@kittenking.me>\n+claudiahdz <cghr1990@gmail.com>\n+A...
2019-08-06T16:53:43
huggingface/transformers
4df39f47b12cd77fa479b881bb4e783a7101748c
55d1d0933b09a5eab79f10bde80384256837b5b5
Fix lm_head weight tying in Mistral3ForConditionalGeneration (#43429) * Fix lm_head weight tying in Mistral3ForConditionalGeneration - Add tie_weights() method that checks both config.tie_word_embeddings and config.text_config.tie_word_embeddings - Fixes gibberish output in Ministral-3-3B-Instruct-2512 model - The ...
[ { "path": "src/transformers/models/mistral3/configuration_mistral3.py", "patch": "@@ -44,6 +44,8 @@ class Mistral3Config(PreTrainedConfig):\n Whether to use bias in the multimodal projector.\n spatial_merge_size (`int`, *optional*, defaults to 2):\n The downsampling factor fo...
2026-01-26T08:19:21
vercel/next.js
4a14671fa6ac7d8686c2cb4706cc4c037ea1451c
2441ad4760955b96c7a92e01169ea54f05739af8
fix(next/jest): jest can not load server-only code (#52393) ### 🧐 What's in there? At the moment, it is not possible to test code with `import 'server-only'` in app directory. When trying to load such file in jest (even with `testEnvironment: node`), the error will be: ``` ● Test suite failed to run·· ...
[ { "path": "packages/next/package.json", "patch": "@@ -239,6 +239,7 @@\n \"image-size\": \"1.0.0\",\n \"is-docker\": \"2.0.0\",\n \"is-wsl\": \"2.2.0\",\n+ \"jest-docblock\": \"29.4.3\",\n \"jest-worker\": \"27.0.0-next.5\",\n \"json5\": \"2.2.3\",\n \"jsonwebtoken\": \"9.0.0\",", ...
2023-07-12T08:51:29
huggingface/transformers
55d1d0933b09a5eab79f10bde80384256837b5b5
a30413b78feed68da5c486746f745db092bfdf9a
Fix Pixtral with flash attention (#43443) * fix FA2 in pixtra; * make the tests better * repo consistency * that was meant to be deleted by me XD --------- Co-authored-by: vasqu <antonprogamer@gmail.com>
[ { "path": "src/transformers/models/pixtral/modeling_pixtral.py", "patch": "@@ -507,7 +507,7 @@ def forward(\n position_ids = position_ids_in_meshgrid(\n patch_embeds_list, max_width=self.config.image_size // self.config.patch_size\n )\n- kwargs[\"position_ids\"] = position...
2026-01-26T08:18:43
nodejs/node
db706da235d80e5dadaab64328bfad9cb313be39
85898e0aca26cee2e68aea9ba384e23cd4457849
stream: disallow stream methods on finished stream Invoke callback with ERR_STREAM_ALREADY_FINISHED error if `end()` is called on a finished stream. PR-URL: https://github.com/nodejs/node/pull/28687 Refs: https://github.com/nodejs/node/issues/28667 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo ...
[ { "path": "doc/api/errors.md", "patch": "@@ -1703,6 +1703,12 @@ An attempt was made to call [`stream.pipe()`][] on a [`Writable`][] stream.\n A stream method was called that cannot complete because the stream was\n destroyed using `stream.destroy()`.\n \n+<a id=\"ERR_STREAM_ALREADY_FINISHED\"></a>\n+### ERR...
2019-07-14T20:11:06
vercel/next.js
0600293b034b7bfedbaef3bc6044979bc3119bab
b9760b2910c720ee0b4700917cd02575f6bbd7d6
Fix ISR case with bot requests (#52581) This ensures we don't bail from static generation unexpectedly due to a bot request as this shouldn't affect ISR handling. Test deployment with patch can be seen here https://test-app-isr-fallback-dwn2neok6-vtest314-ijjk-testing.vercel.app/new Fixes: https://github.com/v...
[ { "path": "packages/next/src/server/async-storage/static-generation-async-storage-wrapper.ts", "patch": "@@ -53,9 +53,7 @@ export const StaticGenerationAsyncStorageWrapper: AsyncStorageWrapper<\n * coalescing, and ISR continue working as intended.\n */\n const isStaticGeneration =\n- !ren...
2023-07-12T06:39:50
golang/go
82b810f79cda7e6be28fa0b2675bb4f3ed294d5a
101d14e3b315e6990f02bef2044a7021a9ca9ea0
go/types, types2: rename testfile suffixes from .go2 to .go We don't need the distinction anymore. Also, made corresponding adjustments to check_test.go. Change-Id: I3c9a768c16a251d76bc6b3ebabd37822773e4ef5 Reviewed-on: https://go-review.googlesource.com/c/go/+/393657 Trust: Robert Griesemer <gri@golang.org> Reviewed...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -135,13 +135,7 @@ func testFiles(t *testing.T, filenames []string, colDelta uint, manual bool) {\n \t\tt.Fatal(err)\n \t}\n \n-\t// TODO(gri) remove this or use flag mechanism to set mode if still needed\n-\tvar mode syntax.Mode\n-\tif ...
2022-03-17T23:46:18
huggingface/transformers
a30413b78feed68da5c486746f745db092bfdf9a
728d64e8a2b913e1fe4f50d1ad4f4ac52da8db3c
fix gguf recent conversion issues (#43465) * fix gguf * fix generation config adjustement * style
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4113,7 +4113,7 @@ def from_pretrained(\n \n # If it is a model with generation capabilities, attempt to load generation files (generation config,\n # custom generate function)\n- if model.can_generate() and hasattr(model, \...
2026-01-24T18:07:15
rust-lang/rust
2f84e16016cd3f8039c5da77cb8a2696e8ff5a7f
3bd80454602a41cc4d7d1dc3fe6dce671d4fb033
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -60,6 +60,7 @@ rm tests/ui/asm/x86_64/goto.rs # inline asm labels not supported\n rm tests/ui/simd/simd-bitmask-notpow2.rs # non-pow-of-2 simd vector sizes\n rm -r tests/run-make/embed-source-dwarf # embedding sources in debuginfo\n rm -r tests/run-make/...
2025-07-08T14:47:46
nodejs/node
0d7acfac82a20fceb7aa91c61abc18b711edba28
ea765eba2055132bfe42bd27caf970f4c169eca5
build: enable linux large pages LLVM lld linkage support The custom linker script is compatible with GNU ld only. As such, providin a new expliciting option to redirect to a different one. lld seems unable to migrate this large section w/o segfaulting so providing only the base address anchor for now. PR-URL: https:/...
[ { "path": "configure.py", "patch": "@@ -401,6 +401,11 @@\n help='build with Large Pages support. This feature is supported only on Linux kernel' +\n '>= 2.6.38 with Transparent Huge pages enabled and FreeBSD')\n \n+parser.add_option('--use-largepages-script-lld',\n+ action='store_true',\n+ ...
2019-08-02T10:57:02
huggingface/transformers
f5722a54d5368d894666fa53bc565e813a3fc47f
c76c197556af9d1b8832280fad98483442c56be1
[DeepSpeed] add weight_mapping to _load_state_dict_into_zero3_model (#43303) * add weight_mapping to _load_state_dict_into_zero3_model * inital test * simpler * preserve metadata * do not call rename_source_key twice * raise error instead of warning * Free memory by clearing source tensors * formatting * comme...
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -290,19 +290,160 @@ def deepspeed_config():\n return None\n \n \n-def _load_state_dict_into_zero3_model(model_to_load, state_dict):\n+def _apply_weight_conversions_to_state_dict(model, state_dict, weight_mapping):\n+ \"\"\"\n+ ...
2026-01-24T17:16:31
golang/go
3395f74d865108e42eec677f69a24e8b2ccbbefe
6be52abfa1aea30b33c1e2db27ea92e954661aa4
go/types, types2: implement flexible flag-setting mechanism for tests Use it so set the language version. Adjust relevant tests. Fixes #49074. Change-Id: Ida6d0002bdba65b5add6e8728a1700305de18351 Reviewed-on: https://go-review.googlesource.com/c/go/+/393514 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Rober...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -23,8 +23,10 @@\n package types2_test\n \n import (\n+\t\"bytes\"\n \t\"cmd/compile/internal/syntax\"\n \t\"flag\"\n+\t\"fmt\"\n \t\"internal/testenv\"\n \t\"os\"\n \t\"path/filepath\"\n@@ -79,25 +81,60 @@ func delta(x, y uint) uint {\n...
2022-03-17T01:19:31
vercel/next.js
b9760b2910c720ee0b4700917cd02575f6bbd7d6
bcd9136b988cde0a1e6ea3b7be1bc747d43350fc
Support global-error for ssr fallback (#52573) Previously `global-error` only caught the error on client side, this PR adds the support for catching the errors thrown during client components SSR or server components RSC rendering. Closes #46572 Closes #50119 Closes #50723
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -666,9 +666,15 @@ const nextAppLoader: AppLoader = async function nextAppLoader() {\n const result = `\n export ${treeCodeResult.treeCode}\n export ${treeCodeResult.pages}\n- export { default as GlobalError } f...
2023-07-12T01:54:07
huggingface/transformers
c76c197556af9d1b8832280fad98483442c56be1
3af2eb7a29272ed58c9d1935a5d86ad283c563c4
fix(models): Add tie_word_embeddings parameter to AyaVisionConfig for proper weight tying (#43455) fix: Add tie_word_embeddings param to AyaVisionConfig for proper weight tying
[ { "path": "src/transformers/models/aya_vision/configuration_aya_vision.py", "patch": "@@ -48,6 +48,8 @@ class AyaVisionConfig(PreTrainedConfig):\n The epsilon value used for layer normalization in the adapter.\n image_token_index (`int`, *optional*, defaults to 255036):\n The...
2026-01-24T17:12:21
nodejs/node
cc7cec25c5fc2fdb8e055e25162c4b231f19e287
490ec9b9c9422c8975c1613709c13f64db2f7d0f
net: use callback to properly propagate error The socket will be destroyed upstream through the proper error flow. PR-URL: https://github.com/nodejs/node/pull/29178 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/net.js", "patch": "@@ -685,7 +685,7 @@ Socket.prototype._writeGeneric = function(writev, data, encoding, cb) {\n this._pendingEncoding = '';\n \n if (!this._handle) {\n- this.destroy(new ERR_SOCKET_CLOSED(), cb);\n+ cb(new ERR_SOCKET_CLOSED());\n return false;\n }\n ", "ad...
2019-08-17T11:08:09
electron/electron
2ef2c1af02d3927cb91544ca00da11855aaf261f
c3e9ce34a1cbc1589bd44c1ca98e75aa2783cf4f
Correct wrong words 修正错别字
[ { "path": "docs-translations/zh-CN/api/browser-window.md", "patch": "@@ -49,7 +49,7 @@ win.show();\n * `alwaysOnTop` Boolean - 窗口是否总是显示在其他窗口之前. 在 Linux 上无效. 默认为 `false`.\n * `fullscreen` Boolean - 窗口是否可以全屏幕. 当明确设置值为When `false` ,全屏化按钮将会隐藏,在 OS X 将禁用. 默认 `false`.\n * `fullscreenable` Boolean - 在 OS X 上...
2016-06-02T14:35:40
vercel/next.js
6839ef379b44cb611ac9cd258f9e911449e17b74
9b932cc1355d5428357be527653868fe098df171
use `npm pack` instead of `yarn pack` (#52563) `yarn pack` does not pack the same way that `npm pack` does. There is at least one bug with how files are treated where node_modules are ignored even inside folders defined by the files config. While this is not currently used in next.js an upcoming change will rely on it...
[ { "path": ".github/actions/next-stats-action/src/prepare/repo-setup.js", "patch": "@@ -142,13 +142,37 @@ module.exports = (actionInfo) => {\n Array.from(pkgDatas.keys()).map(async (pkgName) => {\n const { pkgPath, packedPkgPath } = pkgDatas.get(pkgName)\n \n- await execa('yarn', [...
2023-07-11T23:36:07
golang/go
f2cdc6d1672fb335ac56f9c7b824071f1e5ba545
7751883379621d8ecbf7e4920af0a81c31f2c078
go/types, types2: improved tracing output throughout (debugging support) This change fine-tunes tracing output and adds additional descriptions for delayed actions that were missing tracing. Change-Id: Ib5e70e8f40ef564194cdb0e8d12c38e15388b987 Reviewed-on: https://go-review.googlesource.com/c/go/+/387919 Trust: Rober...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -64,7 +64,7 @@ func (check *Checker) instantiateSignature(pos syntax.Pos, typ *Signature, targs\n \tassert(len(targs) == typ.TypeParams().Len())\n \n \tif check.conf.Trace {\n-\t\tcheck.trace(pos, \"-- instantiating %s with %s\", typ, targs)\...
2022-02-24T21:10:34
nodejs/node
5116a6a9b4d8420149af74ac29074cd4d7f1f6b9
119c4ccf0ef2addc84fd638004a631f55c7aefc9
tools: make code cache and snapshot deterministic Use a fixed random seed to ensure that the generated sources are identical across runs. The final node binary still reseeds itself on start-up so there should be no security implications caused by predictable random numbers (e.g., `Math.random()`, ASLR, the hash seed,...
[ { "path": "test/parallel/test-math-random.js", "patch": "@@ -0,0 +1,17 @@\n+'use strict';\n+\n+require('../common');\n+const assert = require('assert');\n+const { spawnSync } = require('child_process');\n+\n+const results = new Set();\n+for (let i = 0; i < 10; i++) {\n+ const result = spawnSync(process.exe...
2019-08-15T12:39:26
huggingface/transformers
3af2eb7a29272ed58c9d1935a5d86ad283c563c4
76ee621a09cf0716718f0e8912a981d1b29f56be
Fix PEFT x MoEs (#43261) * current changes * finally! * collection is giid * what kinda works * nit * fix name * small nits * introduce loading info and config? * try to remove some duplication * trying to simplify its really not that hard is it? * nit * is this better? * update * fix * better? * small ...
[ { "path": "docs/source/en/weightconverter.md", "patch": "@@ -117,3 +117,28 @@ This worst case only occurs when all other parameters have loaded before the dem\n For example, a MoE model using [`MergeModulelist`] for experts on each layer, the theoretical worst-case memory peak is model size plus experts on ...
2026-01-24T10:06:52
vercel/next.js
3338df187cc615d1801239d1d45584ddcb5d61fd
fab164dcc80bbea832f59f04ff4992d16142d5ba
docs: fix grammar on Server Actions (#52556)
[ { "path": "docs/02-app/01-building-your-application/03-data-fetching/04-server-actions.mdx", "patch": "@@ -384,7 +384,7 @@ In both cases, the form is interactive before hydration occurs. Although Server\n \n ### Size Limitation\n \n-By default, the maximum size of the request body sent to an Server Action i...
2023-07-11T18:11:58
golang/go
7751883379621d8ecbf7e4920af0a81c31f2c078
5df3f491acc9188653e2793f0e83e72a091c1931
go/types, types2: ensure we have a fully resolved type in validType This addresses a situation where Named.fromRHS is nil which is causing validType to panic when the debug flag is set. Change-Id: Ie1af3f4d412efc2ce2ee7707af5375ed130a1f2a Reviewed-on: https://go-review.googlesource.com/c/go/+/393436 Trust: Robert Gri...
[ { "path": "src/cmd/compile/internal/types2/validtype.go", "patch": "@@ -63,7 +63,8 @@ func (check *Checker) validType0(typ Type, env *tparamEnv, path []Object) typeIn\n \tcase *Named:\n \t\t// Don't report a 2nd error if we already know the type is invalid\n \t\t// (e.g., if a cycle was detected earlier, vi...
2022-03-16T21:09:56
huggingface/transformers
76ee621a09cf0716718f0e8912a981d1b29f56be
89b8475d8951fd641726ac526dedbddddbc7e84a
fix(models): Fix ViVit when dealing with multiple GPUs (#43409) fix(models): Fix Vivit when dealing with multiple GPUs
[ { "path": "src/transformers/models/vivit/modeling_vivit.py", "patch": "@@ -364,7 +364,7 @@ class VivitPreTrainedModel(PreTrainedModel):\n main_input_name = \"pixel_values\"\n input_modalities = \"video\"\n supports_gradient_checkpointing = True\n- _no_split_modules = []\n+ _no_split_module...
2026-01-23T17:27:35
nodejs/node
119c4ccf0ef2addc84fd638004a631f55c7aefc9
bdf07f4317ce738bbe56c5b91aaebf35d15052a8
worker: fix crash when SharedArrayBuffer outlives creating thread Keep a reference to the `ArrayBuffer::Allocator` alive for at least as long as a `SharedArrayBuffer` allocated by it lives. Refs: https://github.com/nodejs/node/pull/28788 Fixes: https://github.com/nodejs/node/issues/28777 Fixes: https://github.com/nod...
[ { "path": "src/node_worker.cc", "patch": "@@ -59,6 +59,7 @@ Worker::Worker(Environment* env,\n per_isolate_opts_(per_isolate_opts),\n exec_argv_(exec_argv),\n platform_(env->isolate_data()->platform()),\n+ array_buffer_allocator_(ArrayBufferAllocator::Create()),\n start_profiler...
2019-08-17T22:05:48
vercel/next.js
5fff528e154f0a85238ba66220738674d086d869
673107551c3466da6d68660b37198eee0a2c85f7
fix: `not-found.tsx` with `output: export` (#52526) Closes #48227 Closes NEXT-1392 --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "test/integration/app-dir-export/app/not-found.js", "patch": "@@ -0,0 +1,3 @@\n+export default function NotFound() {\n+ return <h1>My custom not found page</h1>\n+}", "additions": 3, "deletions": 0, "language": "JavaScript" }, { "path": "test/integration/app-dir-export/test/co...
2023-07-11T07:32:08
golang/go
5df3f491acc9188653e2793f0e83e72a091c1931
efbff6e43bee73787bbf45a1f038e2f3bf0c8bd9
go/types, types2: better error msg when using fallthrough in type switch Fixes #51533. Change-Id: Ia41a2e96d1ef94f740887e3167e6396e4f52035c Reviewed-on: https://go-review.googlesource.com/c/go/+/392759 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/stmt.go", "patch": "@@ -95,6 +95,7 @@ const (\n \n \t// additional context information\n \tfinalSwitchCase\n+\tinTypeSwitch\n )\n \n func (check *Checker) simpleStmt(s syntax.Stmt) {\n@@ -370,7 +371,9 @@ func (check *Checker) stmt(ctxt stmtContext, s syntax.Stmt) {...
2022-03-14T21:05:53
rust-lang/rust
ca4a712b59b9ed216e8bb6e24140b08d7020c68c
f96d5d960256557a0c2434a308fd32c98e94aa7f
clippy fix: markdown indentation for indented items after line break
[ { "path": "library/core/src/async_iter/async_iter.rs", "patch": "@@ -28,15 +28,15 @@ pub trait AsyncIterator {\n /// async iterator state:\n ///\n /// - `Poll::Pending` means that this async iterator's next value is not ready\n- /// yet. Implementations will ensure that the current task will ...
2025-07-03T12:41:05
huggingface/transformers
89b8475d8951fd641726ac526dedbddddbc7e84a
e851c63dd9e78b1b9fd553e0405be1bb33a220a6
Fix broken SAM and SAM-HQ due to tie weights and type validation (#43420) * Fix input validation and tied weights + tests * improve typing
[ { "path": "src/transformers/models/edgetam/modeling_edgetam.py", "patch": "@@ -921,6 +921,7 @@ def _dynamic_multimask_via_stability(self, all_mask_logits, all_iou_scores):\n class EdgeTamModel(EdgeTamPreTrainedModel):\n input_modalities = (\"image\", \"text\")\n _can_record_outputs = {\"mask_decoder...
2026-01-23T16:27:40
electron/electron
743483846344515aa971be3d786d14e3ba125c82
de4bff003f82344efa83f0c183c62e09b824c766
fix docs
[ { "path": "docs/api/web-contents.md", "patch": "@@ -385,9 +385,29 @@ Returns:\n * `deviceId` String\n \n Emitted when bluetooth device needs to be selected on call to\n-`navigator.bluetooth.requestDevice`. If `event.preventDefault` is not called,\n-first available device will be selected. `callback` shoul...
2016-06-01T06:09:14
vercel/next.js
673107551c3466da6d68660b37198eee0a2c85f7
63a6cdaf534231384da35bd57c7edf259273a758
chore(docs): fix a few typos in image loader docs (#52508) The `quality` is not always defined. so it must have a default value before calling `.toString()` Closes NEXT-1421
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/images.mdx", "patch": "@@ -82,11 +82,11 @@ export default function cloudflareLoader({ src, width, quality }) {\n \n ```js\n // Docs: https://www.contentful.com/developers/docs/references/images-api/\n-export default function contentfulLoader({ src, q...
2023-07-11T01:31:12
nodejs/node
a0cc62f34549302d7a85588776c23faffda1f8b7
8d100c21c5b7c4687b0fc7f36aeed0a517dca1f7
test: deflake test-tls-passphrase Move `socket.end()` to client. Fixes: https://github.com/nodejs/node/issues/28111 Refs: https://github.com/nodejs/node/pull/27569 PR-URL: https://github.com/nodejs/node/pull/29134 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-B...
[ { "path": "test/parallel/test-tls-passphrase.js", "patch": "@@ -37,15 +37,17 @@ assert(Buffer.isBuffer(cert));\n assert.strictEqual(typeof passKey.toString(), 'string');\n assert.strictEqual(typeof cert.toString(), 'string');\n \n+function onSecureConnect() {\n+ return common.mustCall(function() { this.end...
2019-08-15T10:04:42
rust-lang/rust
b2299e20b2c2a25254fb554ccc59a8b60fdc25e0
45b80ac21a454d343833aad763ef604510c88375
fix: correct assertion to check for 'noinline' attribute presence before removal
[ { "path": "compiler/rustc_codegen_llvm/src/back/lto.rs", "patch": "@@ -680,7 +680,7 @@ pub(crate) fn run_pass_manager(\n if attributes::has_string_attr(function, enzyme_marker) {\n // Sanity check: Ensure 'noinline' is present before replacing it.\n assert!(\n- ...
2025-07-08T11:18:18
huggingface/transformers
e851c63dd9e78b1b9fd553e0405be1bb33a220a6
6c6aeb2da2dd93b80e029446d58ef8efd8e6ce0a
[`chore`] Add missing r-prefix to Gemma3nAudioEncoderModelOutput (#43447) Add missing r-prefix to Gemma3nAudioEncoderModelOutput
[ { "path": "src/transformers/models/gemma3n/modeling_gemma3n.py", "patch": "@@ -53,7 +53,7 @@\n @dataclass\n @auto_docstring\n class Gemma3nAudioEncoderModelOutput(BaseModelOutputWithPooling):\n- \"\"\"\n+ r\"\"\"\n audio_mel_mask (`torch.FloatTensor`, *optional*):\n A torch.BoolTensor of s...
2026-01-23T15:38:52
golang/go
efbff6e43bee73787bbf45a1f038e2f3bf0c8bd9
3ebb1720d92f194d23ff9ba838715cfcf8fc90e1
go/types, types2: re-enable panic if unification stack-overflows With all the unification/type-inference fixes in place now, we should not see stack overflows anymore. Re-enable the panic if we do overflow, so we can address those issues should they arise. Fixes #51377. Change-Id: Ied64435ea5936811504cb30bda1126c7d8...
[ { "path": "src/cmd/compile/internal/types2/unify.go", "patch": "@@ -39,9 +39,10 @@ const (\n \t// due to implementation issues (e.g., see issues #48619, #48656).\n \tunificationDepthLimit = 50\n \n-\t// Whether to panic when unificationDepthLimit is reached. Turn on when\n-\t// investigating infinite recurs...
2022-03-14T20:26:42
electron/electron
de4bff003f82344efa83f0c183c62e09b824c766
db4dc4757aa85da8c6b46b6c4ea81eff8f9ee895
fix header paths and comments
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -14,7 +14,7 @@\n #include \"atom/browser/atom_browser_context.h\"\n #include \"atom/browser/atom_browser_main_parts.h\"\n #include \"atom/browser/atom_security_state_model_client.h\"\n-#include \"atom/browser/bluetooth_chooser.h\"\n+#includ...
2016-06-01T05:54:41
huggingface/transformers
6c6aeb2da2dd93b80e029446d58ef8efd8e6ce0a
4b4fc48684f60525c3441e81c35374c3228bffaa
Cleanup rope conversion (#43407) * fix * minimax
[ { "path": "src/transformers/models/minimax_m2/configuration_minimax_m2.py", "patch": "@@ -184,26 +184,5 @@ def __init__(\n \n super().__init__(**kwargs)\n \n- def convert_rope_params_to_dict(self, ignore_keys_at_rope_validation=None, **kwargs):\n- rope_scaling = kwargs.pop(\"rope_scaling\"...
2026-01-23T15:29:30
rust-lang/rust
045557797431bfff807145341efbe8f8fb08817e
45b80ac21a454d343833aad763ef604510c88375
fix: correct parameter names in LLVMRustBuildMinNum and LLVMRustBuildMaxNum FFI declarations
[ { "path": "compiler/rustc_codegen_llvm/src/llvm/ffi.rs", "patch": "@@ -1980,12 +1980,12 @@ unsafe extern \"C\" {\n pub(crate) fn LLVMRustBuildMinNum<'a>(\n B: &Builder<'a>,\n LHS: &'a Value,\n- LHS: &'a Value,\n+ RHS: &'a Value,\n ) -> &'a Value;\n pub(crate) fn LLV...
2025-07-08T11:17:03
nodejs/node
9c27118c20cf63de7637092955e5e41de7aa3316
3238232fc46f6a8cc0dc1323aba762247c464e5e
tools: make pty_helper.py python3-compatible Fixes: https://github.com/nodejs/node/issues/29166 PR-URL: https://github.com/nodejs/node/pull/29167 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/pseudo-tty/pty_helper.py", "patch": "@@ -25,8 +25,12 @@ def pipe(sfd, dfd):\n if dfd == STDOUT:\n # Work around platform quirks. Some platforms echo ^D as \\x04\n # (AIX, BSDs) and some don't (Linux).\n- filt = lambda c: ord(c) > 31 or c in '\\t\\n\\r\\f'\n+ #\n+ # The com...
2019-08-16T18:53:32
vercel/next.js
8360ca0332d00afe8e3c646af38d53868d2a3db9
810f0e87106ab04c414b55ff5587ad3813d1f7c3
docs: add CDN optimization as possible hydration error cause (#52489) At my work, we use Cloudflare as our CDN, and it has various optimization options for the served code including the "Auto Minify" feature that can minify JS, HTML and CSS to reduce download speed. After months of trying to update React to version 18...
[ { "path": "errors/react-hydration-error.mdx", "patch": "@@ -20,6 +20,7 @@ Hydration errors can occur from:\n 4. [Browser extensions](https://github.com/facebook/react/issues/24430) modifying the HTML\n 5. Incorrectly configured [CSS-in-JS libraries](https://nextjs.org/docs/app/building-your-application/styl...
2023-07-10T16:09:12
golang/go
3ebb1720d92f194d23ff9ba838715cfcf8fc90e1
63c7614fd05052009c1eee061964241e4d73c6a1
go/types, types2: alias type declarations may refer to constraint types Fixes #51616. Change-Id: I388a6d91d9bfe5410b5eb32e1606257ec668d618 Reviewed-on: https://go-review.googlesource.com/c/go/+/392715 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -502,7 +502,7 @@ func (check *Checker) typeDecl(obj *TypeName, tdecl *syntax.TypeDecl, def *Named\n \t\t}\n \n \t\tcheck.brokenAlias(obj)\n-\t\trhs = check.varType(tdecl.Type)\n+\t\trhs = check.typ(tdecl.Type)\n \t\tcheck.validAlias(obj, rhs)...
2022-03-14T19:10:11
huggingface/transformers
388313e7466255525187ac6218de03313fe589af
e4f63302789932da47fbca8849428c8092dc0cc3
Patch set_attn_implementation for Windows (#43433) * Patch set_attn_implementation for Windows idem with set_experts_implementation * Extend the fix to _can_set_experts_implementation
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1909,7 +1909,7 @@ def _can_set_attn_implementation(cls) -> bool:\n opening the file, but avoids maintaining yet another property flag.\n \"\"\"\n class_file = sys.modules[cls.__module__].__file__\n- with open(class_...
2026-01-23T11:32:28
electron/electron
89adc122c3bfcb0bbd9404bfc5e85de7c952a9d1
28c9dcc393f7204f25d13caeeb9058893ad484b9
Minor typo fixes
[ { "path": "docs/tutorial/security.md", "patch": "@@ -9,7 +9,7 @@ discovered security threats.\n When working with Electron, it is important to understand that Electron is not\n a web browser. It allows you to build feature-rich desktop applications with\n familiar web technologies, but your code wields much...
2016-06-01T05:36:45
rust-lang/rust
82126a6ebaf18cf4d29e820a823fa85b1df832be
07d5fbb751bafe0e75e6c14951a658a9477c8a5b
fix whitespace in `aarch64.spec.yml`
[ { "path": "library/stdarch/crates/stdarch-gen-arm/spec/neon/aarch64.spec.yml", "patch": "@@ -5383,7 +5383,7 @@ intrinsics:\n attr:\n - FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [fmulx, 'LANE = 0']]}]]\n - FnCall: [rustc_legacy_const_generics, ['2']]\n- - *neon-fp16 \n+ - *n...
2025-07-08T06:36:41
vercel/next.js
0fe6e850fee5fec4ccac57021149f7da41098ff2
4ddb6fc794201461bea80df5917b6f0a75f62986
Fix tracking of client reference manifest (#52505) The problem was introduced in #52450, that the client reference manifest isn't being tracked and included in the function. Verified that this fixes the issue.
[ { "path": "packages/next/src/build/webpack/plugins/app-build-manifest-plugin.ts", "patch": "@@ -1,7 +1,6 @@\n import { webpack, sources } from 'next/dist/compiled/webpack/webpack'\n import {\n APP_BUILD_MANIFEST,\n- CLIENT_REFERENCE_MANIFEST,\n CLIENT_STATIC_FILES_RUNTIME_MAIN_APP,\n SYSTEM_ENTRYPOIN...
2023-07-10T14:27:08
nodejs/node
5746769d682aa91494b66de6d685fcb1257e4b80
c206e7490cac0b8d44481f4da4d2b24278b00ad0
lib,test: fix error message check after V8 update PR-URL: https://github.com/nodejs/node/pull/28918 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -96,7 +96,7 @@ function enrichCJSError(err) {\n usage. However, some cases are not matching, cases like import statement\n after a comment block and/or after a variable definition.\n */\n- if (err.message.startsWith('Unexpected token ex...
2019-06-17T08:00:31
golang/go
63c7614fd05052009c1eee061964241e4d73c6a1
79103faf2d85d60c14702329964dc390e3057603
go/types, types2: factor out isInterface(x) && !isTypeParam(x) (cleanup) Fixes #51581. Change-Id: I3232428edd7dd86f2930af950fb5841f7394c4e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/391834 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -44,7 +44,7 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t\t\tx.mode = invalid\n \t\t\t\treturn\n \t\t\t}\n-\t\t} else if T == nil || IsInterface(T) && !isTypeParam(T) {\n+\t\t} else if T == nil || isN...
2022-03-11T05:50:54
rust-lang/rust
d6bc881afb69047afb32a23664be6ffa75219f1c
5880a3196be4137e2b70bcc5d432dea20155fc13
Fix handling of std crates for no_std targets
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -449,21 +449,24 @@ fn copy_self_contained_objects(\n target_deps\n }\n \n-/// Resolves standard library crates for `Std::run_make` for any build kind (like check, build, clippy, etc.).\n+/// Resolves standard library crates for `Std...
2025-07-07T21:31:03
huggingface/transformers
db1e6f1e7fda38af4c4d20192bc35ac647a7a21f
55dadb865681d9330f7b1e8fec92156cc38cd253
Remove `requests` code (#42845) * setup, workflow and utils files * src core files * use get_session instead of httpx * fix code quality - remove unused imports * utils and prevous-http-used and cli * style changes * use httpx for non-HF images * get_session for HF images * change docstrings * revert formatti...
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -64,7 +64,6 @@ def to_dict(self):\n steps.extend(\n [\n \"checkout\",\n- {\"run\": \"pip install requests || true\"},\n {\"run\": \"\"\"while [[ $(curl --locat...
2026-01-23T10:50:53
vercel/next.js
73e2979cb8557148c450c0282a20acb2f3c6c642
cf08f600772b17d692081c6302c254e4d68151fe
Ensure useParams return array for catch-all routes (#52494) ## What? Ensures `useParams` matches `params` passed to the page, also matches the docs. Fixes #50856 Fixes NEXT-1419
[ { "path": "packages/next/src/client/components/navigation.ts", "patch": "@@ -127,7 +127,7 @@ export function useRouter(): import('../../shared/lib/app-router-context').AppRo\n }\n \n interface Params {\n- [key: string]: string\n+ [key: string]: string | string[]\n }\n \n // this function performs a depth-...
2023-07-10T12:04:44
nodejs/node
bc73b1f9798c1ebfcc3b649174b50170f1b42c0b
d894a5a6bbcaf062d619e7ecbfe60852f55ae278
deps: V8: fix linking issue for MSVS PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jiawen Geng <t...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.9',\n+ 'v8_embedder_string': '-node.10',\n \n ##### V8 defaults for Node.js #####\n ...
2019-05-30T14:49:26
golang/go
79103faf2d85d60c14702329964dc390e3057603
d8ce7ae49108dda3b223694df7ebe8f56a1c3032
cmd/compile/internal/types: remove Sym.Block and Sym.Lastlineno These fields were used for tracking the last scope/position that an identifier was declared, so that we could report redeclaration errors. However, redeclaration errors are now diagnosed by types2 (and typecheck.Redeclared was removed in CL 388537), so th...
[ { "path": "src/cmd/compile/internal/typecheck/dcl.go", "patch": "@@ -70,8 +70,6 @@ func Declare(n *ir.Name, ctxt ir.Class) {\n \t\tn.SetFrameOffset(0)\n \t}\n \n-\ts.Block = types.Block\n-\ts.Lastlineno = base.Pos\n \ts.Def = n\n \tn.Class = ctxt\n \tif ctxt == ir.PFUNC {", "additions": 0, "deletion...
2022-03-21T18:24:24
electron/electron
8dfbbcefc8213f6f7eca9dc2b023e1d47c6b50de
d10552413578e24c4d4087268a3712767235761f
Throw error when session module is used before app is ready
[ { "path": "lib/browser/api/session.js", "patch": "@@ -1,24 +1,34 @@\n const {EventEmitter} = require('events')\n+const electron = require('electron')\n const bindings = process.atomBinding('session')\n \n const PERSIST_PREFIX = 'persist:'\n \n+// Wrapper of binding.fromPartition that checks for ready event....
2016-06-01T01:53:06
vercel/next.js
cf08f600772b17d692081c6302c254e4d68151fe
85bca2e7785dcb9bd5aab6325a73b198cec89973
fix(create-next-app): click event blockage under 1024px by adjusting z-index (#52074) ### What? Fixed a bug that the title of the topmost Docs was unclickable when less than 1024px. ### Why? This appears to be due to the fact that these clickable elements are overlapped by the logo image wrapper in Next.js, prev...
[ { "path": "packages/create-next-app/templates/app-tw/js/app/page.js", "patch": "@@ -28,7 +28,7 @@ export default function Home() {\n </div>\n </div>\n \n- <div className=\"relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rou...
2023-07-10T11:21:36
golang/go
d8ce7ae49108dda3b223694df7ebe8f56a1c3032
b9d6cea5016835ca5521469631e55f5c489aa0e7
build: force GOWORK=off in make.{bash,bat,rc} While building Go from source, workspace mode should be disabled, even if the external environment tries to configure it otherwise. Fixes #51558. Change-Id: Icd7577860271f59a8f94406214b111280e4b65b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/393879 Trust: Dmi...
[ { "path": "src/make.bash", "patch": "@@ -66,6 +66,7 @@\n set -e\n \n export GOENV=off\n+export GOWORK=off # Issue 51558\n unset GOBIN # Issue 14340\n unset GOFLAGS\n unset GO111MODULE", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "src/make.bat", "patch": "@@ -4...
2022-03-18T23:57:43
nodejs/node
d894a5a6bbcaf062d619e7ecbfe60852f55ae278
7bab6b686f9b4e2aa907431d5141f77346645c43
deps: V8: fix BUILDING_V8_SHARED issues PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihri...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.8',\n+ 'v8_embedder_string': '-node.9',\n \n ##### V8 defaults for Node.js #####\n "...
2019-05-26T18:19:09
huggingface/transformers
55dadb865681d9330f7b1e8fec92156cc38cd253
c173472e58538c1e42a83ee9ef9d137854874057
[`BC`] Update `get_(text|image|audio|video)_features` methods to return `BaseModelOutputWithPooling` (#42564) * Add return_dict to get_text_features methods to allow returning 'BaseModelOutputWithPooling' Added to all architectures except blip-2, which has a much different structure here. It uses 'Blip2TextModelWithP...
[ { "path": "MIGRATION_GUIDE_V5.md", "patch": "@@ -453,6 +453,37 @@ We dropped support for two torch APIs:\n \n Those APIs were deprecated by the PyTorch team, and we're instead focusing on the supported APIs `dynamo` and `export`.\n \n+### Feature extraction helpers: `get_*_features`\n+\n+Many multi-modal mo...
2026-01-23T10:49:27
vercel/next.js
a06775cdf33de747710aaffc339fbed3711d0991
c6b163f3c530561b5cf7434234cca0db0d16007a
fix: add aws packages to default `serverComponentsExternalPackages` (#52388) Related #51969 [Slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1688734253149379?thread_ts=1688734176.782469&cid=C04DUD7EB1B)
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/serverComponentsExternalPackages.mdx", "patch": "@@ -20,26 +20,42 @@ module.exports = nextConfig\n \n Next.js includes a [short list of popular packages](https://github.com/vercel/next.js/blob/canary/packages/next/src/lib/server-external-packages.jso...
2023-07-10T10:24:03
golang/go
b9d6cea5016835ca5521469631e55f5c489aa0e7
b810a74da3c4de519433208163ea257ab33b2d24
cmd/link: set alignment of compressed section based on arch The ELF compression header(Chdr) has Addralign field that is set to the alignment of the uncompressed section which makes section able to have a different alignment than the decompressed section. However `file` and other tools require both Chdr.Addralign and ...
[ { "path": "src/cmd/link/internal/ld/dwarf.go", "patch": "@@ -2234,7 +2234,7 @@ func dwarfcompress(ctxt *Link) {\n \t\t\t\tcompressedSegName = \".zdebug_\" + ldr.SymSect(s).Name[len(\".debug_\"):]\n \t\t\t}\n \t\t\tsect := addsection(ctxt.loader, ctxt.Arch, &Segdwarf, compressedSegName, 04)\n-\t\t\tsect.Alig...
2022-03-18T09:36:52
nodejs/node
7bab6b686f9b4e2aa907431d5141f77346645c43
9c362f5cf6537b3e5a6d5ee65fbae39c15028798
deps: V8: add workaround for MSVC optimizer bug Refs: https://developercommunity.visualstudio.com/content/problem/512352/compiler-doesnt-finish-142027508.html PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Rev...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.7',\n+ 'v8_embedder_string': '-node.8',\n \n ##### V8 defaults for Node.js #####\n "...
2019-05-17T15:50:21
electron/electron
2aa1aedd92c58106ecbeddb31c4aeaabdfe9044c
f5839c3a5bc95eeb688302e11079d712d44a7266
Fix typo
[ { "path": "docs/tutorial/electron-versioning.md", "patch": "@@ -4,7 +4,7 @@ If you are a seasoned Node developer, you are surely aware of `semver` - and\n might be used to giving your dependency management systems only rough guidelines\n rather than fixed version numbers. Due to the hard dependency on Node ...
2016-06-01T00:51:09
rust-lang/rust
a58a423f9a37c614d56f86fbbfbebec414caaaf1
1b0bc594a75dfc1cdedc6c17052cf44de101e632
Add target maintainer information for mips64-unknown-linux-muslabi64 The mips64-unknown-linux-muslabi64 target is currently rather broken, but I'm working on getting it fixed so that it can at least be used again. While I can't commit to maintaining the LLVM side of this target, I don't mind looking into any other MI...
[ { "path": "src/doc/rustc/src/SUMMARY.md", "patch": "@@ -83,6 +83,7 @@\n - [m68k-unknown-linux-gnu](platform-support/m68k-unknown-linux-gnu.md)\n - [m68k-unknown-none-elf](platform-support/m68k-unknown-none-elf.md)\n - [mips64-openwrt-linux-musl](platform-support/mips64-openwrt-linux-musl.md)\n+ ...
2025-07-08T01:16:46
vercel/next.js
c15d99dc3e47991bbe4748311072133ac54d8d66
98cc99df466dd45d8150dfa4858f3484ccbd6e8b
Update 08-parallel-routes.mdx (#52419) I Belive this is the incorrect location for the default.js in this example it should be in app/@authModal/default.js not app/@authModal/login/default.js <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possi...
[ { "path": "docs/02-app/01-building-your-application/01-routing/08-parallel-routes.mdx", "patch": "@@ -220,13 +220,13 @@ export default function Login() {\n \n To ensure that the contents of the modal don't get rendered when it's not active, you can create a `default.js` file that returns `null`.\n \n-```tsx...
2023-07-10T09:03:10
nodejs/node
b96a846b8bce3eb75528dbd79657b2d23a27b729
d93c3e3350640c5d1b75fa3ec0c3845c360b959c
deps: V8: patch register-arm64.h Fixes a compilation issue on some platforms PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.coll...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.4',\n+ 'v8_embedder_string': '-node.5',\n \n ##### V8 defaults for Node.js #####\n "...
2019-05-22T15:33:02
huggingface/transformers
c173472e58538c1e42a83ee9ef9d137854874057
236a8e9d9dc72f97f227d7eab6675651d50d990f
Yet another fix (#43437) * ok ... * ok ... * ok ... --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr-repo-consistency-bot.yml", "patch": "@@ -133,21 +133,22 @@ jobs:\n - name: Fetch and checkout PR code manually\n env:\n PR_HEAD_REPO_FULL_NAME: ${{ needs.get-pr-info.outputs.PR_HEAD_REPO_FULL_NAME }}\n+ PR_HEAD_REF: ${{ needs.get-pr-info.outpu...
2026-01-23T10:44:11
golang/go
129a2fcf6c38e83566511304702eada696ed486b
627d6d6d5542a1ccf956a16608b0bc820568c09b
cmd/compile: fix panic with nested dead hidden closures CL 342350 fixed deadcode panic with dead hidden closures. However, a closure may contains nested dead hidden closures, so we need to mark them dead as well. Fixes #51839 Change-Id: Ib54581adfc1bdea60e74d733cd30fd8e783da983 Reviewed-on: https://go-review.googles...
[ { "path": "src/cmd/compile/internal/deadcode/deadcode.go", "patch": "@@ -163,4 +163,5 @@ func markHiddenClosureDead(n ir.Node) {\n \tif clo.Func.IsHiddenClosure() {\n \t\tclo.Func.SetIsDeadcodeClosure(true)\n \t}\n+\tir.VisitList(clo.Func.Body, markHiddenClosureDead)\n }", "additions": 1, "deletions...
2022-03-21T11:49:37
huggingface/transformers
236a8e9d9dc72f97f227d7eab6675651d50d990f
a1306676e920c58ec0818059d59a71aed57f9f60
fix `pr-repo-consistency-bot.yml` (#43434) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr-repo-consistency-bot.yml", "patch": "@@ -145,6 +145,10 @@ jobs:\n git fetch --depth=1 pr-origin ${PR_HEAD_SHA}\n git checkout ${PR_HEAD_SHA}\n \n+ # Also fetch main branch from upstream for comparison (required by `check_modular_conversion`)\n+ ...
2026-01-23T09:47:49
nodejs/node
6ae69482daf7e59f6794b8281aeecd2b90446bcc
a28348867b8b83e719872a5612a16a9612090483
deps: V8: un-cherry-pick bd019bd Original commit message: [testrunner] delete ancient junit compatible format support Testrunner has ancient support for JUnit compatible XML output. This CL removes this old feature. R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org CC=​mach...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-27T14:32:10
vercel/next.js
98cc99df466dd45d8150dfa4858f3484ccbd6e8b
62c2c5abc2f7f3cfa99e66bacd64b1d56d45e85c
fix(standalone): fixed `output: "standalone"` crashing build when there is no `app/` page (#51993) ### What? This PR fixes build crashing when `output: 'standalone'` and `experimental.appDir` is enabled but there is no app pages. ### How? It does that by checking whether `.next/server/app` exists before copying the f...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -11,7 +11,7 @@ import { loadEnvConfig } from '@next/env'\n import chalk from 'next/dist/compiled/chalk'\n import crypto from 'crypto'\n import { isMatch, makeRe } from 'next/dist/compiled/micromatch'\n-import { promises } from 'fs'\n+import { promis...
2023-07-10T08:40:02
huggingface/transformers
a1306676e920c58ec0818059d59a71aed57f9f60
f60129d1bd7ab94584521f27b1337e4d44d151dc
Make `pr-repo-consistency-bot.yml` run complete list of fixes (#43432) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr-repo-consistency-bot.yml", "patch": "@@ -148,12 +148,39 @@ jobs:\n - name: Run checks with trusted script\n id: run_checks\n run: |\n- # Copy trusted script to PR directory\n+ # Security: Copy trusted scripts from main branch and run co...
2026-01-23T09:36:42
golang/go
627d6d6d5542a1ccf956a16608b0bc820568c09b
3f8a6941553ae007638335cb6af0b6a702adf64f
debug/dwarf: better error detection in parseUnits Tweak the (*Data).parseUnits method to check a bit more carefully for buffer read errors, so as to avoid infinite looping on malformed inputs. Fixes #51758. Updates #47653. Change-Id: I6d67fcb53392acf651ceec636789ab9e49ad5a5c Reviewed-on: https://go-review.googlesour...
[ { "path": "src/debug/dwarf/buf.go", "patch": "@@ -67,7 +67,7 @@ func (b *buf) uint8() uint8 {\n }\n \n func (b *buf) bytes(n int) []byte {\n-\tif len(b.data) < n {\n+\tif n < 0 || len(b.data) < n {\n \t\tb.error(\"underflow\")\n \t\treturn nil\n \t}", "additions": 1, "deletions": 1, "language": ...
2022-03-18T15:36:21
nodejs/node
a28348867b8b83e719872a5612a16a9612090483
4b7be335b9b6576c8a819e3a9f04a34a9474d3ad
deps: V8: fix filename manipulation for Windows PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jia...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n ##### V8 defaults for Node.js #####\n "...
2019-03-31T15:53:24
huggingface/transformers
f60129d1bd7ab94584521f27b1337e4d44d151dc
95be7ef5ed51cd067f1eb3991ae7e186a95d2100
Chore(tests): Fix values for test_inference_for_video_classification (#43406) Tweaked values against real ones
[ { "path": "tests/models/vivit/test_modeling_vivit.py", "patch": "@@ -354,7 +354,7 @@ def test_inference_for_video_classification(self):\n expectations = Expectations(\n {\n (None, None): [-0.9498, 2.7971, -1.4049, 0.1024, -1.8353],\n- (\"cuda\", 8): [-0.949...
2026-01-23T09:23:02
vercel/next.js
c68c4bdc9fb1b224af1b1f8edf996a643605e465
85033e3add4ed12a679eb46776870ab2d4eb87d6
fixed error #52486 fetchUsers to fetchUser (#52487) #52486 Here I fixed the typo error of fetchUsers to fetchUser in docs/api-reference/04-functions/not-found.mdx async function fetchUser(id) { // Here instead of fetchUsers i changed it to fetchUser const res = await fetch('https://...') if (!res.ok) retur...
[ { "path": "docs/02-app/02-api-reference/04-functions/not-found.mdx", "patch": "@@ -12,7 +12,7 @@ Invoking the `notFound()` function throws a `NEXT_NOT_FOUND` error and terminate\n ```jsx filename=\"app/user/[id]/page.js\"\n import { notFound } from 'next/navigation'\n \n-async function fetchUsers(id) {\n+as...
2023-07-10T07:43:05
golang/go
6673d5d701d224919d910e88a73b6f69472c9ed1
47efdcbf4c40a718ba6e1c28b8bb7b73e729f2b0
README.md: update links to go.dev Fixes #50916. Change-Id: I51f3269b7a0793a3002eef83de1d871111fc3cdc GitHub-Last-Rev: fc8c183ac7fa84d6caefdf49ed1d8cac19d7744f GitHub-Pull-Request: golang/go#50919 Reviewed-on: https://go-review.googlesource.com/c/go/+/381962 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Cherr...
[ { "path": "README.md", "patch": "@@ -16,23 +16,23 @@ BSD-style license found in the LICENSE file.\n \n #### Binary Distributions\n \n-Official binary distributions are available at https://golang.org/dl/.\n+Official binary distributions are available at https://go.dev/dl/.\n \n-After downloading a binary re...
2022-02-01T23:22:31
huggingface/transformers
95be7ef5ed51cd067f1eb3991ae7e186a95d2100
10e97cd508218546ef681a2c9b4c519ac0d927c3
Fix in-place modification of inputs_embeds in Kosmos-2.5 forward (#43418) * Fix in-place modification of inputs_embeds in Kosmos-2.5 forward * Removed trailing space
[ { "path": "src/transformers/models/kosmos2_5/modeling_kosmos2_5.py", "patch": "@@ -1091,8 +1091,9 @@ def forward(\n \n # Ignore copy\n if image_embeds is not None:\n+ inputs_embeds = inputs_embeds.clone()\n inputs_embeds[image_embeds_position_mask == 1] = image_embeds....
2026-01-23T08:06:31
nodejs/node
188896ea3e5145df921d9708e8546b5778cf7267
4e782c9deb03b58923f22e930ba1c5a778fbe4a5
stream: do not emit after 'error' Do not emit 'prefinish' or 'finish' event after an error. PR-URL: https://github.com/nodejs/node/pull/28708 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <ja...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -617,10 +617,11 @@ function callFinal(stream, state) {\n state.pendingcb--;\n if (err) {\n errorOrDestroy(stream, err);\n+ } else {\n+ state.prefinished = true;\n+ stream.emit('prefinish');\n+ finishMaybe(stream, state);\n ...
2019-07-15T21:48:44
vercel/next.js
2ef8938ff05bb9739f110dc8d1cab54306fdf6fb
af1948bde169bada338527f0eb4d65d7fb078b39
docs: fix the incrementalCacheHandlerPath (#52124) The `incrementalCacheHandlerPath` have to be under `experimental`. And the path should use `path` library so that the custom cache handler can be used.
[ { "path": "docs/02-app/02-api-reference/05-next-config-js/incrementalCacheHandlerPath.mdx", "patch": "@@ -7,7 +7,9 @@ In Next.js, the [default cache handler](/docs/app/building-your-application/data\n \n ```js filename=\"next.config.js\"\n module.exports = {\n- incrementalCacheHandlerPath: './cache-handler...
2023-07-10T04:08:15
golang/go
47efdcbf4c40a718ba6e1c28b8bb7b73e729f2b0
4d2da99498ff55700eeddf09d603fa0618c8b55c
internal/reflectlite: fix name of type parameter CL 372774 is for reflect, this CL is for internal/reflectlite. Updates #50208 Change-Id: Ib7e8b1bc031feab218d1addd78388fcfe9b675b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/393918 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot ...
[ { "path": "src/internal/reflectlite/all_test.go", "patch": "@@ -958,6 +958,9 @@ type nameTest struct {\n \twant string\n }\n \n+type A struct{}\n+type B[T any] struct{}\n+\n var nameTests = []nameTest{\n \t{(*int32)(nil), \"int32\"},\n \t{(*D1)(nil), \"D1\"},\n@@ -971,6 +974,8 @@ var nameTests = []nameTest{...
2022-03-19T18:10:17
huggingface/transformers
10e97cd508218546ef681a2c9b4c519ac0d927c3
ef2de73bf21fcf3120ecdf45973aef198365c79a
Fix Mamba2ForCausalLM weight tying (#43207) * Fix Mamba2ForCausalLM weight tying Add _tied_weights_keys mapping to enable proper weight tying when tie_word_embeddings=True. This is the standard pattern used by MambaForCausalLM, GPT2, LLaMA, and other models. Fixes #43206 * Enable weight tying in Mamba2ModelTester f...
[ { "path": "src/transformers/models/mamba2/modeling_mamba2.py", "patch": "@@ -930,7 +930,7 @@ def forward(\n \"\"\"\n )\n class Mamba2ForCausalLM(Mamba2PreTrainedModel, GenerationMixin):\n- _tied_weights_keys = {}\n+ _tied_weights_keys = {\"lm_head.weight\": \"backbone.embeddings.weight\"}\n \n ...
2026-01-22T19:19:32
nodejs/node
93b341ed01a735f671c84e72a30e5e55945ea27f
a5edceea0416ad911ffdbc9b6a93eb3630d1a550
readline: close dumb terminals on Control+D This commit adds support for closing a readline interface on Control+D when the terminal is dumb. PR-URL: https://github.com/nodejs/node/pull/29149 Fixes: https://github.com/nodejs/node/issues/29111 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell ...
[ { "path": "lib/readline.js", "patch": "@@ -816,15 +816,20 @@ function _ttyWriteDumb(s, key) {\n if (this._sawReturnAt && key.name !== 'enter')\n this._sawReturnAt = 0;\n \n- if (key.ctrl && key.name === 'c') {\n- if (this.listenerCount('SIGINT') > 0) {\n- this.emit('SIGINT');\n- } else {\n...
2019-08-15T16:37:29
vercel/next.js
4f8f9ae5b09ac26d2ddd50761951c13ae711d57e
922498e88686df554475db2ca2650657c9e2902a
docs: Improve hydration mismatch error guide. (#52481)
[ { "path": "errors/react-hydration-error.mdx", "patch": "@@ -4,102 +4,82 @@ title: Text content does not match server-rendered HTML\n \n ## Why This Error Occurred\n \n-While rendering your application, there was a difference between the React tree that was pre-rendered (SSR/SSG) and the React tree that rend...
2023-07-10T03:41:42
huggingface/transformers
ef2de73bf21fcf3120ecdf45973aef198365c79a
541046564da80b8ff655e1deb6c7ac15a6eed23a
🚨Fix default interpolation for PVT to match original implementation (Bicubic) (#43017) * Fix default interpolation for PVT (Fast and Python) to BICUBIC * Polish code and trigger CI restart * Fix docstring to match PILImageResampling.BICUBIC * Remove Copied from tag and finalize BICUBIC fix * Apply make style afte...
[ { "path": "src/transformers/models/pvt/image_processing_pvt.py", "patch": "@@ -47,7 +47,7 @@ class PvtImageProcessor(BaseImageProcessor):\n size (`dict`, *optional*, defaults to `{\"height\": 224, \"width\": 224}`):\n Size of the output image after resizing. Can be overridden by the `siz...
2026-01-22T18:25:41
golang/go
0433f5770b9c92b06d5a15c8d2a70f00597faac4
d68615f64b0d7c1e886f4b8c1267ecc1c4da76ad
cmd/go: stamp build settings for binaries in cmd Also update cmd/dist to avoid setting gcflags and ldflags explicitly when the set of flags to be set is empty (a verbose way of specifying the default behavior). Stamping was disabled for the Go standard library in CL 356014 due to the cmd/dist flags causing cmd/go to ...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -1502,8 +1502,19 @@ func goInstall(goBinary string, args ...string) {\n \tgoCmd(goBinary, \"install\", args...)\n }\n \n+func appendCompilerFlags(args []string) []string {\n+\tif gogcflags != \"\" {\n+\t\targs = append(args, \"-gcflags=all=\"+gogcflags)\n+\t}\...
2022-03-08T22:01:12
huggingface/transformers
541046564da80b8ff655e1deb6c7ac15a6eed23a
4a1ad8da8d6b36a60269ef1deadc474e9243aec1
Fix tokenizer auto_map being ignored for custom models (#43219) * Fix tokenizer auto_map being ignored for custom models (#43202) PR #42894 added an early-exit to TokenizersBackend when tokenizer_class doesn't match the registered tokenizer for a model_type. However, this early-exit was placed before the auto_map che...
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -625,9 +625,21 @@ def from_pretrained(\n # Next, let's try to use the tokenizer_config file to get the tokenizer class.\n tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)\n tok...
2026-01-22T17:25:18
nodejs/node
a5edceea0416ad911ffdbc9b6a93eb3630d1a550
9b7362c460c0bd3073fd96c0151f4b670fece27a
readline: close dumb terminals on Control+C This commit adds support for closing a readline interface on Control+C when the terminal is dumb. PR-URL: https://github.com/nodejs/node/pull/29149 Fixes: https://github.com/nodejs/node/issues/29111 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell ...
[ { "path": "lib/readline.js", "patch": "@@ -823,6 +823,8 @@ function _ttyWriteDumb(s, key) {\n // This readline instance is finished\n this.close();\n }\n+\n+ return;\n }\n \n switch (key.name) {", "additions": 2, "deletions": 0, "language": "JavaScript" } ]
2019-08-15T16:17:16
golang/go
d68615f64b0d7c1e886f4b8c1267ecc1c4da76ad
6378c0e753b75089611c8ca973b6e1777cf5aff8
cmd/go/internal/test: ensure that build.ToolDir is accurate in tests This fixes a build failure due to inability to locate the "vet" tool when the test binary is built with -trimpath. Updates #51461 Change-Id: I81838cc8842e4ff7900cab81af60501ebba86ff1 Reviewed-on: https://go-review.googlesource.com/c/go/+/391808 Tru...
[ { "path": "src/cmd/go/internal/cfg/cfg.go", "patch": "@@ -87,16 +87,6 @@ func defaultContext() build.Context {\n \n \tctxt.JoinPath = filepath.Join // back door to say \"do not use go command\"\n \n-\tctxt.GOROOT = findGOROOT()\n-\tif runtime.Compiler != \"gccgo\" {\n-\t\t// Note that we must use runtime.GO...
2022-03-11T04:38:25
rust-lang/rust
62951c2e07dea61ec20fd6f6e849400f4cd194c3
a2d45f73c70d9dec57140c9412f83586eda895f8
fix: Remove newline from multiple crate versions note
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs", "patch": "@@ -1933,7 +1933,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n StringPart::highlighted(\"multiple different versions\".to_string()),\n StringPart::normal(\" of crate...
2025-07-08T00:22:28
electron/electron
f693b042b58a9c723261b5ee30c78706ef6e7e47
f4fe60d126f9b86bca7dd7bfe99f49c81359cda5
Fix js lint warnings
[ { "path": "lib/renderer/api/ipc-renderer.js", "patch": "@@ -20,15 +20,15 @@ ipcRenderer.sendToHost = function (...args) {\n \n ipcRenderer.sendTo = function (webContentsId, channel, ...args) {\n if (typeof webContentsId !== 'number') {\n- throw new TypeError(`First argument has to be webContentsId`)\n+...
2016-05-28T13:46:15