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
vuejs/vue
5bbb077cd9d79eabab0002c459d373d75e532ef0
95d8afa07c4a84d6c178e220913cec4b1afcf21d
docs: fix link to point to ModuleOptions lines (#10531)
[ { "path": "packages/vue-template-compiler/README.md", "patch": "@@ -81,7 +81,7 @@ Note the returned function code uses `with` and thus cannot be used in strict mo\n \n It's possible to hook into the compilation process to support custom template features. **However, beware that by injecting custom compile...
2019-09-19T07:52:32
ggml-org/llama.cpp
638d330246954e88dffc22ce01fec15e6894e544
84c8e305e8010a1a3d43bdd0a25f737ac67809a4
ggml : fix graph reallocation with multiple chunks (#16396) reallocation is needed if a single chunk grows in size, even if total allocation size stays the same or is lower
[ { "path": "ggml/src/ggml-alloc.c", "patch": "@@ -392,12 +392,8 @@ static void ggml_dyn_tallocr_free(struct ggml_dyn_tallocr * alloc) {\n free(alloc);\n }\n \n-static size_t ggml_dyn_tallocr_max_size(struct ggml_dyn_tallocr * alloc) {\n- size_t max_size = 0;\n- for (int i = 0; i < alloc->n_chunks; ...
2025-10-03T11:49:08
golang/go
b4ecafc986268d171776603537d40c8dff3fae61
9b189686a53d7fec7deb93d7521531157aa023cb
cmd/compile: restrict bit test rewrite rules The {AND,OR,XOR}const ops can only take an int32 as an argument. Make sure that when rewriting a BTx op to one of these, the result has no high-order bits. Fixes #38746 Change-Id: Ia7c5f76952329f60974bc033c29a5433610f3b28 Reviewed-on: https://go-review.googlesource.com/c/...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -735,18 +735,33 @@\n (ANDQ x (MOVQconst [c])) && is32Bit(c) -> (ANDQconst [c] x)\n (ANDL x (MOVLconst [c])) -> (ANDLconst [c] x)\n \n-(AND(L|Q)const [c] (AND(L|Q)const [d] x)) -> (AND(L|Q)const [c & d] x)\n-(BTR(L|Q)const [c] (AND(L|Q)co...
2020-05-04T16:50:20
huggingface/transformers
690fe73f2091bac0d3bb80d4f787ef75e033dd60
d4fc1eb4984ce51551a9bc2c7f923018cc36de0c
[Whisper] Finalize batched SOTA long-form generation (#27658) * finalize * make fix copies whisper * [Tests] Make sure that we don't run tests mulitple times * Update src/transformers/models/whisper/modeling_whisper.py * [Tests] Make sure that we don't run tests mulitple times * fix more * improve ...
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -95,6 +95,7 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwa\n scores = processor(input_ids, scores, **kwargs)\n else:\n scores = processor(input_ids, scores...
2024-01-19T12:04:17
rust-lang/rust
736ef0a4cee37e35caa6efb1121a776e00a9de4a
905b1bf1ccccaf091a880b069f80dc38ad9ecad3
Don't error when adding a staticlib with bitcode files compiled by newer LLVM
[ { "path": "compiler/rustc_codegen_llvm/src/back/archive.rs", "patch": "@@ -132,23 +132,39 @@ fn get_llvm_object_symbols(\n if err.is_null() {\n return Ok(true);\n } else {\n- return Err(unsafe { *Box::from_raw(err as *mut io::Error) });\n+ let error = unsafe { *Box::from_raw(er...
2025-02-14T09:19:10
nodejs/node
771a03dfe3dba6ac3136bd4aa25525220e29b0ff
0ce54a7ec96431a088a15a5e24614428184497f0
src: fixup strings, reduce duplication PR-URL: https://github.com/nodejs/node/pull/14937 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/cares_wrap.cc", "patch": "@@ -2190,28 +2190,28 @@ void Initialize(Local<Object> target,\n FunctionTemplate::New(env->isolate(), is_construct_call_callback);\n aiw->InstanceTemplate()->SetInternalFieldCount(1);\n env->SetProtoMethod(aiw, \"getAsyncId\", AsyncWrap::GetAsyncId);\n- ai...
2017-08-19T04:58:25
vuejs/vue
78c3ce0ce0c2230f657cb7772a84fc7aa7ce0825
f1d29d7f45022f0edd20081dea8387043c96b30d
chore: fix prefixed data properties warning typo (#10327)
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -28,7 +28,7 @@ if (process.env.NODE_ENV !== 'production') {\n warn(\n `Property \"${key}\" must be accessed with \"$data.${key}\" because ` +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n- 'pr...
2019-07-31T07:52:42
ggml-org/llama.cpp
84c8e305e8010a1a3d43bdd0a25f737ac67809a4
2aaf0a2a2056d75d0dd53ab8a181473760e6ab22
Fix missing messages on sibling navigation (#16408) * fix: resolve message disappearing issue when navigating between regenerated siblings by using current leaf nodes instead of cached sibling IDs * chore: update webui build output * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/stores/chat.svelte.ts", "patch": "@@ -860,15 +860,18 @@ class ChatStore {\n \t\t\tthis.currentResponse = '';\n \n \t\t\ttry {\n-\t\t\t\tconst assistantMessage = await this.createAssistantMessage();\n+\t\t\t\tconst parentMessageId =\n+\t\t\t\t\tthis.activeMessages.length...
2025-10-03T10:51:40
huggingface/transformers
db9a7e9d3dbd1b595f004597a0502cce0a96135a
772307be7649e1333a933cfaa229dc0dec2fd331
Don't save `processor_config.json` if a processor has no extra attribute (#28584) * not save if empty * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -234,8 +234,11 @@ def save_pretrained(self, save_directory, push_to_hub: bool = False, **kwargs):\n # If we save using the predefined names, we can load using `from_pretrained`\n output_processor_file = os.path.join(save_director...
2024-01-19T09:59:14
golang/go
b40c6580639beb1fd24bbf8cc50f4488c245c41b
01a9cf8487df2b108f0dfd7060ff5ffbda972c3a
net/http/httputil: don't use testing.T after test completes This fixes a race condition where TestReverseProxyWebSocketCancelation appears to panic after otherwise passing. Fixes #38863 Change-Id: Ib89f4c40da879b92ac1fc5ed8b6e48da929e4a18 Reviewed-on: https://go-review.googlesource.com/c/go/+/232257 Reviewed-by: Bra...
[ { "path": "src/net/http/httputil/reverseproxy_test.go", "patch": "@@ -1224,13 +1224,22 @@ func TestReverseProxyWebSocketCancelation(t *testing.T) {\n \n \t\tfor i := 0; i < n; i++ {\n \t\t\tif _, err := bufrw.WriteString(nthResponse(i)); err != nil {\n-\t\t\t\tt.Errorf(\"Writing response #%d failed: %v\", i...
2020-05-05T00:50:17
vuejs/vue
b7c2d9366cf731a1551286b8ac712e6e0905070e
a99c6672d6e58183013be338cb7affe14a23c9d8
fix(security) upgrade lodash.template (#10257) That's it. https://github.com/lodash/lodash/pull/4336
[ { "path": "packages/vue-server-renderer/package.json", "patch": "@@ -22,7 +22,7 @@\n \"chalk\": \"^1.1.3\",\n \"hash-sum\": \"^1.0.2\",\n \"he\": \"^1.1.0\",\n- \"lodash.template\": \"^4.4.0\",\n+ \"lodash.template\": \"^4.5.0\",\n \"lodash.uniq\": \"^4.5.0\",\n \"resolve\": \"^1.2...
2019-07-15T14:31:39
nodejs/node
e76b1ff17e321f1e1536f2ff9d9fea45cf2d9623
c19894f81427b1b2a2270032265bc7b9ad46838c
doc: rephrase text of child_process.execSync() Rephrases the error thrown by child_process.execSync(). PR-URL: https://github.com/nodejs/node/pull/14953 Fixes: https://github.com/nodejs/node/issues/14944 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael...
[ { "path": "doc/api/child_process.md", "patch": "@@ -685,8 +685,8 @@ does not exit, the parent process will still wait until the child process has\n exited.\n \n If the process times out, or has a non-zero exit code, this method ***will***\n-throw. The [`Error`][] object will contain the entire result from\...
2017-08-20T13:25:53
ggml-org/llama.cpp
0e1f83855609d73beaf05d818640b6cfd39d287b
ad126479c25cf983a0f994a08ba0911cf49ed62b
vulkan: Fix FA coopmat1 invalid array indexing (#16365) When computing sinks, the cm1 shader was looping r from 0 to Br rather than to rows_per_thread. I must have copied this from the scalar path (where it is correct), and somehow it wasn't causing failures on current drivers.
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/flash_attn_cm1.comp", "patch": "@@ -358,8 +358,8 @@ void main() {\n }\n \n if ((p.mask_n_head_log2 & SINK_ENABLE_BIT) != 0) {\n- [[unroll]] for (uint32_t r = 0; r < Br; ++r) {\n- float sink = perElemOpGetSink(r, 0u, ACC_TYPE(0), iq2);\...
2025-10-03T09:52:46
huggingface/transformers
186aa6befecc6e6f022fed34019a00d60884d557
619ecfe26f29d6ac1c73a2f7465646087622e1e1
[Whisper] Fix audio classification with weighted layer sum (#28563) * fix * tests * fix test
[ { "path": "src/transformers/models/whisper/modeling_whisper.py", "patch": "@@ -57,6 +57,8 @@\n \n logger = logging.get_logger(__name__)\n \n+_HIDDEN_STATES_START_POSITION = 1\n+\n _CONFIG_FOR_DOC = \"WhisperConfig\"\n _CHECKPOINT_FOR_DOC = \"openai/whisper-tiny\"\n \n@@ -2957,6 +2959,11 @@ def forward(\n ...
2024-01-18T16:41:44
vuejs/vue
8f7133c8fa64a11fa12ee7ec511f174c48051570
bbdaaf480c00b25d7d900cae79c03ef8d5ca7d53
chore: fix sponsor url [ci skip]
[ { "path": "BACKERS.md", "patch": "@@ -21,7 +21,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu\n <img width=\"260px\" src=\"https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/stdlib.png\">\n </a>\n </p>\n- \n+\n <!--special end-->\n...
2019-06-12T14:39:51
rust-lang/rust
f6406dfd4efceb6f713e503aecda587304135ed9
b480a9214a7037813d29bc04d9e9dbe92ce10cf3
Consider add-prefix replacements too
[ { "path": "compiler/rustc_errors/src/lib.rs", "patch": "@@ -236,9 +236,10 @@ impl SubstitutionPart {\n /// it with \"abx\" is, since the \"c\" character is lost.\n pub fn is_destructive_replacement(&self, sm: &SourceMap) -> bool {\n self.is_replacement(sm)\n- && !sm\n- ...
2025-02-13T03:07:18
golang/go
c9d5f60eaa4450ccf1ce878d55b4c6a12843f2f3
b5f7ff4aa9c1fef6437f350595caae4ee4b5708d
math/big: add (*Int).FillBytes Replaced almost every use of Bytes with FillBytes. Note that the approved proposal was for func (*Int) FillBytes(buf []byte) while this implements func (*Int) FillBytes(buf []byte) []byte because the latter was far nicer to use in all callsites. Fixes #35833 Change-Id: Ia9...
[ { "path": "src/crypto/elliptic/elliptic.go", "patch": "@@ -277,7 +277,7 @@ var mask = []byte{0xff, 0x1, 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f}\n func GenerateKey(curve Curve, rand io.Reader) (priv []byte, x, y *big.Int, err error) {\n \tN := curve.Params().N\n \tbitSize := N.BitLen()\n-\tbyteLen := (bitSize + 7) ...
2020-04-28T01:52:38
nodejs/node
7c948ce233c2401ca36ab66195fc0599011141ee
6c382dea6bb88330cb2a66a097a49401da85f878
fix --prof-process --preprocess flag This is a one-line fix to prevent the --preprocess option (used with --prof-process to output JSON) to cause an isolate log file profiling process to crash. PR-URL: https://github.com/nodejs/node/pull/14966 Reviewed-By: Luca Maraschi <luca.maraschi@gmail.com> Reviewed-By: Matteo C...
[ { "path": "lib/internal/v8_prof_processor.js", "patch": "@@ -32,6 +32,7 @@ if (process.platform === 'darwin') {\n tickArguments.push.apply(tickArguments, process.argv.slice(1));\n script = `(function() {\n arguments = ${JSON.stringify(tickArguments)};\n+ function write (s) { process.stdout.write(s) }\n ...
2017-08-21T18:01:06
ggml-org/llama.cpp
136bda78c5679b266362b39c58338fff46fd2592
5113efd34ceda709292de26c72716c49e024fb32
webui : Fix messages payload sent to chat completions (#16402) * fix: Include just the currently active message branches instead of all in chat completions request * chore: Build webui static output * chore: Formatting * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/stores/chat.svelte.ts", "patch": "@@ -550,7 +550,6 @@ class ChatStore {\n \t\t\t\tawait this.updateConversationName(this.activeConversation.id, title);\n \t\t\t}\n \n-\t\t\tconst allMessages = await DatabaseStore.getConversationMessages(this.activeConversation.id);\n \t...
2025-10-03T07:11:34
vuejs/vue
f64765fa03c1eb1d37f3301ea5beb4d18e57158a
ff911c9ffef16c591b25df05cb2322ee737d13e0
chore(typo): fix comment typo (#10101)
[ { "path": "src/core/instance/render.js", "patch": "@@ -84,7 +84,7 @@ export function renderMixin (Vue: Class<Component>) {\n // render self\n let vnode\n try {\n- // There's no need to maintain a stack becaues all render fns are called\n+ // There's no need to maintain a stack because ...
2019-06-04T09:51:19
huggingface/transformers
c662c78c71e693234725d70a6291398b33042444
0754217c82e5c640c6269d4d0ddc99203b3fd99b
Fix the documentation checkpoint for xlm-roberta-xl (#28567) * Fix the documentation checkpoint for xlm-roberta-xl * Improve docstring consistency
[ { "path": "src/transformers/models/xlm_roberta_xl/modeling_xlm_roberta_xl.py", "patch": "@@ -47,7 +47,7 @@\n \n logger = logging.get_logger(__name__)\n \n-_CHECKPOINT_FOR_DOC = \"xlm-roberta-xlarge\"\n+_CHECKPOINT_FOR_DOC = \"facebook/xlm-roberta-xl\"\n _CONFIG_FOR_DOC = \"XLMRobertaXLConfig\"\n \n XLM_ROBE...
2024-01-18T13:47:49
ggml-org/llama.cpp
5113efd34ceda709292de26c72716c49e024fb32
d64c8104f090b27b1f99e8da5995ffcfa6b726e2
fix: track viewportHeight via window.innerHeight to avoid unwanted scrolling (#16356) Use <svelte:window bind:innerHeight> instead of manual resize listener Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
[ { "path": "tools/server/webui/src/routes/+layout.svelte", "patch": "@@ -25,6 +25,7 @@\n \tlet isNewChatMode = $derived(page.url.searchParams.get('new_chat') === 'true');\n \tlet showSidebarByDefault = $derived(activeMessages().length > 0 || isLoading());\n \tlet sidebarOpen = $state(false);\n+\tlet innerHei...
2025-10-03T06:01:31
vuejs/vue
0caebfe905bc1e587fb583de778287c2362bba1a
1137e415c9e8701d1b0a25e5812f8c4dffeeeaaa
chore(typo): fix README tag mismatch (#9934)
[ { "path": "README.md", "patch": "@@ -92,7 +92,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu\n </table>\n <!--special-china end-->\n \n-<h3 align=\"center\">Gold Sponsors</h4>\n+<h3 align=\"center\">Gold Sponsors</h3>\n \n <!--gold start-->\n <table>", "additions":...
2019-05-14T10:15:42
golang/go
b5f7ff4aa9c1fef6437f350595caae4ee4b5708d
4c003f6b780b471afbf032438eb6c7519458855b
all: update vendored dependencies for Go 1.15 release The Go 1.15 code freeze has just started. This is the time to update all golang.org/x/... module versions that contribute packages to the std and cmd modules in the standard library to latest master versions. Those versions have already gone through code review, a...
[ { "path": "src/cmd/go.mod", "patch": "@@ -1,12 +1,13 @@\n module cmd\n \n-go 1.14\n+go 1.15\n \n require (\n \tgithub.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3\n-\tgolang.org/x/arch v0.0.0-20191126211547-368ea8f32fff\n-\tgolang.org/x/crypto v0.0.0-20200414155820-4f8f47aa7992\n-\tgolang.org/x/mod v...
2020-05-01T22:58:41
rust-lang/rust
a21ffd87c3dca3381ded33fda36fb23cf7919d43
2d2849d6c661f0859505dda0e636a66fb69ca2bb
Fix borked link
[ { "path": "src/doc/rustc-dev-guide/src/compiler-debugging.md", "patch": "@@ -368,7 +368,7 @@ error: layout_of(&'a u32) = Layout {\n error: aborting due to previous error\n ```\n \n-[`Layout`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/abi/struct.Layout.html\n+[`Layout`]: https://doc.rust-...
2025-02-14T06:23:10
ggml-org/llama.cpp
ef07a4090672a3438d7f64f197795d7dc1c18957
34fcc5a4ace8c69476ef2ea3857f39a60334acc4
ggml webgpu: add support for soft_max, optimize rms_norm (#16357) * Add inplace softmax * Move rms_norm to split row approach * Update debug for supports_op * clean up debug statements * Update tests/test-backend-ops.cpp Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> --------- Co-authored-by: Georgi Gerg...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -1630,6 +1630,13 @@ extern \"C\" {\n float scale,\n float max_bias);\n \n+ GGML_API struct ggml_tensor * ggml_soft_max_ext_inplace(\n+ struct ggml_context * ctx,\n+ struct ggml_tens...
2025-10-02T18:00:31
huggingface/transformers
d2cdefb9ec5080b78be302740a9cbaf48241b5c6
5d8eb93eeec0476b9f0fddc96f2960be0ce782b6
Add new meta w2v2-conformer BERT-like model (#28165) * first commit * correct default value non causal * update config and modeling code * update converting checkpoint * clean modeling and fix tests * make style * add new config parameters to docstring * fix copied from statements * Apply sugge...
[ { "path": "README.md", "patch": "@@ -519,6 +519,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[VITS](https://huggingface.co/docs/transformers/model_doc/vits)** (from Kakao Enterprise) released with the paper [Conditional Variational Autoencoder with Adversarial...
2024-01-18T13:37:34
vuejs/vue
1137e415c9e8701d1b0a25e5812f8c4dffeeeaaa
26bd80774fd70625b2ec44ddd9c967571ef4a884
chore(typo): fix typo in comments (#9995)
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -22,7 +22,7 @@ const startTagOpen = new RegExp(`^<${qnameCapture}`)\n const startTagClose = /^\\s*(\\/?)>/\n const endTag = new RegExp(`^<\\\\/${qnameCapture}[^>]*>`)\n const doctype = /^<!DOCTYPE [^>]+>/i\n-// #7298: escape - to avoid being pased...
2019-05-08T15:08:29
golang/go
4c003f6b780b471afbf032438eb6c7519458855b
a1ffbe9c69c716c597f74bd281ca9166e0d54ff5
reflect: keep RO flags unchanged in Value.Addr Currently, Value.Addr collapses flagRO, which is a combination of flagEmbedRO and flagStickyRO, to flagStickyRO. This causes exported fields of unexported anonymous field from Value.Addr.Elem read only. This commit fix this by keeping all bits of flagRO from origin value...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -350,6 +350,7 @@ func TestCanSetField(t *testing.T) {\n \t}\n \n \ttype testCase struct {\n+\t\t// -1 means Addr().Elem() of current value\n \t\tindex []int\n \t\tcanSet bool\n \t}\n@@ -360,35 +361,65 @@ func TestCanSetField(t *testing.T) {\n \t\tval: Value...
2020-05-04T02:28:39
ggml-org/llama.cpp
34fcc5a4ace8c69476ef2ea3857f39a60334acc4
91a2a5655658bb9ab77894716b82fae7ecb4b4d1
model : Apertus model implementation (#15852) * First attempt * No permute during convert (fixes qk tensors), proper norm application. * RoPE = NeoX * Coherence! * Migrate xielu params from tensors to hyperparameters * Simple CUDA kernel * Revert stupid LLM refactorings * Chat template support * configchecker ...
[ { "path": "common/chat-parser.cpp", "patch": "@@ -75,6 +75,35 @@ bool common_chat_msg_parser::add_tool_calls(const json & arr) {\n }\n return true;\n }\n+\n+bool common_chat_msg_parser::add_tool_call_short_form(const json & tool_call) {\n+ if (!tool_call.is_object() || tool_call.size() != 1) {\n+...
2025-10-02T17:43:22
vuejs/vue
569b728ab19d1956bf935a98c9c65a03d92ac85f
ab50e8e1da2f4f944af683252481728485fedf16
fix: fix function expression regex (#9922) fix #9920
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-const fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function\\s*(?:[\\w$]+)?\\s*\\(/\n+const fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/\n const fnInvokeRE = /\\([^)]*?\\);*$/\n const simple...
2019-04-25T13:04:36
huggingface/transformers
5d8eb93eeec0476b9f0fddc96f2960be0ce782b6
818997788584b9fc043d8b58e078f63aadb6b60e
chore: Fix multiple typos (#28574)
[ { "path": "examples/research_projects/codeparrot/README.md", "patch": "@@ -50,7 +50,7 @@ The raw dataset contains many duplicates. We deduplicated and filtered the datas\n - fraction of alphanumeric characters < 0.25\n - containing the word \"auto-generated\" or similar in the first 5 lines\n - filtering wi...
2024-01-18T13:35:09
golang/go
1dcbd8dc58abf7319a8f557536e3b5158cba8ed7
b3c0fe1d14485d34acc402f795eff32b36d6c4e2
cmd/go/internal/modload: make QueryPattern consider current versions QueryPattern will now look up the current version of a module (if any) before invoking queryProxy. This changes the interpretation of some patterns (like "upgrade") and avoids the need to download earlier versions for earlier versions when the curren...
[ { "path": "src/cmd/go/internal/modload/query.go", "patch": "@@ -455,8 +455,9 @@ func QueryPattern(pattern, query string, allowed func(module.Version) bool) ([]Q\n \n \terr := modfetch.TryProxies(func(proxy string) error {\n \t\tqueryModule := func(path string) (r QueryResult, err error) {\n+\t\t\tcurrent :=...
2020-05-01T19:30:58
ggml-org/llama.cpp
72ee736c447be4ededb51ab97904b4d33c90c261
f09aefaa84d7f4d5df3f400f67944b94fef5b795
ci : fix ubuntu-latest-cmake-rpc (disable ccache) (#16388)
[ { "path": ".github/workflows/build.yml", "patch": "@@ -362,11 +362,11 @@ jobs:\n id: checkout\n uses: actions/checkout@v4\n \n- - name: ccache\n- uses: ggml-org/ccache-action@v1.2.16\n- with:\n- key: ubuntu-latest-cmake-rpc\n- evict-old-files: 1d\n+ ...
2025-10-02T11:51:36
vuejs/vue
ab50e8e1da2f4f944af683252481728485fedf16
085d188379af98e9f482d7e2009ebfd771bd7ca5
fix(types): fix global namespace declaration for UMD bundle (#9912)
[ { "path": "types/index.d.ts", "patch": "@@ -1,9 +1,8 @@\n import { Vue } from \"./vue\";\n+import \"./umd\";\n \n export default Vue;\n \n-export as namespace Vue;\n-\n export {\n CreateElement,\n VueConstructor", "additions": 1, "deletions": 2, "language": "Unknown" }, { "path": "ty...
2019-04-25T03:18:07
nodejs/node
82bad0b4d8b17e998b0ff15066f253f7e47c2feb
d3485121f9d30e482067e751918e7a871bfcf884
doc: fix doc for napi_get_value_string_utf8 The API for napi_get_value_string_utf8() appears to have been previously changed. This improves the doc reflect the current design. PR-URL: https://github.com/nodejs/node/pull/14529 Fixes: https://github.com/nodejs/node/issues/14398 Reviewed-By: Colin Ihrig <cjihrig@gmail.c...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1811,10 +1811,10 @@ NAPI_EXTERN napi_status napi_get_value_string_latin1(napi_env env,\n - `[in] value`: `napi_value` representing JavaScript string.\n - `[in] buf`: Buffer to write the ISO-8859-1-encoded string into. If NULL is\n passed in, the length of the stri...
2017-07-28T01:05:01
huggingface/transformers
818997788584b9fc043d8b58e078f63aadb6b60e
a1668cc72e720090206ff598719a7ee6683a7417
[`Core Tokenization`] Support a fix for spm fast models (#26678) * fix * last attempt * current work * fix forward compatibility * save all special tokens * current state * revert additional changes * updates * remove tokenizer.model * add a test and the fix * nit * revert one more bre...
[ { "path": "src/transformers/convert_slow_tokenizer.py", "patch": "@@ -552,15 +552,22 @@ def tokenizer(self, proto):\n \n def normalizer(self, proto):\n precompiled_charsmap = proto.normalizer_spec.precompiled_charsmap\n+ _normalizers = [\n+ normalizers.Strip(left=False, right=T...
2024-01-18T11:31:54
vuejs/vue
085d188379af98e9f482d7e2009ebfd771bd7ca5
861aea16615a9736eab6af6d05fa5500ae4d6c37
fix(compiler): Remove the warning for valid v-slot value (#9917)
[ { "path": "src/compiler/error-detector.js", "patch": "@@ -36,6 +36,8 @@ function checkNode (node: ASTNode, warn: Function) {\n const range = node.rawAttrsMap[name]\n if (name === 'v-for') {\n checkFor(node, `v-for=\"${value}\"`, warn, range)\n+ } else if (name === 'v...
2019-04-25T03:17:39
ggml-org/llama.cpp
bbd32bc0384fbfcf07369617de58856b1e0e95a3
2be72c2b121ee99f33927149265ce6073ade9e59
ci : fix clean-up of old logs (#16381)
[ { "path": "ci/run.sh", "patch": "@@ -34,9 +34,9 @@ mkdir -p \"$2\"\n OUT=$(realpath \"$1\")\n MNT=$(realpath \"$2\")\n \n-rm -f \"$OUT/*.log\"\n-rm -f \"$OUT/*.exit\"\n-rm -f \"$OUT/*.md\"\n+rm -f $OUT/*.log\n+rm -f $OUT/*.exit\n+rm -f $OUT/*.md\n \n sd=`dirname $0`\n cd $sd/../\n@@ -607,6 +607,7 @@ if [ -z...
2025-10-02T07:35:43
nodejs/node
d3485121f9d30e482067e751918e7a871bfcf884
9dfb2d14cb315ed841658195347095aa879dae8b
deps: backport d727680 from V8 upstream Original commit message: [d8] Bring PredictablePlatform in line with default platform This removes a lot of special handling for the predictable platform. Instead of executing spawned foreground and background tasks immediately (i.e. inside the scope that spawns the tasks), jus...
[ { "path": "deps/v8/src/d8.cc", "patch": "@@ -191,76 +191,65 @@ class MockArrayBufferAllocator : public ArrayBufferAllocatorBase {\n }\n };\n \n-\n-// Predictable v8::Platform implementation. All background and foreground\n-// tasks are run immediately, delayed tasks are not executed at all.\n+// Predictab...
2017-08-19T17:17:09
golang/go
b3c0fe1d14485d34acc402f795eff32b36d6c4e2
53f27474a455a4a82e8c0f8ef4cee9a37b51ff98
cmd/compile: use typed aux in arm64 MOVstore rules Introduces a few casts, mostly to fix rules that mix int64 and int32 off1 and off2. Passes GOARCH=arm64 gotip build -toolexec 'toolstash -cmp' -a std Change-Id: I1ec75211f3bb8e521dcc5217cf29ab0655a84d79 Reviewed-on: https://go-review.googlesource.com/c/go/+/23084...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM64.rules", "patch": "@@ -688,255 +688,256 @@\n (LT (CMPconst [0] x) yes no) => (TBNZ [63] x yes no)\n \n // fold offset into address\n-(ADDconst [off1] (MOVDaddr [off2] {sym} ptr)) -> (MOVDaddr [off1+off2] {sym} ptr)\n+(ADDconst [off1] (MOVDaddr [off2] {sym} p...
2020-04-30T10:41:28
huggingface/transformers
a1668cc72e720090206ff598719a7ee6683a7417
3005f965524c1bac5512c881541089890b020aa7
Use `weights_only` only if torch >= 1.13 (#28506) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/convert_pytorch_checkpoint_to_tf2.py", "patch": "@@ -129,6 +129,7 @@\n XLMWithLMHeadModel,\n XLNetLMHeadModel,\n )\n+ from .pytorch_utils import is_torch_greater_or_equal_than_1_13\n \n \n logging.set_verbosity_info()\n@@ -329,7 +330,11 @@ def convert_pt_ch...
2024-01-18T10:55:29
vuejs/vue
bd6cea0973247e2a8e1d4a2250614c0bf44f0b26
43b98fe25151b0b6bacd36f3ee27c5d61add5fdb
test: fix running e2e test on windows (#9909)
[ { "path": "test/e2e/nightwatch.config.js", "patch": "@@ -50,7 +50,8 @@ module.exports = {\n 'desiredCapabilities': {\n 'browserName': 'phantomjs',\n 'javascriptEnabled': true,\n- 'acceptSslCerts': true\n+ 'acceptSslCerts': true,\n+ 'phantomjs.binary.path': require(...
2019-04-25T02:35:16
ggml-org/llama.cpp
e95fec640f43623911a2cd5bda8b19b1898c530c
ded67b94446ef4f7fd988dbde7a12deef9870c13
HIP: Disable ROCWMMA fattn on CDNA when compiled against ROCWMMA 2.0.0 (#16221) * HIP: Disable ROCWMMA fatt on CDNA when compiled against ROCWMMA 2.0.0 rocwmma 2.0.0 includes a bug in the code fakeing fp16 accumulation on CDNA * CUDA: Fix volta condition in ggml_cuda_should_use_wmma_fattn
[ { "path": "ggml/CMakeLists.txt", "patch": "@@ -209,7 +209,6 @@ option(GGML_HIP \"ggml: use HIP\"\n option(GGML_HIP_GRAPHS \"ggml: use HIP graph, experimental, slow\" OFF)\n option(GGML_HIP_NO_VMM \"ggml: do not try to use HIP VMM\...
2025-10-01T21:09:25
huggingface/transformers
3005f965524c1bac5512c881541089890b020aa7
98dda8ed03ac3f4af5733bdddaa1dab6a81e15c1
Save `Processor` (#27761) * save processor * Update tests/models/auto/test_processor_auto.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update tests/test_processing_common.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * fix --------- Co-a...
[ { "path": "src/transformers/models/auto/processing_auto.py", "patch": "@@ -25,8 +25,9 @@\n from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code\n from ...feature_extraction_utils import FeatureExtractionMixin\n from ...image_processing_utils import ImageProcessingMixi...
2024-01-18T10:21:45
nodejs/node
9dfb2d14cb315ed841658195347095aa879dae8b
70664bf5a1914e74726cd3d17659cbba8f553f94
crypto: warn if counter mode used in createCipher `crypto.createCipher()` sets the fixed IV derived from password and it leads to a security risk of nonce reuse when counter mode is used. A warning is emitted when CTR, GCM or CCM is used in `crypto.createCipher()` to notify users to avoid nonce reuse. Fixes: https://...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1198,7 +1198,11 @@ rapidly.\n In line with OpenSSL's recommendation to use pbkdf2 instead of\n [`EVP_BytesToKey`][] it is recommended that developers derive a key and IV on\n their own using [`crypto.pbkdf2()`][] and to use [`crypto.createCipheriv()`][]\n-to crea...
2017-06-20T14:44:53
golang/go
6ea7a196d0a04eb913e0136fb681610055cf9b11
24814e214776ae5165083a963db5c56abbde4176
[dev.link] cmd/internal/dwarf: revise Abbrevs() signature The function Abbrevs() was returning an array of structures by value, which is not very efficient (this was showing up in a kubernetes kubelet linker profile). Switch the function to return a slice instead. Improves linker DwarfGenerateDebugSyms running time w...
[ { "path": "src/cmd/internal/dwarf/dwarf.go", "patch": "@@ -398,17 +398,17 @@ func expandPseudoForm(form uint8) uint8 {\n \n // Abbrevs() returns the finalized abbrev array for the platform,\n // expanding any DW_FORM pseudo-ops to real values.\n-func Abbrevs() [DW_NABRV]dwAbbrev {\n+func Abbrevs() []dwAbbre...
2020-05-01T16:24:03
vuejs/vue
a9a303009a4267b7f12b956741b4e34dfdc6566f
29e745f99f43d0629df547da80b016996ae70872
chore: fix SimpleSet export
[ { "path": "src/core/util/env.js", "patch": "@@ -87,11 +87,10 @@ if (typeof Set !== 'undefined' && isNative(Set)) {\n }\n }\n \n-interface SimpleSet {\n+export interface SimpleSet {\n has(key: string | number): boolean;\n add(key: string | number): mixed;\n clear(): void;\n }\n \n export { _Set }\n-e...
2019-04-25T02:00:51
ggml-org/llama.cpp
ded67b94446ef4f7fd988dbde7a12deef9870c13
1fe4e38cc20af058ed320bd46cac934991190056
llama : parameter conversion and loading fixes for PLaMo2 variants (#16075) * Fix to use hidden_size_per_head * Fix num heads * Fix array * Fix loading weights * Support old GGUF converted by the previous version of llama.cpp * Update src/llama-model.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala....
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4250,7 +4250,8 @@ def set_gguf_parameters(self):\n # This logic matches modeling_plamo.py's is_mamba function\n mamba_step = hparams.get(\"mamba_step\", 2)\n mamba_enabled = hparams.get(\"mamba_enabled\", True)\n- mamba_layers =...
2025-10-01T21:08:15
huggingface/transformers
98dda8ed03ac3f4af5733bdddaa1dab6a81e15c1
fa6d12f74fef165806f2298acc9f4ac4f0b20d43
Fix Switch Transformers When sparse_step = 1 (#28564) Fix sparse_step = 1 I case sparse_step = 1, the current code will not work.
[ { "path": "src/transformers/models/switch_transformers/modeling_switch_transformers.py", "patch": "@@ -898,7 +898,7 @@ def __init__(self, config, embed_tokens=None):\n config.num_layers = config.num_decoder_layers if self.is_decoder else config.num_layers\n self.block = nn.ModuleList()\n ...
2024-01-17T21:26:21
golang/go
2d323f900df420a29de29cbab949eea08e3d1a61
9439a7d87f90b97e00717fc0849d4460628d82d0
net/http/httputil: handle escaped paths in SingleHostReverseProxy When forwarding a request, a SingleHostReverseProxy appends the request's path to the target URL's path. However, if certain path elements are encoded, (such as %2F for slash in either the request or target path), simply joining the URL.Path elements is...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -110,6 +110,27 @@ func singleJoiningSlash(a, b string) string {\n \treturn a + b\n }\n \n+func joinURLPath(a, b *url.URL) (path, rawpath string) {\n+\tif a.RawPath == \"\" && b.RawPath == \"\" {\n+\t\treturn singleJoiningSlash(a.Path, b.Path), ...
2020-01-07T02:16:40
nodejs/node
70664bf5a1914e74726cd3d17659cbba8f553f94
9eb8f44060abdd8b6e42110cc19786194b86b759
n-api: add ability to remove a wrapping Calling napi_wrap() twice on the same object has the result of returning napi_invalid_arg on the second call. However, sometimes it is necessary to replace the native pointer associated with a given object. This new API allows one to remove an existing pointer, returning the obj...
[ { "path": "doc/api/n-api.md", "patch": "@@ -3152,7 +3152,9 @@ Afterward, additional manipulation of the wrapper's prototype chain may cause\n \n *Note*: Calling `napi_wrap()` a second time on an object that already has a\n native instance associated with it by virtue of a previous call to\n-`napi_wrap()` wi...
2017-07-27T17:59:29
vuejs/vue
91b8cda0b28d6774d7319d646c999e04d948a8cd
15704ce6ef274f30b05b9fc89337a18bbe48ff57
docs(contributing): fix a grammar error (#9858)
[ { "path": ".github/CONTRIBUTING.md", "patch": "@@ -59,7 +59,7 @@ $ npm run dev:test\n # build all dist files, including npm packages\n $ npm run build\n \n-# run the full test suite, include linting/type checking\n+# run the full test suite, including linting/type checking\n $ npm test\n ```\n ", "addit...
2019-04-10T15:45:47
huggingface/transformers
fa6d12f74fef165806f2298acc9f4ac4f0b20d43
2c1eebc1216549d8195d7d1c6adb8b99afee3ec5
Allow to train dinov2 with different dtypes like bf16 (#28504) I want to train dinov2 with bf16 but I get the following error in https://github.com/huggingface/transformers/blob/bc72b4e2cdcbc80d5f56731f35dbc9c18b4c8de6/src/transformers/models/dinov2/modeling_dinov2.py#L635: ``` RuntimeError: Input type (float) and...
[ { "path": "src/transformers/models/dinov2/modeling_dinov2.py", "patch": "@@ -103,20 +103,22 @@ def interpolate_pos_encoding(self, embeddings: torch.Tensor, height: int, width:\n height, width = height + 0.1, width + 0.1\n patch_pos_embed = patch_pos_embed.reshape(1, int(math.sqrt(num_positio...
2024-01-17T19:03:08
ggml-org/llama.cpp
764799279f801c696503bacca490b4358587d94c
2a9b63383a448ec18c754dfdc6e95cb853940a52
Conversation action dialogs as singletons from Chat Sidebar + apply conditional rendering for Actions Dropdown for Chat Conversation Items (#16369) * fix: Render Conversation action dialogs as singletons from Chat Sidebar level * chore: update webui build output * fix: Render Actions Dropdown conditionally only when...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatSidebar/ChatSidebar.svelte", "patch": "@@ -1,9 +1,12 @@\n <script lang=\"ts\">\n \timport { goto } from '$app/navigation';\n \timport { page } from '$app/state';\n-\timport { ChatSidebarConversationItem } from '$lib/components/app';\n+\timport { ...
2025-10-01T16:18:10
golang/go
be08e10b3bc07f3a4e7b27f44d53d582e15fd6c7
5c8715f70adf13411668b8de76e5fef78c8e3f32
syscall: if Setctty, require that Ctty be a child descriptor Ctty was always handled as a child descriptor, but in some cases passing a parent descriptor would also work. This depended on unpredictable details of the implementation. Reject those cases to avoid confusion. Also reject setting both Setctty and Foregroun...
[ { "path": "doc/go1.15.html", "patch": "@@ -351,6 +351,28 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </p>\n </dl><!-- sync -->\n \n+<dl id=\"syscall\"><dt><a href=\"/pkg/syscall/\">syscall</a></dt>\n+ <dd>\n+ <p><!-- CL 231638 -->\n+ On Unix systems, functions that u...
2020-05-01T19:26:30
nodejs/node
9eb8f44060abdd8b6e42110cc19786194b86b759
36817f7f18c7d3e7ae72434ad6180b3141090443
test: update windows module load error message libuv 1.14.0 includes a fix for the "%1 is not a valid Win32 application" error message. Refs: https://github.com/nodejs/node/pull/14866 PR-URL: https://github.com/nodejs/node/pull/14950 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tn...
[ { "path": "test/parallel/test-module-loading-error.js", "patch": "@@ -25,7 +25,7 @@ const assert = require('assert');\n const { execSync } = require('child_process');\n \n const errorMessagesByPlatform = {\n- win32: ['%1 is not a valid Win32 application'],\n+ win32: ['is not a valid Win32 application'],\n...
2017-08-20T04:04:43
huggingface/transformers
2c1eebc1216549d8195d7d1c6adb8b99afee3ec5
d6ffe74dfa577b5e7d12e48aa1c686ad8d3ef557
Fix SDPA tests (#28552) * skip bf16 test if not supported by device * fix * fix bis * use is_torch_bf16_available_on_device * use is_torch_fp16_available_on_device * fix & use public llama * use 1b model * fix flacky test --------- Co-authored-by: Your Name <you@example.com>
[ { "path": "tests/models/llama/test_modeling_llama.py", "patch": "@@ -457,18 +457,18 @@ def test_eager_matches_sdpa_generate(self):\n \"\"\"\n max_new_tokens = 30\n \n- tokenizer = LlamaTokenizer.from_pretrained(\"meta-llama/Llama-2-7b-hf\")\n+ tokenizer = LlamaTokenizer.from_pr...
2024-01-17T16:29:18
ggml-org/llama.cpp
b2ba81dbe07b6dbea9c96b13346c66973dede32c
bf6f3b3a1965d70e07ca94aab7b01268fe483e96
ci : fix ccache key for ubuntu-cpu-cmake (#16355) * fix ccache key for ubuntu-cpu-cmake * set it for release as well [no ci]
[ { "path": ".github/workflows/build.yml", "patch": "@@ -207,7 +207,7 @@ jobs:\n - name: ccache\n uses: ggml-org/ccache-action@v1.2.16\n with:\n- key: ubuntu-cpu-cmake\n+ key: ubuntu-cpu-cmake-${{ matrix.build }}\n evict-old-files: 1d\n \n - name: Build ...
2025-09-30T19:41:42
golang/go
5c8715f70adf13411668b8de76e5fef78c8e3f32
cb00d9343156859401fadac1ceadab3398c3a1c8
cmd/gofmt, go/format, go/printer: move number normalization to printer Normalization of number prefixes and exponents was added in CL 160184 directly in cmd/gofmt. The same behavior change needs to be applied in the go/format package. This is done by moving the normalization code into go/printer, behind a new StdForma...
[ { "path": "src/cmd/gofmt/gofmt.go", "patch": "@@ -37,9 +37,10 @@ var (\n \tcpuprofile = flag.String(\"cpuprofile\", \"\", \"write cpu profile to this file\")\n )\n \n+// Keep these in sync with go/format/format.go.\n const (\n \ttabWidth = 8\n-\tprinterMode = printer.UseSpaces | printer.TabIndent\n+\tpri...
2020-02-28T01:20:39
nodejs/node
f0d8eb644f0677f5c1bfcee438e0a28f84bc093e
1524458c54d76e7ae7595606cda364edbf1aa4f9
doc: fixed link definitions in http2.md footer PR-URL: https://github.com/nodejs/node/pull/14946 Fixes: https://github.com/nodejs/node/issues/14857 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -2576,25 +2576,37 @@ given newly created [`Http2Stream`] on `Http2ServerRespose`.\n The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED`\n if the stream is closed.\n \n-[HTTP/2]: https://tools.ietf.org/html/rfc7540\n+[ALPN negotiation]: #ht...
2017-08-17T08:05:28
rust-lang/rust
46c72362bcc38e32ba89dea15080f6f9e727f01d
a567209daab72b7ea59eac533278064396bb0534
Move drop elaboration infrastructure. `rustc_mir_dataflow/src/elaborate_drops.rs` contains some infrastructure used by a few MIR passes: the `elaborate_drop` function, the `DropElaborator` trait, etc. `rustc_mir_transform/src/elaborate_drops.rs` (same file name, different crate) contains the `ElaborateDrops` pass. It...
[ { "path": "compiler/rustc_mir_dataflow/src/drop_flag_effects.rs", "patch": "@@ -3,7 +3,26 @@ use rustc_middle::mir::{self, Body, Location, Terminator, TerminatorKind};\n use tracing::debug;\n \n use super::move_paths::{InitKind, LookupResult, MoveData, MovePathIndex};\n-use crate::elaborate_drops::DropFlagS...
2025-02-14T04:30:51
vuejs/vue
f11449d916a468651d4fd5024c37e3eebbc9941f
02d21c265c239682e73b2b3f98028f2da5e7205d
fix(core): only unset dom prop when not present fix #9650
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -19,10 +19,11 @@ function updateDOMProps (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n }\n \n for (key in oldProps) {\n- if (isUndef(props[key])) {\n+ if (!(key in props)) {\n elm[key] = ''\n }\n }\n+\n fo...
2019-03-20T06:13:23
rust-lang/rust
3f9cca39432d135d781d32383ccb36b059c394dd
c241e146506600f5ab7f4026ff015df8a658400e
remove `fr_is_local` and `outlived_fr_is_local` fields from `ErrorConstraintInfo` `fr_is_local` was fully unused, and `outlived_fr_is_local` was used once
[ { "path": "compiler/rustc_borrowck/src/diagnostics/region_errors.rs", "patch": "@@ -147,9 +147,7 @@ pub(crate) enum RegionErrorKind<'tcx> {\n pub(crate) struct ErrorConstraintInfo<'tcx> {\n // fr: outlived_fr\n pub(super) fr: RegionVid,\n- pub(super) fr_is_local: bool,\n pub(super) outlived_f...
2025-02-14T03:28:50
nodejs/node
1524458c54d76e7ae7595606cda364edbf1aa4f9
ffed7b6e6699deeca18b15bd5f59b4bc97f612e7
doc: remove `you` and fixup note in stream.md PR-URL: https://github.com/nodejs/node/pull/14938 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjih...
[ { "path": "doc/api/stream.md", "patch": "@@ -1445,9 +1445,9 @@ added: v8.0.0\n -->\n \n * `callback` {Function} Call this function (optionally with an error\n- argument) when you are done writing any remaining data.\n+ argument) when finished writing any remaining data.\n \n-Note: `_final()` **must not** ...
2017-08-19T06:09:14
huggingface/transformers
d6ffe74dfa577b5e7d12e48aa1c686ad8d3ef557
d93ef7d7512e79612606f29e6ae308920f0a86cd
Add qwen2 (#28436) * add config, modeling, and tokenization * add auto and init * update readme * update readme * update team name * fixup * fixup * update config * update code style * update for fixup * update for fixup * update for fixup * update for testing * update for testin...
[ { "path": "README.md", "patch": "@@ -458,6 +458,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[ProphetNet](https://huggingface.co/docs/transformers/model_doc/prophetnet)** (from Microsoft Research) released with the paper [ProphetNet: Predicting Future N-gram f...
2024-01-17T15:02:22
vuejs/vue
02d21c265c239682e73b2b3f98028f2da5e7205d
bf5ceb759a0c9dfc8a9fa05b024f3d9aa4ea70e4
fix(core): cleanup timeouts for async components (#9649) close #9648
[ { "path": "src/core/vdom/helpers/resolve-async-component.js", "patch": "@@ -65,6 +65,8 @@ export function resolveAsyncComponent (\n if (owner && !isDef(factory.owners)) {\n const owners = factory.owners = [owner]\n let sync = true\n+ let timerLoading = null\n+ let timerTimeout = null\n \n ...
2019-03-20T05:55:37
golang/go
b565d1ec1630f6ffa50024fe14ac4ea88a2e6701
f00b8b45a24479836d8c148cf85fd97091290b05
cmd/cgo: use type aliases for #define type macros Cgo's initial design for handling "#define foo int*" involved rewriting "C.foo" to "*_Ctype_int" everywhere. But now that we have type aliases, we can declare "type _Ctype_foo = *_Ctype_int" once, and then rewrite "C.foo" to just "_Ctype_foo". This is important for go...
[ { "path": "misc/cgo/test/test.go", "patch": "@@ -897,6 +897,10 @@ static uint16_t issue31093F(uint16_t v) { return v; }\n \n // issue 32579\n typedef struct S32579 { unsigned char data[1]; } S32579;\n+\n+// issue 38649\n+// Test that #define'd type aliases work.\n+#define netbsd_gid unsigned int\n */\n impo...
2020-05-01T06:05:51
vuejs/vue
df4af4bd1906b9f23b62816142fdfbd6336d3d2f
22790b250cd5239a8379b4ec8cc3a9b570dac4bc
fix(types): allow using functions on the PropTypes (#9733) close #9692
[ { "path": "types/options.d.ts", "patch": "@@ -144,7 +144,7 @@ export interface RenderContext<Props=DefaultProps> {\n injections: any\n }\n \n-export type Prop<T> = { (): T } | { new(...args: any[]): T & object }\n+export type Prop<T> = { (): T } | { new(...args: any[]): T & object } | { new(...args: strin...
2019-03-19T04:54:27
huggingface/transformers
d93ef7d7512e79612606f29e6ae308920f0a86cd
a6adc05e6b10479474ecdb1dbd3f9c6925d5e332
Fixes default value of `softmax_scale` in `PhiFlashAttention2`. (#28537) * fix(phi): Phi does not use softmax_scale in Flash-Attention. * chore(docs): Update Phi docs.
[ { "path": "docs/source/en/model_doc/phi.md", "patch": "@@ -23,6 +23,7 @@ The Phi-1 model was proposed in [Textbooks Are All You Need](https://arxiv.org/a\n The Phi-1.5 model was proposed in [Textbooks Are All You Need II: phi-1.5 technical report](https://arxiv.org/abs/2309.05463) by Yuanzhi Li, Sébastien B...
2024-01-17T13:22:44
nodejs/node
ffed7b6e6699deeca18b15bd5f59b4bc97f612e7
6a0e3b16f3f8f74635baa6e6020d7cade7fee995
src: detect nul bytes in InternalModuleReadFile() Throw an exception when the path contains nul bytes, don't abort. Fixes: https://github.com/nodejs/node/issues/13787 PR-URL: https://github.com/nodejs/node/pull/14854 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed...
[ { "path": "src/node_file.cc", "patch": "@@ -503,6 +503,9 @@ static void InternalModuleReadFile(const FunctionCallbackInfo<Value>& args) {\n CHECK(args[0]->IsString());\n node::Utf8Value path(env->isolate(), args[0]);\n \n+ if (strlen(*path) != path.length())\n+ return; // Contains a nul byte.\n+\n ...
2017-08-16T09:46:55
golang/go
24814e214776ae5165083a963db5c56abbde4176
1667b35740bd6974082cba6b48b4ea1881e29088
[dev.link] cmd/link: enforce single level of 'outer' sym Add code to the loader to enforce the invariant that there is only a single level of 'outer' symbol nesting. That is, if outer(X) = Y, then outer(Y) is always zero. Revise foldSubSymbolOffset based on the new invariant, allowing it to be inlined, and then fix t...
[ { "path": "src/cmd/link/internal/arm/asm.go", "patch": "@@ -530,14 +530,12 @@ func archreloc(target *ld.Target, syms *ld.ArchSyms, r *sym.Reloc, s *sym.Symbol\n \n \t\t\t// set up addend for eventual relocation via outer symbol.\n \t\t\trs := r.Sym\n-\n \t\t\tr.Xadd = int64(signext24(r.Add & 0xffffff))\n \t...
2020-04-30T13:04:08
ggml-org/llama.cpp
16b0ca0d2e63fc1a0a43795f8552f9cb61d9f7a5
8d78cd2613ccdeb3cc86f59bc8f9ddd31cfbd3ed
Chatapi ignore empty sampling (#16330) * fix: skip empty sampling fields instead of coercing to 0 in chat API options * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/stores/chat.svelte.ts", "patch": "@@ -221,69 +221,66 @@ class ChatStore {\n \t */\n \tprivate getApiOptions(): Record<string, unknown> {\n \t\tconst currentConfig = config();\n+\t\tconst hasValue = (value: unknown): boolean =>\n+\t\t\tvalue !== undefined && value !== nu...
2025-09-30T17:18:54
vuejs/vue
22790b250cd5239a8379b4ec8cc3a9b570dac4bc
ebc1893faccd1a9d953a8e8feddcb49cf1b9004d
fix(scheduler): revert timeStamp check fix #9729 This reverts #9667, but also fixes the original issue #9632 by skipping the check in IE altogether (since all IE use low-res event timestamps).
[ { "path": "src/core/observer/scheduler.js", "patch": "@@ -8,7 +8,8 @@ import {\n warn,\n nextTick,\n devtools,\n- inBrowser\n+ inBrowser,\n+ isIE\n } from '../util/index'\n \n export const MAX_UPDATE_COUNT = 100\n@@ -47,16 +48,19 @@ let getNow: () => number = Date.now\n // timestamp can either be h...
2019-03-19T04:44:49
huggingface/transformers
02f8738ef8c674300c314d004ba436cb5aaca165
fe23256b73b7da58b82a72cf967037095455be72
Clearer error for SDPA when explicitely requested (#28006) * clearer error for sdpa * better message
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1540,8 +1540,9 @@ def _check_and_enable_sdpa(cls, config, hard_check_only: bool = False) -> Pretra\n if hard_check_only:\n if not cls._supports_sdpa:\n raise ValueError(\n- f\"{cls.__name__} ...
2024-01-16T16:10:44
rust-lang/rust
37520e6d89eeea96b966ab281a7adf1775f7e207
a567209daab72b7ea59eac533278064396bb0534
Fix early lint check desc in query
[ { "path": "compiler/rustc_middle/src/query/mod.rs", "patch": "@@ -116,7 +116,7 @@ rustc_queries! {\n }\n \n query early_lint_checks(_: ()) {\n- desc { \"perform lints prior to macro expansion\" }\n+ desc { \"perform lints prior to AST lowering\" }\n }\n \n query resolutions(_: ...
2025-02-14T01:49:57
nodejs/node
8850fd4da16d1477c699484de0c9eaeee31e6fa6
58ca8c68c400919d88b03dded6c24f9f1d31250b
build: allow proper generation of html docs `gen-doc` always calls `gen-json`, which means it's impossible to generate html docs. Changed this to pass in the command the user wants to run. PR-URL: https://github.com/nodejs/node/pull/14932 Fixes: https://github.com/nodejs/node/issues/14930 Reviewed-By: Refael Ackerman...
[ { "path": "Makefile", "patch": "@@ -503,14 +503,14 @@ gen-doc =\t\\\n \t\telse \\\n \t\t\tcd tools/doc && node ../../$(NPM) install; \\\n \t\tfi;\\\n-\t[ -x $(NODE) ] && $(NODE) $(gen-json) || node\n+\t[ -x $(NODE) ] && $(NODE) $(1) || node $(1)\n \n out/doc/api/%.json: doc/api/%.md\n-\t$(gen-doc) $(gen-jso...
2017-08-18T22:48:45
golang/go
d1b36c8d8670c49c70bd8219efa2da762de08337
f092be8fd839f5e61745c1b7f3b5990b4b8d6565
internal/unsafeheader: fix reference in godoc comment for type String Refer to reflect.StringHeader in the godoc comment for type String instead of reflect.SliceHeader. Change-Id: I40fc016c7365510a12c41d4ca596f66d2892c3f9 Reviewed-on: https://go-review.googlesource.com/c/go/+/231537 Reviewed-by: Brad Fitzpatrick <bra...
[ { "path": "src/internal/unsafeheader/unsafeheader.go", "patch": "@@ -29,7 +29,7 @@ type Slice struct {\n // It cannot be used safely or portably and its representation may\n // change in a later release.\n //\n-// Unlike reflect.SliceHeader, its Data field is sufficient to guarantee the\n+// Unlike reflect....
2020-05-01T14:48:25
ggml-org/llama.cpp
8d78cd2613ccdeb3cc86f59bc8f9ddd31cfbd3ed
d1c84a662daa91be975863913a59975b11458141
ggml webgpu: support for rope,div,sub,glu,scale,cont operators (#16187) * Work on rope * Simplify inplace operation generation and combine mul/add generation * Work on rope variants * implement neox rope * rope complete * Add sub,div,glu operators * implement scale op * Update cpy shader to handle cont/more typ...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -237,6 +237,8 @@\n #define GGML_EXIT_SUCCESS 0\n #define GGML_EXIT_ABORTED 1\n \n+// TODO: convert to enum https://github.com/ggml-org/llama.cpp/pull/16187#discussion_r2388538726\n+#define GGML_ROPE_TYPE_NORMAL 0\n #define GGML_ROPE_TYPE_NEOX 2\n #define GGML_...
2025-09-30T16:57:51
vuejs/vue
ebc1893faccd1a9d953a8e8feddcb49cf1b9004d
3433ba5beef9a6dd97705943c3441ebbee222afd
fix(slots): fix slots not updating when passing down normal slots as $scopedSlots fix #9699
[ { "path": "src/core/vdom/helpers/normalize-scoped-slots.js", "patch": "@@ -10,8 +10,8 @@ export function normalizeScopedSlots (\n prevSlots?: { [key: string]: Function } | void\n ): any {\n let res\n- const isStable = slots ? !!slots.$stable : true\n const hasNormalSlots = Object.keys(normalSlots).le...
2019-03-18T09:42:16
huggingface/transformers
fe23256b73b7da58b82a72cf967037095455be72
96d088310375d099dfbae7a083684f54d7076187
[`SpeechT5Tokenization`] Add copied from and fix the `convert_tokens_to_string` to match the fast decoding scheme (#28522) * Add copied from and fix the `convert_tokens_to_string` to match the fast decoding scheme * fixup * add a small test * style test file * nites
[ { "path": "src/transformers/models/barthez/tokenization_barthez.py", "patch": "@@ -251,6 +251,7 @@ def _convert_id_to_token(self, index):\n \"\"\"Converts an index (integer) in a token (str) using the vocab.\"\"\"\n return self.sp_model.IdToPiece(index)\n \n+ # Copied from transformers.mo...
2024-01-16T15:50:02
golang/go
e3b0e3d64638cc3d55aaae7b0c3fb6387f5193e3
c12d7020f4d1712fde6944f6e57011937fcf89f5
cmd/go: add 'go help buildconstraint' Fixes #37018 Change-Id: I1d32c1cb432bc2d7a4d8d6b5c3a54fee558141ec Reviewed-on: https://go-review.googlesource.com/c/go/+/228017 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -35,23 +35,24 @@\n //\n // Additional help topics:\n //\n-// \tbuildmode build modes\n-// \tc calling between Go and C\n-// \tcache build and test caching\n-// \tenvironment environment variables\n-// \tfiletype file types\n-// \tgo.mod ...
2020-04-11T21:24:37
nodejs/node
f6caeb952605ffa9968ccd88eb330829f980a536
3a886ffa2431ac984a1e19dae51049d956d29249
os: make EOL configurable and read only PR-URL: https://github.com/nodejs/node/pull/14622 Fixes: https://github.com/nodejs/node/issues/14619 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihr...
[ { "path": "lib/os.js", "patch": "@@ -140,7 +140,6 @@ function networkInterfaces() {\n module.exports = exports = {\n arch,\n cpus,\n- EOL: isWindows ? '\\r\\n' : '\\n',\n endianness,\n freemem: getFreeMem,\n homedir: getHomeDirectory,\n@@ -162,8 +161,17 @@ module.exports = exports = {\n tmpDir:...
2017-08-17T03:52:30
ggml-org/llama.cpp
a014310374a16f9204f2bcc1b458fc1eda67e469
35fb82497ec6c5904b0adb7e1c881a76c1c692db
cuda : Enable CUDA Graph usage for Nemotron Nano v2 (NemotronH) (#16328) * Fix Nemotron Nano v2 9B not executing as CUDA Graph on NVIDIA GPUs * fix to ensure test-backend-ops check passes
[ { "path": "ggml/src/ggml-cuda/cpy.cu", "patch": "@@ -329,7 +329,11 @@ void ggml_cuda_cpy(ggml_backend_cuda_context & ctx, const ggml_tensor * src0, gg\n } else\n #endif // GGML_USE_MUSA && GGML_MUSA_MUDNN_COPY\n {\n- CUDA_CHECK(cudaMemcpyAsync(src1_ddc, src0_ddc, ggml_nbytes(src0)...
2025-09-30T08:13:22
vuejs/vue
3433ba5beef9a6dd97705943c3441ebbee222afd
982d5a492fb95577217e2dacaa044eabe78a8601
fix(codegen): support named function expression in v-on (#9709) fix #9707
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-const fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function\\s*\\(/\n+const fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function\\s*(?:[\\w$]+)?\\s*\\(/\n const fnInvokeRE = /\\([^)]*?\\);*$/\n const simplePathRE = /^[A-Za...
2019-03-18T08:19:41
huggingface/transformers
96d088310375d099dfbae7a083684f54d7076187
716df5fb7ec8b24b0332442e0fbf30ea7526e569
[`TokenizationRoformerFast`] Fix the save and loading (#28527) * cleanup * add a test * update the test * style * revert part that allows to pickle the tokenizer
[ { "path": "src/transformers/models/roformer/tokenization_roformer_fast.py", "patch": "@@ -122,15 +122,19 @@ def __init__(\n **kwargs,\n )\n \n- pre_tok_state = json.loads(self.backend_tokenizer.normalizer.__getstate__())\n+ normalizer_state = json.loads(self.backend_tokeniz...
2024-01-16T15:37:15
golang/go
b8fd3cab3944d5dd5f2a50f3cc131b1048897ee1
e1d16843bdbf85c99bc963b7a343cbffa047e378
net/http: remove badStringError, make some unexported structs non-comparable Reduces binary size by 4K, not counting the http2 changes (in CL 231119) that'll be bundled into this package in the future. Updates golang/go#38782 Change-Id: Id360348707e076b8310a8f409e412d68dd2394b2 Reviewed-on: https://go-review.googles...
[ { "path": "src/net/http/http.go", "patch": "@@ -16,6 +16,11 @@ import (\n \t\"golang.org/x/net/http/httpguts\"\n )\n \n+// incomparable is a zero-width, non-comparable type. Adding it to a struct\n+// makes that struct also non-comparable, and generally doesn't add\n+// any size (as long as it's first).\n+t...
2020-04-30T16:03:55
ggml-org/llama.cpp
f1eb1cb1eba042b2d583234e80f65e2e225d8995
de41f2b7bffab7582944b213ce12b605f8cf6e0f
kleidiai : fix work size and threads sync for fp16 (#16246)
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -513,9 +513,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n \n # Fetch KleidiAI sources:\n include(FetchContent)\n- set(KLEIDIAI_COMMIT_TAG \"v1.13.0\")\n+ set(KLEIDIAI_COMMIT_TAG \"v1.14.0\")\n set(...
2025-09-30T07:07:20
vuejs/vue
982d5a492fb95577217e2dacaa044eabe78a8601
653c74e64e5ccd66cda94c77577984f8afa8386d
fix(types): support string type for style in VNode data (#9728) fix #9727
[ { "path": "flow/vnode.js", "patch": "@@ -42,7 +42,7 @@ declare interface VNodeData {\n staticClass?: string;\n class?: any;\n staticStyle?: { [key: string]: any };\n- style?: Array<Object> | Object;\n+ style?: string | Array<Object> | Object;\n normalizedStyle?: Object;\n props?: { [key: string]...
2019-03-18T07:47:43
nodejs/node
3a886ffa2431ac984a1e19dae51049d956d29249
aa24777c444d8d2ad4a48b3952856139f0c62c14
util: fix inspect array w. negative maxArrayLength PR-URL: https://github.com/nodejs/node/pull/14880 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihri...
[ { "path": "lib/util.js", "patch": "@@ -682,11 +682,12 @@ function formatObject(ctx, value, recurseTimes, visibleKeys, keys) {\n \n \n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n+ const maxLength = Math.min(Math.max(0, ctx.maxArrayLength), value.length);\n var output = [];\n le...
2017-08-17T00:21:29
huggingface/transformers
716df5fb7ec8b24b0332442e0fbf30ea7526e569
07ae53e6e77ec6ff4fb25fbacfec4b11cfc82749
[ `TokenizationUtils`] Fix `add_special_tokens` when the token is already there (#28520) * fix adding special tokens when the token is already there. * add a test * add a test * nit * fix the test: make sure the order is preserved * Update tests/test_tokenization_common.py Co-authored-by: amyeroberts...
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -943,14 +943,15 @@ def add_special_tokens(\n isinstance(t, (str, AddedToken)) for t in value\n ), f\"Tokens {value} for key {key} should all be str or AddedToken instances\"\n \n- to_add ...
2024-01-16T15:36:29
vuejs/vue
653c74e64e5ccd66cda94c77577984f8afa8386d
43115e09e98d484a35f7c12249396b6d5d66c7ff
fix(core): use window.performance for compatibility in JSDOM (#9700) fix #9698
[ { "path": "src/core/observer/scheduler.js", "patch": "@@ -47,16 +47,18 @@ let getNow: () => number = Date.now\n // timestamp can either be hi-res (relative to page load) or low-res\n // (relative to UNIX epoch), so in order to compare time we have to use the\n // same timestamp type when saving the flush ti...
2019-03-15T01:06:40
ggml-org/llama.cpp
a74a0d69f34f52fa10d4f0a7ce749fb3490d0774
5f7e166cbf7b9ca928c7fad990098ef32358ac75
tests: override test_set_rows::max_nmse_err to allow for occasional rounding differences (#16295) * tests: override test_set_rows::max_nmse_err to allow for occasional rounding differences * apply similar error bounds to test_cpy
[ { "path": "tests/test-backend-ops.cpp", "patch": "@@ -2140,6 +2140,27 @@ struct test_set_rows : public test_case {\n }\n }\n }\n+\n+ double max_nmse_err() override {\n+ if (type == GGML_TYPE_Q4_0 || type == GGML_TYPE_Q4_1 || type == GGML_TYPE_IQ4_NL ||\n+ type ==...
2025-09-30T00:26:34
golang/go
e1d16843bdbf85c99bc963b7a343cbffa047e378
07cb63aae5629213a0f5c484a8d79ae4bc1026e6
runtime/race: fix comment in select_test.TestNoRaceSelect1 selectGoImpl was merged into selectGo in https://golang.org/cl/37860. Change-Id: I39985f37223743f1ea0aba9bee0e2708398a925c GitHub-Last-Rev: ec97b4be3298f5595a5cd6109c311dcb35e06663 GitHub-Pull-Request: golang/go#38716 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/runtime/race/testdata/select_test.go", "patch": "@@ -20,7 +20,7 @@ func TestNoRaceSelect1(t *testing.T) {\n \t\tx = 1\n \t\t// At least two channels are needed because\n \t\t// otherwise the compiler optimizes select out.\n-\t\t// See comment in runtime/select.go:^func selectgoImpl.\n+\t\t// ...
2020-04-30T04:19:25
huggingface/transformers
07ae53e6e77ec6ff4fb25fbacfec4b11cfc82749
66db33ddc8e8405bcffcdaf463242cd788dbb54d
Fix/speecht5 bug (#28481) * Fix bug in SpeechT5 speech decoder prenet's forward method - Removed redundant `repeat` operation on speaker_embeddings in the forward method. This line was erroneously duplicating the embeddings, leading to incorrect input size for concatenation and performance issues. - Maintained ori...
[ { "path": "src/transformers/models/speecht5/modeling_speecht5.py", "patch": "@@ -664,13 +664,11 @@ def __init__(self, config):\n )\n \n self.final_layer = nn.Linear(config.speech_decoder_prenet_units, config.hidden_size)\n-\n self.encode_positions = SpeechT5ScaledPositionalEncoding(\...
2024-01-16T14:14:28
nodejs/node
39dd230366b80bc0d647c4876cfd907285dd9218
c473d80a9cc005804236346a3e488e7bab84ae6e
doc: minor fixes to http/2 docs PR-URL: https://github.com/nodejs/node/pull/14877 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -192,7 +192,7 @@ added: v8.4.0\n -->\n \n The `'remoteSettings'` event is emitted when a new SETTINGS frame is received\n-from the connected peer. When invoked, the handle function will receive a copy\n+from the connected peer. When invoked, the handler function wi...
2017-08-16T22:02:10
vuejs/vue
f1bdd7ff9d1fc86f7a8ad8d5cb6d9abc7b2e47f3
4de4649d9637262a9b007720b59f80ac72a5620c
fix(compiler): whitespace: 'condense' should honor pre tag as well (#9660)
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -351,7 +351,7 @@ export function parse (\n text = preserveWhitespace ? ' ' : ''\n }\n if (text) {\n- if (whitespaceOption === 'condense') {\n+ if (!inPre && whitespaceOption === 'condense') {\n // condense con...
2019-03-14T07:47:51
ggml-org/llama.cpp
5f7e166cbf7b9ca928c7fad990098ef32358ac75
d72f5f7ba260b546190338b0b76f2f152581424f
Fix thinking blocks with quotes + add handling `[THINK]...[/THINK]` blocks (#16326) * fix: prevent reasoning blocks with quotes from being truncated * chore: update webui build output * feat: Improve thinking content parsing * test: Adds ChatMessage component stories for different thinking blocks * chore: update w...
[ { "path": "tools/server/webui/src/lib/utils/thinking.ts", "patch": "@@ -1,20 +1,20 @@\n /**\n- * Parses thinking content from a message that may contain <think> tags\n+ * Parses thinking content from a message that may contain <think> tags or [THINK] tags\n * Returns an object with thinking content and cle...
2025-09-29T16:49:47
huggingface/transformers
66db33ddc8e8405bcffcdaf463242cd788dbb54d
002566f398cd6dbf7053a89c26646ac45be540f4
Fix mismatching loading in from_pretrained with/without accelerate (#28414) * fix mismatching behavior in from_pretrained with/without accelerate * meaningful refactor * remove added space * add test * fix model on the hub * comment * use tiny model * style
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -756,18 +756,23 @@ def _load_state_dict_into_meta_model(\n else:\n param = param.to(dtype)\n \n- # For compatibility with PyTorch load_state_dict which converts state dict dtype to existing dtype in model\n- ...
2024-01-16T13:29:51
golang/go
4209a9f65a461cfb184548e50ddb62fedd9f9e21
da382a3978d3db2380c7e9a69207545562dfd727
math/cmplx: handle special cases Implement special case handling and testing to ensure conformance with the C99 standard annex G.6 Complex arithmetic. Fixes #29320 Change-Id: Id72eb4c5a35d5a54b4b8690d2f7176ab11028f1b Reviewed-on: https://go-review.googlesource.com/c/go/+/220689 Reviewed-by: Robert Griesemer <gri@gol...
[ { "path": "src/math/cmplx/abs.go", "patch": "@@ -3,7 +3,8 @@\n // license that can be found in the LICENSE file.\n \n // Package cmplx provides basic constants and mathematical functions for\n-// complex numbers.\n+// complex numbers. Special case handling conforms to the C99 standard\n+// Annex G IEC 60559...
2019-02-02T06:08:45