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 | d8d4ca6763af55e1715bbc1e0fadd10e5be41db3 | 8ff77a243cae0627a651fe852a6c07f7bcfce2a3 | fix: transition group should work with dynamic name (#6006) (#6019)
* fix: transition group should work with dynamic name (#6006)
* fix: improve remove class | [
{
"path": "src/platforms/web/runtime/class-util.js",
"patch": "@@ -42,12 +42,20 @@ export function removeClass (el: HTMLElement, cls: ?string) {\n } else {\n el.classList.remove(cls)\n }\n+ if (!el.classList.length) {\n+ el.removeAttribute('class')\n+ }\n } else {\n let cur = ... | 2017-07-05T01:17:35 |
rust-lang/rust | 9d81503252ccae45e19888e6f7c1e2a9dee8d0ee | 54670912dad92dcb7cc8fbc91f4ce1c3fc4cb49d | Fix a failing test
The reason this test passed previously is not because it was working as intended, but because prior to the previous commit we did not resolve the `use` at all!
Now, `use self as _` is invalid code anyway (it prints E0429), and because we fallback to the value namespace if we can't resolve in the ty... | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/rename.rs",
"patch": "@@ -2001,19 +2001,37 @@ impl Foo {\n \"foo\",\n r#\"\n fn f($0self) -> i32 {\n- use self as _;\n self.i\n }\n \"#,\n r#\"\n fn f(foo: _) -> i32 {\n- use self as _;\n foo.i\n }\n \"#,\n ... | 2025-02-04T17:10:04 |
huggingface/transformers | 14bb196cc8ab62bdc029b065558786d0d97ed98c | 9234caefb0241939f7b2b0ee3d73ed5ebf842ae9 | [doctring] Fix docstring for BlipTextConfig, BlipVisionConfig (#27173)
Update configuration_blip.py
edit docstrings | [
{
"path": "src/transformers/models/blip/configuration_blip.py",
"patch": "@@ -55,7 +55,7 @@ class BlipTextConfig(PretrainedConfig):\n \n \n Args:\n- vocab_size (`int`, *optional*, defaults to 30522):\n+ vocab_size (`int`, *optional*, defaults to 30524):\n Vocabulary size of the... | 2023-10-31T10:41:56 |
nodejs/node | 0401754b92e9029e7dddf54c165321f04001ba79 | 70b31adffabf0e7fb57c06e02b4f75bf1a212f5e | errors: prevent stack recalculation
Newer v8 versions exclude the constructor from the stack trace
so the recalculation of the trace can be avoided.
PR-URL: https://github.com/nodejs/node/pull/13743
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Sn... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -28,7 +28,6 @@ function makeNodeError(Base) {\n constructor(key, ...args) {\n super(message(key, args));\n this[kCode] = key;\n- Error.captureStackTrace(this, NodeError);\n }\n \n get name() {",
"additions": 0,
"deletions"... | 2017-06-17T13:24:04 |
vuejs/vue | 8ff77a243cae0627a651fe852a6c07f7bcfce2a3 | 275d95d0fe79b667dafb353b974812ed9837f1cf | fix typos in src/server/bundle-renderer/create-bundle-runner.js (#6010) | [
{
"path": "src/server/bundle-renderer/create-bundle-runner.js",
"patch": "@@ -115,7 +115,7 @@ export function createBundleRunner (entry, files, basedir, runInNewContext) {\n // styles injected by vue-style-loader.\n initialContext = sandbox.__VUE_SSR_CONTEXT__ = {}\n runner = evaluat... | 2017-07-01T13:36:23 |
ggml-org/llama.cpp | 4bb625b713fd9b294b4f7af87eaa752b710c7cc1 | 11ee0fea2a24da1d3206eeba8fc52b759d9dfb24 | Smoldocling support (#14597)
* support for smoldocling
* fixed merge conflicts
* Update gguf-py/gguf/tensor_mapping.py
Co-authored-by: Gabe Goodhart <gabe.l.hart@gmail.com>
* Update gguf-py/gguf/tensor_mapping.py
Co-authored-by: Gabe Goodhart <gabe.l.hart@gmail.com>
* merge conflicts
* pre tokenizer merge fix
... | [
{
"path": "src/llama-model.cpp",
"patch": "@@ -40,6 +40,7 @@ const char * llm_type_name(llm_type type) {\n case LLM_TYPE_190M: return \"190M\";\n case LLM_TYPE_220M: return \"220M\";\n case LLM_TYPE_250M: return \"250M\";\n+ case LLM_TYPE_256M: ... | 2025-07-10T17:41:00 |
rust-lang/rust | 54670912dad92dcb7cc8fbc91f4ce1c3fc4cb49d | 1ba7a38e4f95cd7d8666719140650ce551bd1753 | Fix IDE resolution of `use` inside a body
We stopped the expression search too early because `use` is an item. | [
{
"path": "src/tools/rust-analyzer/crates/hir/src/source_analyzer.rs",
"patch": "@@ -1252,7 +1252,11 @@ fn scope_for(\n node: InFile<&SyntaxNode>,\n ) -> Option<ScopeId> {\n node.ancestors_with_macros(db.upcast())\n- .take_while(|it| !ast::Item::can_cast(it.kind()) || ast::MacroCall::can_cast... | 2025-02-04T16:30:50 |
huggingface/transformers | 9234caefb0241939f7b2b0ee3d73ed5ebf842ae9 | b5c8e23f0f263269404e1f00da84a9790b5ca845 | [docstring] Fix docstring for AltCLIPTextConfig, AltCLIPVisionConfig and AltCLIPConfig (#27128)
* [docstring] Fix docstring for AltCLIPVisionConfig, AltCLIPTextConfig + cleaned some docstring
* Removed entries from check_docstring.py
* Removed entries from check_docstring.py
* Removed entry from check_docstri... | [
{
"path": "src/transformers/models/altclip/configuration_altclip.py",
"patch": "@@ -61,12 +61,19 @@ class AltCLIPTextConfig(PretrainedConfig):\n max_position_embeddings (`int`, *optional*, defaults to 514):\n The maximum sequence length that this model might ever be used with. Typically ... | 2023-10-31T10:20:14 |
nodejs/node | 70b31adffabf0e7fb57c06e02b4f75bf1a212f5e | 3e178848a5f5f128f38b0ede5ab73210194c8aa6 | console: use a plain object for the the error stack
Using a object instead of an Error is sufficient as the Error
itself won't be used but only the stack trace that would
otherwise be created twice.
This improves the overall .trace() performance.
PR-URL: https://github.com/nodejs/node/pull/13743
Reviewed-By: Luigi P... | [
{
"path": "lib/console.js",
"patch": "@@ -151,11 +151,10 @@ Console.prototype.timeEnd = function timeEnd(label) {\n \n \n Console.prototype.trace = function trace(...args) {\n- // TODO probably can to do this better with V8's debug object once that is\n- // exposed.\n- var err = new Error();\n- err.name... | 2017-06-17T13:20:39 |
vuejs/vue | eea0920f14d0ea63d1b94c648eeb36ac7dfb4b05 | 458030ae19a51982d028dcacfc77ab2cfac8ac26 | fix: improve Vue.set/Vue.delete API to support multi type of array index (#5973)
related #5884 | [
{
"path": "src/core/observer/index.js",
"patch": "@@ -6,6 +6,7 @@ import {\n def,\n isObject,\n isPlainObject,\n+ isValidArrayIndex,\n hasProto,\n hasOwn,\n warn,\n@@ -189,7 +190,7 @@ export function defineReactive (\n * already exist.\n */\n export function set (target: Array<any> | Object, ... | 2017-07-01T03:22:25 |
ggml-org/llama.cpp | 704bb7a71c01dc07c1478b85f6322bf5dfde1eaf | 435a6d10d618a015060e45a38c7e9f27f4243316 | SYCL: Initial set_rows kernel implementation (#14562)
* SYCL: Initial set_rows kernel implementation
* Revert max_threads to 256
* Refactor set_rows and address review comments
* Deduplicate conversion function
* Remove guard before kernel launch and refactor
* Fix and add back SFINAE | [
{
"path": "ggml/src/ggml-sycl/backend.hpp",
"patch": "@@ -30,6 +30,7 @@\n #include \"outprod.hpp\"\n #include \"quants.hpp\"\n #include \"rope.hpp\"\n+#include \"set_rows.hpp\"\n #include \"softmax.hpp\"\n #include \"tsembd.hpp\"\n #include \"wkv.hpp\"",
"additions": 1,
"deletions": 0,
"language... | 2025-07-10T08:29:38 |
rust-lang/rust | 5b981a8e9182bc81e76e7eb778611582e5e636be | 2431977ecfe6e88e71ddad8bf0bb9a10f9a6256c | Quickfix `//@ check-pass` is enough
tests/ui/match/enum-and-break-in-match-issue-41213.rs
and tests/ui/while/while-let-scope-issue-40235.rs doesn't
need to be run. | [
{
"path": "tests/ui/match/enum-and-break-in-match-issue-41213.rs",
"patch": "@@ -1,4 +1,4 @@\n-//@ run-pass\n+//@ check-pass\n #![allow(dead_code)]\n enum A {\n A1,",
"additions": 1,
"deletions": 1,
"language": "Rust"
},
{
"path": "tests/ui/while/while-let-scope-issue-40235.rs",
... | 2025-02-04T16:12:43 |
huggingface/transformers | d39352d12c3f6a301e6c9d99218d1770eb513aca | e971486d891a7a580ba3f84d8a4b525c0c51850a | Fix import of torch.utils.checkpoint (#27155)
* Fix import
* Apply suggestions from code review
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
---------
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -33,6 +33,7 @@\n from packaging import version\n from torch import Tensor, nn\n from torch.nn import CrossEntropyLoss, Identity\n+from torch.utils.checkpoint import checkpoint\n \n from .activations import get_activation\n from .configuration_util... | 2023-10-30T20:08:29 |
vuejs/vue | 458030ae19a51982d028dcacfc77ab2cfac8ac26 | 34d8c796ac6a8e47bf23155bad71d07fafd1aa51 | fix: v-bind object should not override props on scopedSlots (#5995)
* v-bind object should not override props on scopedSlots
* Update render-slot.js | [
{
"path": "src/core/instance/render-helpers/render-slot.js",
"patch": "@@ -15,7 +15,7 @@ export function renderSlot (\n if (scopedSlotFn) { // scoped slot\n props = props || {}\n if (bindObject) {\n- extend(props, bindObject)\n+ props = extend(extend({}, bindObject), props)\n }\n ... | 2017-06-30T06:58:07 |
ggml-org/llama.cpp | 435a6d10d618a015060e45a38c7e9f27f4243316 | f9a867f5921a85f3fa64d7b067f4c8ffc5f62eb4 | llama : minor coding style fix for smollm3 (#14605) | [
{
"path": "src/llama-arch.cpp",
"patch": "@@ -1777,26 +1777,26 @@ static const std::map<llm_arch, std::map<llm_tensor, const char *>> LLM_TENSOR_N\n },\n },\n {\n- LLM_ARCH_UNKNOWN,\n+ LLM_ARCH_SMOLLM3,\n {\n- { LLM_TENSOR_TOKEN_EMBD, \"token_embd\" },\n... | 2025-07-10T07:00:20 |
nodejs/node | 3e178848a5f5f128f38b0ede5ab73210194c8aa6 | 2a46e57d139a93caaff4dc63000e61b9a27669bb | errors: improve ERR_INVALID_ARG_TYPE
The error message might be misleading if an object property
was the issue and not the argument itself.
Fix this by checking if a argument or a property is passed
to the handler function.
PR-URL: https://github.com/nodejs/node/pull/13730
Reviewed-By: Refael Ackermann <refack@gmail... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -192,7 +192,8 @@ E('ERR_V8BREAKITERATOR', 'full ICU data not installed. ' +\n function invalidArgType(name, expected, actual) {\n const assert = lazyAssert();\n assert(name, 'name is required');\n- var msg = `The \"${name}\" argument must be ${oneOf(expe... | 2017-06-16T21:38:58 |
huggingface/transformers | e971486d891a7a580ba3f84d8a4b525c0c51850a | f7ea959b96f26fd978e7f5acb2e22c11a58bf20e | Fix: typos in README.md (#27154) | [
{
"path": "README.md",
"patch": "@@ -244,7 +244,7 @@ The model itself is a regular [Pytorch `nn.Module`](https://pytorch.org/docs/sta\n \n - This library is not a modular toolbox of building blocks for neural nets. The code in the model files is not refactored with additional abstractions on purpose, so tha... | 2023-10-30T19:12:09 |
vuejs/vue | 34d8c796ac6a8e47bf23155bad71d07fafd1aa51 | 049f3171a9d2e97f62c209a4b78a71ec9dae810f | fix: check enterToClass/leaveToClass existence before adding it (#5912)
related: #5800 | [
{
"path": "src/platforms/web/runtime/transition-util.js",
"patch": "@@ -69,8 +69,11 @@ export function nextFrame (fn: Function) {\n }\n \n export function addTransitionClass (el: any, cls: string) {\n- (el._transitionClasses || (el._transitionClasses = [])).push(cls)\n- addClass(el, cls)\n+ const transit... | 2017-06-30T06:57:16 |
ggml-org/llama.cpp | 4a5686da22057867c23bd4a6be941ddc8c51e585 | 98bab638fb28cf95a5a66dd2d51b40d6c8f6d69a | llama : support Jamba hybrid Transformer-Mamba models (#7531)
* wip: llama : separate recurrent states from the KV cache
This will be necessary to support Jamba
(and other recurrent models mixed with Attention).
Doesn't compile yet, and finding a slot isn't yet done correctly for recurrent states.
* llama : use std... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -4974,6 +4974,123 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n yield (new_name, data_torch)\n \n \n+@ModelBase.register(\"JambaForCausalLM\")\n+class JambaModel(TextModel):\n+ model_arch = gguf.MODEL_ARCH.JAM... | 2025-07-09T18:59:57 |
nodejs/node | 259466c6f4e01f547b1400dc7caf7df471d6f0aa | 3e18c49657bcb0f2504def3d7d6d900f0c25e357 | doc: fix nits in guides/using-internal-errors.md
PR-URL: https://github.com/nodejs/node/pull/13820
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: David Cai <da... | [
{
"path": "doc/guides/using-internal-errors.md",
"patch": "@@ -27,7 +27,7 @@ are intended to replace existing `Error` objects within the Node.js source.\n For instance, an existing `Error` such as:\n \n ```js\n- const err = new TypeError('Expected string received ' + type);\n+const err = new TypeError(`Exp... | 2017-06-20T14:14:17 |
golang/go | 85e87f9d81c00d38a196c40f3a93477bc4b3294f | 1f231d74f6e6b7ce1ccdbf49fc12b022dd875196 | time: stop referring to timerproc in comment
The timerproc function has been removed.
Fixes #37774
Change-Id: Ice5e1d8fec91cd6ee7f032e0d21e8315a26bc6a3
Reviewed-on: https://go-review.googlesource.com/c/go/+/222783
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> | [
{
"path": "src/time/internal_test.go",
"patch": "@@ -67,12 +67,13 @@ func CheckRuntimeTimerOverflow() {\n \t\tresetTimer(r, 0)\n \t}()\n \n-\t// If the test fails, we will hang here until the timeout in the testing package\n-\t// fires, which is 10 minutes. It would be nice to catch the problem sooner,\n-\t... | 2020-03-11T05:11:00 |
vuejs/vue | 049f3171a9d2e97f62c209a4b78a71ec9dae810f | 27a1b03827d431ef5dc3ad301099b30179551cd7 | fix: support plugin with multi version vue (#5985)
close #5970 | [
{
"path": "src/core/global-api/use.js",
"patch": "@@ -4,13 +4,11 @@ import { toArray } from '../util/index'\n \n export function initUse (Vue: GlobalAPI) {\n Vue.use = function (plugin: Function | Object) {\n- const cid = this.cid\n- if (!plugin._installed) {\n- plugin._installed = {}\n- }\n... | 2017-06-30T03:20:43 |
huggingface/transformers | f7ea959b96f26fd978e7f5acb2e22c11a58bf20e | 5bbf6712767a84ac4c4de1a5525a1b4e697064f7 | [`core`/ `GC` / `tests`] Stronger GC tests (#27124)
* stronger GC tests
* better tests and skip failing tests
* break down into 3 sub-tests
* break down into 3 sub-tests
* refactor a bit
* more refactor
* fix
* last nit
* credits contrib and suggestions
* credits contrib and suggestions
-... | [
{
"path": "tests/models/align/test_modeling_align.py",
"patch": "@@ -224,6 +224,18 @@ def test_training(self):\n def test_training_gradient_checkpointing(self):\n pass\n \n+ @unittest.skip(\n+ reason=\"This architecure seem to not compute gradients properly when using GC, check: https:... | 2023-10-30T18:53:46 |
ggml-org/llama.cpp | 98bab638fb28cf95a5a66dd2d51b40d6c8f6d69a | 26a48ad699d50b6268900062661bd22f3e792579 | ggml : add ggml_scale_bias (#14417)
* ggml : add ggml_scale_bias
* ggml_vec_mad1_f32
* add more simd
* add CUDA
* sycl
* vulkan
* cann (placeholder)
* opencl
* will this fix cpu?
* fix cuda
* suggestions from coderabbit
* fix cann compile error
* vDSP_vsmsa
* rm __ARM_FEATURE_SVE
* use memcpy for op para... | [
{
"path": "ggml/include/ggml.h",
"patch": "@@ -1297,6 +1297,19 @@ extern \"C\" {\n struct ggml_tensor * a,\n float s);\n \n+ // x = s * a + b\n+ GGML_API struct ggml_tensor * ggml_scale_bias(\n+ struct ggml_context * ctx,\n+ struct ggml_tensor * ... | 2025-07-09T16:16:12 |
nodejs/node | 3e18c49657bcb0f2504def3d7d6d900f0c25e357 | 9a655e98a499cfa4c7db7664a5b2930a1e97af21 | n-api: avoid crash in napi_escape_scope()
V8 will crash if escape is called twice on the same
scope.
Add checks to avoid crashing if napi_escape_scope() is
called to try and do this.
Add test that tries to call napi_create_scope() twice.
PR-URL: https://github.com/nodejs/node/pull/13651
Reviewed-By: Jason Gincherea... | [
{
"path": "src/node_api.cc",
"patch": "@@ -17,6 +17,7 @@\n #include <vector>\n #include \"uv.h\"\n #include \"node_api.h\"\n+#include \"node_internals.h\"\n \n #define NAPI_VERSION 1\n \n@@ -156,14 +157,20 @@ class HandleScopeWrapper {\n // across different versions.\n class EscapableHandleScopeWrapper {\n... | 2017-06-13T04:40:00 |
golang/go | 1f231d74f6e6b7ce1ccdbf49fc12b022dd875196 | 5d70cb066756369f99be6ffa69b639626d95e647 | runtime: emit more specific errors from checkptr
Update error messages for pointer alignment checks and pointer
arithmetic checks so that each type of error has a unique error
message.
Fixes #37488
Change-Id: Ida2c2fa3f041a3307d665879a463f9e8f2c1fd03
Reviewed-on: https://go-review.googlesource.com/c/go/+/223037
Revi... | [
{
"path": "src/runtime/checkptr.go",
"patch": "@@ -10,18 +10,18 @@ func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {\n \t// Check that (*[n]elem)(p) is appropriately aligned.\n \t// TODO(mdempsky): What about fieldAlign?\n \tif uintptr(p)&(uintptr(elem.align)-1) != 0 {\n-\t\tthrow(\"checkpt... | 2020-03-11T19:05:21 |
vuejs/vue | de42186d52562a0ce506580484ff64fe86b765bd | e4da249ab8ef32a0b8156c840c9d2b9773090f8a | fix(ssr): fix bundleRenderer mapped async chunks caching check (#5963)
_mappedfiles => _mappedFiles | [
{
"path": "src/server/template-renderer/index.js",
"patch": "@@ -217,7 +217,7 @@ export default class TemplateRenderer {\n }\n \n getUsedAsyncFiles (context: Object): ?Array<string> {\n- if (!context._mappedfiles && context._registeredComponents && this.mapFiles) {\n+ if (!context._mappedFiles && ... | 2017-06-30T00:58:08 |
huggingface/transformers | 3224c0c13fc9ef351c7a1a6e9f1401b3ce13859a | cd19b193785fd9d224b8d2b509c63387bb48bc14 | Remove some Kosmos-2 `copied from` (#27149)
* fix
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/kosmos2/modeling_kosmos2.py",
"patch": "@@ -52,7 +52,6 @@\n ]\n \n \n-# Copied from transformers.models.bart.modeling_bart._expand_mask\n def _expand_mask(mask: torch.Tensor, dtype: torch.dtype, tgt_len: Optional[int] = None):\n \"\"\"\n Expands attention_mask from... | 2023-10-30T15:07:27 |
rust-lang/rust | 1ce2d7eacaca018a741bdf39b852438f38da91ba | 93b72cefca52b4e1ea9dfb37700f7c8d87cd416c | Prevent panics from tearing down worker threads | [
{
"path": "src/tools/rust-analyzer/crates/rust-analyzer/src/task_pool.rs",
"patch": "@@ -1,6 +1,8 @@\n //! A thin wrapper around [`stdx::thread::Pool`] which threads a sender through spawned jobs.\n //! It is used in [`crate::global_state::GlobalState`] throughout the main loop.\n \n+use std::panic::UnwindS... | 2025-02-04T13:43:01 |
ggml-org/llama.cpp | 04655063c47af6cbced295c8c7ad369402b15300 | 20b7bf8a32259ad9189a4797fd3e3a859c537b99 | model : add support for Falcon-H1 family (#14534)
* v1
* push more fixes
* another fix
* fix
* more fixes
* minor fix
* more cleaning on python code
* python fixes
* changed precision for multipliers float 32->64
* fixes
* another fix
* fix
* pre-norm -> norm
* fix
* Revert "fix"
This reverts commit 243... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -818,6 +818,18 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"7e57df22b1fe23a7b1e1c7f3dc4e3f96d43a4eb0836d0c6bdc3436d7b2f1c664\":\n # ref: https://huggingface.co/tencent/Hunyuan-A13B-Instruct\n res = \"hunyu... | 2025-07-09T08:03:49 |
golang/go | 5d70cb066756369f99be6ffa69b639626d95e647 | 29b36a88ab0b179c140612e7c907042b2a388587 | runtime: leave cleantimers early if G is being preempted
The cleantimers can run for a while in some unlikely cases.
If the GC is trying to preempt the G, it is forced to wait as the
G is holding timersLock. To avoid introducing a GC delay,
return from cleantimers if the G has a preemption request.
Fixes #37779
Chan... | [
{
"path": "src/runtime/time.go",
"patch": "@@ -499,10 +499,20 @@ func resettimer(t *timer, when int64) {\n // slows down addtimer. Reports whether no timer problems were found.\n // The caller must have locked the timers for pp.\n func cleantimers(pp *p) {\n+\tgp := getg()\n \tfor {\n \t\tif len(pp.timers) ... | 2020-03-12T05:03:50 |
huggingface/transformers | 6b466771b09437b05c69e8d5ac5a2ca5a97e175d | 576994963f2940587a7753d4af991fec89ad0cb9 | [`tests` / `Quantization`] Fix bnb test (#27145)
* fix bnb test
* link to GH issue | [
{
"path": "tests/quantization/bnb/test_mixed_int8.py",
"patch": "@@ -124,13 +124,13 @@ def tearDown(self):\n gc.collect()\n torch.cuda.empty_cache()\n \n- def test_get_keys_to_not_convert(self):\n+ @unittest.skip(\"Un-skip once https://github.com/mosaicml/llm-foundry/issues/703 is reso... | 2023-10-30T14:43:08 |
rust-lang/rust | b1b388e98a361b2a3b5c122cb8811ee4503575c6 | c705b7d6f748823352f95247835a5839dcbd7bed | fix NLL TLS end of function spans | [
{
"path": "compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs",
"patch": "@@ -3112,12 +3112,24 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n drop_span, borrow_span\n );\n \n+ // `TerminatorKind::Return`'s span (the `drop_span` here) `lo` can be subtly wrong a... | 2025-02-03T10:42:50 |
vuejs/vue | 51c595a7cef24e12094f66e0f8934fa41edde07d | e01c09adad84fbcf9821ba7bbfc5e3300b2ba853 | feat(keep-alive): support Array for include and exclude (#5956)
* allow array index on keep-alive:include/exclude
* add Array in patternTypes
* fix flow type
* add flow type for include/exclude in watch
* add test case | [
{
"path": "src/core/components/keep-alive.js",
"patch": "@@ -5,14 +5,16 @@ import { getFirstComponentChild } from 'core/vdom/helpers/index'\n \n type VNodeCache = { [key: string]: ?VNode };\n \n-const patternTypes: Array<Function> = [String, RegExp]\n+const patternTypes: Array<Function> = [String, RegExp, A... | 2017-06-30T00:50:30 |
nodejs/node | 9a655e98a499cfa4c7db7664a5b2930a1e97af21 | d1027695b86776c2df8e9aa0a60ee918a69967e7 | stream: fix `undefined` in Readable object mode
Fixes `this.push(undefined)`.
Fixes: https://github.com/nodejs/node/issues/13753
PR-URL: https://github.com/nodejs/node/pull/13760
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Matteo Collina <matteo.col... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -215,8 +215,8 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' &&\n- Object.... | 2017-06-18T10:03:38 |
golang/go | 29b36a88ab0b179c140612e7c907042b2a388587 | e221a75deab7843d5414154000f5bea7abcb60c3 | cmd/objdump: guard against out-of-range lines from directives.
//line bogo.go:9999999 will cause 'go tool objdump' to crash
unless bogo.go has that many lines. Guard the array index
and return innocuous values (nil, nil) from the file cache.
Fixes #36683
Change-Id: I4a9f8444dc611654d270cc876e8848dfd2f84770
Reviewed... | [
{
"path": "src/cmd/internal/objfile/disasm.go",
"patch": "@@ -175,6 +175,11 @@ func (fc *FileCache) Line(filename string, line int) ([]byte, error) {\n \t\tfc.files.MoveToFront(e)\n \t}\n \n+\t// because //line directives can be out-of-range. (#36683)\n+\tif line-1 >= len(cf.Lines) || line-1 < 0 {\n+\t\tret... | 2020-03-11T17:36:42 |
huggingface/transformers | 576994963f2940587a7753d4af991fec89ad0cb9 | 691fd8fdded34497451bc638716eb8fbd484883a | Fix some tests using `"common_voice"` (#27147)
* Use mozilla-foundation/common_voice_11_0
* Update expected values
* Update expected values
* For test_word_time_stamp_integration
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/wav2vec2/test_modeling_wav2vec2.py",
"patch": "@@ -97,7 +97,7 @@ def _test_wav2vec2_with_lm_invalid_pool(in_queue, out_queue, timeout):\n try:\n _ = in_queue.get(timeout=timeout)\n \n- ds = load_dataset(\"common_voice\", \"es\", split=\"test\", streaming=True)\n+ ... | 2023-10-30T14:27:15 |
vuejs/vue | 00a3085628e78176fe02a3c5eb58bb0199c6ca91 | f6cd44c48b83640e5d3fbbea46d7b1b9cb439543 | test: correcting existing test case (#5909)
Fix the location of the test case | [
{
"path": "test/unit/features/global-api/set-delete.spec.js",
"patch": "@@ -52,6 +52,24 @@ describe('Global API: set/delete', () => {\n expect(vm.$el.innerHTML).toBe('')\n }).then(done)\n })\n+\n+ it('be able to use string type index in array', done => {\n+ const vm = new Vue({\n+ ... | 2017-06-29T04:39:02 |
nodejs/node | 3d0ef562640d6dfb8da10653ba2fec3ebcb98cf3 | 32c7f114c54190dbdfb5f21f1432cf6626777341 | inspector, test: Fix test bug detected by Coverity
Error value was not checked. Turns out, uv_ip6_addr was actually called
on malformed IP (square brackets should not have been included).
PR-URL: https://github.com/nodejs/node/pull/13799
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell... | [
{
"path": "test/cctest/test_inspector_socket_server.cc",
"patch": "@@ -172,12 +172,14 @@ class SocketWrapper {\n contents_.clear();\n uv_tcp_init(loop_, &socket_);\n union {sockaddr generic; sockaddr_in v4; sockaddr_in6 v6;} addr;\n+ int err = 0;\n if (v6) {\n- uv_ip6_addr(host.c_str... | 2017-06-19T17:37:27 |
golang/go | e221a75deab7843d5414154000f5bea7abcb60c3 | c4113b64c2b21e55949f7b28249f03c25bf63072 | cmd/go: improve pseudo-version timestamp error
The previous "invalid pseudo-version: does not match version-control
timestamp" error message used a different timestamp format than the
format used in go.mod and go.sum. For cut-and-paste-ability this patch
makes the two consistent.
Fixes #36974
Change-Id: I21f344ab989... | [
{
"path": "src/cmd/go/internal/modfetch/coderepo.go",
"patch": "@@ -563,7 +563,7 @@ func (r *codeRepo) validatePseudoVersion(info *codehost.RevInfo, version string)\n \t\treturn err\n \t}\n \tif !t.Equal(info.Time.Truncate(time.Second)) {\n-\t\treturn fmt.Errorf(\"does not match version-control timestamp (%... | 2020-02-02T05:58:37 |
vuejs/vue | f6cd44c48b83640e5d3fbbea46d7b1b9cb439543 | 55816543c46e75aa53481ac95a89ff6f87a2d704 | fix: ensure cleanup in watcher.get (#5988)
watcher.get should always clean up observee stack in order to prevent memory leak. Also, non-user
defined watch should rethrow error.
fix #5975 | [
{
"path": "src/core/observer/watcher.js",
"patch": "@@ -94,22 +94,23 @@ export default class Watcher {\n pushTarget(this)\n let value\n const vm = this.vm\n- if (this.user) {\n- try {\n- value = this.getter.call(vm, vm)\n- } catch (e) {\n+ try {\n+ value = this.getter... | 2017-06-29T04:38:14 |
rust-lang/rust | 53b8de1c9a9f027c9d2effc5eeed2fc99cf7068d | c705b7d6f748823352f95247835a5839dcbd7bed | bootstrap: add wrapper macros for `tracing`-gated tracing macros
- Add wrapper macros for `error!`, `warn!`, `info!`, `debug!` and
`trace!`, which `cfg(feature = "tracing")`-gates the underlying
`tracing` macros.
- This is not done for `span!` or `event!` because they can return span
guards, and you can't really... | [
{
"path": "src/bootstrap/src/bin/main.rs",
"patch": "@@ -11,12 +11,12 @@ use std::str::FromStr;\n use std::{env, process};\n \n use bootstrap::{\n- Build, CONFIG_CHANGE_HISTORY, Config, Flags, Subcommand, find_recent_config_change_ids,\n+ Build, CONFIG_CHANGE_HISTORY, Config, Flags, Subcommand, debug,... | 2025-01-31T06:43:49 |
huggingface/transformers | 691fd8fdded34497451bc638716eb8fbd484883a | d751dbecb267e4e3ae77352e97a6470da93a0094 | Add `Kosmos-2` model (#24709)
* Add KOSMOS-2 model
* update
* update
* update
* address review comment - 001
* address review comment - 002
* address review comment - 003
* style
* Apply suggestions from code review
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
... | [
{
"path": "README.md",
"patch": "@@ -386,6 +386,7 @@ Current number of checkpoints: ** (from Beihang University, UC Berkeley, Rutgers University, SEDD Company) released with the pa... | 2023-10-30T12:32:17 |
nodejs/node | 32c7f114c54190dbdfb5f21f1432cf6626777341 | 1c314f5facb98e4790ff60f0104f5d18bc3eb53e | test: improve async-hooks/test-callback-error
PR-URL: https://github.com/nodejs/node/pull/13559
Fixes: https://github.com/nodejs/node/issues/13527
Reviewed-By: Andreas Madsen <amwebdk@gmail.com> | [
{
"path": "test/async-hooks/async-hooks.status",
"patch": "@@ -0,0 +1,21 @@\n+prefix async-hooks\n+\n+# To mark a test as flaky, list the test name in the appropriate section\n+# below, without \".js\", followed by \": PASS,FLAKY\". Example:\n+# sample-test : PASS,FLAKY\n+\n+[true] # ... | 2017-06-08T20:48:08 |
golang/go | ad92148058ee060ddbc4ff789f537d8d94f57c5d | c44af2d4a23a30cb0930adfca9e56b3d1e04a35c | [dev.link] cmd/link: demote DWARF line symbols to anonymous aux
Convert DWARF .debug_line symbols to anonymous aux syms, so as
to save space in object files and reduce the number of symbols
that have to be added to the linker's lookup tables.
Change-Id: I5b350f036e21a7a7128cb08148ab7c243aaf0d0b
Reviewed-on: https://g... | [
{
"path": "src/cmd/internal/dwarf/dwarf.go",
"patch": "@@ -21,9 +21,6 @@ import (\n // InfoPrefix is the prefix for all the symbols containing DWARF info entries.\n const InfoPrefix = \"go.info.\"\n \n-// DebugLinesPrefix is the prefix for all the symbols containing DWARF debug_line information from the com... | 2020-03-11T15:16:19 |
ggml-org/llama.cpp | 20b7bf8a32259ad9189a4797fd3e3a859c537b99 | 6efcd65945a98cf6883cdd9de4c8ccd8c79d219a | convert : fix smollm3 jinja template (#14586) | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -6692,6 +6692,16 @@ def prepare_tensors(self):\n class SmolLM3Model(LlamaModel):\n model_arch = gguf.MODEL_ARCH.SMOLLM3\n \n+ def set_vocab(self):\n+ super().set_vocab()\n+ # remove unsupported array slicing in chat template\n+ # re... | 2025-07-09T06:26:13 |
vuejs/vue | 55816543c46e75aa53481ac95a89ff6f87a2d704 | 0cd6ef321b3168d6c46c7a870c3d2a53fd9d4bde | fix(ssr): reference error when create $ssrContext for root component (#5981)
fix #5941 | [
{
"path": "src/core/index.js",
"patch": "@@ -11,7 +11,7 @@ Object.defineProperty(Vue.prototype, '$isServer', {\n Object.defineProperty(Vue.prototype, '$ssrContext', {\n get () {\n /* istanbul ignore next */\n- return this.$vnode.ssrContext\n+ return this.$vnode && this.$vnode.ssrContext\n }\n ... | 2017-06-29T04:37:03 |
nodejs/node | 1c314f5facb98e4790ff60f0104f5d18bc3eb53e | 76340e3f1007998c7cb9d69fa1a42d42663ca6c2 | src: don't set --icu_case_mapping flag on startup
It's on by default now and the flag will be removed in the near future.
Fixes: https://github.com/nodejs/node/issues/13688
PR-URL: https://github.com/nodejs/node/pull/13698
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.... | [
{
"path": "src/node.cc",
"patch": "@@ -4305,14 +4305,6 @@ void Init(int* argc,\n // Make inherited handles noninheritable.\n uv_disable_stdio_inheritance();\n \n-#if defined(NODE_HAVE_I18N_SUPPORT)\n- // Set the ICU casing flag early\n- // so the user can disable a flag --foo at run-time by passing\n-... | 2017-06-15T12:36:39 |
golang/go | c44af2d4a23a30cb0930adfca9e56b3d1e04a35c | 8634642f9aea9c432aa4cf392eba31de96f75726 | [dev.link] cmd/internal/obj: add dump of aux symbols for -S=2
For compiler developers interested in seeing DWARF generation details,
this patch provides symbol "debug asm" dumps for DWARF aux symbols
when -S=2 is in effect.
Change-Id: I5a0b6b65ce7b708948cbbf23c6b0d279bd4f8d9f
Reviewed-on: https://go-review.googlesour... | [
{
"path": "src/cmd/internal/obj/objfile.go",
"patch": "@@ -21,7 +21,11 @@ func WriteObjFile(ctxt *Link, bout *bio.Writer, pkgpath string) {\n }\n \n func (ctxt *Link) writeSymDebug(s *LSym) {\n-\tfmt.Fprintf(ctxt.Bso, \"%s \", s.Name)\n+\tctxt.writeSymDebugNamed(s, s.Name)\n+}\n+\n+func (ctxt *Link) writeSy... | 2020-03-11T15:18:00 |
vuejs/vue | 4acc8c8be1971112be45e0feb7fb7eddbfc9d247 | 4f8f4db5dd529a18753150f1c4f4528fd0dab6b0 | fix(v-model): use consistent behavior during IME composition for other text-like input types (fix #5902) | [
{
"path": "src/platforms/web/runtime/directives/model.js",
"patch": "@@ -3,9 +3,11 @@\n * properties to Elements.\n */\n \n-import { looseEqual, looseIndexOf } from 'shared/util'\n+import { looseEqual, looseIndexOf, makeMap } from 'shared/util'\n import { warn, isAndroid, isIE9, isIE, isEdge } from 'core/... | 2017-06-17T08:32:08 |
ggml-org/llama.cpp | 699f4392a33f57c3352cf8d60bdc53db7ca235e7 | 08382869a2d6dca5d84710f2f82cc17a9696585a | model : fix hunyuan moe chat template (#14584)
Signed-off-by: stevenkuang <stevenkuang@tencent.com> | [
{
"path": "src/llama-chat.cpp",
"patch": "@@ -680,9 +680,6 @@ int32_t llm_chat_apply_template(\n ss << \"<|startoftext|>\" << message->content << \"<|extra_0|>\";\n }\n }\n- if (add_ass) {\n- ss << \"<|startoftext|>\";\n- }\n } else {\n ... | 2025-07-08T16:29:29 |
huggingface/transformers | e830495c1ca7fa12653b6dec6ffe0b244ac4dc1d | 160432110c116003705fd3740e5b1d6690d9d18e | Fix data2vec-audio note about attention mask (#27116)
fix data2vec audio note about attention mask | [
{
"path": "src/transformers/models/data2vec/modeling_data2vec_audio.py",
"patch": "@@ -786,12 +786,11 @@ def _get_feature_vector_attention_mask(\n \n <Tip warning={true}>\n \n- `attention_mask` should only be passed if the corresponding processor has `config.return_attention_mask ==\n... | 2023-10-30T10:52:24 |
vuejs/vue | 213f136a6ebf4e18e65f4da7dce6e7293e585b5a | 2f628c3114a3d3c859d46827455f3eae0e4edd08 | fix slot resolved incorrect with abstract component (fix #5888) (#5895) | [
{
"path": "src/core/vdom/create-component.js",
"patch": "@@ -169,8 +169,14 @@ export function createComponent (\n \n if (isTrue(Ctor.options.abstract)) {\n // abstract components do not keep anything\n- // other than props & listeners\n+ // other than props & listeners & slot\n+\n+ // work ar... | 2017-06-16T18:03:36 |
nodejs/node | 76340e3f1007998c7cb9d69fa1a42d42663ca6c2 | 330349f706a1f21234eee9b9d75d7c1e953ad1f0 | test: fix RegExp nits
* Remove needless RegExp flag
In fixed case, `/g` flag is needless in the boolean context.
* Remove needless RegExp capturing
Use non-capturing grouping or remove capturing completely when:
* capturing is useless per se, e.g. in test() check;
* captured groups are not used afterward a... | [
{
"path": "test/common/index.js",
"patch": "@@ -267,8 +267,9 @@ if (exports.isWindows) {\n }\n \n const ifaces = os.networkInterfaces();\n+const re = /lo/;\n exports.hasIPv6 = Object.keys(ifaces).some(function(name) {\n- return /lo/.test(name) && ifaces[name].some(function(info) {\n+ return re.test(name) ... | 2017-06-18T13:22:32 |
huggingface/transformers | 211ad4c9cc1c0882c4a22eaca7b4d7d1e2f264b3 | 722e9364916e527e8d46cbd828a1516bf6aaebd6 | Fix slack report failing for doctest (#27042)
* fix slack report for doctest
* separate reports
* style
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "utils/notification_service.py",
"patch": "@@ -314,7 +314,7 @@ def compute_diff_for_failure_reports(self, curr_failure_report, prev_failure_rep\n return entries_changed\n \n @property\n- def model_failures(self) -> Dict:\n+ def model_failures(self) -> List[Dict]:\n # Obta... | 2023-10-30T09:48:24 |
ggml-org/llama.cpp | 08382869a2d6dca5d84710f2f82cc17a9696585a | bb4f7a9e4eec171fecf0f640b1337a1c24485560 | model : add SmolLM3 (#14581)
* Init - first pass.
* Model -> ModelBase.
* fix errors in conversion.
* Update the graph.
* up.
* up.
* wip
* cgraph ok
* rm redundant code
---------
Co-authored-by: Vaibhavs10 <vaibhavs10@gmail.com> | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -6687,6 +6687,11 @@ def prepare_tensors(self):\n if len(experts) > 0:\n raise ValueError(f\"Unprocessed experts: {experts}\")\n \n+\n+@ModelBase.register(\"SmolLM3ForCausalLM\")\n+class SmolLM3Model(LlamaModel):\n+ model_arch = g... | 2025-07-08T16:07:01 |
golang/go | c4113b64c2b21e55949f7b28249f03c25bf63072 | 040855e39bb471b09f3803cbca2c8d683b2bc6dc | cmd/go: fix test failures with -count=2
In each test, either set the -n flag to avoid writing build artifacts
to the cache, or set GOCACHE explicitly to point to a clean cache.
Tested manually with 'go test -count=2 cmd/go'.
Fixes #37820
Change-Id: I24403e738b1a10d5fe9dc8d98ef27a76ebe2704a
Reviewed-on: https://go-r... | [
{
"path": "src/cmd/go/testdata/script/build_gcflags.txt",
"patch": "@@ -7,7 +7,8 @@ env GO111MODULE=off\n [!linux] skip # test only works if c-archive implies -shared\n [short] skip\n \n-go build -x -buildmode=c-archive -gcflags=all=-shared=false ./override.go\n+env GOCACHE=$WORK/gocache # Looking for com... | 2020-03-12T13:29:14 |
vuejs/vue | d33c1250ee77dd337eb4979851ade331f177b890 | 8a2c5147ad9ac9444c0f7c30b5f4a3c4e15c033b | fix:when using object syntax in v-bind, special attribute have no effect | [
{
"path": "flow/vnode.js",
"patch": "@@ -35,6 +35,7 @@ declare interface VNodeData {\n key?: string | number;\n slot?: string;\n ref?: string;\n+ is?: string;\n pre?: boolean;\n tag?: string;\n staticClass?: string;",
"additions": 1,
"deletions": 0,
"language": "JavaScript"
},
{... | 2017-06-16T12:40:56 |
huggingface/transformers | 722e9364916e527e8d46cbd828a1516bf6aaebd6 | 9e87618f2be1401df55c36ad726629ae201e8e4d | [Typo fix] flag config in WANDB (#27130)
typo fix flag config | [
{
"path": "examples/pytorch/README.md",
"patch": "@@ -223,7 +223,7 @@ import wandb\n wandb.login()\n ```\n \n-To enable logging to W&B, include `\"wandb\"` in the `report_to` of your `TrainingArguments` or script. Or just pass along `--report_to all` if you have `wandb` installed.\n+To enable logging to W&B... | 2023-10-29T18:22:26 |
ggml-org/llama.cpp | bb4f7a9e4eec171fecf0f640b1337a1c24485560 | b8eeb8741d4483daf576498cf90537b4de71633c | memory : fix broken batch splits for recurrent cache (#14575)
Splits producing more than one ubatch per batch for recurrent models
were broken with #14512.
This fixes it by moving the completeness check after the ubatch split loop. | [
{
"path": "src/llama-memory-recurrent.cpp",
"patch": "@@ -377,14 +377,18 @@ llama_memory_context_ptr llama_memory_recurrent::init_batch(llama_batch_allocr &\n ubatch = balloc.split_equal(n_ubatch, false);\n }\n \n- if (balloc.get_n_used() < balloc.get_n_tokens()) {\n- ... | 2025-07-08T15:37:47 |
golang/go | 040855e39bb471b09f3803cbca2c8d683b2bc6dc | 938ad552cdfdb1707acedcc641c8f8ada642644d | test: restore no-gogcflags build shortcut, save time
With a clean cache on a laptop
before change
time go run run.go -- . fixedbugs
real 2m10.195s
user 3m16.547s
sys 1m52.939s
Or, before, directly after make.bash (the actual use case we care about)
time go run run.go -- . fixedbugs
real 2m8.704s
user 3m12.3... | [
{
"path": "test/run.go",
"patch": "@@ -462,6 +462,10 @@ func goGcflags() string {\n \treturn \"-gcflags=all=\" + os.Getenv(\"GO_GCFLAGS\")\n }\n \n+func goGcflagsIsEmpty() bool {\n+ return \"\" == os.Getenv(\"GO_GCFLAGS\")\n+}\n+\n // run runs a test.\n func (t *test) run() {\n \tstart := time.Now()\n... | 2020-03-12T00:17:14 |
nodejs/node | 279fcc44fa3590a3255d316d03e93a0b58696b33 | a0f728434617c1b84e20a56da33ed888dc254508 | dgram: change parameter name in set(Multicast)TTL
Changed the parameter name in set(Multicast)TTL from "arg" to "ttl"
both within code and error messages and added the actual type of the
argument to the error message.
PR-URL: https://github.com/nodejs/node/pull/13747
Reviewed-By: Matteo Collina <matteo.collina@gmail.... | [
{
"path": "lib/dgram.js",
"patch": "@@ -524,35 +524,31 @@ Socket.prototype.setBroadcast = function(arg) {\n };\n \n \n-Socket.prototype.setTTL = function(arg) {\n- if (typeof arg !== 'number') {\n- throw new errors.TypeError('ERR_INVALID_ARG_TYPE',\n- 'arg',\n- ... | 2017-06-17T13:59:20 |
vuejs/vue | 080c387d49cd5cc43726d73ab886650dedd244db | 9831b403cf0506a873f03cc008e9debe6ef1f137 | Merge inject when extending a component (#5827)
* simply fix inject extends
* add comments for normalizeInject
* normalizeInect should return for non-array
* remove isArray branch in resolveInject
* add test case for extending injection
* Create options.js
* type of inject should be object now
* R... | [
{
"path": "src/core/instance/inject.js",
"patch": "@@ -38,18 +38,14 @@ export function initInjections (vm: Component) {\n export function resolveInject (inject: any, vm: Component): ?Object {\n if (inject) {\n // inject is :any because flow is not smart enough to figure out cached\n- // isArray her... | 2017-06-15T14:15:36 |
huggingface/transformers | 9e87618f2be1401df55c36ad726629ae201e8e4d | ef23b68ebf41795271a130b99faaa7dfb31c4263 | Fix docstring and type hint for resize (#27104)
fix docstring and type hint for resize | [
{
"path": "src/transformers/image_transforms.py",
"patch": "@@ -274,7 +274,7 @@ def get_resize_output_image_size(\n \n \n def resize(\n- image,\n+ image: np.ndarray,\n size: Tuple[int, int],\n resample: \"PILImageResampling\" = None,\n reducing_gap: Optional[int] = None,\n@@ -286,7 +286,7 ... | 2023-10-27T19:50:10 |
ggml-org/llama.cpp | b8eeb8741d4483daf576498cf90537b4de71633c | 17a1f0d2d407040ee242e18dd79be8bb212cfcef | vulkan : fix rope with partial rotation and non-cont src (#14582) | [
{
"path": "ggml/src/ggml-vulkan/vulkan-shaders/rope_multi.comp",
"patch": "@@ -14,21 +14,19 @@ void main() {\n \n const uint row_dst = gl_GlobalInvocationID.x;\n \n- if (i0 >= p.n_dims) {\n- const uint i = row_dst*ne0 + i0;\n-\n- data_d[i + 0] = data_a[i + 0];\n- data_d[i + 1] = ... | 2025-07-08T13:21:21 |
rust-lang/rust | aa884da1e7e1f7d08a3c66ca25a824a907f43258 | f2c4ccd852f68fb36dedc033239cb7c0fb1921ef | Delay bug when method confirmation cannot upcast object pick of self | [
{
"path": "compiler/rustc_hir_typeck/src/method/confirm.rs",
"patch": "@@ -673,17 +673,23 @@ impl<'a, 'tcx> ConfirmContext<'a, 'tcx> {\n traits::upcast_choices(self.tcx, source_trait_ref, target_trait_def_id);\n \n // must be exactly one trait ref or we'd get an ambig error etc\n- ... | 2025-02-04T04:22:50 |
golang/go | 2a5bf32638e1ce1fd85c722f39dff4cf842c0de1 | a3e965ce8addeb6a0b690069522a0487f68ee316 | [dev.link] cmd/link: refer to .got instead of .got.plt on S390X
S390X uses .got instead of .got.plt. It is changed accidentally
in CL 222977. This CL fixes it.
Also, on S390X, we need to set the relocation "variant" of
R_PCREL relocation. In the old code AddPCRelPlus has the magic.
Here we use the equivalent R_PCRELD... | [
{
"path": "src/cmd/link/internal/ld/elf.go",
"patch": "@@ -1645,6 +1645,10 @@ func (ctxt *Link) doelf() {\n \t\tdynamic.SetReachable(true)\n \t\tdynamic.SetType(sym.SELFSECT) // writable\n \n+\t\tif ctxt.IsS390X() {\n+\t\t\t// S390X uses .got instead of .got.plt\n+\t\t\tgotplt = got\n+\t\t}\n \t\tthearch.El... | 2020-03-12T02:24:01 |
nodejs/node | a0f728434617c1b84e20a56da33ed888dc254508 | d2913384aaeaf08fddb52e25e01f84c62e96e240 | errors,process: fix error message of hrtime()
process.hrtime() incorrectly passed the function name to
errors.TypeError instead of the name of the argument.
Additionally, the type of the actual argument was added to the error
message and a new error code ERR_INVALID_ARRAY_LENGTH was added.
PR-URL: https://github.com/... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -122,6 +122,15 @@ E('ERR_HTTP_INVALID_CHAR', 'Invalid character in statusMessage.');\n E('ERR_HTTP_INVALID_STATUS_CODE',\n (originalStatusCode) => `Invalid status code: ${originalStatusCode}`);\n E('ERR_INDEX_OUT_OF_RANGE', 'Index out of range');\n+E('ERR_I... | 2017-06-17T11:50:25 |
vuejs/vue | 9831b403cf0506a873f03cc008e9debe6ef1f137 | 69f946b4372fd74a1f2b1b8460fcd06ec8dd0a91 | Add warnHandler to allow users to set a custom warn callback, similar to errorHandler (#5883) | [
{
"path": "src/core/config.js",
"patch": "@@ -16,6 +16,7 @@ export type Config = {\n performance: boolean;\n devtools: boolean;\n errorHandler: ?(err: Error, vm: Component, info: string) => void;\n+ warnHandler: ?(msg: string, vm: Component, trace: string) => void;\n ignoredElements: Array<string>;... | 2017-06-14T13:37:26 |
ggml-org/llama.cpp | 17a1f0d2d407040ee242e18dd79be8bb212cfcef | 8f22dc0a53338c629c1ef8fa878d8e39bfe627c9 | server: Add ability to mount server at prefix (#14544)
* Add server_prefix
* Correct server path env
* Rename cli flag to --api-prefix
* Change all to api_prefix | [
{
"path": "common/arg.cpp",
"patch": "@@ -2734,6 +2734,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.public_path = value;\n }\n ).set_examples({LLAMA_EXAMPLE_SERVER}).set_env(\"LLAMA_ARG_STATIC_PATH\"));\n+ add_opt(common_arg(\n+ ... | 2025-07-08T08:47:33 |
vuejs/vue | 69f946b4372fd74a1f2b1b8460fcd06ec8dd0a91 | f3a15220c5c1d38a509a80b5be795ac89753f4a3 | Fix XHTML incompatibility (fix #5852) (#5853) | [
{
"path": "src/platforms/web/util/compat.js",
"patch": "@@ -5,7 +5,7 @@ import { inBrowser } from 'core/util/index'\n // check whether current browser encodes a char inside attribute values\n function shouldDecode (content: string, encoded: string): boolean {\n const div = document.createElement('div')\n-... | 2017-06-13T13:53:38 |
golang/go | 938ad552cdfdb1707acedcc641c8f8ada642644d | c95708462fb24f379f4bcdedd6ea664ee38ea562 | cmd/go: add missing newline to "go" line in cache key
This was missed in CL 223139. It doesn't seem to affect correctness,
but might be confusing if we need to debug the cache key.
Updates #37804
Change-Id: I979efa68381cf79a7e246581510c90a724be6cd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/223144
Run-Tr... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -214,7 +214,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t\tfmt.Fprintf(h, \"module %s@%s\\n\", p.Module.Path, p.Module.Version)\n \t}\n \tif p.Module != nil {\n-\t\tfmt.Fprintf(h, \"go %s\", p.Module.GoVersion)\n+\t\tfmt.Fpri... | 2020-03-12T14:50:53 |
nodejs/node | d2913384aaeaf08fddb52e25e01f84c62e96e240 | 275d0b30a0ee9e6e16b9071ebecf5ace4c5caaf5 | errors,stream_wrap: use internal/errors.js
PR-URL: https://github.com/nodejs/node/pull/13291
Refs: https://github.com/nodejs/node/issues/11273
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> | [
{
"path": "lib/_stream_wrap.js",
"patch": "@@ -9,6 +9,7 @@ const JSStream = process.binding('js_stream').JSStream;\n var Buffer = require('buffer').Buffer;\n const uv = process.binding('uv');\n const debug = util.debuglog('stream_wrap');\n+const errors = require('internal/errors');\n \n function StreamWrap(... | 2017-06-05T06:54:02 |
huggingface/transformers | ef23b68ebf41795271a130b99faaa7dfb31c4263 | 96f9e78f4c7d888a628e569c57ab2a278f8a62d5 | translate transformers_agents.md to Chinese (#27046)
* update translation
* fix problems mentioned in reviews | [
{
"path": "docs/source/zh/_toctree.yml",
"patch": "@@ -13,6 +13,8 @@\n title: 预处理\n - local: pipeline_tutorial\n title: pipeline教程\n+ - local: transformers_agents\n+ title: transformers_agents教程\n title: 教程\n - sections:\n - local: fast_tokenizers",
"additions": 2,
"deletions": 0,
... | 2023-10-27T19:45:43 |
vuejs/vue | deae1ff851f19c0644b9cf1554ccf4899e9d52c6 | c994e5cf48a912d98c1a302375bb9964dba98113 | fix type tests | [
{
"path": "types/options.d.ts",
"patch": "@@ -57,10 +57,10 @@ export interface ComponentOptions<V extends Vue> {\n }\n \n export interface FunctionalComponentOptions {\n+ name?: string;\n props?: string[] | { [key: string]: PropOptions | Constructor | Constructor[] };\n functional: boolean;\n- render(... | 2017-06-13T09:49:52 |
golang/go | c95708462fb24f379f4bcdedd6ea664ee38ea562 | 139a79dc37cd9c6d2b397ebf12da6b7df4e65bb8 | cmd/go: include the go language version in cache keys
Fixes #37804
Change-Id: I4381dc5c58cfd467506d3d73fbd19c2c7257338e
Reviewed-on: https://go-review.googlesource.com/c/go/+/223139
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -213,6 +213,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t} else if cfg.BuildTrimpath && p.Module != nil {\n \t\tfmt.Fprintf(h, \"module %s@%s\\n\", p.Module.Path, p.Module.Version)\n \t}\n+\tif p.Module != nil {\n+\t\tfmt.Fpr... | 2020-03-12T13:16:11 |
nodejs/node | 7cdcca7623aba835ef23a15d4bf76cd2dcfc2130 | 8f907b6baf59fe08c8f7cbc279ea7dec71f42c8c | deps: cherry-pick 866ee63 from upstream V8
Original commit message:
[string] Re-enable result caching for String.p.split
Runtime::kStringSplit's result caching is only enabled when limit equals
kMaxUInt32.
BUG=v8:6463
Review-Url: https://codereview.chromium.org/2923183002
Cr-Commit-Position... | [
{
"path": "deps/v8/src/builtins/builtins-string-gen.cc",
"patch": "@@ -1190,14 +1190,11 @@ TF_BUILTIN(StringPrototypeSplit, StringBuiltinsAssembler) {\n });\n \n // String and integer conversions.\n- // TODO(jgruber): The old implementation used Uint32Max instead of SmiMax -\n- // but AFAIK there ... | 2017-06-12T08:27:03 |
ggml-org/llama.cpp | 8f22dc0a53338c629c1ef8fa878d8e39bfe627c9 | 53903ae6fa5f1caf187889c839cdd1ad25da4018 | model : add hunyuan moe (#14425)
* model : add hunyuan moe
* tokenizer ok
* fix tensor name
* cgraph init
* chat template
* wip
* almost working
* skip embed, fix bos
* cleanup
* yarn scaling
* cleanup
* correct rope type
* failed token fix
* ntk alpha freq_base
* tokenization working
* cleanup and pr c... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -815,6 +815,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"1431a23e583c97432bc230bff598d103ddb5a1f89960c8f1d1051aaa944d0b35\":\n # ref: https://huggingface.co/sapienzanlp/Minerva-7B-base-v1.0\n res = \"min... | 2025-07-08T08:24:06 |
huggingface/transformers | ac5893756bafcd745d93a442cf36f984545dbad8 | 29c74f58ae57b4a15ce06d32fdc0ef494bb80419 | [Attention Mask] Refactor all encoder-decoder attention mask (#27086)
* [FA2 Bart] Add FA2 to all Bart-like
* better
* Refactor attention mask
* remove all customized atteniton logic
* format
* mass rename
* replace _expand_mask
* replace _expand_mask
* mass rename
* add pt files
* mass r... | [
{
"path": "src/transformers/modeling_attn_mask_utils.py",
"patch": "@@ -0,0 +1,247 @@\n+# Copyright 2023 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtai... | 2023-10-27T14:42:01 |
vuejs/vue | dfb014e3d7daacc2e3c59d07f1a53ec3c955d91c | a855dd0564a657a73b7249469490d39817f27cf7 | fix uglify upgrade | [
{
"path": "build/build.js",
"patch": "@@ -46,9 +46,7 @@ function buildEntry (config) {\n const code = bundle.generate(config).code\n if (isProd) {\n var minified = (config.banner ? config.banner + '\\n' : '') + uglify.minify(code, {\n- fromString: true,\n output: {\n- s... | 2017-06-13T09:23:59 |
rust-lang/rust | 8b1c28fdd0716e16a8d1776b40d2896128dd7654 | 6378fbc366ad552ee791bcac670e0f3939489ef7 | Fix ICE when function argument mismatches. | [
{
"path": "compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs",
"patch": "@@ -126,7 +126,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n Err(guar) => Err(guar),\n };\n if let Err(guar) = has_error {\n- let err_inputs = self.err_args(args_no_rcvr.len(), guar);\n+ let ... | 2025-02-04T00:17:46 |
golang/go | 139a79dc37cd9c6d2b397ebf12da6b7df4e65bb8 | 65bd07611c95d66c60eca57932714e6bd0059c54 | cmd/go/internal/auth: fix .netrc lookup for URLs with specified port
The .netrc spec [1] defines credentials based on "machine name", so remove specified ports
from URL before looking for a match.
[1] https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
Fixes #37130
Change-Id: Iab993afba... | [
{
"path": "src/cmd/go/internal/auth/auth.go",
"patch": "@@ -10,10 +10,12 @@ import \"net/http\"\n // AddCredentials fills in the user's credentials for req, if any.\n // The return value reports whether any matching credentials were found.\n func AddCredentials(req *http.Request) (added bool) {\n+\thost := ... | 2020-02-07T21:59:45 |
ggml-org/llama.cpp | 4d0dcd4a06080e796e6742a88f2ffa7fc41b28b8 | 75c91de6e955d5b8f3f28173f5040593e1964eb3 | cuda : fix rope with partial rotation and non-cont src (#14580)
* cuda : fix rope non-cont
ggml-ci
* cont : fix multi-rope + add test
ggml-ci
* sycl : try fix
ggml-ci
* cont : fix sycl + clean-up cuda
ggml-ci | [
{
"path": "ggml/src/ggml-cuda/rope.cu",
"patch": "@@ -50,21 +50,19 @@ static __global__ void rope_norm(\n \n const int row_dst = blockDim.x*blockIdx.x + threadIdx.x;\n \n- if (i0 >= n_dims) {\n- const int i = row_dst*ne0 + i0;\n-\n- dst[i + 0] = x[i + 0];\n- dst[i + 1] = x[i + 1]... | 2025-07-08T07:15:21 |
huggingface/transformers | 29c74f58ae57b4a15ce06d32fdc0ef494bb80419 | ffff9e70abf90347760191711a1a2a7e04299a10 | fix detr device map (#27089)
* fix detr device map
* add comments | [
{
"path": "src/transformers/models/deformable_detr/modeling_deformable_detr.py",
"patch": "@@ -1823,6 +1823,8 @@ def forward(\n class DeformableDetrForObjectDetection(DeformableDetrPreTrainedModel):\n # When using clones, all layers > 0 will be clones, but layer 0 *is* required\n _tied_weights_keys ... | 2023-10-27T14:28:12 |
vuejs/vue | 07a37264c3b56952435331983adcf4081390b400 | 47334085a14eb1ed9525598d592038bb57e84db7 | remove reference to refElm after initial patch (fix #5851) | [
{
"path": "src/core/instance/lifecycle.js",
"patch": "@@ -65,6 +65,9 @@ export function lifecycleMixin (Vue: Class<Component>) {\n vm.$options._parentElm,\n vm.$options._refElm\n )\n+ // no need for the ref nodes after initial patch\n+ // this prevents keeping a detached DOM ... | 2017-06-09T14:01:36 |
rust-lang/rust | 3a14dbbd948e0d34264c546775572863eb6340c1 | fa43703573a44cc7302bbe7ef29ce7b6f80a77ad | Refactor contract builtin macro + error handling
Instead of parsing the different components of a function signature,
eagerly look for either the `where` keyword or the function body.
- Also address feedback to use `From` instead of `TryFrom` in cranelift
contract and ubcheck codegen. | [
{
"path": "src/base.rs",
"patch": "@@ -868,7 +868,7 @@ fn codegen_stmt<'tcx>(\n NullOp::UbChecks => {\n let val = fx.tcx.sess.ub_checks();\n let val = CValue::by_val(\n- fx.bcx.ins().iconst(types::... | 2025-01-15T21:54:04 |
nodejs/node | f40caf728247ce78a1fe0a0673c4893fe299fafc | 22cf25cf2d251371590ea35c740793a5f19d4623 | net: fix abort on bad address input
PR-URL: https://github.com/nodejs/node/pull/13726
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.... | [
{
"path": "lib/net.js",
"patch": "@@ -42,6 +42,7 @@ const WriteWrap = process.binding('stream_wrap').WriteWrap;\n const async_id_symbol = process.binding('async_wrap').async_id_symbol;\n const { newUid, setInitTriggerId } = require('async_hooks');\n const nextTick = require('internal/process/next_tick').nex... | 2017-06-16T19:47:48 |
ggml-org/llama.cpp | 68155c66f0e76680f34442247e589a090add22d3 | e1a7059053a9b8958f2d57a21fc46dbc7fb24f8e | musa: fix build warnings (unused variable) (#14561)
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> | [
{
"path": "ggml/src/ggml-cuda/common.cuh",
"patch": "@@ -176,17 +176,20 @@ static const char * cu_get_error_str(CUresult err) {\n #endif\n \n #if !(defined(GGML_USE_HIP) && defined(__HIP_PLATFORM_AMD__)) && !defined(GGML_USE_MUSA)\n-#define CUDA_SET_SHARED_MEMORY_LIMIT(kernel, nbytes) \\\n- do { \\\n- ... | 2025-07-07T23:58:30 |
golang/go | 251f3e5b9cf204b80f78eb383f84e3672603d57d | 235a7c57be4a25a72c631acc8d3401e2f14c419d | runtime/pprof: document that debug=0 emits proto
Updates #16093.
Change-Id: I629b3d44d6b2083f5e62701cc0c23fe2362502d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/222676
Reviewed-by: Michael Matloob <matloob@golang.org> | [
{
"path": "src/runtime/pprof/pprof.go",
"patch": "@@ -313,9 +313,11 @@ func (p *Profile) Remove(value interface{}) {\n // Otherwise, WriteTo returns nil.\n //\n // The debug parameter enables additional output.\n-// Passing debug=0 prints only the hexadecimal addresses that pprof needs.\n-// Passing debug=1... | 2020-03-09T20:32:49 |
vuejs/vue | 47334085a14eb1ed9525598d592038bb57e84db7 | a18f879bb34270ba4879c5fe7b78426b0e79131e | prevent data.pendingInsert to keep reference to removed nodes (fix #5839) | [
{
"path": "src/core/vdom/patch.js",
"patch": "@@ -202,6 +202,7 @@ export function createPatchFunction (backend) {\n function initComponent (vnode, insertedVnodeQueue) {\n if (isDef(vnode.data.pendingInsert)) {\n insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert)\n+ ... | 2017-06-08T04:26:55 |
rust-lang/rust | ddbf54b67d9befcf1fb90613d2a6f7f6aa03141e | 2c4923e6bc9608557f0bc59f975006e590fd337d | Rename rustc_contract to contract
This has now been approved as a language feature and no longer needs
a `rustc_` prefix.
Also change the `contracts` feature to be marked as incomplete and
`contracts_internals` as internal. | [
{
"path": "compiler/rustc_ast_passes/src/feature_gate.rs",
"patch": "@@ -548,8 +548,8 @@ pub fn check_crate(krate: &ast::Crate, sess: &Session, features: &Features) {\n gate_all!(pin_ergonomics, \"pinned reference syntax is experimental\");\n gate_all!(unsafe_fields, \"`unsafe` fields are experiment... | 2025-01-31T01:06:09 |
ggml-org/llama.cpp | e1a7059053a9b8958f2d57a21fc46dbc7fb24f8e | 12f55c302b35cfe900b84c5fe67c262026af9c44 | llama : fix incorrect minicpm3 v_states shape (#14571) | [
{
"path": "src/llama-model.cpp",
"patch": "@@ -8699,11 +8699,6 @@ struct llm_build_minicpm3 : public llm_graph_context {\n v_states = ggml_cont(ctx0, v_states);\n cb(v_states, \"v_states\", il);\n \n- v_states = ggml_view_2d(ctx0, v_states, hparams.n_embd_head_... | 2025-07-07T21:35:35 |
nodejs/node | fd9a30f10ed6fdb797c840b84fe3298f064f1d6b | 24ecc331e2e65403231358f61a9794885323e8eb | test: refactor test-fs-watchfile
* use `common.mustNotCall()` to confirm callback is not called
* reorder modules to conform with test-writing guide
* match full error message in `assert.throws()`
PR-URL: https://github.com/nodejs/node/pull/13721
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard L... | [
{
"path": "test/parallel/test-fs-watchfile.js",
"patch": "@@ -1,21 +1,21 @@\n 'use strict';\n-\n const common = require('../common');\n+\n+const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n-const assert = require('assert');\n \n // Basic usage tests.\n assert.thr... | 2017-06-16T16:58:25 |
huggingface/transformers | ffff9e70abf90347760191711a1a2a7e04299a10 | 5be1fb6d1ff088e09116b353adc9f789e6b42315 | [`core`/ `gradient_checkpointing`] Refactor GC - part 2 (#27073)
* fix
* more fixes
* fix other models
* fix long t5
* use `gradient_checkpointing_func` instead
* fix copies
* set `gradient_checkpointing_func` as a private attribute and retrieve previous behaviour
* Update src/transformers/modelin... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1873,7 +1873,7 @@ def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs=None):\n torch.utils.checkpoint.checkpoint, **gradient_checkpointing_kwargs\n )\n \n- self.apply(partial(self._set_gradient_checkpo... | 2023-10-27T14:15:22 |
vuejs/vue | 7b069453edbf7fd03363a63d040396d274a79757 | 48c0c1ceb5819aea4f9f3fce38ac2ed606456cf0 | fix Object.prototype.watch test case | [
{
"path": "test/unit/features/options/extends.spec.js",
"patch": "@@ -46,28 +46,22 @@ describe('Options extends', () => {\n expect(vm.b).toBe(2)\n expect(vm.c).toBe(3)\n })\n-})\n \n-describe('Options extends with Object.prototype.watch', () => {\n- beforeAll(function () {\n+ it('should work wit... | 2017-06-06T06:48:05 |
golang/go | efc832b8dee55d5c3fb6dabc4d983e1ba089bd95 | f6a0d723859752a2e7c10a470eadd395ba6892a6 | crypto/tls: add {SignatureScheme,CurveID,ClientAuthType}.String()
Fixes #35499
Change-Id: Ieb487782f389f6d80e8f68ee980e584d906cb4da
Reviewed-on: https://go-review.googlesource.com/c/go/+/208226
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Katie Hockman <... | [
{
"path": "src/crypto/tls/auth.go",
"patch": "@@ -106,7 +106,7 @@ func typeAndHashFromSignatureScheme(signatureAlgorithm SignatureScheme) (sigType\n \tcase Ed25519:\n \t\tsigType = signatureEd25519\n \tdefault:\n-\t\treturn 0, 0, fmt.Errorf(\"unsupported signature algorithm: %#04x\", signatureAlgorithm)\n+\... | 2019-11-21T18:52:18 |
rust-lang/rust | 2bb1464cb6b46d175f92943cb0f9ab534e6cc6eb | 804cce47d96d7b30f3798b51a1377c6697011c54 | Improve contracts intrisics and remove wrapper function
1. Document the new intrinsics.
2. Make the intrinsics actually check the contract if enabled, and
remove `contract::check_requires` function.
3. Use panic with no unwind in case contract is using to check for
safety, we probably don't want to unwind. Follo... | [
{
"path": "compiler/rustc_hir_analysis/src/check/intrinsic.rs",
"patch": "@@ -223,17 +223,15 @@ pub fn check_intrinsic_type(\n };\n (n_tps, 0, 0, inputs, output, hir::Safety::Unsafe)\n } else if intrinsic_name == sym::contract_check_ensures {\n- // contract_check_ensures::<'a, Ret... | 2025-01-17T22:49:10 |
huggingface/transformers | 5be1fb6d1ff088e09116b353adc9f789e6b42315 | 66b088faf01a795a7e0ddafafa1838f065f42f86 | Fix no split modules underlying modules (#27090)
* fix no split
* style
* remove comm
* Update src/transformers/modeling_utils.py
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
* rename modules
---------
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.co... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1520,21 +1520,21 @@ def _get_no_split_modules(self, device_map: str):\n Returns:\n `List[str]`: List of modules that should not be split\n \"\"\"\n- if self._no_split_modules is None:\n- raise ValueEr... | 2023-10-27T13:49:20 |
vuejs/vue | 48c0c1ceb5819aea4f9f3fce38ac2ed606456cf0 | 7561b94eeb75478fc38d391da2851b91b7ebed4f | Added check in merge strat for watches if child is already an array (fix #5652) (#5653)
* Added check for if child is already an array
If the child is already an array it does not need to be wrapped again.
Fixing #5652
* Added unit test for watch merge strat
* Moved test to own describe
* Added test for m... | [
{
"path": "src/core/util/options.js",
"patch": "@@ -172,7 +172,7 @@ strats.watch = function (parentVal: ?Object, childVal: ?Object): ?Object {\n }\n ret[key] = parent\n ? parent.concat(child)\n- : [child]\n+ : Array.isArray(child) ? child : [child]\n }\n return ret\n }",
"add... | 2017-06-06T05:48:31 |
nodejs/node | 24ecc331e2e65403231358f61a9794885323e8eb | c474f8898755c827187da2e8e4196dec3c48e6c4 | doc: document res.connection and res.socket
Adds documentation and samples for the `connection` and
`socket` properties available on the `http.serverResponse`
and `http.clientRequest` objects.
PR-URL: https://github.com/nodejs/node/pull/13617
Fixes: https://github.com/nodejs/node/issues/12617
Reviewed-By: Roman Reiss... | [
{
"path": "doc/api/http.md",
"patch": "@@ -496,6 +496,15 @@ added: v0.11.14\n If a request has been aborted, this value is the time when the request was\n aborted, in milliseconds since 1 January 1970 00:00:00 UTC.\n \n+### request.connection\n+<!-- YAML\n+added: v0.3.0\n+-->\n+\n+* {net.Socket}\n+\n+See [`... | 2017-06-11T18:18:03 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.