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
huggingface/transformers
7d312ad2e9473cd3a0ea3e9b206b8ed3c147e9be
ff76e7c2126ab26e5722f54640d44cab7e3dfdd4
Llama: fix batched generation (#29109)
[ { "path": "src/transformers/models/llama/modeling_llama.py", "patch": "@@ -101,11 +101,34 @@ def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):\n inv_freq = 1.0 / (self.base ** (torch.arange(0, self.dim, 2, dtype=torch.int64).float().to(device) / self.dim))\n sel...
2024-02-20T10:23:17
golang/go
3949cae4410aa05bc76ccab598ad63618b10416e
9e56bcb9fe23bbd75d8896e845a9129251d4fca5
runtime: repair gdb printing fix for 7.12, 8.{1,2,3}.1, 9.2 Hand-verified for listed gdb versions. Gdb (apparently) changed the way it names certain Go types, and this change broke the pretty-printer-activating code in runtime-gdb.py runtime-gdb_test.go now checks channel, map, string, and slice printing uncondition...
[ { "path": "src/runtime/runtime-gdb.py", "patch": "@@ -28,10 +28,22 @@\n goobjfile = gdb.current_objfile() or gdb.objfiles()[0]\n goobjfile.pretty_printers = []\n \n+# A bit of hand optimization since oldnew is used for slice printing\n+splitgdbversion = gdb.VERSION.split('.')\n+majorgdbversion = int(splitgd...
2020-06-02T21:53:47
ggml-org/llama.cpp
9f052478c2c38ec10cb378109b110a1f7033ce11
03ea04175da3cdd7fd8cc1835f33490e3483928a
model : add openPangu-Embedded (#16941) * Model: add openPangu-Embedded * fixed according to reviewer's comments * fixed the chat template check condition * Apply suggestions from code review change the chat-template check condition and some formatting issue Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@s...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -7187,6 +7187,42 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None):\n return super().modify_tensors(data_torch, name, bid)\n \n \n+@ModelBase.register(\"PanguEmbeddedForCausalLM\")\n+class PanguEmbeddedModel(TextModel):\n+ ...
2025-11-05T09:28:58
nodejs/node
eb4940e2d29e98572c69e59aaf447f1dd68f7425
468110b3276007f445741b41c36beb0ef62d751c
string_decoder: Migrate to use internal/errors PR-URL: https://github.com/nodejs/node/pull/14682 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jame...
[ { "path": "lib/string_decoder.js", "patch": "@@ -23,6 +23,7 @@\n \n const Buffer = require('buffer').Buffer;\n const internalUtil = require('internal/util');\n+const errors = require('internal/errors');\n const isEncoding = Buffer[internalUtil.kIsEncodingSymbol];\n \n // Do not cache `Buffer.isEncoding` whe...
2017-08-08T02:24:08
vuejs/vue
ba7dd2c4ed62dba30bde7c1d521f7bfbab529102
a695c5a6df415101a5f728e87dbe087b4fbb0b7b
fix(types): export `defineAsyncComponent` type (#12684)
[ { "path": "types/index.d.ts", "patch": "@@ -42,7 +42,7 @@ export * from './v3-setup-helpers'\n export { Data } from './common'\n export { SetupContext } from './v3-setup-context'\n export { defineComponent } from './v3-define-component'\n-// export { defineAsyncComponent } from './defineAsyncComponent'\n+ex...
2022-07-22T02:18:52
huggingface/transformers
ff76e7c2126ab26e5722f54640d44cab7e3dfdd4
1c9134f004055a1717a2f8e856fef0fef52ca4ea
FIX [`bnb` / `tests`] Propagate the changes from #29092 to 4-bit tests (#29122) * forgot to push the changes for 4bit .. * trigger CI
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -43,7 +43,7 @@\n \n \n def get_some_linear_layer(model):\n- if model.config.model_type == \"openai-community/gpt2\":\n+ if model.config.model_type == \"gpt2\":\n return model.transformer.h[0].mlp.c_fc\n elif model.config.model_t...
2024-02-20T10:11:15
rust-lang/rust
26f588bba4e2b2309628ecc1322b6d254253eae7
60ade6c1d7c8bbac52d6d1b9ed6703582028f954
fix cargo tests Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -300,7 +300,9 @@ impl Step for Cargo {\n fn run(self, builder: &Builder<'_>) {\n let compiler = builder.compiler(self.stage, self.host);\n \n- builder.ensure(tool::Cargo { compiler, target: self.host });\n+ let ca...
2025-02-18T16:28:05
golang/go
5aaeda19c1876ecec85406726b544ac49c8f799b
58f017bcea3d2f3dbb898ba175fe09beb32b4eb6
cmd/internal/obj/arm64: fix typos in document The current document mismatches Go syntax loads a signed-byte instruction "MOVB" with GNU syntax loads an 64bit double-word instruction "ldr". This is just a typo in the document, the assembler has the correct encoding. This patch fix this error. Fixes #39367 Change-Id: ...
[ { "path": "src/cmd/internal/obj/arm64/doc.go", "patch": "@@ -22,7 +22,8 @@ using different register names.\n \n Examples:\n MOVD.P -8(R10), R8 <=> ldr x8, [x10],#-8\n- MOVB.W 16(R16), R10 <=> ldr x10, [x16,#16]!\n+ MOVB.W 16(R16), R10 <=> ldrsb x10, [x16,#16]...
2020-06-03T02:33:03
ggml-org/llama.cpp
03ea04175da3cdd7fd8cc1835f33490e3483928a
cdabeb2c27232b5abd84210d57ac3bf33e7ebf5c
ggml webgpu: minor set rows optimization (#16810) * Add buffer label and enable dawn-specific toggles to turn off some checks * Minor set_rows optimization (#4) * updated optimization, fixed errors * non vectorized version now dispatches one thread per element * Simplify * Change logic for set_rows pipelines ---...
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu.cpp", "patch": "@@ -248,7 +248,7 @@ struct webgpu_context_struct {\n \n webgpu_pipeline memset_pipeline;\n webgpu_pipeline mul_mat_pipeline[30][2];\n- webgpu_pipeline set_rows_pipeline;\n+ webgpu_pipeline set_rows_pipeline[1][2]; // dst->type, vecto...
2025-11-05T09:27:42
vuejs/vue
a695c5a6df415101a5f728e87dbe087b4fbb0b7b
fabc1cf89f55dd7f3f95fa7890d2540f40e9f845
fix(sfc): align `<script setup>` component resolution edge case with v3 (#12687) fix #12685
[ { "path": "src/compiler/codegen/index.ts", "patch": "@@ -13,7 +13,7 @@ import {\n ASTText,\n CompilerOptions\n } from 'types/compiler'\n-import { BindingMetadata } from 'sfc/types'\n+import { BindingMetadata, BindingTypes } from 'sfc/types'\n \n type TransformFunction = (el: ASTElement, code: string) =>...
2022-07-22T02:18:27
nodejs/node
f68ab39f8e7d21b9689ac1f9978758a4393c2072
bf1ca8fb2e4b92274cfc9cba837e75f7eee61b4f
doc: add missing heading for error PR-URL: https://github.com/nodejs/node/pull/15325 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "doc/api/errors.md", "patch": "@@ -748,6 +748,7 @@ An invalid HTTP informational status code has been specified. Informational\n status codes must be an integer between `100` and `199` (inclusive).\n \n <a id=\"ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH\"></a>\n+### ERR_HTTP2_INVALID_PACKED_SETTINGS...
2017-09-11T02:17:13
huggingface/transformers
1c9134f004055a1717a2f8e856fef0fef52ca4ea
f7ef7cec6c6c162087421f36a17eabdbb223579d
Abstract image processor arg checks. (#28843) * abstract image processor arg checks. * fix signatures and quality * add validate_ method to rescale-prone processors * add more validations * quality * quality * fix formatting Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.co...
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -337,6 +337,47 @@ def load_image(image: Union[str, \"PIL.Image.Image\"], timeout: Optional[float] =\n return image\n \n \n+def validate_preprocess_arguments(\n+ do_rescale: Optional[bool] = None,\n+ rescale_factor: Optional[float] = None,\n...
2024-02-20T10:05:46
ggml-org/llama.cpp
852ce5180acd4e3641f6b71783a343647eee058d
9aa63374f2101f4eaef425888699907b238ed2c0
ggml : fix conv2d_dw SVE path (ggml/1380) * Fix test-conv2d-dw failure on ARM SVE by using runtime vector length The ggml_compute_forward_conv_2d_dw_cwhn function was using a hardcoded GGML_F32_EPR (8) for SIMD vectorization, but on ARM SVE the actual vector length varies by hardware. This caused incorrect computatio...
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -7084,7 +7084,11 @@ static void ggml_compute_forward_conv_2d_dw_cwhn(\n const int64_t row_end = MIN(row_start + rows_per_thread, rows_total);\n \n #ifdef GGML_SIMD\n- const int64_t pkg_size = GGML_F32_EPR;\n+ #if defined(__ARM_FEATURE_SVE)\n+ ...
2025-11-04T18:40:52
vuejs/vue
fabc1cf89f55dd7f3f95fa7890d2540f40e9f845
ce6fc149e3a60d811e19f7b100a5f80fed18018d
fix(types): avoid circular type inference between v2 and v3 instance types fix #12683
[ { "path": "types/v3-component-public-instance.d.ts", "patch": "@@ -179,9 +179,7 @@ interface Vue3Instance<\n ? Partial<Defaults> & Omit<P & PublicProps, keyof Defaults>\n : P & PublicProps\n >,\n- ComponentPublicInstance | null,\n ComponentPublicInstance,\n- ComponentPublicInst...
2022-07-22T02:06:43
rust-lang/rust
176d3ff78c63024503901de595de3bd453faf553
78b739060f75b43e22fcfe8d33d36953076c5ffc
Fix dead link
[ { "path": "src/tools/rust-analyzer/xtask/src/tidy.rs", "patch": "@@ -186,7 +186,7 @@ Zlib OR Apache-2.0 OR MIT\n \n fn check_test_attrs(path: &Path, text: &str) {\n let panic_rule =\n- \"https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md#should_panic\";\n+ \"https://g...
2025-02-18T16:22:45
golang/go
58f017bcea3d2f3dbb898ba175fe09beb32b4eb6
9326d71874730901c159643703a16dc34646e5bd
cmd/{compile,link}: fix problem with DWARF end_sequence ops During DWARF line table emission in the linker, prior to issuing a DW_LNE_end_sequence op to mark the end of the line table for a compilation unit, advance the PC to produce an address beyond the last text address in the unit (this is required by the DWARF st...
[ { "path": "src/cmd/link/internal/ld/dwarf.go", "patch": "@@ -1264,6 +1264,18 @@ func (d *dwctxt2) writelines(unit *sym.CompilationUnit, ls loader.Sym) {\n \t\t}\n \t}\n \n+\t// Issue 38192: the DWARF standard specifies that when you issue\n+\t// an end-sequence op, the PC value should be one past the last\n...
2020-05-29T20:01:08
nodejs/node
1aca135cb9a8cacda5d01206d7a8e4a31c521d44
0dad97cdec754f4be82f32645342a1a28ea06501
http2: add tests for push stream error handling Add tests that cover errors for wrong arguments, as well as tests for error codes from nghttp2. Fix pushStream to emit NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE on session rather than stream. PR-URL: https://github.com/nodejs/node/pull/15281 Reviewed-By: James M Snell <jasnel...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1814,7 +1814,7 @@ class ServerHttp2Stream extends Http2Stream {\n break;\n case NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE:\n err = new errors.Error('ERR_HTTP2_OUT_OF_STREAMS');\n- process.nextTick(() => this.emit('error', err));\n+...
2017-09-13T13:34:14
huggingface/transformers
49c0b293d2afddd175921b0aac0686f8ed4a0703
4f09d0fd888dbf2660313f9715992822acfb99ce
Fixed nll with label_smoothing to just nll (#28708) * Fixed nll with label_smoothing to nll * Resolved conflict by rebase * Fixed nll with label_smoothing to nll * Resolved conflict by rebase * Added label_smoothing to config file * Fixed nits
[ { "path": "src/transformers/models/blip/configuration_blip.py", "patch": "@@ -94,6 +94,10 @@ class BlipTextConfig(PretrainedConfig):\n Whether the model is used as a decoder.\n use_cache (`bool`, *optional*, defaults to `True`):\n Whether or not the model should return the la...
2024-02-20T00:52:15
vuejs/vue
ce6fc149e3a60d811e19f7b100a5f80fed18018d
adf3ac8adcf204dcc34b851da6ab4d914bd11cf9
types: fix manual api types for useAttrs/useListeners
[ { "path": "src/v3/apiSetup.ts", "patch": "@@ -181,18 +181,25 @@ export function syncSetupSlots(to: any, from: any) {\n }\n \n /**\n- * @internal use manual type def because it relies on legacy VNode types\n+ * @internal use manual type def because public setup context type relies on\n+ * legacy VNode types\...
2022-07-22T02:05:35
rust-lang/rust
45f7a60d313f75709690bfcb1cc4232d0f44ed3f
510d3b69fc2e13f7cc2cb485716aba6908f147dc
`.last()` to `.next_back()` requires a mutable receiver In the case where `iter` is a `DoubleEndedIterator`, replacing a call to `iter.last()` (which consumes `iter`) by `iter.next_back()` (which requires a mutable reference to `iter`) cannot be done when `iter` Is not a mutable binding or a mutable reference. When `...
[ { "path": "clippy_lints/src/methods/double_ended_iterator_last.rs", "patch": "@@ -1,8 +1,8 @@\n-use clippy_utils::diagnostics::span_lint_and_sugg;\n-use clippy_utils::is_trait_method;\n+use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::ty::implements_trait;\n+use clippy_utils::{is_mutab...
2025-02-02T16:16:36
golang/go
9b90491e4a1f98a5b431a49cbf9cbefa18adc883
9bbe89957620ab72c03a7613ffdbd10a97b54bd6
runtime: steal timers from running P's Previously we did not steal timers from running P's, because that P should be responsible for running its own timers. However, if the P is running a CPU-bound G, this can cause measurable delays in running ready timers. Also, in CL 214185 we avoided taking the timer lock of a P w...
[ { "path": "src/runtime/proc.go", "patch": "@@ -2231,11 +2231,14 @@ top:\n \t\t\t// Consider stealing timers from p2.\n \t\t\t// This call to checkTimers is the only place where\n \t\t\t// we hold a lock on a different P's timers.\n-\t\t\t// Lock contention can be a problem here, so avoid\n-\t\t\t// grabbing...
2020-05-04T23:19:16
nodejs/node
0dad97cdec754f4be82f32645342a1a28ea06501
35a526c1d4702d54c464510f448879f096a97321
doc: fix "added in" for Buffer.allocUnsafeSlow() PR-URL: https://github.com/nodejs/node/pull/15330 Fixes: https://github.com/nodejs/node/issues/15279 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigip...
[ { "path": "doc/api/buffer.md", "patch": "@@ -616,7 +616,7 @@ additional performance that [`Buffer.allocUnsafe()`] provides.\n \n ### Class Method: Buffer.allocUnsafeSlow(size)\n <!-- YAML\n-added: v5.10.0\n+added: v5.12.0\n -->\n \n * `size` {integer} The desired length of the new `Buffer`", "additions"...
2017-09-11T07:10:09
huggingface/transformers
a4851d94779410c1a81691a02419dc87fad25de2
5ce90f32122f98942e3b54f0c4fbc3b393b396aa
Fix two tiny typos in `pipelines/base.py::Pipeline::_sanitize_parameters()`'s docstring (#29102) * Update base.py * Fix a typo
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -1048,9 +1048,9 @@ def check_model_type(self, supported_models: Union[List[str], dict]):\n def _sanitize_parameters(self, **pipeline_parameters):\n \"\"\"\n _sanitize_parameters will be called with any excessive named arguments...
2024-02-19T18:50:28
vuejs/vue
e8d3a7d7a17f9e66d592fb1ddc4a603af9958d36
67760f8d30778f58afeada3589d4ac4493329ad5
fix(codegen): script setup should not attempt to resolve native elements as component fix #12674
[ { "path": "src/compiler/codegen/index.ts", "patch": "@@ -95,14 +95,15 @@ export function genElement(el: ASTElement, state: CodegenState): string {\n code = genComponent(el.component, el, state)\n } else {\n let data\n- if (!el.plain || (el.pre && state.maybeComponent(el))) {\n+ con...
2022-07-16T14:03:44
rust-lang/rust
1d1ac3d310dfe90e1ec91c731f2cc306ddbd1eb4
7a667d206c45b96676c260030a4e3d9be1cc8495
remove redundant code - we normalize before calling `layout_of_uncached`, so we don't need to normalize again later - we check for type/const errors at the top of `layout_of_uncached`, so we don't need to check again later
[ { "path": "compiler/rustc_ty_utils/src/layout.rs", "patch": "@@ -152,17 +152,19 @@ fn extract_const_value<'tcx>(\n ) -> Result<ty::Value<'tcx>, &'tcx LayoutError<'tcx>> {\n match const_.kind() {\n ty::ConstKind::Value(cv) => Ok(cv),\n- ty::ConstKind::Error(guar) => {\n- return ...
2025-02-16T00:02:18
golang/go
9bbe89957620ab72c03a7613ffdbd10a97b54bd6
ba6ccf3b04cbda5ac19412c933c69425ca828bfa
cmd/go: add -Wl,-wrap,symbol to linker flag whitelist This is needed for cgo support for libpsx. Fixes: #39361 Change-Id: I500f5614ea4b82b085322af1f1ffeb1f55270a05 Reviewed-on: https://go-review.googlesource.com/c/go/+/236139 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>...
[ { "path": "src/cmd/go/internal/work/security.go", "patch": "@@ -202,6 +202,7 @@ var validLinkerFlags = []*lazyregexp.Regexp{\n \tre(`-Wl,-undefined[=,]([^,@\\-][^,]+)`),\n \tre(`-Wl,-?-unresolved-symbols=[^,]+`),\n \tre(`-Wl,--(no-)?warn-([^,]+)`),\n+\tre(`-Wl,-?-wrap[=,][^,@\\-][^,]*`),\n \tre(`-Wl,-z,(no)...
2020-06-02T20:13:54
vuejs/vue
67760f8d30778f58afeada3589d4ac4493329ad5
ea5d0f3fbfd983cb0275457cbcef344f926381ea
fix(setup): ensure setup context slots can be accessed immediately fix #12672
[ { "path": "src/core/instance/render.ts", "patch": "@@ -25,7 +25,13 @@ export function initRender(vm: Component) {\n const parentVnode = (vm.$vnode = options._parentVnode!) // the placeholder node in parent tree\n const renderContext = parentVnode && (parentVnode.context as Component)\n vm.$slots = res...
2022-07-16T13:45:03
huggingface/transformers
5ce90f32122f98942e3b54f0c4fbc3b393b396aa
08cd694ef07d53f6e08e60ea6e1483dbb156924d
Bnb test fix for different hardwares (#29066) * generated text on A10G * generated text in CI * Apply suggestions from code review add explanatory comments Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> --------- Co-authored-by: Younes Belkada <49240599+younesbelkada...
[ { "path": "tests/quantization/bnb/test_mixed_int8.py", "patch": "@@ -97,6 +97,8 @@ class BaseMixedInt8Test(unittest.TestCase):\n input_text = \"Hello my name is\"\n EXPECTED_OUTPUTS = set()\n EXPECTED_OUTPUTS.add(\"Hello my name is John.\\nI am a friend of the family.\\n\")\n+ # Expected valu...
2024-02-19T18:04:44
rust-lang/rust
7a667d206c45b96676c260030a4e3d9be1cc8495
802b7abab736166fcb12c2567c743e1da6d6806c
remove unreachable cases `ty::Placeholder` is used by the trait solver and computing its layout was necessary, because the `PointerLike` trait used to be automatically implemented for all types with pointer-like layout. Nowadays, `PointerLike` requires user-written impls and the trait solver no longer computes any lay...
[ { "path": "compiler/rustc_ty_utils/src/layout.rs", "patch": "@@ -155,19 +155,12 @@ fn extract_const_value<'tcx>(\n ty::ConstKind::Error(guar) => {\n return Err(error(cx, LayoutError::ReferencesError(guar)));\n }\n- ty::ConstKind::Param(_) | ty::ConstKind::Expr(_) => {\n+ ...
2025-02-15T23:19:56
nodejs/node
35a526c1d4702d54c464510f448879f096a97321
2ac7b433b42dd44b319e1113e045dda8df20a4f8
http2,async-wrap: introduce AliasedBuffer class This change introduces an AliasedBuffer class and updates asytnc-wrap and http2 to use this class. A common technique to optimize performance is to create a native buffer and then map that native buffer to user space via JS array. The runtime can efficiently write to t...
[ { "path": "node.gyp", "patch": "@@ -228,6 +228,7 @@\n 'src/util.cc',\n 'src/uv.cc',\n # headers to make for a more pleasant IDE experience\n+ 'src/aliased_buffer.h',\n 'src/async-wrap.h',\n 'src/async-wrap-inl.h',\n 'src/base-object.h',\n@@ -246,6 +247,...
2017-08-25T19:45:00
golang/go
ba6ccf3b04cbda5ac19412c933c69425ca828bfa
a9cc1051c11f821cb03d63fb9e05930f9e2f9fa5
testing: capture testname on --- PASS and --- FAIL lines This fixes an issue raised at https://github.com/golang/go/issues/38458#issuecomment-635617670 in which --- PASS and --- FAIL lines would not trigger --- CONT lines of other tests. Change-Id: I0d8cc54d682a370d0a6ea6816a11b2e462a92efe Reviewed-on: https://go-rev...
[ { "path": "src/cmd/go/testdata/script/test_chatty_parallel_success_sleepy.txt", "patch": "@@ -0,0 +1,39 @@\n+# Run parallel chatty tests. Assert on CONT lines. This test makes sure that\n+# multiple parallel outputs have the appropriate CONT lines between them.\n+go test -parallel 3 chatty_parallel_test.go ...
2020-06-01T18:19:05
vuejs/vue
ea5d0f3fbfd983cb0275457cbcef344f926381ea
25ffdb62d22fe8688aca144d945671d5c82a8887
fix(inject): fix edge case of provided with async-mutated getters fix #12667
[ { "path": "src/core/instance/inject.ts", "patch": "@@ -1,8 +1,7 @@\n import { warn, hasSymbol, isFunction, isObject } from '../util/index'\n import { defineReactive, toggleObserving } from '../observer/index'\n import type { Component } from 'types/component'\n-import { provide } from 'v3/apiInject'\n-impor...
2022-07-16T13:33:48
huggingface/transformers
79132d4cfe42eca5812e8c45ea1b075f04f907b6
9830858671f403b398bc81f979232727b7f3b71a
Fix a typo in `examples/pytorch/text-classification/run_classification.py` (#29072)
[ { "path": "examples/pytorch/text-classification/run_classification.py", "patch": "@@ -404,7 +404,7 @@ def main():\n raw_datasets.pop(split)\n \n if data_args.train_split_name is not None:\n- logger.info(f\"using {data_args.validation_split_name} as validation set\")\n+ logger.i...
2024-02-19T13:01:15
ggml-org/llama.cpp
5e90233bdba013838c1a69df7738e08bd5c058d5
a5c07dcd7b49916c7c770f2da9583e6b82717678
opencl: update doc (#17011) * opencl: update docs * opencl: update docs * opencl: fix link * opencl: update doc
[ { "path": "docs/backend/OPENCL.md", "patch": "@@ -39,25 +39,41 @@ The llama.cpp OpenCL backend is designed to enable llama.cpp on **Qualcomm Adren\n | Adreno 830 (Snapdragon 8 Elite) | Support |\n | Adreno X85 (Snapdragon X Elite) | Support |\n \n+> A6x GPUs with a recent driver and compiler are s...
2025-11-05T00:02:36
rust-lang/rust
802b7abab736166fcb12c2567c743e1da6d6806c
d0a5bbbb8e394095848e078a3fff72beaad14209
clean up layout error diagnostics - group the fluent slugs together - reword (internal-only) "too generic" error to be more in line with the other errors
[ { "path": "compiler/rustc_middle/messages.ftl", "patch": "@@ -37,9 +37,6 @@ middle_autodiff_unsafe_inner_const_ref = reading from a `Duplicated` const {$ty}\n middle_bounds_check =\n index out of bounds: the length is {$len} but the index is {$index}\n \n-middle_cannot_be_normalized =\n- unable to de...
2025-02-16T19:26:07
nodejs/node
dc1996dd1f87ba0e90201ffbc7cb133e2ea6b1b2
31ce2c1b92855726a5d9ac035e41ef430379e40e
src: fix SmartOS compilation Refs: https://github.com/nodejs/node-v8/issues/8 PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gma...
[ { "path": "src/v8abbr.h", "patch": "@@ -85,14 +85,14 @@\n \n #define V8_OFF_FUNC_SHARED \\\n V8_OFF_HEAP(V8DBG_CLASS_JSFUNCTION__SHARED__SHAREDFUNCTIONINFO)\n-#define V8_OFF_SHARED_NAME \\\n- V8_OFF_HEAP(V8DBG_CLASS_SHAREDFUNCTIONINFO__NAME__OBJECT)\n+#define V8_OFF_RAW_NAME \\\n+ V8_OFF_HEAP(V...
2017-06-27T07:53:55
vuejs/vue
25ffdb62d22fe8688aca144d945671d5c82a8887
46ec64869479393f95b6abda7a4adecf19867d06
fix(watch): fix queueing multiple post watchers fix #12664
[ { "path": "src/core/observer/scheduler.ts", "patch": "@@ -59,6 +59,15 @@ if (inBrowser && !isIE) {\n }\n }\n \n+const sortCompareFn = (a: Watcher, b: Watcher): number => {\n+ if (a.post) {\n+ if (!b.post) return 1\n+ } else if (b.post) {\n+ return -1\n+ }\n+ return a.id - b.id\n+}\n+\n /**\n * ...
2022-07-16T12:46:39
golang/go
a9cc1051c11f821cb03d63fb9e05930f9e2f9fa5
ee776b41267ee910196b616b7104f0e5ed63d2b2
time: note that formats may parse invalid strings The existing documentation for time format constants doesn't mention that they may parse technically-invalid strings, such as single-digit hours when a two-digit hour is required by a specification. This commit adds a short warning note to that effect. Fixes #37616 ...
[ { "path": "src/time/format.go", "patch": "@@ -67,7 +67,7 @@ import \"errors\"\n // that insist on that format, and RFC3339 should be preferred for new protocols.\n // RFC3339, RFC822, RFC822Z, RFC1123, and RFC1123Z are useful for formatting;\n // when used with time.Parse they do not accept all the time for...
2020-04-23T01:16:49
huggingface/transformers
9830858671f403b398bc81f979232727b7f3b71a
593230f0a1150ea9c0477b9d859f25daf73c8c33
Fix the `bert-base-cased` tokenizer configuration test (#29105) Fix test
[ { "path": "tests/models/auto/test_tokenization_auto.py", "patch": "@@ -223,7 +223,7 @@ def test_get_tokenizer_config(self):\n config = get_tokenizer_config(\"google-bert/bert-base-cased\")\n _ = config.pop(\"_commit_hash\", None)\n # If we ever update google-bert/bert-base-cased toke...
2024-02-19T12:23:25
ggml-org/llama.cpp
b164259bbaa579e1d82b2bc18be133947ac71290
1f5accb8d0056e6099cd5b772b1cb787dd590a13
chore : fix models indent after refactor (#16992)
[ { "path": "src/models/gemma2-iswa.cpp", "patch": "@@ -1,125 +1,125 @@\n #include \"models.h\"\n \n llm_build_gemma2_iswa::llm_build_gemma2_iswa(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) {\n- const int64_t n_embd_head = hparams.n_embd_head_k;\n-\n- ...
2025-11-04T11:29:15
rust-lang/rust
d0a5bbbb8e394095848e078a3fff72beaad14209
3b022d8ceea570db9730be34d964f0cc663a567f
document and test all `LayoutError` variants
[ { "path": "compiler/rustc_middle/src/ty/layout.rs", "patch": "@@ -229,11 +229,32 @@ impl fmt::Display for ValidityRequirement {\n \n #[derive(Copy, Clone, Debug, HashStable, TyEncodable, TyDecodable)]\n pub enum LayoutError<'tcx> {\n+ /// A type doesn't have a sensible layout.\n+ ///\n+ /// This va...
2025-02-15T23:03:10
vuejs/vue
46ec64869479393f95b6abda7a4adecf19867d06
7d4a7722e3a8bc52a0a9b9660b75efa2ff479f39
fix(types): vue.d.ts should use relative import to v3-component-public-instance (#12668) fix #12666
[ { "path": "types/tsconfig.json", "patch": "@@ -9,7 +9,6 @@\n \"jsx\": \"preserve\",\n \"strict\": true,\n \"noEmit\": true,\n- \"baseUrl\": \".\",\n \"paths\": {\n \"vue\": [\"../index.d.ts\"]\n }", "additions": 0, "deletions": 1, "language": "JSON" }, { "pat...
2022-07-16T12:21:07
huggingface/transformers
593230f0a1150ea9c0477b9d859f25daf73c8c33
a75a6c9315fb8fe23934a43028be6fb8a191351d
fix the post-processing link (#29091) The link in evaluation was missing a hyphen between post and processing. I fixed this, for English only. Someone with the ability to do a global search/replace should fix the other languages (if indeed they have this issue)/
[ { "path": "docs/source/en/tasks/question_answering.md", "patch": "@@ -332,7 +332,7 @@ or [TensorFlow notebook](https://colab.research.google.com/github/huggingface/no\n \n Evaluation for question answering requires a significant amount of postprocessing. To avoid taking up too much of your time, this guide ...
2024-02-19T10:15:58
nodejs/node
bd6907bad42b7cb45799787dc5aefed3ffd8400e
e55b7f3e26931a3c62d787182bd48e052a9ddc41
deps: cherry-pick e020aae394 from V8 upstream Original commit message: Work around glibc thread-local storage bug glibc before 2.17 has a bug that makes it impossible to execute binaries that have single-byte thread-local variables: % node --version node: error while loading shared libra...
[ { "path": "deps/v8/src/trap-handler/handler-shared.cc", "patch": "@@ -23,7 +23,14 @@ namespace v8 {\n namespace internal {\n namespace trap_handler {\n \n-THREAD_LOCAL bool g_thread_in_wasm_code = false;\n+// We declare this as int rather than bool as a workaround for a glibc bug, in\n+// which the dynamic ...
2017-08-17T12:57:35
golang/go
1193958d6b33888bcb50e22ae9c1cfdcde274c9b
c082c1fea376403182444371bbbaf6d203dc12b9
cmd: update golang.org/x/tools to v0.0.0-20200601175630-2caf76543d99 This teaches vet to recognize %O in a fmt.Printf format string. O has been supported since the 1.13 release, but vet would warn about it. Fixes #29986 Change-Id: I3a7a1fc8141f32888c081c5d92620461624371f6 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/cmd/go.mod", "patch": "@@ -9,5 +9,5 @@ require (\n \tgolang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79\n \tgolang.org/x/mod v0.3.0\n \tgolang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect\n-\tgolang.org/x/tools v0.0.0-20200504152539-33427f1b0364\n+\tgolang.org/x/tools v0.0.0-2...
2020-06-02T20:00:01
rust-lang/rust
f910684616f357a8084151a162ed3c3fe0e512e6
273465e1f2932a30a5b56ac95859cdc86f3f33fa
don't ICE for alias-relate goals with error term
[ { "path": "compiler/rustc_next_trait_solver/src/solve/alias_relate.rs", "patch": "@@ -34,7 +34,17 @@ where\n ) -> QueryResult<I> {\n let cx = self.cx();\n let Goal { param_env, predicate: (lhs, rhs, direction) } = goal;\n- debug_assert!(lhs.to_alias_term().is_some() || rhs.to_alia...
2025-02-18T09:29:16
ggml-org/llama.cpp
1f5accb8d0056e6099cd5b772b1cb787dd590a13
2759ccdb4adc8568add4316780d5e675519b0775
Fix garbled output with REPACK at high thread counts (#16956) * Fix garbled output with REPACK at high thread counts Fixed a race condition in the REPACK matrix multiplication code that caused garbled output when using 26+ threads (model-dependent threshold). The issue occurred because with high thread counts, the co...
[ { "path": "ggml/src/ggml-cpu/repack.cpp", "patch": "@@ -1678,10 +1678,24 @@ template <typename BLOC_TYPE, int64_t INTER_SIZE, int64_t NB_COLS, ggml_type PAR\n int64_t chunk_size = (nr + nth_scaled - 1) / nth_scaled;\n int64_t nchunk = (nr + chunk_size - 1) / chunk_size;\n \n+ // E...
2025-11-04T05:04:59
vuejs/vue
fffbb9e856de5e4b3053a6b4d01d1404bfb6f85e
e0a9546ef32fa4bbfc4bede3002b2d6a5be8cf72
fix(types): $refs can also contain ComponentPublicInstance (#12659)
[ { "path": "types/vue.d.ts", "patch": "@@ -14,6 +14,7 @@ import { VNode, VNodeData, VNodeChildren, NormalizedScopedSlot } from './vnode'\n import { PluginFunction, PluginObject } from './plugin'\n import { DefineComponent } from './v3-define-component'\n import { nextTick } from './v3-generated'\n+import { C...
2022-07-15T09:05:04
huggingface/transformers
a75a6c9315fb8fe23934a43028be6fb8a191351d
864c8e6ea31e2e9671cd34e1febd889f5e8d9150
FIX [`bnb` / `tests`]: Fix currently failing bnb tests (#29092) Update test_mixed_int8.py
[ { "path": "tests/quantization/bnb/test_mixed_int8.py", "patch": "@@ -42,7 +42,7 @@\n \n \n def get_some_linear_layer(model):\n- if model.config.model_type == \"openai-community/gpt2\":\n+ if model.config.model_type == \"gpt2\":\n return model.transformer.h[0].mlp.c_fc\n return model.transf...
2024-02-19T09:39:12
nodejs/node
e55b7f3e26931a3c62d787182bd48e052a9ddc41
5976e0fac9af2370ad7b2b54b7c223c6f8b3d046
deps: backport f9c4b7a from upstream V8 Original commit message: [heap] Move UnmapFreeMemoryTask to CancelableTask This mitigates the problem of blocking on the main thread when the platform is unable to execute background tasks in a timely manner. Bug: v8:6671 Change-Id: I741d4b7594e8d62721dad32cbfb19551f...
[ { "path": "deps/v8/src/heap/heap.cc", "patch": "@@ -163,6 +163,7 @@ Heap::Heap()\n heap_iterator_depth_(0),\n local_embedder_heap_tracer_(nullptr),\n fast_promotion_mode_(false),\n+ use_tasks_(true),\n force_oom_(false),\n delay_sweeper_tasks_for_testing_(false),\n p...
2017-08-03T14:23:13
golang/go
ed2996bac77725e891699b22bff3789086ea81e6
e05695ed4d898e3c21906b608a0f259110a78ec8
crypto/x509: document support for leading periods in DNS constraints This change adds a comment to the Verify documentation that indicates that you can use URI and email style name constraints with a leading period for DNS names (and explains what they do). This behavior is not standards compliant, but matches the com...
[ { "path": "src/crypto/x509/verify.go", "patch": "@@ -744,6 +744,12 @@ func (c *Certificate) isValid(certType int, currentChain []*Certificate, opts *V\n // the name being validated. Note that DirectoryName constraints are not\n // supported.\n //\n+// Name constraint validation follows the rules from RFC 52...
2020-05-13T01:49:34
ggml-org/llama.cpp
c5023daf607c578d6344c628eb7da18ac3d92d32
e7da30b584dc1f2ee0414c4a1298ce64eef97e8d
opencl: support imrope (#16914) * opencl: support imrope * opencl: fix whitespace
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -8399,6 +8399,7 @@ static void ggml_cl_rope(ggml_backend_t backend, const ggml_tensor * src0, const\n const bool is_neox = mode & 2;\n const bool is_mrope = mode & GGML_ROPE_TYPE_MROPE;\n const bool is_vision = mode == GGML_ROPE_TYPE...
2025-11-03T19:47:57
vuejs/vue
e0a9546ef32fa4bbfc4bede3002b2d6a5be8cf72
52a59790a5b6e16c9f8cc737fcd784413dda282d
fix(types): fix missing expose() type on setup context fix #12660
[ { "path": "types/test/v3/setup-test.ts", "patch": "@@ -28,6 +28,9 @@ Vue.extend({\n }\n ctx.emit('foo')\n ctx.slots.default && ctx.slots.default()\n+ ctx.expose({\n+ a: 123\n+ })\n }\n })\n ", "additions": 3, "deletions": 0, "language": "Unknown" }, { "path": "ty...
2022-07-15T08:58:01
huggingface/transformers
864c8e6ea31e2e9671cd34e1febd889f5e8d9150
ce4fff0be7f6464d713f7ac3e0bbaafbc6959ae5
[`Awq`] Add peft support for AWQ (#28987) * add peft support for AWQ * Update src/transformers/quantizers/quantizer_awq.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * fix --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "src/transformers/quantizers/quantizer_awq.py", "patch": "@@ -11,8 +11,11 @@\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+import importlib.metadata\n from ty...
2024-02-19T00:31:39
rust-lang/rust
4e4cb10b846c71f2993d2e4babbc026ff68bab3b
de91711756133f11f7861dd099c001eaff0aafaa
Add #[track_caller] to Duration Div impl Previously the location of the divide-by-zero error condition would be attributed to the code in the rust standard library, eg: thread 'main' panicked at /home/user/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/time.rs:1172:31: div...
[ { "path": "library/core/src/time.rs", "patch": "@@ -1168,6 +1168,7 @@ impl Div<u32> for Duration {\n type Output = Duration;\n \n #[inline]\n+ #[track_caller]\n fn div(self, rhs: u32) -> Duration {\n self.checked_div(rhs).expect(\"divide by zero error when dividing duration by scalar\...
2025-02-18T04:56:03
ggml-org/llama.cpp
e7da30b584dc1f2ee0414c4a1298ce64eef97e8d
ed8aa63320393512bdcfe4b05b5ae01ba91888e1
fix: Viewing multiple PDF attachments (#16974)
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentPreviewDialog.svelte", "patch": "@@ -134,6 +134,15 @@\n \t\t}\n \t}\n \n+\t$effect(() => {\n+\t\tif (open) {\n+\t\t\tpdfImages = [];\n+\t\t\tpdfImagesLoading = false;\n+\t\t\tpdfImagesError = null;\n+\t\t\tpdfViewMode = ...
2025-11-03T17:53:26
nodejs/node
5976e0fac9af2370ad7b2b54b7c223c6f8b3d046
e1c37b3692773a5be9c1c1e0f959f2378fab36ef
deps: backport bca8409 from upstream V8 Original commit message: Make CancelableTask ids unique They were only limited to 32 bit when using the internal Hashmap. Since this has changed alreay some time ago, we can switch to 64 bit ids and check that we never overflow. Bug: Change-Id: Ia6c6d02d6b5e555c694...
[ { "path": "deps/v8/src/cancelable-task.cc", "patch": "@@ -29,18 +29,17 @@ Cancelable::~Cancelable() {\n CancelableTaskManager::CancelableTaskManager()\n : task_id_counter_(0), canceled_(false) {}\n \n-uint32_t CancelableTaskManager::Register(Cancelable* task) {\n+CancelableTaskManager::Id CancelableTask...
2017-08-03T14:14:43
vuejs/vue
52a59790a5b6e16c9f8cc737fcd784413dda282d
cdd2df6171963096abb94600987f1706e40d2ab6
fix(types): fix $children and $root instance types fix #12655
[ { "path": "types/test/v3/define-component-test.tsx", "patch": "@@ -1148,6 +1148,7 @@ defineComponent({\n this.$on('foo', () => {})\n this.$ssrContext\n this.$isServer\n+ this.$children[0].$root.$children\n return h('div', {}, [...this.$slots.default!])\n }\n })", "additions": 1, ...
2022-07-15T08:52:27
golang/go
0eb9767caad4c4a0b447824d7b27328864612d58
612da6bf19d35755979db8b9fe08066eb31890f0
misc/cgo/testplugin: fix typo in comment Change-Id: I7d1a5f6936505dff8f765541b5102dcbcd6ae835 Reviewed-on: https://go-review.googlesource.com/c/go/+/235924 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -32,7 +32,7 @@ func TestMain(m *testing.M) {\n }\n \n func testMain(m *testing.M) int {\n-\t// Copy testdata into GOPATH/src/testarchive, along with a go.mod file\n+\t// Copy testdata into GOPATH/src/testplugin, along with a go.mod file\n \t// dec...
2020-06-01T22:06:45
huggingface/transformers
636b03244cb3c5bac6d12a5a968d5024e0fde7c3
161fe425c9c87af3b22b382f28239b0504d91d37
Fix trainer test wrt DeepSpeed + auto_find_bs (#29061) * FIx trainer test * Update tests/trainer/test_trainer.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -1588,18 +1588,10 @@ def on_step_end(self, args, state, control, **kwargs):\n auto_find_batch_size=True,\n deepspeed=deepspeed,\n )\n- trainer = Trainer(model, args, train_dataset=train_dataset, callbacks=[MockCud...
2024-02-16T15:04:24
rust-lang/rust
693f7035f1a98cc9a640b045c9e996c8bb1606cd
d88ffcdb8bfc6f8b917574c1693eb9764a20eff5
Make E0599 a structured error
[ { "path": "compiler/rustc_hir_analysis/messages.ftl", "patch": "@@ -387,6 +387,8 @@ hir_analysis_must_implement_not_function_span_note = required by this annotation\n \n hir_analysis_must_implement_one_of_attribute = the `#[rustc_must_implement_one_of]` attribute must be used with at least 2 args\n \n+hir_a...
2025-02-18T04:50:11
ggml-org/llama.cpp
fcfce040e816c542f374ad51461b3561d73c4bc9
ee3a5a10adf9e83722d1914dddc56a0623ececaf
ggml : LoongArch fixes (#16958) * Fix test-quantize-fns f16 and q4_0 failed when use LSX * Fix LoongArch set float intrinsic when use LSX/LASX
[ { "path": "ggml/src/ggml-cpu/arch/loongarch/quants.c", "patch": "@@ -700,7 +700,8 @@ void ggml_vec_dot_q4_0_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const voi\n for (; ib + 1 < nb; ib += 2) {\n \n // Compute combined scale for the block 0 and 1\n- const __m128 d_0_1 = (__m128)__lsx...
2025-11-03T06:40:02
vuejs/vue
1a2c3c2d77ba96ef496f4c86329b7798026511ae
005e52d0b6f1a5bf9679789c5c4b90afd442d86b
fix(watch): fix deep watch for structures containing raw refs fix #12652
[ { "path": "src/core/observer/traverse.ts", "patch": "@@ -1,6 +1,7 @@\n import { _Set as Set, isObject, isArray } from '../util/index'\n import type { SimpleSet } from '../util/index'\n import VNode from '../vdom/vnode'\n+import { isRef } from '../../v3'\n \n const seenObjects = new Set()\n \n@@ -35,6 +36,8 ...
2022-07-13T03:01:10
nodejs/node
e1c37b3692773a5be9c1c1e0f959f2378fab36ef
e202d85d34a76e9f7c8a90d9eb03d66633fc0676
deps: backport 6e9e2e5 from upstream V8 Original commit message: [heap] Move SweeperTask to CancelableTask This mitigates the problem of blocking on the main thread when the platform is unable to execute background tasks in a timely manner. Bug: v8:6655 Change-Id: Icdaae744ee73146b86b9a28c8035138746721971 ...
[ { "path": "deps/v8/src/heap/mark-compact.cc", "patch": "@@ -9,6 +9,7 @@\n #include \"src/base/atomicops.h\"\n #include \"src/base/bits.h\"\n #include \"src/base/sys-info.h\"\n+#include \"src/cancelable-task.h\"\n #include \"src/code-stubs.h\"\n #include \"src/compilation-cache.h\"\n #include \"src/deoptimiz...
2017-08-03T14:05:36
golang/go
13bc6d4223515ac05afadc13728fb12d7c80f015
8be0de1e7e1f1c3f0d2b4b1ab2b4bc96377a3772
cmd/link: flush file mapping before unmapping Call FlushViewOfFile before unmapping the output file, for extra safety. The documentation says the function does not wait for the data to be written to disk, so it should be cheap. Fixes #38440. Change-Id: I05352f15d9305e6e7086a002f61802f74036b710 Reviewed-on: https://g...
[ { "path": "src/cmd/link/internal/ld/outbuf_windows.go", "patch": "@@ -35,7 +35,13 @@ func (out *OutBuf) munmap() {\n \tif out.buf == nil {\n \t\treturn\n \t}\n-\terr := syscall.UnmapViewOfFile(uintptr(unsafe.Pointer(&out.buf[0])))\n+\t// Apparently unmapping without flush may cause ACCESS_DENIED error\n+\t/...
2020-05-29T05:59:09
huggingface/transformers
be42c24d14b8c86de7292c21cd4fbd9cf9c65117
4c18ddb5cf007c31329d3065056bce29d76d0764
Honor trust_remote_code for custom tokenizers (#28854) * pass through trust_remote_code for dynamically loading unregistered tokenizers specified by config add test * change directories back to previous directory after test * fix ruff check * Add a note to that block for future in case we want to remove it l...
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -800,7 +800,9 @@ def from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs):\n _ = kwargs.pop(\"code_revision\", None)\n if os.path.isdir(pretrained_model_name_or_path):\n toke...
2024-02-16T13:40:23
vuejs/vue
005e52d0b6f1a5bf9679789c5c4b90afd442d86b
08fb4a222c016c79af77ab96817d2ed9b7abbd80
fix(types): support Vue interface augmentations in defineComponent fix #12642
[ { "path": "types/test/augmentation-test.ts", "patch": "@@ -1,4 +1,4 @@\n-import Vue from '../index'\n+import Vue, { defineComponent } from '../index'\n \n declare module '../vue' {\n // add instance property and method\n@@ -44,3 +44,10 @@ vm.$instanceMethod()\n \n Vue.staticProperty\n Vue.staticMethod()\n...
2022-07-13T02:44:57
ggml-org/llama.cpp
7e994168b1ccc12337ba8de939c4fd466107c1fb
bcfa87622ae46be6345a8e3dfdbdc5ba5414042b
SYCL: optimized repeat_back kernel (3× fewer asm instructions, 2× faster)Feature/sycl repeat back opt (#16869) * SYCL repeat_back v1 — add core op + switch case * Implement repeat_back SYCL operation and minor fixes * SYCL: optimize repeat_back kernel * Remove Hebrew comment from repeat_back.cpp * Remove comments ...
[ { "path": "ggml/src/ggml-sycl/repeat_back.cpp", "patch": "@@ -2,26 +2,43 @@\n \n #include \"common.hpp\"\n \n-void ggml_sycl_op_repeat_back(ggml_backend_sycl_context & ctx, ggml_tensor * dst) {\n+#define GGML_ASSERT_TENSOR_FITS_INT(t) \\\n+ GGML_ASSERT((t)->ne[0] < INT_MAX && (t)->ne[1] < INT_MAX && (t)-...
2025-11-03T01:35:33
nodejs/node
e202d85d34a76e9f7c8a90d9eb03d66633fc0676
694ef89bcfb8e186f2e2663d64369308b49a5f95
deps: cherry-pick f19b889 from upstream V8 Original commit message: [inspector] support for cases when embedder doesn't call contextDestroyed Node.js doesn't have good place to call contextDestroyed. We need to cleanup everything on our side to allow clients to not call contextDestroyed method. ...
[ { "path": "deps/v8/src/inspector/inspected-context.cc", "patch": "@@ -15,6 +15,39 @@\n \n namespace v8_inspector {\n \n+class InspectedContext::WeakCallbackData {\n+ public:\n+ WeakCallbackData(InspectedContext* context, V8InspectorImpl* inspector,\n+ int groupId, int contextId)\n+ :...
2017-08-16T13:56:03
huggingface/transformers
4c18ddb5cf007c31329d3065056bce29d76d0764
b2628086565e0eedf33f238fe2146f11087c0301
`auto_find_batch_size` isn't yet supported with DeepSpeed/FSDP. Raise error accrodingly. (#29058) Update trainer.py
[ { "path": "src/transformers/trainer.py", "patch": "@@ -4136,6 +4136,11 @@ def create_accelerator_and_postprocess(self):\n wrapper = \"DeepSpeed\" if self.is_deepspeed_enabled else \"FSDP\"\n raise ValueError(f\"{wrapper} can't be used with `save_only_model` along with `load_best_mode...
2024-02-16T12:41:09
golang/go
8be0de1e7e1f1c3f0d2b4b1ab2b4bc96377a3772
f8662a5a96698c5fcf3a77f692e425c7b857e681
cmd/go/internal/modload: document mvsReqs.Max The version "" denotes the main module, which has no version. The mvs.Reqs interface documentation hints this is allowed, but it's not obvious from the implementation in modload.mvsReqs.Max. Also, replace a related TODO with a comment in mvs.Downgrade. Fixes #39042 Chan...
[ { "path": "src/cmd/go/internal/modload/mvs.go", "patch": "@@ -157,6 +157,12 @@ func (r *mvsReqs) required(mod module.Version) ([]module.Version, error) {\n \treturn r.modFileToList(f), nil\n }\n \n+// Max returns the maximum of v1 and v2 according to semver.Compare.\n+//\n+// As a special case, the version ...
2020-05-14T19:03:26
vuejs/vue
08fb4a222c016c79af77ab96817d2ed9b7abbd80
498dc1d89f14504c5e14b43a77c23039163e93a3
fix: add missing export from `vue.runtime.mjs` (#12648)
[ { "path": "dist/vue.runtime.mjs", "patch": "@@ -49,6 +49,7 @@ export const {\n onMounted,\r\n onBeforeUpdate,\r\n onUpdated,\r\n+ onBeforeUnmount,\r\n onUnmounted,\r\n onErrorCaptured,\r\n onActivated,\r", "additions": 1, "deletions": 0, "language": "Unknown" } ]
2022-07-13T01:47:38
ggml-org/llama.cpp
bcfa87622ae46be6345a8e3dfdbdc5ba5414042b
a2054e3a8ff0da3978a4acc18c349ff58554d336
feat(webui): improve LaTeX rendering with currency detection (#16508) * webui : Revised LaTeX formula recognition * webui : Further examples containg amounts * webui : vitest for maskInlineLaTeX * webui: Moved preprocessLaTeX to lib/utils * webui: LaTeX in table-cells * chore: update webui build output (use their...
[ { "path": "tools/server/webui/package-lock.json", "patch": "@@ -59,6 +59,7 @@\n \t\t\t\t\"prettier-plugin-tailwindcss\": \"^0.6.11\",\n \t\t\t\t\"rehype-katex\": \"^7.0.1\",\n \t\t\t\t\"remark-math\": \"^6.0.0\",\n+\t\t\t\t\"sass\": \"^1.93.3\",\n \t\t\t\t\"storybook\": \"^9.0.17\",\n \t\t\t\t\"svelte\": \"...
2025-11-02T23:41:08
rust-lang/rust
9fc759099b20993e17a911e2fc7ffec83042b6f1
ce36a966c79e109dabeef7a47fe68e5294c6d71e
Enforce T: Hash for Interned<...> This adds panicking Hash impls for several resolver types that don't actually satisfy this condition. It's not obvious to me that rustc_resolve actually upholds the Interned guarantees but fixing that seems pretty hard (the structures have at minimum some interior mutability, so it's ...
[ { "path": "compiler/rustc_data_structures/src/intern.rs", "patch": "@@ -92,7 +92,10 @@ impl<'a, T: Ord> Ord for Interned<'a, T> {\n }\n }\n \n-impl<'a, T> Hash for Interned<'a, T> {\n+impl<'a, T> Hash for Interned<'a, T>\n+where\n+ T: Hash,\n+{\n #[inline]\n fn hash<H: Hasher>(&self, s: &mut ...
2025-02-18T02:16:08
huggingface/transformers
b2628086565e0eedf33f238fe2146f11087c0301
258da40efd0c148660a34821b05f995831cef9f9
fix failing trainer ds tests (#29057)
[ { "path": "tests/deepspeed/test_deepspeed.py", "patch": "@@ -786,9 +786,6 @@ def test_can_resume_training_errors(self, stage, dtype):\n with self.assertRaises(Exception) as context:\n checkpoint = os.path.join(output_dir, \"checkpoint-5\")\n trainer.train(resume_f...
2024-02-16T11:48:45
nodejs/node
694ef89bcfb8e186f2e2663d64369308b49a5f95
c6e165b35e3f4b07ae879fcb50292c6b7284045f
deps: fix addons compilation with VS2013 VS2013 does not support defaulting move constructor and assignment operator. This adds explicit definitions of those methods for two classes. This fix is required because we still support building addons with VS2013 and the incompatibility is in v8.h. Fixes: https://github.com...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -4104,10 +4104,12 @@ class V8_EXPORT WasmCompiledModule : public Object {\n // supports move semantics, and does not support copy semantics.\n class TransferrableModule final {\n public:\n- TransferrableModule(TransferrableModule&& src) = default;\n+ ...
2017-05-23T16:25:03
golang/go
f8662a5a96698c5fcf3a77f692e425c7b857e681
eecc6282cc9a16a6be439df5540af127477edc32
cmd/test2json: attribute output to the correct test When printing regular test output check the indentation of the output, and use the report stack to find the appropriate test name for that output. This change includes a whitespace change to some golden test files. The indentation of tests was changed in CL 113177 f...
[ { "path": "src/cmd/internal/test2json/test2json.go", "patch": "@@ -211,8 +211,18 @@ func (c *converter) handleInputLine(line []byte) {\n \t\t}\n \t}\n \n+\t// Not a special test output line.\n \tif !ok {\n-\t\t// Not a special test output line.\n+\t\t// Lookup the name of the test which produced the output ...
2020-06-01T16:11:34
ggml-org/llama.cpp
a2054e3a8ff0da3978a4acc18c349ff58554d336
dd5286805004db1f9ac3176a1cbbfe373bdda0f8
test-backend-ops : fix segfault in moe-expert-reduce test in support mode and coverage (#16936) * tests: fix segfault in moe-expert-reduce test in support mode and --show-coverage * tests: init gf and filter out fusion tests for support mode * tests: filter out fusion cases before calling eval_support * tests: filt...
[ { "path": "tests/test-backend-ops.cpp", "patch": "@@ -1454,6 +1454,8 @@ struct test_case {\n ggml_context_ptr ctx(ggml_init(params)); // smart ptr\n GGML_ASSERT(ctx);\n \n+ gf = ggml_new_graph_custom(ctx.get(), graph_nodes, false);\n+\n ggml_tensor * out = build_graph(ctx.get(...
2025-11-02T23:10:30
vuejs/vue
498dc1d89f14504c5e14b43a77c23039163e93a3
0198f9f9eea728ceb45af92eb2952fa97c9abfe1
chore(changelog): fix dead link (#12646) [ci skip]
[ { "path": "CHANGELOG.md", "patch": "@@ -7,7 +7,7 @@\n * **compiler-sfc:** use safer deindent default for compatibility with previous behavior ([b70a258](https://github.com/vuejs/vue/commit/b70a2585fcd102def2bb5a3b2b589edf5311122d))\n * pass element creation helper to static render fns for functional compone...
2022-07-13T01:47:20
huggingface/transformers
258da40efd0c148660a34821b05f995831cef9f9
0eb408551c894e9910b9a2b0fe15c02f25dba8f6
fix num_assistant_tokens with heuristic schedule (#28759) * fix heuristic num_assistant_tokens_schedule * Update src/transformers/generation/configuration_utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/generation/candidate_generator.py Co-authored-by: Jo...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -225,7 +225,10 @@ def update_candidate_strategy(self, input_ids: torch.LongTensor, scores: torch.F\n # Adjust the max number of assistant tokens to use in the next iteration. This is a simple heuristic,\n # probably...
2024-02-16T11:44:58
nodejs/node
c6e165b35e3f4b07ae879fcb50292c6b7284045f
ddc16e505b24275ce1f30098f4a0dad5025561a8
deps: limit regress/regress-crbug-514081 v8 test regress/regress-crbug-514081 allocates a 2G block of memory and if there are multiple variants running at the same time this can lead to crashes, OOM kills or the OS failing to allocate memory. This patch limits us to running a single variant of the test Fixes: https...
[ { "path": "deps/v8/test/mjsunit/mjsunit.status", "patch": "@@ -646,4 +646,13 @@\n 'mjsunit-assertion-error' : [SKIP],\n }], # no_harness\n \n+##############################################################################\n+# This test allocates a 2G block of memory and if there are multiple\n+# varients...
2016-05-09T22:44:42
golang/go
0452f9460f50f0f0aba18df43dc2b31906fb66cc
7dbbb5bacf4e52bc4efbd3caecdebf6ffb730783
runtime: fix race condition between timer and event handler This change fixes a race condition between beforeIdle waking up the innermost event handler and a timer causing a different goroutine to wake up at the exact same moment. This messes up the wasm event handling and leads to memory corruption. The solution is t...
[ { "path": "src/runtime/lock_futex.go", "patch": "@@ -238,8 +238,8 @@ func notetsleepg(n *note, ns int64) bool {\n \treturn ok\n }\n \n-func beforeIdle(int64) bool {\n-\treturn false\n+func beforeIdle(int64) (*g, bool) {\n+\treturn nil, false\n }\n \n func checkTimeouts() {}", "additions": 2, "deleti...
2020-04-25T16:53:53
vuejs/vue
a6e74985cf2eab6f16d03a8eda3bf3fc7950127c
98fb01c79c41c3b9f9134f0abb77d233ce4e5b44
fix: detect property add/deletion on reactive objects from setup when used in templates
[ { "path": "src/v3/reactivity/ref.ts", "patch": "@@ -119,7 +119,16 @@ export function proxyWithRefUnwrap(\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n- get: () => unref(source[key]),\n+ get: () => {\n+ const val = source[key]\n+ if (isRef(val)) ...
2022-07-12T10:59:26
ggml-org/llama.cpp
2f966b8ed87514e74bb96592217226cb6a6974dd
cd5e3b57541ecc52421130742f4d89acbcf77cd4
clip : use FA (#16837) * clip : use FA * cont : add warning about unsupported ops * implement "auto" mode for clip flash attn * clip : print more detailed op support info during warmup * cont : remove obsolete comment [no ci] * improve debugging message * trailing space * metal : remove stray return --------- ...
[ { "path": "ggml/src/ggml-metal/ggml-metal-device.m", "patch": "@@ -707,6 +707,7 @@ bool ggml_metal_device_supports_op(ggml_metal_device_t dev, const struct ggml_te\n if (op->src[0]->ne[0] != 32 &&\n op->src[0]->ne[0] != 40 &&\n op->src[0]->ne[0] != 64 &&\n+ ...
2025-11-02T20:21:48
huggingface/transformers
0eb408551c894e9910b9a2b0fe15c02f25dba8f6
aee11fe427b2f2fd66c3ef3cd91757ec00420ac9
Support : Leverage Accelerate for object detection/segmentation models (#28312) * made changes for object detection models * added support for segmentation models. * Made changes for segmentaion models * Changed import statements * solving conflicts * removed conflicts * Resolving commits * Remov...
[ { "path": "src/transformers/models/conditional_detr/modeling_conditional_detr.py", "patch": "@@ -30,6 +30,7 @@\n ModelOutput,\n add_start_docstrings,\n add_start_docstrings_to_model_forward,\n+ is_accelerate_available,\n is_scipy_available,\n is_timm_available,\n is_vision_availab...
2024-02-16T11:38:59
rust-lang/rust
835e6a694b543af769c84a99659505b2418d640e
42114c9633711ee1af15f564a3614d318390f07c
Move methods from `Map` to `TyCtxt`, part 2. Continuing the work started in #136466. Every method gains a `hir_` prefix, though for the ones that already have a `par_` or `try_par_` prefix I added the `hir_` after that.
[ { "path": "clippy_lints/src/default_numeric_fallback.rs", "patch": "@@ -52,11 +52,10 @@ declare_lint_pass!(DefaultNumericFallback => [DEFAULT_NUMERIC_FALLBACK]);\n \n impl<'tcx> LateLintPass<'tcx> for DefaultNumericFallback {\n fn check_body(&mut self, cx: &LateContext<'tcx>, body: &Body<'tcx>) {\n- ...
2025-02-17T03:17:57
nodejs/node
b4b7ac6ae811b2b5a3082468115dfb5a5246fe3f
cb9490577412046f050d786d7a0c842980149a20
doc: fix nits in esm.md * Fix some abbreviated wording, a typo and a link. * Wrap long lines at 80 characters. PR-URL: https://github.com/nodejs/node/pull/15315 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: ...
[ { "path": "doc/api/esm.md", "patch": "@@ -6,17 +6,21 @@\n \n <!--name=esm-->\n \n-Node contains support for ES Modules based upon the [the Node EP for ES Modules][].\n+Node.js contains support for ES Modules based upon the\n+[Node.js EP for ES Modules][].\n \n-Not all features of the EP are complete and wil...
2017-09-10T12:13:47
ggml-org/llama.cpp
cd5e3b57541ecc52421130742f4d89acbcf77cd4
87c9efc3b297b8a498716b1db3d061842e6fc85b
server : support unified cache across slots (#16736) * server : support unified context across slots * cont : fix speculative decoding initialization * context : fix n_ctx_per_seq computation * server : purge slots one by one * tests : add unified cache server tests * llama : update per-seq context computation *...
[ { "path": "include/llama.h", "patch": "@@ -461,7 +461,10 @@ extern \"C\" {\n LLAMA_API bool llama_supports_gpu_offload(void);\n LLAMA_API bool llama_supports_rpc (void);\n \n+ // NOTE: After creating a llama_context, it is recommended to query the actual values using these functions\n+ ...
2025-11-02T16:14:04
golang/go
7dbbb5bacf4e52bc4efbd3caecdebf6ffb730783
f1f8f9af9a55d73dfc6603a93bee0559fdc9024d
cmd/cgo,cmd/fix,misc/cgo: map the EGLConfig C type to uintptr in Go Similarly to EGLDisplay, EGLConfig is declared as a pointer but may contain non-pointer values. I believe this is the root cause of https://todo.sr.ht/~eliasnaur/gio/121. Change-Id: I412c4fbc2eef4aa028534d68bda95db98e3a365d Reviewed-on: https://go-r...
[ { "path": "misc/cgo/test/testdata/issue27054/egl.h", "patch": "@@ -5,3 +5,4 @@\n // This is the relevant part of EGL/egl.h.\n \n typedef void *EGLDisplay;\n+typedef void *EGLConfig;", "additions": 1, "deletions": 0, "language": "C/C++ Header" }, { "path": "misc/cgo/test/testdata/issue270...
2020-05-30T14:34:23
vuejs/vue
98fb01c79c41c3b9f9134f0abb77d233ce4e5b44
0825d3087f9f39435838329c16adc2a7bfccd51d
fix(reactivity): fix watch behavior inconsistency + deep ref shallow check fix #12643
[ { "path": "src/v3/apiWatch.ts", "patch": "@@ -196,12 +196,10 @@ function doWatch(\n getter = () => source.value\n forceTrigger = isShallow(source)\n } else if (isReactive(source)) {\n- getter = isArray(source)\n- ? () => {\n- ;(source as any).__ob__.dep.depend()\n- return...
2022-07-12T10:50:01
huggingface/transformers
aee11fe427b2f2fd66c3ef3cd91757ec00420ac9
8876ce8a5f7d0dd3a1a4fbb0acc8727dd0eea686
Fix max_length criteria when using inputs_embeds (#28994) * fix max_length for inputs_embeds * make style * Update src/transformers/generation/utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Static Cache: load models with MQA or GQA (#28975) * fix * fix tests * fix test...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -441,6 +441,9 @@ def _maybe_initialize_input_ids_for_generation(\n if isinstance(value, torch.Tensor):\n batch_size = value.shape[0]\n break\n+\n+ if \"inputs_embeds\" in model_kwargs:\n+ ...
2024-02-16T11:25:12
vuejs/vue
0825d3087f9f39435838329c16adc2a7bfccd51d
04b4703de72b1c1e686a3aa81d5b5b56799dabab
fix: do not set currentInstance in beforeCreate fix #12636
[ { "path": "src/core/instance/init.ts", "patch": "@@ -58,7 +58,7 @@ export function initMixin(Vue: typeof Component) {\n initLifecycle(vm)\n initEvents(vm)\n initRender(vm)\n- callHook(vm, 'beforeCreate')\n+ callHook(vm, 'beforeCreate', undefined, false /* setContext */)\n initInjection...
2022-07-12T10:19:19
ggml-org/llama.cpp
a864132ba546b6385922226480ee4e392aaa065c
d38d9f0877a5872daa3c5f06fb9a86376bf15d50
devops: fix failing s390x docker build (#16918)
[ { "path": ".devops/s390x.Dockerfile", "patch": "@@ -24,8 +24,9 @@ RUN --mount=type=cache,target=/root/.ccache \\\n -DCMAKE_C_COMPILER_LAUNCHER=ccache \\\n -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \\\n -DLLAMA_BUILD_TESTS=OFF \\\n- -DGGML_BACKEND_DL=OFF \\\n -DGGML_NATIVE=O...
2025-11-02T00:48:46
nodejs/node
22ae8c02480444b5d09fabeadbac65f54809c206
e13d1df89bbaf26601b6c1c8406113b80bb6a95c
assert: fix boxed primitives in deepStrictEqual Unbox all primitives and compare them as well instead of only comparing boxed strings. PR-URL: https://github.com/nodejs/node/pull/15050 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -134,7 +134,7 @@ changes:\n * `expected` {any}\n * `message` {any}\n \n-Generally identical to `assert.deepEqual()` with three exceptions:\n+Generally identical to `assert.deepEqual()` with a few exceptions:\n \n 1. Primitive values besides `NaN` are compared usin...
2017-08-27T01:44:07
golang/go
f1f8f9af9a55d73dfc6603a93bee0559fdc9024d
8da78625b1fe2a6141d331f54248913936dc49c7
container/list: fix typo in function comments The correct word to use here is 'another' not 'an other' Change-Id: Ie4f748ae94a5945dceb52779222ffd8cf36b8845 Reviewed-on: https://go-review.googlesource.com/c/go/+/235838 Reviewed-by: Robert Griesemer <gri@golang.org>
[ { "path": "src/container/list/list.go", "patch": "@@ -219,7 +219,7 @@ func (l *List) MoveAfter(e, mark *Element) {\n \tl.move(e, mark)\n }\n \n-// PushBackList inserts a copy of an other list at the back of list l.\n+// PushBackList inserts a copy of another list at the back of list l.\n // The lists l and ...
2020-05-31T00:42:34
huggingface/transformers
f3aa7db439a2a3942f76c115197fe953984ac334
b0a7f44f85e9483de346e2d94bdb32c2d6e0edc7
Fix a tiny typo in `generation/utils.py::GenerateEncoderDecoderOutput`'s docstring (#29044) Update utils.py
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -135,7 +135,7 @@ class GenerateDecoderOnlyOutput(ModelOutput):\n @dataclass\n class GenerateEncoderDecoderOutput(ModelOutput):\n \"\"\"\n- Outputs of encoder-decider generation models, when using non-beam methods.\n+ Outputs of encoder...
2024-02-15T18:12:31
rust-lang/rust
fd7b4bf4e19b19ebf9b536790ec1668a3e50fe6f
ce36a966c79e109dabeef7a47fe68e5294c6d71e
Move methods from `Map` to `TyCtxt`, part 2. Continuing the work started in #136466. Every method gains a `hir_` prefix, though for the ones that already have a `par_` or `try_par_` prefix I added the `hir_` after that.
[ { "path": "compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs", "patch": "@@ -386,8 +386,9 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n hir::intravisit::walk_pat(self, p);\n }\n }\n+ let tcx = self.infcx.tcx;\n let hir = self.infcx.tc...
2025-02-17T03:17:57
vuejs/vue
04b4703de72b1c1e686a3aa81d5b5b56799dabab
018d29af5fa171b2d2f4793c5d471f21bb7cd1e7
fix(sfc): fix sfc name inference type check fix #12637
[ { "path": "src/core/components/keep-alive.ts", "patch": "@@ -3,6 +3,7 @@ import { getFirstComponentChild } from 'core/vdom/helpers/index'\n import type VNode from 'core/vdom/vnode'\n import type { VNodeComponentOptions } from 'types/vnode'\n import type { Component } from 'types/component'\n+import { getCom...
2022-07-12T09:39:45
ggml-org/llama.cpp
2f68ce7cfd20e9e7098514bf730e5389b7bba908
e4a71599e5846110159955dec0008eb4aa24222b
webui: auto-refresh /props on inference start to resync model metadata (#16784) * webui: auto-refresh /props on inference start to resync model metadata - Add no-cache headers to /props and /slots - Throttle slot checks to 30s - Prevent concurrent fetches with promise guard - Trigger refresh from chat streaming for l...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte", "patch": "@@ -85,8 +85,8 @@\n \tlet displayedModel = $derived((): string | null => {\n \t\tif (!currentConfig.showModelInfo) return null;\n \n-\t\tif (currentConfig.modelSelectorEnabled) {\n-\t\t\treturn mes...
2025-11-01T18:49:51
nodejs/node
e13d1df89bbaf26601b6c1c8406113b80bb6a95c
a10856a7d31f9b641bf330fe9edfa9728f4b1c78
assert: support custom errors This commit adds special handling of Error instances when passed as the message argument to assert functions. With this commit, if an Error is passed as the message, then that Error is thrown instead of an AssertionError. PR-URL: https://github.com/nodejs/node/pull/15304 Reviewed-By: Col...
[ { "path": "doc/api/assert.md", "patch": "@@ -101,7 +101,9 @@ assert.deepEqual(obj1, obj4);\n \n If the values are not equal, an `AssertionError` is thrown with a `message`\n property set equal to the value of the `message` parameter. If the `message`\n-parameter is undefined, a default error message is assi...
2017-09-10T01:36:47