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
29a1c1b472674030d61a6753cf1e3772f5d7131f
26ea725bc0d90c75ba20d2f894321aa98b2c6cf2
Fix `low_cpu_mem_usage` Flag Conflict with DeepSpeed Zero 3 in `from_pretrained` for Models with `keep_in_fp32_modules`" (#27762) Fix `from_pretrained` Logic for `low_cpu_mem_usage` with DeepSpeed Zero3
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3466,7 +3466,7 @@ def from_pretrained(\n \n # Check first if we are `from_pt`\n if use_keep_in_fp32_modules:\n- if is_accelerate_available():\n+ if is_accelerate_available() and not is_deepspeed_zero3_enabled...
2023-12-15T17:03:41
vuejs/vue
780dac561b9cd6c3cec28f154f76e7d28352ebf3
a89384c8d93a3e5a382f60a84d60f0675408ed75
fix(ssr): should not warn for custom directives that do not have ssr implementation fix #9167
[ { "path": "src/server/render.js", "patch": "@@ -326,7 +326,7 @@ function renderStartingTag (node: VNode, context) {\n for (let i = 0; i < dirs.length; i++) {\n const name = dirs[i].name\n if (name !== 'show') {\n- const dirRenderer = resolveAsset(context, 'directives', name, t...
2018-12-09T20:47:43
ggml-org/llama.cpp
24a6734daf6932ff29ba8c1ff0245c51d76f783e
2b3efea9a4d91216850856fbb77075db26f6a6eb
ggml-cpu : add check for ARM MATMUL_INT8/i8mm support (#15922) This commit adds a check for GGML_MACHINE_SUPPORTS_i8mm when enabling MATMUL_INT8 features, ensuring that i8mm intrinsics are only used when the target hardware actually supports them. The motivation for this is to fix ggml CI build failures where the fea...
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -224,7 +224,13 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n foreach(feature DOTPROD SVE MATMUL_INT8 FMA FP16_VECTOR_ARITHMETIC SME)\n string(FIND \"${ARM_FEATURE}\" \"__ARM_FEATURE_${feature} 1\" feat...
2025-09-11T13:39:12
rust-lang/rust
f0cb746480830d585768c03f8447c0e5f9817b52
8c61cd4df8434573190336b8f16169f3c2b22a7a
Lower fn items as ZST valtrees and delay a bug
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs", "patch": "@@ -2154,11 +2154,15 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n span_bug!(span, \"use of bare `static` ConstArgKind::Path's not yet supported\")\n }\n // FIXME(const_generics): create rea...
2025-02-11T19:16:12
nodejs/node
34d1b1144e1af8382dad71c28c8d956ebf709801
064ac2c66641978eea9e601b614757ee2bcc0659
http2: fix flakiness in timeout PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -673,15 +673,23 @@ function submitShutdown(options) {\n }\n \n function finishSessionDestroy(socket) {\n+ const state = this[kState];\n+ if (state.destroyed)\n+ return;\n+\n if (!socket.destroyed)\n socket.destroy();\n \n+ state.destroying = f...
2017-08-03T20:57:28
golang/go
0a00926481faaf40189d1d78e738584cb1735f40
38c2c12bc1b3da40e1b33cac9268b7df9fa49a7e
runtime: fix bad link to issue tracker in test Change-Id: Ie88ff3f0493f4119be25476a20038877e879c485 Reviewed-on: https://go-review.googlesource.com/c/go/+/229397 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
[ { "path": "src/runtime/panic_test.go", "patch": "@@ -11,7 +11,7 @@ import (\n \n // Test that panics print out the underlying value\n // when the underlying kind is directly printable.\n-// Issue: https://golang/go/issues/37531\n+// Issue: https://golang.org/issues/37531\n func TestPanicWithDirectlyPrintabl...
2020-04-22T15:42:41
huggingface/transformers
26ea725bc0d90c75ba20d2f894321aa98b2c6cf2
1c286be5081568a1b26c7c8b42932aa40f3a0c64
Update fixtures-image-utils (#28080) * fix hf-internal-testing/fixtures_image_utils * fix test * comments
[ { "path": "tests/models/imagegpt/test_image_processing_imagegpt.py", "patch": "@@ -226,10 +226,12 @@ def test_call_pytorch(self):\n \n \n def prepare_images():\n- dataset = load_dataset(\"hf-internal-testing/fixtures_image_utils\", split=\"test\")\n+ # we use revision=\"refs/pr/1\" until the PR is mer...
2023-12-15T16:58:36
vuejs/vue
dfaf9e24361e10ae68ce3951eaf48262cf90f0ec
8a2dbf50105ea729125a42fecfe2c2f0371d7836
fix(types): type support for advanced async components (#8438)
[ { "path": "types/options.d.ts", "patch": "@@ -15,12 +15,24 @@ export type Component<Data=DefaultData<never>, Methods=DefaultMethods<never>, Co\n interface EsModuleComponent {\n default: Component\n }\n+ \n+export type AsyncComponent<Data=DefaultData<never>, Methods=DefaultMethods<neve...
2018-12-05T23:00:56
ggml-org/llama.cpp
2b3efea9a4d91216850856fbb77075db26f6a6eb
c0389dba43d50695f9d3f57dd1f1a14cbefc100c
kleidiai: fix GGML_ASSERT(*cur_backend_id != -1) failed (#15614) * kleidiai: fix GGML_ASSERT(*cur_backend_id != -1) failed * removes the Whisper-specific check for GET_ROWS support
[ { "path": "ggml/src/ggml-cpu/kleidiai/kleidiai.cpp", "patch": "@@ -515,9 +515,6 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {\n op->src[0]->buffer &&\n (ggml_n_dims(op->src[0]) == 2) &&\n op->src[0]->buffer->buft == ggml_backend_cpu_kleidiai_buffer_type() &&...
2025-09-11T10:45:40
nodejs/node
064ac2c66641978eea9e601b614757ee2bcc0659
7152790c853f8daccea046701e0f0bebca938f4a
http2: fix linting after rebase PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -546,7 +546,7 @@ function setupHandle(session, socket, type, options) {\n session[kHandle] = handle;\n \n const settings = typeof options.settings === 'object' ?\n- options.settings : Object.create(null);\n+ options.settings : Object.c...
2017-08-03T20:18:38
golang/go
38c2c12bc1b3da40e1b33cac9268b7df9fa49a7e
0329c915a03199d202581d0b33b092371fde08dc
runtime/pprof: plumb labels for goroutine profiles Goroutines are directly associated with labels. It's relatively easy to plumb those through without creating goroutine-locals in the wild. This is accomplished by splitting out most of the code from the public `runtime.GoroutineProfile` into a new unexported `runtime...
[ { "path": "src/runtime/mprof.go", "patch": "@@ -711,13 +711,16 @@ func ThreadCreateProfile(p []StackRecord) (n int, ok bool) {\n \treturn\n }\n \n-// GoroutineProfile returns n, the number of records in the active goroutine stack profile.\n-// If len(p) >= n, GoroutineProfile copies the profile into p and r...
2019-08-04T19:14:48
huggingface/transformers
1c286be5081568a1b26c7c8b42932aa40f3a0c64
dec84b3211992e20daabe7bcd7e9534b2cc7cc01
Fix bug for checkpoint saving on multi node training setting (#28078) * add multi-node traning setting * fix style
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2386,7 +2386,9 @@ def _save_checkpoint(self, model, trial, metrics=None):\n self.args.distributed_state.wait_for_everyone()\n # Then go through the rewriting process starting on process 0\n if staging_output_dir != output_dir:\n-...
2023-12-15T16:18:56
vuejs/vue
8a2dbf50105ea729125a42fecfe2c2f0371d7836
0ed0aad77228b95e9a61a87386736938837527f8
fix(transition-group): fix activeInstance regression fix #9151
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -21,6 +21,14 @@ import {\n export let activeInstance: any = null\n export let isUpdatingChildComponent: boolean = false\n \n+export function setActiveInstance(vm: Component) {\n+ const prevActiveInstance = activeInstance\n+ activeInstance = vm\n+ r...
2018-12-05T22:33:39
ggml-org/llama.cpp
c0389dba43d50695f9d3f57dd1f1a14cbefc100c
00681dfc16ba4cebb9c7fbd2cf2656e06a0692a4
CANN: Disable acl_graph for prefill stage (#15933) Since the prefill length is not fixed, graphs constructed for the prefill stage cannot be reused. For this reason, ACL graph execution is disabled by default during prefill.
[ { "path": "docs/backend/CANN.md", "patch": "@@ -318,3 +318,7 @@ Operators are executed using ACL graph execution, rather than in op-by-op (eager\n ### GGML_CANN_GRAPH_CACHE_CAPACITY\n \n Maximum number of compiled CANN graphs kept in the LRU cache, default is 12. When the number of cached graphs exceeds thi...
2025-09-11T07:59:37
golang/go
b71eafbcece175db33acfb205e9090ca99a8f984
24a1c8f60586b0f59f7c3a44b1b37ffe603d4d7b
time: use extended time format past end of zone transitions This gives us better expected information for daylight savings time transitions in year 2038 and beyond. Fixes #36654 Change-Id: I5a39aed3c40b184e1d7bb7d6ce3aff5307c4c146 Reviewed-on: https://go-review.googlesource.com/c/go/+/215539 Run-TryBot: Ian Lance Ta...
[ { "path": "src/time/export_test.go", "patch": "@@ -36,12 +36,43 @@ var (\n \tReadFile = readFile\n \tLoadTzinfo = loadTzinfo\n \tNextStdChunk = nextStdChunk\n+\tTzset = tzset\n+\tTzsetName = tzsetName\n+\tTzsetOffset = tzsetOffset\...
2020-01-21T01:00:48
nodejs/node
7152790c853f8daccea046701e0f0bebca938f4a
45b7fc2039035f103262eec15b5b9cda01b1f695
http2: fix compilation error after V8 update PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "src/node_http2.cc", "patch": "@@ -868,7 +868,7 @@ void Http2Session::OnTrailers(Nghttp2Stream* stream,\n };\n \n Local<Value> ret = MakeCallback(env()->ontrailers_string(),\n- arraysize(argv), argv);\n+ arraysize(argv),...
2017-08-03T19:55:47
vuejs/vue
0ed0aad77228b95e9a61a87386736938837527f8
f077ed17af14bb2675db64b2aa2d023769219624
fix: fix keyName checking for space and delete in IE11 (#9150) fix #9112
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -22,13 +22,15 @@ const keyNames: { [key: string]: string | Array<string> } = {\n esc: ['Esc', 'Escape'],\n tab: 'Tab',\n enter: 'Enter',\n- space: ' ',\n+ // #9112: IE11 uses `Spacebar` for Space key name.\n+ space: [' ', 'Spacebar'],\n // ...
2018-12-05T20:26:58
huggingface/transformers
dec84b3211992e20daabe7bcd7e9534b2cc7cc01
74cae670ce542b62c44a5603f0675ff31932793c
make torch.load a bit safer (#27282) * make torch.load a bit safer * Fixes --------- Co-authored-by: Lysandre <lysandre.debut@reseau.eseo.fr>
[ { "path": "src/transformers/convert_pytorch_checkpoint_to_tf2.py", "patch": "@@ -329,7 +329,7 @@ def convert_pt_checkpoint_to_tf(\n if compare_with_pt_model:\n tfo = tf_model(tf_model.dummy_inputs, training=False) # build the network\n \n- state_dict = torch.load(pytorch_checkpoint_path,...
2023-12-15T15:01:18
ggml-org/llama.cpp
00681dfc16ba4cebb9c7fbd2cf2656e06a0692a4
4f658855fa8f2e42b7ed9a5b298fa39a2e39b096
CUDA: Add `fastdiv` to `k_bin_bcast*`, giving 1-3% E2E performance (#15872) * Add fastdiv and fastmodulo to k_bin_bcast kernel * Address review comments * `prod_` instead of `prod` suffix * Add test case for `k_bin_bcast_unravel` in CUDA backend
[ { "path": "ggml/src/ggml-cuda/binbcast.cu", "patch": "@@ -23,28 +23,44 @@ static __device__ __forceinline__ float op_div(const float a, const float b) {\n return a / b;\n }\n \n-\n-\n-template <float (*bin_op)(const float, const float), typename src0_t, typename src1_t, typename dst_t, typename... src1_...
2025-09-10T20:04:03
vuejs/vue
f077ed17af14bb2675db64b2aa2d023769219624
93850f49e31559c78dc91f5df9e756f424ba910a
fix(ssr): fix ssr template publicPath generation fix #9145
[ { "path": "src/server/template-renderer/index.js", "patch": "@@ -60,7 +60,10 @@ export default class TemplateRenderer {\n // extra functionality with client manifest\n if (options.clientManifest) {\n const clientManifest = this.clientManifest = options.clientManifest\n- this.publicPath = ...
2018-12-05T15:54:42
golang/go
24a1c8f60586b0f59f7c3a44b1b37ffe603d4d7b
e5bd6e1c7944713c816cf94ae412a700c271cfca
reflect: fix typo on resolveReflectName function documentation Change-Id: I250de9db4e8aca6e1069d05c73051571f1712091 Reviewed-on: https://go-review.googlesource.com/c/go/+/229141 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/reflect/type.go", "patch": "@@ -656,7 +656,7 @@ func resolveTextOff(rtype unsafe.Pointer, off int32) unsafe.Pointer\n // be resolved correctly. Implemented in the runtime package.\n func addReflectOff(ptr unsafe.Pointer) int32\n \n-// resolveReflectType adds a name to the reflection lookup ma...
2020-04-21T18:24:58
huggingface/transformers
74cae670ce542b62c44a5603f0675ff31932793c
e2b6df79719024f7ba03611000054b9e34540f7b
Make GPT2 traceable in meta state (#28054) * Put device in tensor constructor instead of to() * Fix copy
[ { "path": "src/transformers/models/decision_transformer/modeling_decision_transformer.py", "patch": "@@ -185,7 +185,7 @@ def _attn(self, query, key, value, attention_mask=None, head_mask=None):\n mask_value = torch.finfo(attn_weights.dtype).min\n # Need to be a tensor, otherwise we g...
2023-12-15T14:45:31
nodejs/node
383a1696c098c907fd4507056b7eef15cadf4902
e11858f78c9bba34e454bb06d7496ec8d432ccb9
http2: fix documentation errors PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -1803,10 +1803,10 @@ req.end('Jane');\n \n ## Compatibility API\n \n-The Compatibility API has the goal of providing a similar developer experience of\n-HTTP/1 when using HTTP/2, making it possible to develop applications\n-that supports both [HTTP/1](HTTP/1) and H...
2017-08-01T15:35:45
ggml-org/llama.cpp
9de447d94e1ae9d1a36e5a2e5bf47483352c0d9c
0f0a3c2851134d49955f3c85afbb0b1bb47c3e07
ggml-cpu : fix padding in ggml_timestep_embedding (#15917) This commit fixes the zero padding for odd dimensions in ggml_compute_forward_timestep_embedding_f32. The motivation for this is that currently if an odd dimension is used, the padding check incorrectly uses the dimension value for indexing. For example, with ...
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -8598,6 +8598,7 @@ static void ggml_compute_forward_timestep_embedding_f32(\n embed_data[j + half] = sinf(arg);\n }\n if (dim % 2 != 0 && ith == 0) {\n+ embed_data[2 * half] = 0.f;\n embed_data[dim] = 0.f;...
2025-09-10T15:31:40
vuejs/vue
93850f49e31559c78dc91f5df9e756f424ba910a
1b4a8a0c1edaf9c7eb129ba61bca94ba607bbf56
chore: fix sponsor link
[ { "path": "BACKERS.md", "patch": "@@ -195,8 +195,8 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu\n </a>\n </td>\n <td align=\"center\" valign=\"middle\">\n- <a href=\"https://www.inkloop.in/\" target=\"_blank\">\n- <img width=\"148px\...
2018-12-04T16:00:09
huggingface/transformers
e2b6df79719024f7ba03611000054b9e34540f7b
deb72cb6d931cebd9f75c4a62a3cb203249d997b
[LLaVa] Add past_key_values to _skip_keys_device_placement to fix multi-GPU dispatch (#28051) Add past_key_values to _skip_keys_device_placement for LLaVa
[ { "path": "src/transformers/models/llava/modeling_llava.py", "patch": "@@ -130,6 +130,7 @@ class LlavaPreTrainedModel(PreTrainedModel):\n base_model_prefix = \"model\"\n supports_gradient_checkpointing = True\n _no_split_modules = [\"LlavaVisionAttention\"]\n+ _skip_keys_device_placement = \"...
2023-12-15T14:05:20
golang/go
e5bd6e1c7944713c816cf94ae412a700c271cfca
5a75f7c0b0789fe04ea4879a524cc95dbe734636
runtime: crash on SI_USER SigPanic signal Clean up the code a little bit to make it clearer: Don't check throwsplit for a SI_USER signal. If throwsplit is set for a SigPanic signal, always throw; discard any other flags. Fixes #36420 Change-Id: Ic9dcd1108603d241f71c040504dfdc6e528f9767 Reviewed-on: https://go-revi...
[ { "path": "doc/go1.15.html", "patch": "@@ -198,6 +198,17 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <code>uint</code>, <code>uint8</code>, <code>uint16</code>, <code>uint32</code>, <code>uint64</code>, <code>uintptr</code>,\n then the value will be printed, instead o...
2020-04-19T03:11:46
nodejs/node
a4017736d213a580a8bdd1ac3184e74d29b87d67
d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c
http2: doc and fixes to the Compatibility API PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -16,9 +16,10 @@ in order to use the `'http2'` module.\n \n The Core API provides a low-level interface designed specifically around\n support for HTTP/2 protocol features. It is specifically *not* designed for\n-compatibility with the existing [HTTP/1][] module API...
2017-07-24T17:34:17
ggml-org/llama.cpp
0f0a3c2851134d49955f3c85afbb0b1bb47c3e07
33daece86b65607451d0d4378d2d04ba6a20ad55
metal : make the backend async (#15906) * metal : make the backend async ggml-ci * cont : add comments, extend op offload, clean up ggml-ci * metal : fix batch size for MUL_MAT_ID * metal : remove deprecated ggml_backend_metal_buffer_from_ptr * metal : create only metal buffers, no wrapping of host memory ggml-...
[ { "path": "ggml/include/ggml-metal.h", "patch": "@@ -43,14 +43,8 @@ GGML_BACKEND_API ggml_backend_t ggml_backend_metal_init(void);\n \n GGML_BACKEND_API bool ggml_backend_is_metal(ggml_backend_t backend);\n \n-GGML_DEPRECATED(\n- GGML_BACKEND_API ggml_backend_buffer_t ggml_backend_metal_buffer_from_p...
2025-09-10T14:52:35
vuejs/vue
1b4a8a0c1edaf9c7eb129ba61bca94ba607bbf56
448ba65d2b139b29f1e6891add9925ac22ffe10b
fix(compiler): fix codegen for v-for component inside template fix #9142
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -406,9 +406,7 @@ export function genChildren (\n el.tag !== 'template' &&\n el.tag !== 'slot'\n ) {\n- // because el may be a functional component and return an Array instead of a single root.\n- // In this case, just a simple...
2018-12-04T15:51:29
huggingface/transformers
d269c4b2d7bbe8f25f3daab818bb13bb5ea4ca45
70a127a37a1d168898ec5631872a7aadeec6176a
[`Mixtral`] update conversion script to reflect new changes (#28068) * Update convert_mixtral_weights_to_hf.py * forward contrib credits from original fix --------- Co-authored-by: thomasw21 <thomasw21@users.noreply.github.com>
[ { "path": "src/transformers/models/mixtral/convert_mixtral_weights_to_hf.py", "patch": "@@ -65,7 +65,7 @@ def write_model(model_path, input_base_path, model_size, safe_serialization=True\n num_shards = 1\n \n # For some reason this is a string in the params.json\n- sliding_window = int(params[\"s...
2023-12-15T13:05:20
golang/go
5a75f7c0b0789fe04ea4879a524cc95dbe734636
eacdf76b93174484ffc526d9c45f4836f0738dee
net/http: fix Server.Shutdown race where it could miss an active connection Wait for Listeners to drop to zero too, not just conns. Fixes #33313 Change-Id: I09350ae38087990d368dcf9302fbde3e95c02fcd Reviewed-on: https://go-review.googlesource.com/c/go/+/213442 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -5980,8 +5980,11 @@ type countCloseListener struct {\n }\n \n func (p *countCloseListener) Close() error {\n-\tatomic.AddInt32(&p.closes, 1)\n-\treturn nil\n+\tvar err error\n+\tif n := atomic.AddInt32(&p.closes, 1); n == 1 && p.Listener != nil {\n+\t\ter...
2020-01-06T19:16:34
ggml-org/llama.cpp
10d8b2b6b0ac2cae252a80b4daea5da55ab63c2f
28b5f190ef1dbea5edf82dbc8b4407b721fadd13
CANN: Add ROPE sin/cos cache for reuse (#15912) * CANN: Add ROPE sin/cos cache for reuse Introduce sin/cos caching mechanism in ROPE to avoid redundant computation across layers. The cache is built on the first layer per device and reused by subsequent layers if parameters match. - Added sin_cache / cos_cache pointe...
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -2268,26 +2268,30 @@ static void aclnn_index_fill_tensor(ggml_backend_cann_context& ctx,\n * stream, and persistent buffers for rope init/cache.\n * @param dst The destination ggml_tensor whose computation\...
2025-09-10T10:42:00
vuejs/vue
448ba65d2b139b29f1e6891add9925ac22ffe10b
0d7fb739257cc3d3fc1ea6127eb1089a762b220c
fix(types): correct scopedSlot types (#9131) see #8946
[ { "path": "types/test/options-test.ts", "patch": "@@ -1,5 +1,5 @@\n import Vue, { VNode } from \"../index\";\n-import { AsyncComponent, ComponentOptions, FunctionalComponentOptions, Component } from \"../index\";\n+import { ComponentOptions, Component } from \"../index\";\n import { CreateElement } from \"....
2018-12-04T01:31:39
nodejs/node
d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c
953458f645697fee420a2bb5e24038f3a7bc44df
http2: add range support for respondWith{File|FD} * respondWithFD now supports optional statCheck * respondWithFD and respondWithFile both support offset/length for range requests * Fix linting nits following most recent update PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@add...
[ { "path": "doc/api/http2.md", "patch": "@@ -998,13 +998,17 @@ server.on('stream', (stream) => {\n });\n ```\n \n-#### http2stream.respondWithFD(fd[, headers])\n+#### http2stream.respondWithFD(fd[, headers[, options]])\n <!-- YAML\n added: REPLACEME\n -->\n \n * `fd` {number} A readable file descriptor\n * `...
2017-07-22T16:20:53
huggingface/transformers
6af3ce7757e87e7e3380b0405bd0757805d41182
7e876dca54a367632c2f1b47f1b5171441252742
[Flax LLaMA] Fix attn dropout (#28059)
[ { "path": "src/transformers/models/llama/modeling_flax_llama.py", "patch": "@@ -289,6 +289,10 @@ def __call__(\n attention_mask = jnp.broadcast_to(jnp.expand_dims(attention_mask, axis=(-3, -2)), causal_mask.shape)\n attention_mask = combine_masks(attention_mask, causal_mask)\n \n+ dro...
2023-12-15T10:57:36
ggml-org/llama.cpp
28b5f190ef1dbea5edf82dbc8b4407b721fadd13
86587da03bd78df8f4e7d8b111a0c1d2494d6ed0
CANN: implement LRU cache for ACL graphs (#15814) * CANN: implement LRU cache for ACL graphs in CANN backend - Introduce ggml_cann_graph_lru_cache to store multiple ggml_cann_graph objects. - Graphs are loaded on demand and evicted using LRU policy when capacity is exceeded. - Updated push, move_to_front, and clear m...
[ { "path": "docs/backend/CANN.md", "patch": "@@ -314,3 +314,7 @@ Converting the matmul weight format from ND to NZ to improve performance. Enable\n ### GGML_CANN_ACL_GRAPH\n \n Operators are executed using ACL graph execution, rather than in op-by-op (eager) mode. Enabled by default.\n+\n+### GGML_CANN_GRAPH...
2025-09-10T07:29:12
golang/go
2a2423bd05da85dc7d0f8e7d12531623b69036a0
181153369534c6987306c47630f9e4fbf07b467f
cmd/compile: more precise analysis of method values Previously for a method value "x.M", we always flowed x directly to the heap, which led to the receiver argument generally needing to be heap allocated. This CL changes it to flow x to the closure and M's receiver parameter. This allows receiver arguments to be stac...
[ { "path": "src/cmd/compile/internal/gc/closure.go", "patch": "@@ -566,3 +566,20 @@ func walkpartialcall(n *Node, init *Nodes) *Node {\n \n \treturn walkexpr(clos, init)\n }\n+\n+// callpartMethod returns the *types.Field representing the method\n+// referenced by method value n.\n+func callpartMethod(n *Nod...
2020-04-20T18:14:36
vuejs/vue
307835284a326569ea12c4a22c7dcb8f36d2d8ca
aca17b4064bf5017506d77e9f5bf286cfe926ae1
fix(ssr): resolve server directives the same as on client (#9129) fix #8961
[ { "path": "src/server/render.js", "patch": "@@ -3,6 +3,7 @@\n import { escape } from 'web/server/util'\n import { SSR_ATTR } from 'shared/constants'\n import { RenderContext } from './render-context'\n+import { resolveAsset } from 'core/util/options'\n import { generateComponentTrace } from 'core/util/debug...
2018-12-02T21:01:19
huggingface/transformers
7e876dca54a367632c2f1b47f1b5171441252742
e737446ee65e6c6175e9cf945669bcc2629c2447
[Flax BERT] Update deprecated 'split' method (#28012) * [Flax BERT] Update deprecated 'split' method * fix copies
[ { "path": "src/transformers/models/bert/modeling_flax_bert.py", "patch": "@@ -1569,7 +1569,7 @@ def __call__(\n hidden_states = outputs[0]\n \n logits = self.qa_outputs(hidden_states)\n- start_logits, end_logits = logits.split(self.config.num_labels, axis=-1)\n+ start_logits, e...
2023-12-15T10:57:18
nodejs/node
953458f645697fee420a2bb5e24038f3a7bc44df
6911fe337ca0e7bb5695f519fb15669d010042dc
http2: fix socketOnTimeout and a segfault Fixes: https://github.com/nodejs/http2/issues/179 Was fixing issue #179 and encountered a segault that was happening somewhat randomly on session destruction. Both should be fixed PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.n...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -670,7 +670,7 @@ function finishSessionDestroy(socket) {\n debug(`[${sessionName(this[kType])}] nghttp2session handle destroyed`);\n }\n \n- this.emit('close');\n+ process.nextTick(emit.bind(this, 'close'));\n debug(`[${sessionName(this[kType])}...
2017-07-19T19:59:39
ggml-org/llama.cpp
ae355f6f7108540297d8b7f7ae71d20fe610a0b7
4f63cd705c7b6f457f36c63fdc053e07f6f3cc6b
vulkan: throw the oom error instead of no memory type found (#15905)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -1937,7 +1937,9 @@ static vk_buffer ggml_vk_create_buffer(vk_device& device, size_t size, const std\n \n vk::PhysicalDeviceMemoryProperties mem_props = device->physical_device.getMemoryProperties();\n \n- for (auto &req_flags : req_flags_...
2025-09-09T20:26:03
vuejs/vue
e4b1b57fd7117a19cdb376dcb156606e0cc32a94
19c33a7e4072b03069f803263ed0c49feb5f73a9
fix(ssr): adjust call stack size defer threshold fix #8545
[ { "path": "src/server/render-context.js", "patch": "@@ -66,55 +66,54 @@ export class RenderContext {\n }\n \n next () {\n- const lastState = this.renderStates[this.renderStates.length - 1]\n- if (isUndef(lastState)) {\n- return this.done()\n- }\n- /* eslint-disable no-case-declarations ...
2018-12-02T17:31:16
golang/go
300ff5d8ac12a5515234e68aa8a03637ba181937
e464d7d7970be972a17a98c7ad996c2db4a04997
runtime: allow proflock and mheap.speciallock above globalAlloc.mutex During schedinit, these may occur in: mProf_Malloc stkbucket newBucket persistentalloc persistentalloc1 mProf_Malloc setprofilebucket fixalloc.alloc persistentalloc persistentalloc1 These seem to be legitim...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -76,9 +76,9 @@ const (\n \t// Memory-related non-leaf locks\n \tlockRankWbufSpans\n \tlockRankMheap\n+\tlockRankMheapSpecial\n \n \t// Memory-related leaf locks\n-\tlockRankMheapSpecial\n \tlockRankGlobalAlloc\n \n \t// Other leaf locks\n@@ -144,11 +144,11 @...
2020-04-17T19:36:13
huggingface/transformers
e737446ee65e6c6175e9cf945669bcc2629c2447
1e2093176515ddfd7a7dc5f77b2bb4d6a1bc3445
[`Modeling` / `Mixtral`] Fix GC + PEFT issues with Mixtral (#28061) fix for mistral
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -1016,6 +1016,13 @@ def forward(\n \n past_key_values_length = 0\n \n+ if self.gradient_checkpointing and self.training:\n+ if use_cache:\n+ logger.warning_once(\n+ \"`us...
2023-12-15T10:34:42
nodejs/node
6911fe337ca0e7bb5695f519fb15669d010042dc
01a46f3981463cee26876495fbb4284f0057269b
http2: refinement and test for socketError Fixes: https://github.com/nodejs/http2/issues/184 Refines the `'socketError'` event a bit and adds a test for the emission of the `'socketError'` event on the server. Client side is tested separately PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Hennin...
[ { "path": "doc/api/http2.md", "patch": "@@ -254,9 +254,9 @@ The `'socketError'` event is emitted when an `'error'` is emitted on the\n `Socket` instance bound to the `Http2Session`. If this event is not handled,\n the `'error'` event will be re-emitted on the `Socket`.\n \n-Likewise, when an `'error'` event...
2017-07-19T14:26:15
ggml-org/llama.cpp
4f63cd705c7b6f457f36c63fdc053e07f6f3cc6b
17bc5a815f0bebc1844c99796760cd7df5e9b8d9
vulkan: Fix OOB accesses in soft_max_back (#15861)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -3387,7 +3387,7 @@ static void ggml_vk_load_shaders(vk_device& device) {\n ggml_vk_create_pipeline(device, device->pipeline_soft_max_f32_wg512, \"soft_max_f32_wg512\", soft_max_f32_len, soft_max_f32_data, \"main\", 4, sizeof(vk_op_soft_max_p...
2025-09-09T12:41:15
golang/go
65f46486a1f27017bc991e132725e8d939d069dd
768201729df89a28aae2cc5e41a33ffcb759c113
cmd/go/internal/load: load imports for all package data errors go/build.Import can return errors for many different reasons like inconsistent package clauses or errors parsing build constraints. It will still return a *build.Package with imports from files it was able to process. Package.load should load these imports...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -217,10 +217,7 @@ func (e *NoGoError) Error() string {\n // setLoadPackageDataError returns true if it's safe to load information about\n // imported packages, for example, if there was a parse error loading imports\n // in one file, but other files ...
2020-04-21T15:29:51
huggingface/transformers
1e2093176515ddfd7a7dc5f77b2bb4d6a1bc3445
1a585c1222a56bcaecc070966d558d4a9d862e83
[`FA-2`] Fix fa-2 issue when passing `config` to `from_pretrained` (#28043) * fix fa-2 issue * fix test * Update src/transformers/modeling_utils.py Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com> * clenaer fix * up * add more robust tests * Update src/transformers/modeling_utils...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2955,6 +2955,18 @@ def from_pretrained(\n **kwargs,\n )\n else:\n+ # In case one passes a config to `from_pretrained` + \"attn_implementation\"\n+ # override the `_attn_implementation` att...
2023-12-15T10:08:27
vuejs/vue
19c33a7e4072b03069f803263ed0c49feb5f73a9
530ca1b2db315fbd0e360807b2031d26665c5d3d
fix(v-on): correctly remove once listener (#8036) fix #8032
[ { "path": "src/core/instance/events.js", "patch": "@@ -21,25 +21,31 @@ export function initEvents (vm: Component) {\n \n let target: any\n \n-function add (event, fn, once) {\n- if (once) {\n- target.$once(event, fn)\n- } else {\n- target.$on(event, fn)\n- }\n+function add (event, fn) {\n+ target....
2018-12-02T16:32:59
ggml-org/llama.cpp
a972faebed5fdc4a3d2a844d92d476058c02e02d
550cf726e133fd0a069d991287fd3a2a3e3e1cbd
CUDA: Add mul_mat_id support for the mmf kernel (#15767) * CUDA: Add mul_mat_id support the mmf Add support for mul_mat_id for bs < 16 * Review: use warp_size, fix should_use_mmf condition * Launch one block per expert, stride along n_expert_used * templatize mul_mat_id * Pad shmem to 16 bytes, add helper functio...
[ { "path": "ggml/src/ggml-cuda/CMakeLists.txt", "patch": "@@ -44,6 +44,8 @@ if (CUDAToolkit_FOUND)\n list(APPEND GGML_SOURCES_CUDA ${SRCS})\n file(GLOB SRCS \"template-instances/mmq*.cu\")\n list(APPEND GGML_SOURCES_CUDA ${SRCS})\n+ file(GLOB SRCS \"template-instances/mmf*.cu\")\n+ list...
2025-09-09T06:38:02
nodejs/node
01a46f3981463cee26876495fbb4284f0057269b
033c3b0a4da75bffc9bfc9c456033aa684757179
http2: fix abort when client.destroy inside end event PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -289,11 +289,9 @@ function onSessionRead(nread, buf, handle) {\n _unrefActive(this); // Reset the session timeout timer\n _unrefActive(stream); // Reset the stream timeout timer\n \n- if (nread >= 0) {\n+ if (nread >= 0 && !stream.destroyed) {\n ...
2017-07-19T00:24:41
vuejs/vue
530ca1b2db315fbd0e360807b2031d26665c5d3d
097f6229dffc34af452b106ad2a3b58845588807
fix(core): properly handle reused vnodes This also removes the restrictions on rendering the same slot multiple times. close #7913
[ { "path": "src/core/instance/render-helpers/render-slot.js", "patch": "@@ -26,19 +26,7 @@ export function renderSlot (\n }\n nodes = scopedSlotFn(props) || fallback\n } else {\n- const slotNodes = this.$slots[name]\n- // warn duplicate slot usage\n- if (slotNodes) {\n- if (process.en...
2018-12-02T02:07:18
golang/go
768201729df89a28aae2cc5e41a33ffcb759c113
4f27e1d7aadba639cceaa93f77ec0c7ee3fee01b
cmd/compile: detect and diagnose invalid //go: directive placement Thie CL changes cmd/compile/internal/syntax to give the gc half of the compiler more control over pragma handling, so that it can prepare better errors, diagnose misuse, and so on. Before, the API between the two was hard-coded as a uint16. Now it is a...
[ { "path": "src/cmd/compile/doc.go", "patch": "@@ -195,30 +195,58 @@ directive can skip over a directive like any other comment.\n // Line directives typically appear in machine-generated code, so that compilers and debuggers\n // will report positions in the original input to the generator.\n /*\n-The line ...
2020-04-01T19:51:08
ggml-org/llama.cpp
550cf726e133fd0a069d991287fd3a2a3e3e1cbd
c252ce67c4b99f056eeb18d42a289e28fee03475
CUDA: fix GET_ROWS for large tensors (#15882)
[ { "path": "ggml/src/ggml-cuda/getrows.cu", "patch": "@@ -2,67 +2,69 @@\n #include \"dequantize.cuh\"\n #include \"convert.cuh\"\n \n-#define MAX_GRIDDIM_Y 65535\n-\n template<int qk, int qr, dequantize_kernel_t dequantize_kernel, typename dst_t>\n static __global__ void k_get_rows(\n const void * __...
2025-09-09T06:11:01
nodejs/node
033c3b0a4da75bffc9bfc9c456033aa684757179
09b0b1bd484c3bcdfa932c8712680f0bfbc2db02
test: fix flaky test-http2-client-unescaped-path on osx PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "test/parallel/test-http2-client-unescaped-path.js", "patch": "@@ -13,7 +13,7 @@ const count = 32;\n server.listen(0, common.mustCall(() => {\n const client = http2.connect(`http://localhost:${server.address().port}`);\n \n- let remaining = count;\n+ let remaining = count + 1;\n function may...
2017-07-18T16:31:38
huggingface/transformers
050e0b44f6a63131b56d493543ab39fb7b4f20ca
52c37882fb897a14e053cdd3a14024a478263992
Proper build() methods for TF (#27794) * Add a convenience method for building in your own name scope * Second attempt at auto layer building * Revert "Second attempt at auto layer building" This reverts commit e03a3aaecf9ec41a805582b83cbdfe3290a631be. * Attempt #3 * Revert "Attempt #3" This reverts ...
[ { "path": "src/transformers/modeling_tf_utils.py", "patch": "@@ -35,7 +35,6 @@\n from huggingface_hub import Repository, list_repo_files\n from keras import backend as K\n from packaging.version import parse\n-from tensorflow.python.util.keras_deps import get_call_context_function\n \n from . import DataCol...
2023-12-14T15:17:30
vuejs/vue
097f6229dffc34af452b106ad2a3b58845588807
ef8524ab7db8d64ac449ce74f5858aa9d91357ad
fix(core): avoid mutating original children when cloning vnode The on-demand clone strategy introduced in 956756b mutates the owner array of the cloned vnode. This causes the newly cloned vnode to be destroyed when the parent node is destroyed. This is fixed by cloning the children array when cloning a vnode. fix #79...
[ { "path": "src/core/vdom/vnode.js", "patch": "@@ -90,7 +90,10 @@ export function cloneVNode (vnode: VNode): VNode {\n const cloned = new VNode(\n vnode.tag,\n vnode.data,\n- vnode.children,\n+ // #7975\n+ // clone children array to avoid mutating original in case of cloning\n+ // a chi...
2018-12-01T22:05:36
golang/go
4f27e1d7aadba639cceaa93f77ec0c7ee3fee01b
af55060b39d2f6f39711abc95a23bd8f47968e8e
cmd/go/internal/modfetch: add Unlock before return in checkModSum In cmd/go/internal/modfetch/fetch.go, `checkModSum()` forgets Unlock before return, which may lead to deadlock. https://github.com/golang/go/blob/876c1feb7d5e10a6ff831de9db19b9ff0ea92fa8/src/cmd/go/internal/modfetch/fetch.go#L514-L520 The fix is to add ...
[ { "path": "src/cmd/go/internal/modfetch/fetch.go", "patch": "@@ -514,6 +514,7 @@ func checkModSum(mod module.Version, h string) error {\n \tgoSum.mu.Lock()\n \tinited, err := initGoSum()\n \tif err != nil {\n+\t\tgoSum.mu.Unlock()\n \t\treturn err\n \t}\n \tdone := inited && haveModSumLocked(mod, h)", "...
2020-04-21T11:37:41
ggml-org/llama.cpp
70cd37dbbebdb7a2f84f08207f18eabb0b291a55
acc1b008cfd95e63d5f99a370dbffb98e5a99d2c
requirements : update transformers/torch for Embedding Gemma (#15828) * requirements : update transformers/torch for Embedding Gemma This commit updates the requirements to support converting Embedding Gemma 300m models. The motivation for this change is that during development I had a local copy of the transformers...
[ { "path": "requirements/requirements-convert_hf_to_gguf.txt", "patch": "@@ -2,7 +2,9 @@ mistral-common>=1.8.3\n \n -r ./requirements-convert_legacy_llama.txt\n --extra-index-url https://download.pytorch.org/whl/cpu\n-torch~=2.4.0; platform_machine != \"s390x\"\n+\n+## Embedding Gemma requires PyTorch 2.6.0 ...
2025-09-09T04:06:52
nodejs/node
09b0b1bd484c3bcdfa932c8712680f0bfbc2db02
df0334669e45f5f2abc031963b2fa82e9c8350a4
test: fix flakiness in test-http2-client-upload Race condition in the closing of the stream causing failure on some platforms. PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gma...
[ { "path": "test/parallel/test-http2-client-upload.js", "patch": "@@ -32,13 +32,21 @@ fs.readFile(loc, common.mustCall((err, data) => {\n \n server.listen(0, common.mustCall(() => {\n const client = http2.connect(`http://localhost:${server.address().port}`);\n+\n+ let remaining = 2;\n+ function m...
2017-07-18T15:45:41
huggingface/transformers
52c37882fb897a14e053cdd3a14024a478263992
388fd314d8dd6bcb685f5223a7a46caa17e577f2
[Seamless] Fix links in docs (#27905) * [Seamless] Fix links in docs * apply suggestions from code review
[ { "path": "docs/source/en/model_doc/seamless_m4t.md", "patch": "@@ -15,7 +15,8 @@ specific language governing permissions and limitations under the License.\n ## Overview\n \n The SeamlessM4T model was proposed in [SeamlessM4T — Massively Multilingual & Multimodal Machine Translation](https://dl.fbaipublicf...
2023-12-14T15:14:13
vuejs/vue
ef8524ab7db8d64ac449ce74f5858aa9d91357ad
0b31647c41b0c916d40b962723b1de06672d0e01
fix(compiler): wrap scoped slots v-if conditions in parens (#9119) fix #9114
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -367,7 +367,7 @@ function genScopedSlot (\n const fn = `function(${String(el.slotScope)}){` +\n `return ${el.tag === 'template'\n ? el.if\n- ? `${el.if}?${genChildren(el, state) || 'undefined'}:undefined`\n+ ? `(${el.if})?${ge...
2018-12-01T05:33:59
rust-lang/rust
7bca1f2675d9f63b09ed9641e9aefe05b8ccc675
8c61cd4df8434573190336b8f16169f3c2b22a7a
Fix missing const for inherent pointer `replace` methods
[ { "path": "library/core/src/ptr/mut_ptr.rs", "patch": "@@ -1577,8 +1577,9 @@ impl<T: ?Sized> *mut T {\n ///\n /// [`ptr::replace`]: crate::ptr::replace()\n #[stable(feature = \"pointer_methods\", since = \"1.26.0\")]\n+ #[rustc_const_stable(feature = \"const_inherent_ptr_replace\", since = \"...
2025-02-11T16:49:14
ggml-org/llama.cpp
acc1b008cfd95e63d5f99a370dbffb98e5a99d2c
7057faf64b514e991e2f70147f82bb13d544b1c0
model-conversion : add extra debugging support for model conversion (#15877) * feat: Extra debugging support for model conversion - added BF16 support for llama-callback-eval and support for dumping intermediate steps in run-org-model.py
[ { "path": "examples/eval-callback/eval-callback.cpp", "patch": "@@ -28,6 +28,15 @@ static std::string ggml_ne_string(const ggml_tensor * t) {\n return str;\n }\n \n+static inline float ggml_compute_bf16_to_fp32(ggml_bf16_t h) {\n+ union {\n+ float f;\n+ uint32_t i;\n+ } u;\n+ u.i ...
2025-09-09T04:05:55
golang/go
af55060b39d2f6f39711abc95a23bd8f47968e8e
664d2707276b3523895d98f1233c3ad7b7297220
cmd/trace: fix the broken link in region pages and improve UX The trace tool had a broken link due to a parameter encoding error, which has been corrected. In addition: - the user regions page has been enhanced to include links to pprof style profiles for region specific io, block, syscall and schedwait profiles. -...
[ { "path": "src/cmd/trace/annotations.go", "patch": "@@ -12,6 +12,7 @@ import (\n \t\"log\"\n \t\"math\"\n \t\"net/http\"\n+\t\"net/url\"\n \t\"reflect\"\n \t\"sort\"\n \t\"strconv\"\n@@ -146,10 +147,12 @@ func httpUserRegion(w http.ResponseWriter, r *http.Request) {\n \t\tMaxTotal int64\n \t\tData []reg...
2020-04-19T02:21:15
huggingface/transformers
388fd314d8dd6bcb685f5223a7a46caa17e577f2
0ede7626368ba883848d267efe558fb7a9177f04
Generate: Mistral/Mixtral FA2 cache fix when going beyond the context window (#28037)
[ { "path": "src/transformers/models/mistral/modeling_mistral.py", "patch": "@@ -363,6 +363,12 @@ def forward(\n \n kv_seq_len = key_states.shape[-2]\n if past_key_value is not None:\n+ if self.layer_idx is None:\n+ raise ValueError(\n+ f\"The cache...
2023-12-14T14:52:45
vuejs/vue
0b31647c41b0c916d40b962723b1de06672d0e01
0d62bb84ffa1af7a4826aecc11c429c7a020645c
chore: fix grammar in core/observer/index.js comments (#9116)
[ { "path": "src/core/observer/index.js", "patch": "@@ -37,7 +37,7 @@ export function toggleObserving (value: boolean) {\n export class Observer {\n value: any;\n dep: Dep;\n- vmCount: number; // number of vms that has this object as root $data\n+ vmCount: number; // number of vms that have this object ...
2018-12-01T05:29:37
nodejs/node
f070d784d61f59fc6f97e400ad2f9697acdf32ee
6dea193acaa3c548fa2dedf57a4e32c8401a02c2
http2: fix documentation nits PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -793,7 +793,7 @@ been closed.\n <a id=\"ERR_HTTP2_STREAM_ERROR\"></a>\n ### ERR_HTTP2_STREAM_ERROR\n \n-Used when a non-zero error code has been specified in an RST_STREAM frame.\n+Used when a non-zero error code has been specified in an `RST_STREAM` frame.\n \n <...
2017-07-17T17:43:33
rust-lang/rust
ac15a10b55580065320e48b29b6ff0ea36d8093a
ff87bead4f4931de38194809b5c9a420cce732e6
just_underscores_and_digits: ignore empty ident Empty idents come from error recovery, and should imply that a better error has already been emitted.
[ { "path": "clippy_dev/src/fmt.rs", "patch": "@@ -290,8 +290,13 @@ fn run_rustfmt(context: &FmtContext) -> Result<(), Error> {\n .filter_map(|entry| {\n let entry = entry.expect(\"failed to find tests\");\n let path = entry.path();\n-\n- if path.extension() != Some(...
2025-02-06T22:38:28
ggml-org/llama.cpp
88021565f08e0b7c4e07ac089a15ec16fae9166c
56920f56651908d5cce7a310dabf54ac4f6fbb7f
chat : Deepseek V3.1 reasoning and tool calling support (OpenAI Style) (#15533) * Add DeepSeek V3.1 thinking mode support - Added COMMON_CHAT_FORMAT_DEEPSEEK_V3_1 enum value - Created common_chat_params_init_deepseek_v3_1() function (currently uses R1 implementation) - Created common_chat_parse_deepseek_v3_1() functi...
[ { "path": "common/chat.cpp", "patch": "@@ -631,6 +631,7 @@ const char * common_chat_format_name(common_chat_format format) {\n case COMMON_CHAT_FORMAT_FIREFUNCTION_V2: return \"FireFunction v2\";\n case COMMON_CHAT_FORMAT_FUNCTIONARY_V3_2: return \"Functionary v3.2\";\n case COMMON_C...
2025-09-08T14:59:48
huggingface/transformers
0ede7626368ba883848d267efe558fb7a9177f04
bb1d0d0d9e7ca356cf5673031183e955cc160158
Fixed spelling error in T5 tokenizer warning message (s/thouroughly/t… (#28014) Fixed spelling error in T5 tokenizer warning message (s/thouroughly/thoroughly)
[ { "path": "src/transformers/models/t5/tokenization_t5.py", "patch": "@@ -191,7 +191,7 @@ def __init__(\n f\"You are using the default legacy behaviour of the {self.__class__}. This is\"\n \" expected, and simply means that the `legacy` (previous) behavior will be used so noth...
2023-12-14T14:52:03
golang/go
664d2707276b3523895d98f1233c3ad7b7297220
876c1feb7d5e10a6ff831de9db19b9ff0ea92fa8
os: correct bad PathError message from FileOpen with O_CREATE on Plan 9 On Plan 9, FileOpen with flag O_CREATE & ~O_TRUNC is done in two steps. First, syscall.Open is attempted, to avoid truncation when opening an existing file. If that fails because the file doesn't exist, syscall.Create is used to create a new fil...
[ { "path": "src/os/file_plan9.go", "patch": "@@ -112,10 +112,9 @@ func openFileNolog(name string, flag int, perm FileMode) (*File, error) {\n \t} else {\n \t\tfd, e = syscall.Open(name, flag)\n \t\tif IsNotExist(e) && create {\n-\t\t\tvar e1 error\n-\t\t\tfd, e1 = syscall.Create(name, flag, syscallMode(perm)...
2020-04-21T10:00:53
ggml-org/llama.cpp
b0d52998b962bd2681c34bf52af993af79f178b8
f28d4f4ac963f182ea9d0fe9e269f3f5f3782aaf
cuda : fix supports_op condition for get_rows when number of blocks is too large (#15868) * cuda : fix supports_op condition for get_rows when src1->ne2 > 1 ggml-ci * ggml : add comment about ggml_get_rows ggml-ci * cuda : add FIXME [no ci] * cuda : update support condition ggml-ci
[ { "path": "ggml/include/ggml.h", "patch": "@@ -1529,7 +1529,11 @@ extern \"C\" {\n struct ggml_context * ctx,\n struct ggml_tensor * a);\n \n- // supports 3D: a->ne[2] == b->ne[1]\n+ // supports 4D a:\n+ // a [n_embd, ne1, ne2, ne3]\n+ // b I32 [n_rows, ne2, ne3, 1]\...
2025-09-08T10:56:51
huggingface/transformers
bb1d0d0d9e7ca356cf5673031183e955cc160158
e2b16485f32501c37a893e2b383523e4465bb178
Fix languages covered by M4Tv2 (#28019) * correct language assessment + add tests * Update src/transformers/models/seamless_m4t_v2/modeling_seamless_m4t_v2.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * make style + simplify and enrich test --------- Co-authored-by: am...
[ { "path": "src/transformers/models/seamless_m4t_v2/modeling_seamless_m4t_v2.py", "patch": "@@ -4596,7 +4596,11 @@ def generate(\n if tgt_lang is not None:\n # also accept __xxx__\n tgt_lang = tgt_lang.replace(\"__\", \"\")\n- for key in [\"text_decoder_lang_to_code...
2023-12-14T14:43:44
golang/go
4974ac6874a1fdeb50a025e84f03bb354a400ea7
0eb694e9c217c051cd8cc18258bf593d0be7fb8d
cmd/compile: use cheaper implementation of oneBit This is the second attempt. The first attempt was CL 229127, which got rolled back by CL 229177, because it caused an infinite loop during compilation on some platforms. I didn't notice that the trybots hadn't completed when I submitted; mea culpa. The bug was that we...
[ { "path": "src/cmd/compile/internal/ssa/rewrite.go", "patch": "@@ -397,11 +397,11 @@ func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }\n func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }\n func ntz8(x int8) int { return bits.TrailingZeros8(uint8(x)) }\n \n-func oneBit(x i...
2020-04-20T22:40:38
vuejs/vue
0d62bb84ffa1af7a4826aecc11c429c7a020645c
b0ccb8618382b6ee143d68cf4498d6b3ec18aa81
fix: actually disable dep collection when invoking lifecycle hooks (#9095) fix #9046
[ { "path": "src/core/observer/dep.js", "patch": "@@ -55,11 +55,12 @@ export default class Dep {\n Dep.target = null\n const targetStack = []\n \n-export function pushTarget (_target: ?Watcher) {\n- if (Dep.target) targetStack.push(Dep.target)\n- Dep.target = _target\n+export function pushTarget (target: ?W...
2018-12-01T05:24:30
huggingface/transformers
dde6c427a162840ce922ef47ab93b2bccc284844
73de5108e172112bc620cfc0ceebfd27730dba11
Fix AMD push CI not triggered (#28029) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-push-amd-mi210-caller.yml", "patch": "@@ -18,7 +18,7 @@ on:\n jobs:\r\n run_amd_ci:\r\n name: AMD mi210\r\n- if: (cancelled() != true) && ((github.event_name == 'push') && (github.ref_name == 'main' || startsWith(github.ref_name, 'run_amd_push_ci_caller')))\r\n+ ...
2023-12-14T11:44:00
ggml-org/llama.cpp
f28d4f4ac963f182ea9d0fe9e269f3f5f3782aaf
9fcb29f22f5c33c04c7f0daebb24057899d67a1a
metal : refactor + optimize (#15857) * metal : refactor ggml-ci * cont : refactor FA-vec kernel * cont : print metal library load time * minor : warn to debug + bettern kernel names ggml-ci * metal : optimize mul_mv q8_0 ggml-ci * metal : simplify FA pipeline creation functions ggml-ci * metal : improve nami...
[ { "path": "ggml/src/ggml-metal/ggml-metal-impl.h", "patch": "@@ -20,8 +20,8 @@\n #define N_R0_Q5_1 4\n #define N_SG_Q5_1 2\n \n-#define N_R0_Q8_0 4\n-#define N_SG_Q8_0 2\n+#define N_R0_Q8_0 2\n+#define N_SG_Q8_0 4\n \n #define N_R0_MXFP4 2\n #define N_SG_MXFP4 2\n@@ -68,6 +68,11 @@\n #define N_R0_IQ4_XS 2\n...
2025-09-08T10:34:56
golang/go
0eb694e9c217c051cd8cc18258bf593d0be7fb8d
925516309128f20bb11a38f3e5265f23360a28ba
reflect: disallow invoking methods on unexported embedded fields Given: type u struct{} func (u) M() {} type t struct { u; u2 u } var v = reflect.ValueOf(t{}) Package reflect allows: v.Method(0) // v.M v.Field(0).Method(0) // v.u.M but panics from: v.Field(1).Method(0) // v....
[ { "path": "doc/go1.15.html", "patch": "@@ -177,6 +177,18 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl>\n \n+<dl id=\"reflect\"><dt><a href=\"/pkg/reflect/\">reflect</a></dt>\n+ <dd>\n+ <p><!-- CL 228902 -->\n+ Package reflect now disallows accessing methods...
2020-04-19T20:59:16
vuejs/vue
b111de486b1bdc747fe0f5795fe22697d151bb8c
33e669b22f69a1f9c9147528360fe0bba85534f0
fix: make sure global state is restored in the case of an exception in macrotask callback (#9093)
[ { "path": "src/core/util/next-tick.js", "patch": "@@ -81,9 +81,11 @@ if (typeof Promise !== 'undefined' && isNative(Promise)) {\n export function withMacroTask (fn: Function): Function {\n return fn._withTask || (fn._withTask = function () {\n useMacroTask = true\n- const res = fn.apply(null, argum...
2018-12-01T05:07:46
huggingface/transformers
73de5108e172112bc620cfc0ceebfd27730dba11
2788f8d8d5f9cee2fe33a9292b0f3570bd566a6d
[`core` / `modeling`] Fix training bug with PEFT + GC (#28031) fix trainign bug
[ { "path": "src/transformers/models/deprecated/open_llama/modeling_open_llama.py", "patch": "@@ -578,6 +578,13 @@ def forward(\n seq_length_with_past = seq_length\n past_key_values_length = 0\n \n+ if self.gradient_checkpointing and self.training:\n+ if use_cache:\n+ ...
2023-12-14T11:19:45
vuejs/vue
33e669b22f69a1f9c9147528360fe0bba85534f0
f43ae6d151de3ab00a5fbd1bb5fd3fabf454de85
fix(ssr): computed properties should pass vm as first argument in ssr (#9090) fix #8977
[ { "path": "src/core/instance/state.js", "patch": "@@ -216,13 +216,13 @@ export function defineComputed (\n if (typeof userDef === 'function') {\n sharedPropertyDefinition.get = shouldCache\n ? createComputedGetter(key)\n- : userDef\n+ : createGetterInvoker(userDef)\n sharedProperty...
2018-12-01T05:05:13
ggml-org/llama.cpp
9fcb29f22f5c33c04c7f0daebb24057899d67a1a
5ef22d281de9c5eaaf616874bc490b89241128cb
ggml: allow casting between f32 and i32 (#15783) * ggml: allow casting between f32 and i32 * fix cuda * add vulkan * fix CPU non-cont * add non-cont test case * add note * extend test number range * correct note * add cont version for vulkan
[ { "path": "ggml/include/ggml-cpu.h", "patch": "@@ -134,6 +134,7 @@ extern \"C\" {\n GGML_BACKEND_API ggml_backend_reg_t ggml_backend_cpu_reg(void);\n \n GGML_BACKEND_API void ggml_cpu_fp32_to_fp32(const float *, float *, int64_t);\n+ GGML_BACKEND_API void ggml_cpu_fp32_to_i32 (const float *...
2025-09-08T10:33:01
golang/go
f6b30e53bbb026ce1d0aeddd112a8bdb0cd836c3
7f8fda3c0bfcc832934aa75b4580b4c780e1cb52
reflect: return user-visible method name in panic string This was accidentally broken in CL 166462, which introduce another function in the panicking path without adjusting the argument to runtime.Caller. Change-Id: Ib6f9ed8673fefd458c7a4e3a918c45c5b31ca552 Reviewed-on: https://go-review.googlesource.com/c/go/+/22908...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -2021,15 +2021,15 @@ func TestMakeFuncValidReturnAssignments(t *testing.T) {\n \n func TestMakeFuncInvalidReturnAssignments(t *testing.T) {\n \t// Type doesn't implement the required interface.\n-\tshouldPanic(func() {\n+\tshouldPanic(\"\", func() {\n \t\tva...
2020-04-20T23:30:43
nodejs/node
e71e71b5138c3dfee080f4215dd957dc7a6cbdaf
71a1876f6c3f2a7131c7019d63fea5c8fa740276
http2: introducing HTTP/2 At long last: The initial *experimental* implementation of HTTP/2. This is an accumulation of the work that has been done in the nodejs/http2 repository, squashed down to a couple of commits. The original commit history has been preserved in the nodejs/http2 repository. This PR introduces t...
[ { "path": "configure", "patch": "@@ -64,6 +64,8 @@ shared_optgroup = optparse.OptionGroup(parser, \"Shared libraries\",\n intl_optgroup = optparse.OptionGroup(parser, \"Internationalization\",\n \"Flags that lets you enable i18n features in Node.js as well as which \"\n \"library you want to build a...
2017-07-17T17:17:16
huggingface/transformers
17506d1256c1780efc9e2a5898a828c10ad4ea69
fe44b1f1a974139cd32a8884a63686425283b07c
add `modules_in_block_to_quantize` arg in GPTQconfig (#27956) * add inside_layer_modules arg * fix * change to modules_to_quantize_inside_block * fix * remane again * Apply suggestions from code review Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * better docsting * f...
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -363,7 +363,7 @@ class GPTQConfig(QuantizationConfigMixin):\n model_seqlen (`int`, *optional*):\n The maximum sequence length that the model can take.\n block_name_to_quantize (`str`, *optional*):\n- ...
2023-12-13T19:13:44
vuejs/vue
f43ae6d151de3ab00a5fbd1bb5fd3fabf454de85
05e8bcfe5d308f280f3640df96bd170fbcf1a9b5
chore(typo): fix typo (#9085)
[ { "path": "types/options.d.ts", "patch": "@@ -68,7 +68,7 @@ export interface ComponentOptions<\n \n el?: Element | string;\n template?: string;\n- // hack is for funcitonal component type inference, should not used in user code\n+ // hack is for functional component type inference, should not be used ...
2018-12-01T04:58:58
ggml-org/llama.cpp
233d773d02c37982badddf3994e9953a175f34da
a885dcff11a7b73f9377812d6151f6b15d307de0
convert : force setting sliding_window from original config (#15867) * convert : force setting sliding_window from original config This commit modifies the set_gguf_parameters method for EmbeddingGemma so that it reads the sliding_window parameter from the original model config.json and uses that value. The motivati...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -5128,6 +5128,20 @@ class EmbeddingGemma(Gemma3Model):\n \n def set_gguf_parameters(self):\n super().set_gguf_parameters()\n+\n+ # Override the sliding window size as it gets adjusted by the Gemma3TextConfig\n+ # constructor. We want ...
2025-09-08T07:44:34
golang/go
7f8fda3c0bfcc832934aa75b4580b4c780e1cb52
0f14c2a0423ed2416db38ca24edfcb47f46c4e4c
cmd/compile: use proper magnitude for (x>>c) & uppermask = 0 This is followup of CL 228860, which rewrite shift rules to use typed aux. That CL introduced nlz* functions, to refactor left shift rules. While at it, we realize there's a bug in old rules with both right/left shift rules, but only fix for left shift rules...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -448,9 +448,9 @@\n \n // (x >> c) & uppermask = 0\n (And64 (Const64 [m]) (Rsh64Ux64 _ (Const64 [c]))) && c >= int64(64-ntz64(m)) => (Const64 [0])\n-(And32 (Const32 [m]) (Rsh32Ux64 _ (Const64 [c]))) && c >= int64(64-ntz32(m)) => (Const3...
2020-04-20T20:47:02
rust-lang/rust
e279c4eadba97aaf6f64830b4a4a83be8f5879c4
61cc3e51f8bf5c12595a4d61a5ee9de812974b43
include note on variance and example Fixes #89150 Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
[ { "path": "library/core/src/any.rs", "patch": "@@ -610,6 +610,101 @@ impl dyn Any + Send + Sync {\n /// While `TypeId` implements `Hash`, `PartialOrd`, and `Ord`, it is worth\n /// noting that the hashes and ordering will vary between Rust releases. Beware\n /// of relying on them inside of your code!\n+///...
2025-01-29T14:18:10
nodejs/node
b1909d3a70f9e2ab3d1871848814edbe6130a00e
9ea363ee99165011ddcb5d9c8d16b3a22f140bc9
tls: add tlsSocket.disableRenegotiation() Allows TLS renegotiation to be disabled per `TLSSocket` instance. Per HTTP/2, TLS renegotiation is forbidden after the initial connection prefix is exchanged. PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin...
[ { "path": "doc/api/tls.md", "patch": "@@ -552,6 +552,14 @@ added: v0.11.4\n Returns `true` if the peer certificate was signed by one of the CAs specified\n when creating the `tls.TLSSocket` instance, otherwise `false`.\n \n+### tlsSocket.disableRenegotiation()\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+Disab...
2016-11-04T19:37:36
vuejs/vue
05e8bcfe5d308f280f3640df96bd170fbcf1a9b5
1129d184482720bb52fa61f0a309645b7caaddd9
fix: fix server env detection in wechat mini program (#9075)
[ { "path": "src/core/util/env.js", "patch": "@@ -41,7 +41,7 @@ export const isServerRendering = () => {\n if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n- _isServer = global['process']...
2018-12-01T04:58:29
huggingface/transformers
815ea8e8a23a85482225d371f7218cacc3e99e5b
93766251cb0e07afa8e6e25dfeacf525db39cead
[Doc] Spanish translation of glossary.md (#27958) * Add glossary to es/_toctree.yml * Add glossary.md to es/ * A section translated * B and C section translated * Fix typo in en/glossary.md C section * D section translated | Add a extra line in en/glossary.md * E and F section translated | Fix typo i...
[ { "path": "docs/source/en/glossary.md", "patch": "@@ -100,7 +100,7 @@ reading the whole sentence but using a mask inside the model to hide the future\n \n ### channel\n \n-Color images are made up of some combination of values in three channels - red, green, and blue (RGB) - and grayscale images only have o...
2023-12-13T17:21:59
ggml-org/llama.cpp
a885dcff11a7b73f9377812d6151f6b15d307de0
663027fd5490438ce9c27ea866a560e1e268d11f
batched-bench : fix llama_synchronize usage during prompt processing (#15835) ggml-ci
[ { "path": "tools/batched-bench/batched-bench.cpp", "patch": "@@ -71,7 +71,7 @@ int main(int argc, char ** argv) {\n llama_batch batch = llama_batch_init(n_kv_max, 0, 1);\n \n // decode in batches of ctx_params.n_batch tokens\n- auto decode_helper = [](llama_context * ctx, llama_batch & batch, int...
2025-09-08T07:27:07
rust-lang/rust
53a055049cde50f6a42cf3cb5a7826142ea396e0
2a3ef8b9a2365365aae80419a9bbac0bddf64c71
Add `roundeven{,f,f16,f128}` C23 specifies a new set of `roundeven` functions that round to the nearest integral, with ties to even. It does not raise any floating point exceptions. This behavior is similar to two other functions: 1. `rint`, which rounds to the nearest integer respecting rounding mode and possibl...
[ { "path": "library/compiler-builtins/libm/crates/libm-macros/src/shared.rs", "patch": "@@ -9,18 +9,60 @@ const ALL_OPERATIONS_NESTED: &[(FloatTy, Signature, Option<Signature>, &[&str])]\n FloatTy::F16,\n Signature { args: &[Ty::F16], returns: &[Ty::F16] },\n None,\n- &[\"ceilf...
2025-02-11T00:17:32
golang/go
1cca496c5e6b49de4fef26bb118b3a65e4cec72c
f38fad4aaad7a8de7d466ab89c9c9b115d4c46c7
Revert "Revert "cmd/compile: adjust RISCV64 rewrite rules to use typed aux fields"" This reverts commit 98c32670fd454939794504225dca1d4ec55045d5. Rolling-forward with trivial format-string fix cmd/compile: adjust RISCV64 rewrite rules to use typed aux fields Also add a typed version of mergeSym to rewrite.go to ass...
[ { "path": "src/cmd/compile/fmtmap_test.go", "patch": "@@ -112,6 +112,7 @@ var knownFormats = map[string]string{\n \t\"cmd/compile/internal/ssa.Location %s\": \"\",\n \t\"cmd/compile/internal/ssa.Op %s\": \"\",\n \t\"cmd/compile/internal/ssa.Op %v\": \"\",\n+\t\"c...
2020-04-20T22:15:50
vuejs/vue
97086f365808a040f6cf1ddb12e2b3f63d7769bf
76443803e8878dc13a31ebed119abfd31573e7f1
fix(types): fix vm.$once argument type (#8995) vm.$once should accept an event or array of events as first parameter. fix #8983
[ { "path": "types/vue.d.ts", "patch": "@@ -53,7 +53,7 @@ export interface Vue {\n options?: WatchOptions\n ): (() => void);\n $on(event: string | string[], callback: Function): this;\n- $once(event: string, callback: Function): this;\n+ $once(event: string | string[], callback: Function): this;\n ...
2018-12-01T04:41:27
nodejs/node
2dc09f656b898021b371d8c11c3883f562e09e30
211df3fe8cbf4e6e18d1f7705d85c285b35979be
test: read proper inspector message size Fix a bug when messages bigger than 64kb where incorrectly parsed by the inspector-helper. PR-URL: https://github.com/nodejs/node/pull/14596 Fixes: https://github.com/nodejs/node/issues/14507 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Eugene Ostroukhov <eostr...
[ { "path": "test/inspector/inspector-helper.js", "patch": "@@ -53,6 +53,7 @@ function sendEnd(socket) {\n }\n \n function parseWSFrame(buffer, handler) {\n+ // Protocol described in https://tools.ietf.org/html/rfc6455#section-5\n if (buffer.length < 2)\n return 0;\n if (buffer[0] === 0x88 && buffer[...
2017-08-02T13:05:52
huggingface/transformers
93766251cb0e07afa8e6e25dfeacf525db39cead
ec43d6870aa1afb42a6d2b1b0a03743d3f9b3ce6
Fix bug with rotating checkpoints (#28009) * Fix bug * Write test * Keep back old modification for grad accum steps * Whitespace... * Whitespace again * Race condition * Wait for everyone
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2382,8 +2382,13 @@ def _save_checkpoint(self, model, trial, metrics=None):\n self._push_from_checkpoint(staging_output_dir)\n \n # Place checkpoint in final location after all saving is finished.\n+ # First wait for everyone t...
2023-12-13T17:17:30