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
cc0dc24bc9ecd4199ec102bde676d49588c7bb60
186c0775132fecdc571f3996f75c7e1377d5fb9b
[Fuyu] Add tests (#27001) * Add tests * Add integration test * More improvements * Fix tests * Fix style * Skip gradient checkpointing tests * Update script * Remove scripts * Remove Fuyu from auto mapping * Fix integration test * More improvements * Remove file * Add Fuyu to slow d...
[ { "path": "src/transformers/models/fuyu/modeling_fuyu.py", "patch": "@@ -19,10 +19,10 @@\n import torch.utils.checkpoint\n from torch import nn\n \n-from ...modeling_outputs import BaseModelOutputWithPast\n+from ...modeling_outputs import CausalLMOutputWithPast\n from ...modeling_utils import PreTrainedMode...
2023-11-15T08:33:04
vuejs/vue
cfd73c2386623341fdbb3ac636c4baf84ea89c2c
83ed92608d81349e1cac2e481ed079e51a490b2b
fix: handle encoded tabs and newlines in attributes for Chrome a[href] and IE/Edge fix #6828, fix #6916
[ { "path": "flow/compiler.js", "patch": "@@ -14,7 +14,8 @@ declare type CompilerOptions = {\n preserveWhitespace?: boolean;\n isFromDOM?: boolean;\n shouldDecodeTags?: boolean;\n- shouldDecodeNewlines?: boolean;\n+ shouldDecodeNewlines?: boolean;\n+ shouldDecodeNewlinesForHref?: boolean;\n \n // ...
2017-10-26T14:01:12
golang/go
f5558bb2f580ed40374a98e8db6fd58ae79f6e1d
af7eafd1505f9e150aa9fc21cd3f19da42a30333
os/exec: add temporary debugging code for #25628 On linux-386 builders run the TestExtraFiles subprocess under strace, in hopes of finding out where the unexpected descriptor is coming from. For #25628 Change-Id: I9a62d6a5192a076525a616ccc71de74bbe7ebd58 Reviewed-on: https://go-review.googlesource.com/c/go/+/225799 ...
[ { "path": "src/os/exec/exec_test.go", "patch": "@@ -79,6 +79,13 @@ func helperCommandContext(t *testing.T, ctx context.Context, s ...string) (cmd *\n \t} else {\n \t\tcmd = exec.Command(os.Args[0], cs...)\n \t}\n+\n+\t// Temporary code to try to resolve #25628.\n+\t// TODO(iant): Remove this when we no long...
2020-03-27T17:09:26
ggml-org/llama.cpp
587d0118f50b7e8f4bafbcdd218aefd9da0272e1
5aa1105da24a8dd1661cea3db0582c9b2c2f54d3
ggml: WebGPU backend host improvements and style fixing (#14978) * Add parameter buffer pool, batching of submissions, refactor command building/submission * Add header for linux builds * Free staged parameter buffers at once * Format with clang-format * Fix thread-safe implementation * Use device implicit synchr...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -159,31 +159,15 @@ jobs:\n - name: Dawn Dependency\n id: dawn-depends\n run: |\n- ARTIFACTS_JSON=$(curl -s -L \\\n- -H \"Accept: application/vnd.github+json\" \\\n- -H \"Authorization: Bearer ${{ secre...
2025-08-04T15:52:43
rust-lang/rust
ac31e9572bba91d704a800833e2060390380c60c
942db6782f4a28c55b0b75b38fd4394d0483390f
library: doc: core::alloc::Allocator: trivial typo fix
[ { "path": "library/core/src/alloc/mod.rs", "patch": "@@ -94,7 +94,7 @@ impl fmt::Display for AllocError {\n /// - the memory block is deallocated, or\n /// - the allocator is dropped.\n ///\n-/// Copying, cloning, or moving the allocator must not invalidate memory blocks returned from it\n+/// Copying, cl...
2025-02-07T06:14:17
huggingface/transformers
2fc33ebead50383f7707b17f0e2a178d86347d10
303c1d69f3efa44b565bc5618ff819daf4a0e80f
Track the number of tokens seen to metrics (#27274) * Add tokens seen * Address comments, add to TrainingArgs * Update log * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Use self.args * Fix docstring Co-authored-by: amyeroberts <2...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -1838,6 +1838,17 @@ def _inner_training_loop(\n step = -1\n for step, inputs in enumerate(epoch_iterator):\n total_batched_samples += 1\n+\n+ if self.args.include_num_input_tokens_seen:\n+ ...
2023-11-14T20:31:04
nodejs/node
199ad1d73f81c1d568232df418090e9ce3c4a7fb
97a6aa9b202df41537c7c4fca1d3332be9046f1c
doc: correct stream Duplex allowHalfOpen doc If allowHalfOpen is set to false, the stream will automatically end the writable side when the readable side ends, but not the other way around. PR-URL: https://github.com/nodejs/node/pull/14127 Fixes: https://github.com/nodejs/node/issues/4044 Reviewed-By: Luigi Pinca <lu...
[ { "path": "doc/api/stream.md", "patch": "@@ -1744,8 +1744,8 @@ constructor and implement *both* the `readable._read()` and\n * `options` {Object} Passed to both Writable and Readable\n constructors. Also has the following fields:\n * `allowHalfOpen` {boolean} Defaults to `true`. If set to `false`, then\...
2017-07-07T20:44:53
vuejs/vue
83ed92608d81349e1cac2e481ed079e51a490b2b
ee0e8b5ce1d64120b2b8d6426d783f6f0a683395
fix: $set should respect properties on prototype chain fix #6845
[ { "path": "src/core/observer/index.js", "patch": "@@ -196,7 +196,7 @@ export function set (target: Array<any> | Object, key: any, val: any): any {\n target.splice(key, 1, val)\n return val\n }\n- if (hasOwn(target, key)) {\n+ if (key in target && !(key in Object.prototype)) {\n target[key] =...
2017-10-26T11:52:36
ggml-org/llama.cpp
5aa1105da24a8dd1661cea3db0582c9b2c2f54d3
d31192b4ee1441bbbecd3cbf9e02633368bdc4f5
vulkan: fix build when using glslang that does not support coopmat2 (#15062)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -3096,9 +3096,11 @@ static void ggml_vk_load_shaders(vk_device& device) {\n uint32_t conv2d_SHMEM_PAD = 4;\n bool conv2d_UNROLL = true;\n \n+#if defined(GGML_VULKAN_COOPMAT2_GLSLC_SUPPORT)\n if (device->coopmat2) {\n ...
2025-08-04T05:09:19
golang/go
af7eafd1505f9e150aa9fc21cd3f19da42a30333
4a8b9bd2646a5b297197ffd1c412ef6afebe5c0d
cmd/compile: convert 386 port to use addressing modes pass (take 2) Retrying CL 222782, with a fix that will hopefully stop the random crashing. The issue with the previous CL is that it does pointer arithmetic in a way that may briefly generate an out-of-bounds pointer. If an interrupt happens to occur in that state...
[ { "path": "src/cmd/compile/internal/ssa/addressingmodes.go", "patch": "@@ -11,8 +11,8 @@ func addressingModes(f *Func) {\n \tdefault:\n \t\t// Most architectures can't do this.\n \t\treturn\n-\tcase \"amd64\":\n-\t\t// TODO: 386, s390x?\n+\tcase \"amd64\", \"386\":\n+\t\t// TODO: s390x?\n \t}\n \n \tvar tmp...
2020-03-24T20:39:44
huggingface/transformers
250032e974359ba8df38c7e5530020050240d305
a53a0c5159a77f19d7e1d27063aa5ebd2a335a26
Minor type annotation fix (#27276) * Minor type annotation fix * Trigger Build
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1144,7 +1144,7 @@ class TrainingArguments:\n \"help\": \"If True, use gradient checkpointing to save memory at the expense of slower backward pass.\"\n },\n )\n- gradient_checkpointing_kwargs: dict = field(\n+ gradien...
2023-11-14T19:09:21
vuejs/vue
98ea0a3b48e37719f278c10a8ee5fb94d7d5db4e
604230fe953f864be5dc70bd7d34f64ae43e4f7e
fix(types): improve typing for better completion (#6886)
[ { "path": "types/vue.d.ts", "patch": "@@ -61,7 +61,7 @@ export interface Vue {\n $createElement: CreateElement;\n }\n \n-export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Instance & Data & Methods & Computed & Props;\n+export type CombinedVueInstance<Instance extends ...
2017-10-25T04:45:15
nodejs/node
97a6aa9b202df41537c7c4fca1d3332be9046f1c
e0af017a32a8f6824419c390720f8d9ceff94c7f
src: whitelist v8 options with '_' or '-' V8 options allow either '_' or '-' to be used in options as a seperator, such as "--abort-on_uncaught-exception". Allow these case variations when used with NODE_OPTIONS. PR-URL: https://github.com/nodejs/node/pull/14093 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-B...
[ { "path": "doc/api/cli.md", "patch": "@@ -466,7 +466,7 @@ Node options that are allowed are:\n \n V8 options that are allowed are:\n - `--abort-on-uncaught-exception`\n-- `--max_old_space_size`\n+- `--max-old-space-size`\n \n ### `NODE_PENDING_DEPRECATION=1`\n <!-- YAML", "additions": 1, "deletions"...
2017-07-05T21:25:55
ggml-org/llama.cpp
0a2f5496bef9e54e5f42d6c2c3ad9eb7b379aed0
11a3811164ef2d75393c6b0a632f4c608e3e3dd2
imatrix : fix 3d activation handling for hybrid and recurrent models (#14994) * imatrix : use a single count for dense 3d tensors * imatrix : fix 3d activations when model tensor is 2d * imatrix : fix 3d tensor counts
[ { "path": "tools/imatrix/imatrix.cpp", "patch": "@@ -250,13 +250,6 @@ bool IMatrixCollector::collect_imatrix(struct ggml_tensor * t, bool ask, void *\n const char * data = is_host ? (const char *) src1->data : m_src1_data.data();\n GGML_ASSERT(src1->nb[0] == ggml_element_size(src1));\n \n- // TOD...
2025-08-03T19:49:13
golang/go
4a8b9bd2646a5b297197ffd1c412ef6afebe5c0d
a5d1a9df812706708da1940898cf8cad8d5f9de2
runtime/pprof: increment fake overflow record PC gentraceback generates PCs which are usually following the CALL instruction. For those that aren't, it fixes up the PCs so that functions processing the output can unconditionally decrement the PC. runtime_expandInlineFrames does this unconditional decrement when looki...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -1171,6 +1171,18 @@ func TestTryAdd(t *testing.T) {\n \t\t\t{Value: []int64{10, 10 * period}, Location: []*profile.Location{{ID: 1}, {ID: 1}}},\n \t\t\t{Value: []int64{20, 20 * period}, Location: []*profile.Location{{ID: 1}}},\n \t\t},\n+\t}, {\n+\t\...
2020-03-26T19:10:21
huggingface/transformers
5468ab355567063ede0cc6c685a8feed4bfb2d1b
fe472b1db44335213f9d6d99f5ff1f35a86ad424
Update and reorder docs for chat templates (#27443) * Update and reorder docs for chat templates * Fix Mistral docstring * Add section link and small fixes * Remove unneeded line in Mistral example * Add comment on saving memory * Fix generation prompts linl * Fix code block languages
[ { "path": "docs/source/en/chat_templating.md", "patch": "@@ -20,25 +20,11 @@ rendered properly in your Markdown viewer.\n \n An increasingly common use case for LLMs is **chat**. In a chat context, rather than continuing a single string\n of text (as is the case with a standard language model), the model in...
2023-11-14T18:26:13
vuejs/vue
604230fe953f864be5dc70bd7d34f64ae43e4f7e
048e9407795ec7420d4b2962cbd50f769d3432fb
fix(keep-alive): higher priority for exclude than include (#6905)
[ { "path": "src/core/components/keep-alive.js", "patch": "@@ -87,8 +87,8 @@ export default {\n // check pattern\n const name: ?string = getComponentName(componentOptions)\n if (name && (\n- (this.include && !matches(this.include, name)) ||\n- (this.exclude && matches(this.excl...
2017-10-25T04:44:54
nodejs/node
94dd42577c8aa3a3c2f812ad68b3fe55da546eb5
ff07eaa140e54745a5298f4c929936cfe055ed3c
test: fix cctest failure on Windows Linux converts the ipv6 address "::" to "::1", while windows does not. By explicitly using "::1" in the test we allow it to succeed on windows. PR-URL: https://github.com/nodejs/node/pull/14111 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Eugene Ostroukhov <eostrou...
[ { "path": "test/cctest/test_inspector_socket_server.cc", "patch": "@@ -621,7 +621,7 @@ TEST_F(InspectorSocketServerTest, BindsToIpV6) {\n ASSERT_TRUE(server->Start());\n \n SocketWrapper socket1(&loop);\n- socket1.Connect(\"::\", server.port(), true);\n+ socket1.Connect(\"::1\", server.port(), true);\...
2017-07-06T18:42:28
rust-lang/rust
d35a44352750cc74f0ba49e3a0bd47d5310d90a5
f028611faf62a9b87430ff782ab0bb91d5c63a8f
fmaf128: fix exponent calculation for subnormals When `fmaf128` was introduced in [1], it included a bug where `self` gets returned rather than the expected minimum positive value. Resolve this and add a regression test. [1]: https://github.com/rust-lang/libm/pull/494
[ { "path": "library/compiler-builtins/libm/crates/libm-test/src/gen/case_list.rs", "patch": "@@ -269,15 +269,26 @@ fn fmaf128_cases() -> Vec<TestCase<op::fmaf128::Routine>> {\n let mut v = vec![];\n TestCase::append_pairs(\n &mut v,\n- &[(\n- // Tricky rounding case that pre...
2025-02-07T00:52:56
golang/go
a5d1a9df812706708da1940898cf8cad8d5f9de2
0cc1290174751971d282196e21ec9037b217e5a5
net/http: remove arbitrary timeouts from TestIdentityResponse and TestTLSHandshakeTimeout These hard-coded timeouts make the tests flaky on slow builders (such as solaris-amd64-oraclerel), and make test failures harder to diagnose anyway (by replacing dumps of the stuck goroutine stacks with failure messages that do n...
[ { "path": "src/net/http/serve_test.go", "patch": "@@ -1057,16 +1057,13 @@ func TestIdentityResponse(t *testing.T) {\n \t\tt.Fatalf(\"error writing: %v\", err)\n \t}\n \n-\t// The ReadAll will hang for a failing test, so use a Timer to\n-\t// fail explicitly.\n-\tgoTimeout(t, 2*time.Second, func() {\n-\t\tgo...
2020-03-27T16:11:21
vuejs/vue
b6c384dd78b56bd247e6a34d5aea0d3903f5b7fd
9caed00d20f37c750e39db4ec86d278b453f0e5d
fix(core): static trees should be cached on options (#6826) (#6837) * test(once): failing test for #6826 * fix(core): static trees should be cached on options (#6826)
[ { "path": "src/core/instance/render-helpers/render-static.js", "patch": "@@ -11,8 +11,8 @@ export function renderStatic (\n ): VNode | Array<VNode> {\n // static trees can be rendered once and cached on the contructor options\n // so every instance shares the same cached trees\n- const renderFns = this...
2017-10-18T04:26:55
huggingface/transformers
fe472b1db44335213f9d6d99f5ff1f35a86ad424
73bc0c9e88e6e7acfa3c519e5f73d505abf35607
Generate: fix `ExponentialDecayLengthPenalty` doctest (#27485) fix exponential doctest
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1327,22 +1327,26 @@ class ExponentialDecayLengthPenalty(LogitsProcessor):\n ```python\n >>> from transformers import AutoTokenizer, AutoModelForCausalLM, set_seed\n \n- >>> set_seed(1)\n >>> model = AutoModelForCausalLM....
2023-11-14T18:21:50
ggml-org/llama.cpp
5c0eb5ef544aeefd81c303e03208f768e158d93c
03d46982180c2fb624bd2a233e46426ab22be5d1
opencl: fix adreno compiler detection logic (#15029)
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -2046,8 +2046,8 @@ static ggml_backend_opencl_context * ggml_cl2_init(ggml_backend_dev_t dev) {\n \n backend_ctx->adreno_cl_compiler_version = get_adreno_cl_compiler_version(driver_version);\n backend_ctx->has_vector_subgroup_broadcast =...
2025-08-02T17:51:18
nodejs/node
ff07eaa140e54745a5298f4c929936cfe055ed3c
1b2733f272b77fb2beaa4b1f5ee600e8b9c36e14
doc: note 'resize' event conditions on Windows PR-URL: https://github.com/nodejs/node/pull/13576 Fixes: https://github.com/nodejs/node/issues/13197 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Gibson ...
[ { "path": "doc/api/tty.md", "patch": "@@ -88,6 +88,15 @@ process.stdout.on('resize', () => {\n });\n ```\n \n+*Note*: On Windows resize events will be emitted only if stdin is unpaused\n+(by a call to `resume()` or by adding a data listener) and in raw mode. It can\n+also be triggered if a terminal control ...
2017-06-09T13:40:53
rust-lang/rust
f028611faf62a9b87430ff782ab0bb91d5c63a8f
69ebd750ccacd44fab4407501d568abd1e0801c1
Check more subnormal values during edge cases tests Add checks at the max subnormal value and a couple values scatted throughout the subnormal range. This helped identifiy a bug in `fmaf128`. As part of this, slightly reduce the amount of edge cases checked without optimizations because the change makes it become not...
[ { "path": "library/compiler-builtins/libm/crates/libm-test/src/gen/edge_cases.rs", "patch": "@@ -1,9 +1,10 @@\n //! A generator that checks a handful of cases near infinities, zeros, asymptotes, and NaNs.\n \n-use libm::support::{CastInto, Float, Int};\n+use libm::support::{CastInto, Float, Int, MinInt};\n ...
2025-02-07T01:05:38
vuejs/vue
9caed00d20f37c750e39db4ec86d278b453f0e5d
471de4a31d229e681cc9dce18632b5bcab944c77
fix(typing): relax $options type for TS2.6+ (#6819)
[ { "path": "types/vue.d.ts", "patch": "@@ -22,7 +22,7 @@ export interface CreateElement {\n \n export interface Vue {\n readonly $el: HTMLElement;\n- readonly $options: ComponentOptions<this>;\n+ readonly $options: ComponentOptions<Vue>;\n readonly $parent: Vue;\n readonly $root: Vue;\n readonly $c...
2017-10-15T18:26:08
golang/go
d22086ef5e921ee416e929d693f237971569869e
f9197a7043e48b6d2caa5ea1b0a969495f998d48
cmd/go/internal/work: disallow testgo binary from installing to GOROOT Installing to GOROOT makes tests non-parallelizable, since each test depends on the installed contents of GOROOT already being up-to-date and may reasonably assume that those contents do not change over the course of the test. Fixes #37573 Updates...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -199,6 +199,7 @@ func TestMain(m *testing.M) {\n \t\t\treturn strings.TrimSpace(string(out))\n \t\t}\n \t\ttestGOROOT = goEnv(\"GOROOT\")\n+\t\tos.Setenv(\"TESTGO_GOROOT\", testGOROOT)\n \n \t\t// The whole GOROOT/pkg tree was installed using the GOHOSTOS/GOHO...
2020-03-27T03:10:32
huggingface/transformers
a4616c6767b02c8c868bab08ccf56d59f861278d
b86c54d9ff4504b7287d95a215f8d6fa9388761f
[Whisper] Fix pipeline test (#27442)
[ { "path": "tests/pipelines/test_pipelines_automatic_speech_recognition.py", "patch": "@@ -873,7 +873,7 @@ def test_whisper_language(self):\n # 2. English-only Whisper does not accept the language argument\n with self.assertRaisesRegex(\n ValueError,\n- \"Cannot specify...
2023-11-14T11:18:26
ggml-org/llama.cpp
15e92fd33791e60a4ddb5970b47242a855c27117
2bf3fbf0b54f97aef2b388b76d222789e1c170f1
cuda, sycl : fix batched gemm when ne02 == 1 && ne03 > 1 (#15038) * cuda, sycl : fix batched gemm when ne02 == 1 && ne03 > 1 ggml-ci * cont : fix cont types ggml-ci * cont : adopt variable names and comment from the other branch
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -1852,6 +1852,9 @@ static void ggml_cuda_mul_mat_batched_cublas_impl(ggml_backend_cuda_context & ct\n ggml_cuda_pool_alloc<cuda_t> src0_alloc(ctx.pool());\n ggml_cuda_pool_alloc<cuda_t> src1_alloc(ctx.pool());\n \n+ bool is_src0_cont_2 = g...
2025-08-02T14:13:05
rust-lang/rust
bacc9dfa4b2f85a002e491a0592bf61b01d4caf4
d18dd4dc18f544b79152579d4e27f3969602cf5e
fix: Resolve projection types before checking casts
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/infer/cast.rs", "patch": "@@ -374,6 +374,7 @@ enum PointerKind {\n \n fn pointer_kind(ty: &Ty, table: &mut InferenceTable<'_>) -> Result<Option<PointerKind>, ()> {\n let ty = table.resolve_ty_shallow(ty);\n+ let ty = table.normalize_associated_type...
2025-02-07T00:50:03
nodejs/node
1b2733f272b77fb2beaa4b1f5ee600e8b9c36e14
be20e9ecfe79bea30fdca0f5757c0c54a02ac062
test: common.expectsError should be a must call Wrap expectsError in mustCall to make sure it's really called as expected. PR-URL: https://github.com/nodejs/node/pull/14088 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
[ { "path": "test/common/README.md", "patch": "@@ -50,7 +50,7 @@ Platform normalizes the `dd` command\n \n Check if there is more than 1gb of total memory.\n \n-### expectsError([fn, ]settings)\n+### expectsError([fn, ]settings[, exact])\n * `fn` [&lt;Function>](https://developer.mozilla.org/en-US/docs/Web/Ja...
2017-07-05T13:04:24
vuejs/vue
a11d6f37c2cededd2b3ec4c74942815bf16e34e0
4e0c48511d49f331fde31fc87b6ca428330f32d1
chore: fix flow
[ { "path": "src/core/util/next-tick.js", "patch": "@@ -86,7 +86,7 @@ export function withMacroTask (fn: Function): Function {\n })\n }\n \n-export function nextTick (cb?: Function, ctx?: Object): ?Promise {\n+export function nextTick (cb?: Function, ctx?: Object) {\n let _resolve\n callbacks.push(() =>...
2017-10-13T19:56:01
huggingface/transformers
4309abedbc3b767303a07133e00af95876c4ad0b
ee4fb326c747f384d0d5a4282ec6e10edb845e41
Add speecht5 batch generation and fix wrong attention mask when padding (#25943) * fix speecht5 wrong attention mask when padding * enable batch generation and add parameter attention_mask * fix doc * fix format * batch postnet inputs, return batched lengths, and consistent to old api * fix format * ...
[ { "path": "src/transformers/models/speecht5/modeling_speecht5.py", "patch": "@@ -674,6 +674,11 @@ def __init__(self, config):\n \n self.speaker_embeds_layer = nn.Linear(config.speaker_embedding_dim + config.hidden_size, config.hidden_size)\n \n+ def _consistent_dropout(self, inputs_embeds, p):\n+...
2023-11-14T09:54:09
ggml-org/llama.cpp
711d5e6fe66eb6cd7a10d71cec4567321848be08
f738989dcb9ccbe468c945553eafbeef7b869675
convert : fix Qwen3-Embedding pre-tokenizer hash (#15030)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -702,6 +702,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"81212dc7cdb7e0c1074ca62c5aeab0d43c9f52b8a737be7b12a777c953027890\":\n # ref: https://huggingface.co/moonshotai/Kimi-K2-Base\n res = \"kimi-k2\"\n+...
2025-08-02T10:51:02
golang/go
f9197a7043e48b6d2caa5ea1b0a969495f998d48
827a7a92248b9e1b67659bb2257e83e3a7e40d2d
run.{bash,bat,rc}: use ../bin/go instead of the go binary in $PATH https://golang.org/doc/contribute.html#quick_test currently suggests running 'make.bash' and 'run.bash' separately, but 'run.bash' potentially uses a 'go' command resolved from the wrong GOROOT, which in turn sets the wrong GOROOT for further commands....
[ { "path": "src/run.bash", "patch": "@@ -16,8 +16,13 @@\n \n set -e\n \n-eval $(go env)\n-export GOROOT # the api test requires GOROOT to be set.\n+if [ ! -f ../bin/go ]; then\n+\techo 'run.bash must be run from $GOROOT/src after installing cmd/go' 1>&2\n+\texit 1\n+fi\n+\n+eval $(../bin/go env)\n+export G...
2020-03-17T14:22:39
vuejs/vue
4e0c48511d49f331fde31fc87b6ca428330f32d1
6658b81a3b9e9d1d4285b4b985cddcdee930dae8
fix: further adjust nextTick strategy fix #6813
[ { "path": "src/core/util/env.js", "patch": "@@ -1,7 +1,4 @@\n /* @flow */\n-/* globals MessageChannel */\n-\n-import { handleError } from './error'\n \n // can we use __proto__?\n export const hasProto = '__proto__' in {}\n@@ -62,88 +59,6 @@ export const hasSymbol =\n typeof Symbol !== 'undefined' && isNa...
2017-10-13T19:37:52
nodejs/node
be20e9ecfe79bea30fdca0f5757c0c54a02ac062
4d7946aec33d23dd0c1fa1125937baad7e11a8e3
assert: refactor to reduce unecessary code paths The lazy loading is not needed as the errors themself lazy load assert. Therefore the circle is working as intended even without this lazy loading. Improve Array, object, ArrayBuffer, Set and Map performance in all deepEqual checks by removing unecessary code paths and...
[ { "path": "lib/assert.js", "patch": "@@ -25,13 +25,7 @@ const util = require('util');\n const { isSet, isMap } = process.binding('util');\n const { objectToString } = require('internal/util');\n const { Buffer } = require('buffer');\n-\n-var errors;\n-function lazyErrors() {\n- if (!errors)\n- errors = ...
2017-06-28T18:35:16
huggingface/transformers
ee4fb326c747f384d0d5a4282ec6e10edb845e41
e107ae364e5b9564c8f8a14dcc185efa506c7b6e
Fix M4T weights tying (#27395) fix seamless m4t weights tying
[ { "path": "src/transformers/models/seamless_m4t/modeling_seamless_m4t.py", "patch": "@@ -2785,6 +2785,12 @@ def set_input_embeddings(self, value):\n self.text_decoder.embed_tokens = value\n self.shared = value\n \n+ def _tie_weights(self):\n+ if self.config.tie_word_embeddings:\n+ ...
2023-11-14T09:52:11
ggml-org/llama.cpp
f738989dcb9ccbe468c945553eafbeef7b869675
4cb208c93c1c938591a5b40354e2a6f9b94489bc
chat : fix multiple tool_calls on hermes-2-pro (#14962)
[ { "path": "common/chat.cpp", "patch": "@@ -1646,7 +1646,7 @@ static void common_chat_parse_hermes_2_pro(common_chat_msg_parser & builder) {\n \"|<function name=\\\"([^\\\"]+)\\\">\" // match 5 (function name again)\n );\n \n- if (auto res = builder.try_find_regex(open_regex)) {\n+ while (...
2025-08-02T10:04:48
golang/go
827a7a92248b9e1b67659bb2257e83e3a7e40d2d
dbd22c72272f7e02e6d5985be83f6bdf785ab733
Revert "cmd/go: add support for GOPROXY fallback on unexpected errors" This reverts CL 223257. Reason for revert: broke TestScript/mod_gonoproxy on the longtest builders. Change-Id: I8637c52c5a7d5333a37ed1e9998c49786525ecb1 Reviewed-on: https://go-review.googlesource.com/c/go/+/225757 Reviewed-by: Michael Matloob <m...
[ { "path": "doc/go1.15.html", "patch": "@@ -43,18 +43,6 @@ <h2 id=\"tools\">Tools</h2>\n \n <h3 id=\"go-command\">Go command</h3>\n \n-<p><!-- golang.org/issue/37367 -->\n- The <code>GOPROXY</code> environment variable now supports skipping proxies\n- that return errors. Proxy URLs may now be separated wit...
2020-03-27T03:07:34
nodejs/node
4d7946aec33d23dd0c1fa1125937baad7e11a8e3
18069523f87aa4c5f7d361201aa20745e2ede20e
test: ignore connection errors for hostname check PR-URL: https://github.com/nodejs/node/pull/14073 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-http-hostname-typechecking.js", "patch": "@@ -18,10 +18,12 @@ vals.forEach((v) => {\n assert.throws(() => http.request({host: v}), errHost);\n });\n \n-// These values are OK and should not throw synchronously\n+// These values are OK and should not throw synchronously.\n+// ...
2017-07-04T14:04:54
ggml-org/llama.cpp
a9f7541ec25c4c8547daf5ff48700ad2836e2b7d
9c35706b98ea271858acef4194f526a71b24cdc9
vulkan: optimizations for direct convolution (#14933) * vulkan: optimizations for direct convolution - Empirically choose a better tile size. Reducing BS_K/BS_NPQ helps fill the GPU. The new size should be amenable to using coopmat, too. - Fix shmem bank conflicts. 16B padding should work with coopmat. - Some expli...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -222,6 +222,7 @@ enum vk_device_architecture {\n AMD_RDNA2,\n AMD_RDNA3,\n INTEL_XE2,\n+ NVIDIA_PRE_TURING,\n };\n \n // HSK x HSV\n@@ -315,10 +316,33 @@ static vk_device_architecture get_device_architecture(const vk::PhysicalDevi...
2025-08-02T07:57:04
golang/go
69d3a34b176f7e5ac26d289eea66ed5b2dd5f1c8
8cb865c9197f0f383b0bde48e37faea7b7a2451d
cmd/go: add support for GOPROXY fallback on unexpected errors URLs in GOPROXY may now be separated with commas (,) or pipes (|). If a request to a proxy fails with any error (including connection errors and timeouts) and the proxy URL is followed by a pipe, the go command will try the request with the next proxy in th...
[ { "path": "doc/go1.15.html", "patch": "@@ -43,6 +43,18 @@ <h2 id=\"tools\">Tools</h2>\n \n <h3 id=\"go-command\">Go command</h3>\n \n+<p><!-- golang.org/issue/37367 -->\n+ The <code>GOPROXY</code> environment variable now supports skipping proxies\n+ that return errors. Proxy URLs may now be separated wit...
2020-03-12T22:56:40
ggml-org/llama.cpp
9c35706b98ea271858acef4194f526a71b24cdc9
c76b420e4ce06f7b7cdfbb0b85d02c90e5cc5a3a
CUDA: fix MMQ nwarps for AMD with warp_size==32 (#15014)
[ { "path": "ggml/src/ggml-cuda/mmq.cuh", "patch": "@@ -251,25 +251,21 @@ static constexpr __device__ int mmq_get_granularity_device(const int /*mmq_x*/)\n #endif // AMD_MFMA_AVAILABLE\n \n #if defined(GGML_USE_HIP)\n-static int mmq_get_nwarps_host(const int cc) {\n- return amd_mfma_available(cc) ? 8 : 4;\...
2025-08-01T18:47:32
nodejs/node
8206a01c99ed929327365a16915233a867c54aed
d69ecc6f51855574b8f0af1004e6d0ffd9b20c7a
build,win: skip `vcvarsall.bat` if env is set PR-URL: https://github.com/nodejs/node/pull/13806 Fixes: https://github.com/nodejs/node/issues/13765 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell...
[ { "path": "vcbuild.bat", "patch": "@@ -200,9 +200,12 @@ if defined msi (\n goto wix-not-found\n )\n )\n-@rem VS2015 vsvarsall is quick, so run anyway\n+\n+@rem check if VS2015 is already setup\n+if \"_%VisualStudioVersion%_\" == \"_14.0_\" if \"_%VCVARS_VER%_\" == \"_140_\" goto found_vs2015\n call \"...
2017-06-20T00:11:22
vuejs/vue
08a7fb539f9d3ab5b08a3c6cec9a6628929be3be
5665eaf985a56cfd183ce8ce93c4d813edbd2cf8
fix: v-on="object" listeners should fire after high-priority ones fix #6805
[ { "path": "src/core/instance/render-helpers/bind-object-listeners.js", "patch": "@@ -14,7 +14,7 @@ export function bindObjectListeners (data: any, value: any): VNodeData {\n for (const key in value) {\n const existing = on[key]\n const ours = value[key]\n- on[key] = existing ? [...
2017-10-13T13:59:23
huggingface/transformers
721d1c8ca6cd892a88d9847809deddfd92abfd49
2ac5b9325ed3b54950c6c61fd5838ac6e55a9fe1
Fix FA2 import + deprecation cycle (#27330) * put back import * switch to logger.warnings instead
[ { "path": "src/transformers/utils/__init__.py", "patch": "@@ -117,6 +117,7 @@\n is_essentia_available,\n is_faiss_available,\n is_flash_attn_2_available,\n+ is_flash_attn_available,\n is_flax_available,\n is_fsdp_available,\n is_ftfy_available,", "additions": 1, "deletions...
2023-11-14T09:20:29
golang/go
8cb865c9197f0f383b0bde48e37faea7b7a2451d
437bd90f13c36cd57298a950caae6601cd60550c
cmd/dist: do not skip 'cmd' tests in race mode Fixes #37940 Change-Id: Ib869a4bf84296dac201cc7252431d7161b9c96f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/224038 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org>
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -1527,9 +1527,6 @@ func (t *tester) shouldUsePrecompiledStdTest() bool {\n }\n \n func (t *tester) shouldTestCmd() bool {\n-\tif t.race {\n-\t\treturn false\n-\t}\n \tif goos == \"js\" && goarch == \"wasm\" {\n \t\t// Issues 25911, 35220\n \t\treturn false", ...
2020-03-19T17:00:44
ggml-org/llama.cpp
0f5ccd6fd1a1f709010312933db0316867cc30b6
1c872f71fb8a25589efa3ee9b6bf8b517cb8caa4
model : add hunyuan dense (#14878) * support hunyuan_v1_dense Signed-off-by: stevenkuang <stevenkuang@tencent.com> * update hunyuan_moe to hunyuan_v1_moe Signed-off-by: stevenkuang <stevenkuang@tencent.com> * fix rope alpha assert and bos token Signed-off-by: stevenkuang <stevenkuang@tencent.com> * add blank lin...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -684,6 +684,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"7e57df22b1fe23a7b1e1c7f3dc4e3f96d43a4eb0836d0c6bdc3436d7b2f1c664\":\n # ref: https://huggingface.co/tencent/Hunyuan-A13B-Instruct\n res = \"hunyua...
2025-08-01T13:31:12
nodejs/node
d69ecc6f51855574b8f0af1004e6d0ffd9b20c7a
d2aaf82fcf0448ab71d1880d6c6ea471e7b683a9
Revert "test: improve test-process-kill-null for Windows" This reverts commit 44483b6898128b05c09635e03e4d7ceaf3efb14c. PR-URL: https://github.com/nodejs/node/pull/14142 Fixes: https://github.com/nodejs/node/issues/14141 Refs: https://github.com/nodejs/node/pull/14099 Reviewed-By: Rich Trott <rtrott@gmail.com> Review...
[ { "path": "test/parallel/test-process-kill-null.js", "patch": "@@ -20,23 +20,29 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n const assert = require('assert');\n const spawn = require('child_process').spawn;\n \n-const chil...
2017-07-09T03:50:01
vuejs/vue
5665eaf985a56cfd183ce8ce93c4d813edbd2cf8
60b1af9e02b93d9223d2ed1f23e0a618537a4c96
fix: backwards compat with checkbox code generated in < 2.5 fix #6803
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -9,6 +9,7 @@ let warn\n // in some cases, the event used has to be determined at runtime\n // so we used some reserved tokens during compile.\n export const RANGE_TOKEN = '__r'\n+export const CHECKBOX_RADIO_TOKEN = '__c'\n \n export de...
2017-10-13T13:41:52
golang/go
437bd90f13c36cd57298a950caae6601cd60550c
bfb1342a40216cba0ff5ae3a1b102823b7603068
cmd/go/internal/base: rename EnvForDir to AppendPWD EnvForDir does not immediately evoke “append”, and thus may not prompt the reader to consider the possibility of aliasing bugs (as in issue #38077). To make this behavior more obvious at the call site, rename cmd/go/internal/base.EnvForDir to AppendPWD and swap the o...
[ { "path": "src/cmd/go/internal/base/env.go", "patch": "@@ -4,12 +4,12 @@\n \n package base\n \n-// EnvForDir returns a modified environment suitable for running in the given\n-// directory.\n-// The environment is the supplied base environment but with an updated $PWD, so\n-// that an os.Getwd in the child ...
2020-03-26T02:17:04
ggml-org/llama.cpp
baad94885df512bb24ab01e2b22d1998fce4d00e
ba42794c9ead96ad52311ba1b23eefcbf3d6f63d
ggml : Q2k interleaving implementation - x86/x64 SIMD (#14373) * Initial Q2_K Block Interleaving Implementation * Addressed review comments and clean up of the code * Post rebase fixes * Initial CI/CD fixes * Update declarations in arch-fallback.h * Changes for GEMV Q2_K in arch-fallback.h * Enable repacking onl...
[ { "path": "ggml/src/ggml-cpu/arch-fallback.h", "patch": "@@ -37,17 +37,21 @@\n #define ggml_gemv_q4_0_4x8_q8_0_generic ggml_gemv_q4_0_4x8_q8_0\n #define ggml_gemv_q4_0_8x8_q8_0_generic ggml_gemv_q4_0_8x8_q8_0\n #define ggml_gemv_q4_K_8x8_q8_K_generic ggml_gemv_q4_K_8x8_q8_K\n+#define ggml_gemv_q2_K_8x8_q8_K...
2025-08-01T06:20:33
vuejs/vue
60b1af9e02b93d9223d2ed1f23e0a618537a4c96
15031b85427df5409f0bc4c10589cc6259f8a5b2
fix(transition-group): work around rollup tree shaking (#6796) fix #6792
[ { "path": "src/platforms/web/runtime/components/transition-group.js", "patch": "@@ -101,8 +101,9 @@ export default {\n children.forEach(applyTranslation)\n \n // force reflow to put everything in position\n- const body: any = document.body\n- const f: number = body.offsetHeight // eslint-disab...
2017-10-13T13:05:53
huggingface/transformers
2ac5b9325ed3b54950c6c61fd5838ac6e55a9fe1
8017a59091f8949332fc398971dfa4e55604a64c
[time series] Add PatchTST (#25927) * Initial commit of PatchTST model classes Co-authored-by: Phanwadee Sinthong <phsinthong@gmail.com> Co-authored-by: Nam Nguyen <namctin@gmail.com> Co-authored-by: Vijay Ekambaram <vijaykr.e@gmail.com> Co-authored-by: Ngoc Diep Do <55230119+diepi@users.noreply.github.com> Co-...
[ { "path": "README.md", "patch": "@@ -439,6 +439,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[OPT](https://huggingface.co/docs/transformers/master/model_doc/opt)** (from Meta AI) released with the paper [OPT: Open Pre-trained Transformer Language Models](https...
2023-11-13T18:06:32
nodejs/node
d2aaf82fcf0448ab71d1880d6c6ea471e7b683a9
a2d3cec81ce59823e69bde4878efdccb966d2ace
doc: fix mistake in http.md If the first parameter of `request.end` `data` is specified, it should be equivalent to calling `request.write(data, encoding)` (not `response.write(data, encoding)`) followed by `request.end(callback)`. This mistake was introduced in commit 14b3aab7d289a568e4a9efa6cd07a6ced370e318: d...
[ { "path": "doc/api/http.md", "patch": "@@ -519,7 +519,7 @@ unsent, it will flush them to the stream. If the request is\n chunked, this will send the terminating `'0\\r\\n\\r\\n'`.\n \n If `data` is specified, it is equivalent to calling\n-[`response.write(data, encoding)`][] followed by `request.end(callbac...
2017-07-07T16:05:08
golang/go
bfb1342a40216cba0ff5ae3a1b102823b7603068
918d4d46cd17192a81a6aced57d09827560ad9f0
cmd/go: do not append to the global cfg.OrigEnv slice Appending to a global slice is only safe if its length is already equal to its capacity. That property is not guaranteed for slices in general, and empirically does not hold for this one. This is a minimal fix to make it easier to backport. A more robust cleanup o...
[ { "path": "src/cmd/go/internal/generate/generate.go", "patch": "@@ -22,6 +22,7 @@ import (\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/load\"\n \t\"cmd/go/internal/modload\"\n+\t\"cmd/go/internal/str\"\n \t\"cmd/go/internal/work\"\n )\n \n@@ -438,7 +439,7 @@ func (g *Generator) exec(words []string) {\...
2020-03-26T02:24:44
ggml-org/llama.cpp
ba42794c9ead96ad52311ba1b23eefcbf3d6f63d
2860d479b456e1caa026b40b829d5b13c42a8ed7
graph : fix equal_seq() check (#14986) ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -113,6 +113,15 @@ llama_context::llama_context(\n }\n }\n \n+ {\n+ const char * LLAMA_GRAPH_REUSE_DISABLE = getenv(\"LLAMA_GRAPH_REUSE_DISABLE\");\n+ graph_reuse_disable = LLAMA_GRAPH_REUSE_DISABLE ? (atoi(LLAMA_GRAPH_REUSE_DISABLE...
2025-08-01T03:38:12
vuejs/vue
15031b85427df5409f0bc4c10589cc6259f8a5b2
8645e5f04aff8b0eacd617bbcf2395615c25d68b
fix(v-model): allow arbitrary naems for type binding (#6802) Fix #6800
[ { "path": "src/platforms/web/compiler/modules/model.js", "patch": "@@ -36,7 +36,7 @@ function preTransformNode (el: ASTElement, options: CompilerOptions) {\n addRawAttr(branch0, 'type', 'checkbox')\n processElement(branch0, options)\n branch0.processed = true // prevent it from double-proc...
2017-10-13T12:55:02
huggingface/transformers
8017a59091f8949332fc398971dfa4e55604a64c
eb79b55bf34359b8d815256576abdc3fc01aa51f
Fixed typo in pipelines.md documentation (#27455) Update pipelines.md
[ { "path": "docs/source/en/main_classes/pipelines.md", "patch": "@@ -225,7 +225,7 @@ For users, a rule of thumb is:\n \n - **Measure performance on your load, with your hardware. Measure, measure, and keep measuring. Real numbers are the\n only way to go.**\n-- If you are latency constrained (live product ...
2023-11-13T17:50:40
nodejs/node
d6fece14369ab5d9d64e48ed58cea168f5084a80
44483b6898128b05c09635e03e4d7ceaf3efb14c
test: add optional throw fn to expectsError PR-URL: https://github.com/nodejs/node/pull/14089 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "test/common/README.md", "patch": "@@ -50,7 +50,8 @@ Platform normalizes the `dd` command\n \n Check if there is more than 1gb of total memory.\n \n-### expectsError(settings)\n+### expectsError([fn, ]settings)\n+* `fn` [&lt;Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refere...
2017-07-05T16:05:24
ggml-org/llama.cpp
2860d479b456e1caa026b40b829d5b13c42a8ed7
484b2091ce5017901483b5204c07878f171d1441
docker : add cann build pipline (#14591) * docker: add cann build pipline * docker: add cann build pipline * docker: fix cann devops * cann : fix multi card hccl * Update ggml/src/ggml-cann/ggml-cann.cpp Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> * Update ggml-cann.cpp --------- Co-authored-by: Geor...
[ { "path": ".devops/cann.Dockerfile", "patch": "@@ -0,0 +1,130 @@\n+# ==============================================================================\n+# ARGUMENTS\n+# ==============================================================================\n+\n+# Define the CANN base image for easier version updates la...
2025-08-01T02:02:34
golang/go
d1ecfcc1e8baa0bb3a9fb504e8c14125a69139ba
b5f2c0f50297fa5cd14af668ddd7fd923626cf8c
runtime: ensure minTriggerRatio never exceeds maxTriggerRatio Currently, the capping logic for the GC trigger ratio is such that if gcpercent is low, we may end up setting the trigger ratio far too high, breaking the promise of SetGCPercent and GOGC has a trade-off knob (we won't start a GC early enough, and we will u...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -769,32 +769,40 @@ func gcSetTriggerRatio(triggerRatio float64) {\n \t\tgoal = memstats.heap_marked + memstats.heap_marked*uint64(gcpercent)/100\n \t}\n \n-\t// If we let triggerRatio go too low, then if the application\n-\t// is allocating very rapidly we might ...
2020-03-18T15:09:40
huggingface/transformers
04af4b90d6a7951e2cbad00649af4b8cf2fc90c8
1af766e1046ab0fb60e193c75041c15b718e75b6
Fix Falcon tokenizer loading in pipeline (#27316) * Improve pipeline tokenizer loading and hope nothing breaks * Let's try a hacky solution * Revert the changes to init * Add a falcon hack to the automapping * Add a falcon hack to the automapping
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -162,6 +162,7 @@\n (\"ernie\", (\"BertTokenizer\", \"BertTokenizerFast\" if is_tokenizers_available() else None)),\n (\"ernie_m\", (\"ErnieMTokenizer\" if is_sentencepiece_available() else None, None)),\n ...
2023-11-13T17:01:59
nodejs/node
b647f04df1c68dd3dab6e0a0ac069f405a66e768
6a1b8135d66407cd5e6fd70ca03e88f41a6d6fae
doc: match debugger output & instructions to master behavior PR-URL: https://github.com/nodejs/node/pull/13885 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/debugger.md", "patch": "@@ -6,17 +6,18 @@\n \n Node.js includes an out-of-process debugging utility accessible via a\n [TCP-based protocol][] and built-in debugging client. To use it, start Node.js\n-with the `debug` argument followed by the path to the script to debug; a prompt\n+with th...
2017-06-23T02:17:11
vuejs/vue
5a15a8d2089bb833b892123c31a2ca04a511c4c8
1f84dd1c2488d12ef144d4b548b0e80647f9403c
fix(ssr): add semicolon before self-removal script (#6794)
[ { "path": "src/server/template-renderer/index.js", "patch": "@@ -192,7 +192,7 @@ export default class TemplateRenderer {\n windowKey = '__INITIAL_STATE__'\n } = options || {}\n const autoRemove = process.env.NODE_ENV === 'production'\n- ? '(function(){var s;(s=document.currentScript||docu...
2017-10-13T12:52:34
golang/go
b5f2c0f50297fa5cd14af668ddd7fd923626cf8c
f9c5ef8d8f94b364c758930f64b9305c52200b5b
crypto/rsa,crypto/ecdsa,crypto/ed25519: implement PublicKey.Equal This makes all modern public keys in the standard library implement a common interface (below) that can be used by applications for better type safety and allows for checking that public (and private keys via Public()) are equivalent. interface { E...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -62,6 +62,24 @@ type PublicKey struct {\n \tX, Y *big.Int\n }\n \n+// Equal reports whether pub and x have the same value.\n+//\n+// Two keys are only considered to have the same value if they have the same Curve value.\n+// Note that for example elliptic....
2020-03-18T00:34:51
vuejs/vue
1f84dd1c2488d12ef144d4b548b0e80647f9403c
f38d44e23bc9f3eda950a9436205f42be006abfc
fix: fix empty array edge case in normalizeChildren fix #6790
[ { "path": "src/core/vdom/helpers/normalize-children.js", "patch": "@@ -49,14 +49,16 @@ function normalizeArrayChildren (children: any, nestedIndex?: string): Array<VNo\n lastIndex = res.length - 1\n last = res[lastIndex]\n // nested\n- if (Array.isArray(c) && c.length > 0) {\n- c = norm...
2017-10-13T05:09:25
nodejs/node
3d8a9e2424f3cd14a3a63a5304b28beefd42dfb2
85dacd63f0938cf135d49d393ceb9e85b4b1fac5
tools: fix error in eslintrc comment 46d7cb88c7f8b416e667c52de80e6766115b3781 introduced an error in a comment in `.eslintrc.yaml`. The second option needs to be an integer specifying the number of spaces per level of indentation. PR-URL: https://github.com/nodejs/node/pull/14108 Reviewed-By: Vse Mozhet Byt <vsemozhe...
[ { "path": ".eslintrc.yaml", "patch": "@@ -101,7 +101,7 @@ rules:\n func-call-spacing: error\n func-name-matching: error\n func-style: [error, declaration, {allowArrowFunctions: true}]\n- # indent: [error, error, {ArrayExpression: first,\n+ # indent: [error, 2, {ArrayExpression: first,\n # ...
2017-07-06T17:00:43
huggingface/transformers
1af766e1046ab0fb60e193c75041c15b718e75b6
2422c38de6dc2341f9cf3685fc36d090a68d0f60
Add version check for Jinja (#27403) * Add version check for Jinja * Update src/transformers/tokenization_utils_base.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * make fixup --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1762,11 +1762,17 @@ def apply_chat_template(\n @lru_cache\n def _compile_jinja_template(self, chat_template):\n try:\n+ import jinja2\n from jinja2.exceptions import TemplateError\n from...
2023-11-13T17:01:30
golang/go
c02cd04fe170071c8bb28bcdf6b7ed10b02d2e69
ca18c37ee81500c922f7d3d6375d7ea7bab550b2
[dev.link] cmd/link: fix buglet in setupdynexp This should restore deterministic order of dynexp, and fix Solaris build. Change-Id: Icb796babaa3238bff90fd8255ee9f023f2306c26 Reviewed-on: https://go-review.googlesource.com/c/go/+/225538 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@g...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -620,7 +620,7 @@ func setupdynexp(ctxt *Link) {\n \t\t\tpanic(\"dynexp entry not reachable\")\n \t\t}\n \t}\n-\tsort.Slice(dynexp, func(i, j int) bool {\n+\tsort.Slice(d, func(i, j int) bool {\n \t\treturn ctxt.loader.SymName(d[i]) < ctxt.loader.SymN...
2020-03-25T21:22:57
vuejs/vue
e38d0067521eee85febedc5f3ed3c24b5454c3a9
b7105ae8c9093e36ec89a470caa3b78bda3ef467
feat: improve template expression error message close #6771
[ { "path": "src/compiler/error-detector.js", "patch": "@@ -89,10 +89,14 @@ function checkExpression (exp: string, text: string, errors: Array<string>) {\n if (keywordMatch) {\n errors.push(\n `avoid using JavaScript keyword as property name: ` +\n- `\"${keywordMatch[0]}\" in expressi...
2017-10-12T15:15:23
huggingface/transformers
2422c38de6dc2341f9cf3685fc36d090a68d0f60
3b5962131093ceab09f0540cb99d84c18c45035f
Add DINOv2 depth estimation (#26092) * First draft * Fix style * More improvements * Fix tests * Fix tests * Convert checkpoint * Improve DPTImageProcessor * Remove scripts, improve conversion script * Remove print statements * Fix test * Improve docstring * More improvements * Fix ...
[ { "path": "src/transformers/models/dinov2/modeling_dinov2.py", "patch": "@@ -835,11 +835,12 @@ def forward(\n if self.config.apply_layernorm:\n hidden_state = self.layernorm(hidden_state)\n if self.config.reshape_hidden_states:\n+ hidden...
2023-11-13T16:20:42
nodejs/node
8f3dab4b63f48a0ebca5c40e054a0e8abc982866
7d7ccf06316d5ba584613c8c0462f0e7e0fde9ec
n-api: fix warning in test_general Currently the following warning is issued when buildning: Building addon /work/nodejs/node/test/addons-napi/test_general/ CC(target) Debug/obj.target/test_general/test_general.o ../test_general.c:116:14: warning: variable 'result' is used uninitialized whenever 'if' condition is f...
[ { "path": "test/addons-napi/test_general/test_general.c", "patch": "@@ -98,7 +98,7 @@ napi_value testNapiTypeof(napi_env env, napi_callback_info info) {\n napi_valuetype argument_type;\n NAPI_CALL(env, napi_typeof(env, args[0], &argument_type));\n \n- napi_value result;\n+ napi_value result = NULL;\n ...
2017-07-06T12:30:54
golang/go
f9c5ef8d8f94b364c758930f64b9305c52200b5b
2975b27bbd3d4e85a2488ac289e112bc0dedfebe
runtime: fix threshold calculation of TestPhysicalMemoryUtilization Variable 'procs' used to calculate the threshold of overuse in TestPhysicalMemoryUtilization should be updated if GOMAXPROCS gets changed, otherwise the threshold could be a large number, making the test meaningless. Change-Id: I876cbf11457529f56bae7...
[ { "path": "src/runtime/testdata/testprog/gc.go", "patch": "@@ -150,16 +150,20 @@ func GCPhys() {\n \n \t\t// The page cache could hide 64 8-KiB pages from the scavenger today.\n \t\tmaxPageCache = (8 << 10) * 64\n+\n+\t\t// Reduce GOMAXPROCS down to 4 if it's greater. We need to bound the amount\n+\t\t// of...
2019-12-05T03:22:34
vuejs/vue
ea3a70b2d59b9d4ecae2bd2438f89dc16e1e1394
bb1d888d44ddc39f06de5232883c8e3766a47be0
chore: fix sponsor link typo
[ { "path": "README.md", "patch": "@@ -141,7 +141,7 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on\n <h4 align=\"center\">Gold</h4>\n \n <a href=\"https://opencollective.com/vuejs/goldsponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/vuejs/goldspon...
2017-10-11T17:16:02
ggml-org/llama.cpp
784524053d986255e383dae45235e4f76c6792a7
d6818d06a6237631523bc0f45d42e79482667948
Fix params bug in diffusion example (#14993)
[ { "path": "common/common.h", "patch": "@@ -225,7 +225,7 @@ struct common_params_diffusion {\n bool visual_mode = false;\n \n float eps = 0; // epsilon for timesteps\n- int32_t block_length = 32; // block length for generation\n+ int32_t block_length = 0; ...
2025-07-31T17:22:58
huggingface/transformers
3b5962131093ceab09f0540cb99d84c18c45035f
2dc29cfc984267b92ea5fcfd2c1885a8fddeaa99
Install `python-Levenshtein` for `nougat` in CI image (#27465) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -67,6 +67,9 @@ RUN python3 -m pip install --no-cache-dir decord av==9.2.0\n # For `dinat` model\n RUN python3 -m pip install --no-cache-dir natten -f https://shi-labs.com/natten/wheels/$CUDA/\n \n+# For `nougat` tokenizer\n+RUN python3 ...
2023-11-13T15:38:13
nodejs/node
7d7ccf06316d5ba584613c8c0462f0e7e0fde9ec
a965067f7475d1816f1a0a7f94ff1dcacf183e0a
repl: fix crash with large buffer tab completion If the buffer or array is too large to completion, make a dummy smallest substitute object for it and emit a warning. PR-URL: https://github.com/nodejs/node/pull/13817 Fixes: https://github.com/nodejs/node/issues/3136 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Rev...
[ { "path": "lib/repl.js", "patch": "@@ -689,8 +689,33 @@ function intFilter(item) {\n return /^[A-Za-z_$]/.test(item);\n }\n \n+const ARRAY_LENGTH_THRESHOLD = 1e6;\n+\n+function mayBeLargeObject(obj) {\n+ if (Array.isArray(obj)) {\n+ return obj.length > ARRAY_LENGTH_THRESHOLD ? ['length'] : null;\n+ }...
2017-06-20T10:49:03
rust-lang/rust
992e3b4f03e0bd348699337317091cc34268684b
99768c80a1c094a5cfc3b25a04e7a99de7210eae
fix tail call checks wrt `#[track_caller]` only check the caller + disallow caller having the attr.
[ { "path": "compiler/rustc_mir_build/src/check_tail_calls.rs", "patch": "@@ -131,11 +131,24 @@ impl<'tcx> TailCallCkVisitor<'_, 'tcx> {\n }\n \n {\n+ // `#[track_caller]` affects the ABI of a function (by adding a location argument),\n+ // so a `track_caller` can only ta...
2025-01-24T03:19:10
vuejs/vue
53431c63a9033bb9a73c915bca8525f0d7988c26
421658884f7ca786747abf9b89e00925fdfdfba8
types: fix flow typing
[ { "path": "src/core/vdom/vnode.js", "patch": "@@ -46,7 +46,7 @@ export default class VNode {\n this.ns = undefined\n this.context = context\n this.functionalContext = undefined\n- this.functioanlOptions = undefined\n+ this.functionalOptions = undefined\n this.functionalScopeId = undefi...
2017-10-11T15:24:39
golang/go
93bcf912994931780cdd4f5492ae8fcfdf760208
89f7bd578189423e8699e64e58bfb992de9dce6d
test/chan: fix trivial typos Substition -> Substitution Change-Id: Iede578d733d1c041133742b61eb0573c3bd3b17c GitHub-Last-Rev: 7815bd346dbe23a5412d0602a4f6480b893c447d GitHub-Pull-Request: golang/go#38059 Reviewed-on: https://go-review.googlesource.com/c/go/+/225417 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBo...
[ { "path": "test/chan/powser1.go", "patch": "@@ -595,7 +595,7 @@ func Subst(U, V PS) PS {\n \treturn Z\n }\n \n-// Monomial Substition: U(c x^n)\n+// Monomial Substitution: U(c x^n)\n // Each Ui is multiplied by c^i and followed by n-1 zeros\n \n func MonSubst(U PS, c0 rat, n int) PS {", "additions": 1, ...
2020-03-25T21:02:44
ggml-org/llama.cpp
e08a98826bcce70a3377592c51d0efed99eafe07
952a47f455fbd92e2659b98b9b6317a2dafeb532
Vulkan: Fix minor debug mode issues (#14899) * vulkan: fix debug mode issues * vulkan: remove broken check_results GGML_OP_SET_ROWS support
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -5225,9 +5225,9 @@ static void ggml_vk_quantize_q8_1(ggml_backend_vk_context * ctx, vk_context& sub\n }\n \n static void ggml_vk_mul_mat_q_f16(ggml_backend_vk_context * ctx, vk_context& subctx, const ggml_tensor * src0, const ggml_tensor * src1,...
2025-07-31T15:46:54
huggingface/transformers
2dc29cfc984267b92ea5fcfd2c1885a8fddeaa99
20abdacbef1a74634f00453eb924574734374ec4
Fix docstring for `gradient_checkpointing_kwargs` (#27470) Docstring entry for `gradient_checkpointing_kwargs` was `gradient_checkpointing_args`. This is incorrect.
[ { "path": "src/transformers/training_args.py", "patch": "@@ -574,7 +574,7 @@ class TrainingArguments:\n Unless this is `True`, the `Trainer` will skip pushing a checkpoint when the previous push is not finished.\n gradient_checkpointing (`bool`, *optional*, defaults to `False`):\n ...
2023-11-13T15:32:03
vuejs/vue
421658884f7ca786747abf9b89e00925fdfdfba8
050bb33f9b02589357c037623ea8cbf8ff13555b
fix: fix scoped CSS for nested nodes in functional components
[ { "path": "src/core/vdom/create-functional-component.js", "patch": "@@ -51,7 +51,8 @@ function FunctionalRenderContext (\n this._c = (a, b, c, d) => {\n const vnode: ?VNode = createElement(contextVm, a, b, c, d, needNormalization)\n if (vnode) {\n- vnode.fnScopeId = options._scopeId\n...
2017-10-11T15:17:46
nodejs/node
84f9261efd02c7e4ddb087cadf528b2aaed8809c
4e27aa9603a281caf8241b1bba8e0f6d57554c57
async_hooks: require parameter in emitBefore Using asyncId as the default triggerAsyncId is wrong. The triggerAsyncId can actually never be the asyncId. PR-URL: https://github.com/nodejs/node/pull/14050 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/async_hooks.js", "patch": "@@ -377,7 +377,7 @@ function emitHookFactory(symbol, name) {\n \n // Usage: emitBeforeS(asyncId[, triggerAsyncId]). If triggerAsyncId is omitted\n // then asyncId will be used instead.\n-function emitBeforeS(asyncId, triggerAsyncId = asyncId) {\n+function emitBefore...
2017-07-02T15:20:31
ggml-org/llama.cpp
952a47f455fbd92e2659b98b9b6317a2dafeb532
36e5fe7bcd6640f4ff974d4c5cb04a13b5b29bce
mtmd : support MiniCPM-V 4.0 (#14983) * support minicpm-v 4 * add md * support MiniCPM-o 4.0 * add default location * temp rm MiniCPM-o 4.0 * fix code * fix "minicpmv_projector" default path
[ { "path": "docs/multimodal/minicpmo2.6.md", "patch": "@@ -29,8 +29,8 @@ cmake --build build --config Release\n Convert PyTorch model to gguf files (You can also download the converted [gguf](https://huggingface.co/openbmb/MiniCPM-o-2_6-gguf) by us)\n \n ```bash\n-python ./tools/mtmd/minicpmv-surgery.py -m ....
2025-07-31T15:22:17
golang/go
89f7bd578189423e8699e64e58bfb992de9dce6d
e8be350d78f3fd21b0fab4cc6909c03fe21f1640
cmd/internal/obj/arm64: write test output to temp dir Write the test output to the temporary directory, not the current directory. May fix linux-mips64le-mengzhuo builder. Change-Id: Ibfeb3d2879c11d498abc31df4efe776fc09a6ad6 Reviewed-on: https://go-review.googlesource.com/c/go/+/225440 Run-TryBot: Cherry Zhang <cher...
[ { "path": "src/cmd/internal/obj/arm64/asm_test.go", "patch": "@@ -91,6 +91,7 @@ func TestPCALIGN(t *testing.T) {\n \t}\n \tdefer os.RemoveAll(dir)\n \ttmpfile := filepath.Join(dir, \"test.s\")\n+\ttmpout := filepath.Join(dir, \"test.o\")\n \n \tcode1 := []byte(\"TEXT ·foo(SB),$0-0\\nMOVD $0, R0\\nPCALIGN $8...
2020-03-25T15:47:02
huggingface/transformers
20abdacbef1a74634f00453eb924574734374ec4
68ae3be7f514b0e0411664e2a2cdbc6264fd3a0b
OWLv2: bug fix in post_process_object_detection() when using cuda device (#27468) * OWLv2: bug fix in post_process_object_detection() when using cuda device * fix copies issue by fixing original function in owlvit
[ { "path": "src/transformers/models/owlv2/image_processing_owlv2.py", "patch": "@@ -504,7 +504,7 @@ def post_process_object_detection(\n else:\n img_h, img_w = target_sizes.unbind(1)\n \n- scale_fct = torch.stack([img_w, img_h, img_w, img_h], dim=1)\n+ scale_...
2023-11-13T15:31:44
vuejs/vue
68bdbf508b915872627676d6bf987bdac9e5fe97
2d32b5d1b663fa331ec256b73e937af15eb6e3d5
fix: perperly handle v-if on <template> scoped slot fix #6725
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -343,11 +343,14 @@ function genScopedSlot (\n if (el.for && !el.forProcessed) {\n return genForScopedSlot(key, el, state)\n }\n- return `{key:${key},fn:function(${String(el.slotScope)}){` +\n+ const fn = `function(${String(el.slotScope)}){` +...
2017-10-10T16:21:42
rust-lang/rust
e8955a826629117349433a53991d27cdc6d36fc0
d18dd4dc18f544b79152579d4e27f3969602cf5e
fix: Don't emit empty scip occurrence for builtins
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/cli/scip.rs", "patch": "@@ -139,45 +139,42 @@ impl flags::Scip {\n let mut occurrences = Vec::new();\n let mut symbols = Vec::new();\n \n- tokens.into_iter().for_each(|(text_range, id)| {\n+ for (text_r...
2025-02-06T18:22:58
nodejs/node
388e552579aff6b5152c67adeda182d2d40e8dfc
9c6804c1dff0203751dd01da4e226e19de636a71
src: document --abort-on-uncaught-exception Its important for post-mortem diagnostics and should be more prominently documented. PR-URL: https://github.com/nodejs/node/pull/13931 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Julien Gilli <jgilli@nodejs.org>...
[ { "path": "doc/api/cli.md", "patch": "@@ -178,6 +178,14 @@ added: v8.0.0\n Enable loading native modules compiled with the ABI-stable Node.js API (N-API)\n (experimental).\n \n+## `--abort-on-uncaught-exception`\n+<!-- YAML\n+added: v0.10\n+-->\n+\n+Aborting instead of exiting causes a core file to be gener...
2017-06-26T18:00:34
ggml-org/llama.cpp
94933c8c2eeaa9a7983e3f6c08af76bd86724094
c1dacaa99b4ead6edbac928cd2da59436573f6b0
server : implement universal assisted decoding (#12635) * llama-server : implement universal assisted decoding * Erase prompt tail for kv-cache * set vocab_dft_compatible in common_speculative * rename ctx_main to ctx_tgt * move vocab_dft_compatible to spec struct * clear mem_dft, remove mem * detokenize id_last...
[ { "path": "common/arg.cpp", "patch": "@@ -977,6 +977,10 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context\n for (auto & seq_breaker : params.sampling.dry_sequence_breakers) {\n string_process_escapes(seq_breaker);\n }\n+ for (auto & pair :...
2025-07-31T12:25:23
golang/go
e8be350d78f3fd21b0fab4cc6909c03fe21f1640
b878d8db66faf9f8d9b2ff394123cdde21d93f8d
runtime: prevent preemption while timer is in timerModifying Currently if a goroutine is preempted while owning a timer in the timerModifying state, it could self-deadlock. When the goroutine is preempted and calls into the scheduler, it could call checkTimers. If checkTimers encounters the timerModifying timer and ca...
[ { "path": "src/runtime/time.go", "patch": "@@ -292,6 +292,9 @@ func deltimer(t *timer) bool {\n \tfor {\n \t\tswitch s := atomic.Load(&t.status); s {\n \t\tcase timerWaiting, timerModifiedLater:\n+\t\t\t// Prevent preemption while the timer is in timerModifying.\n+\t\t\t// This could lead to a self-deadlock...
2020-03-25T16:41:20
huggingface/transformers
68ae3be7f514b0e0411664e2a2cdbc6264fd3a0b
9dc8fe1b325f270320cdf205778bddae03c6ba1f
Fix `from_pt` flag when loading with `safetensors` (#27394) * Fix * Tests * Fix
[ { "path": "src/transformers/modeling_tf_pytorch_utils.py", "patch": "@@ -166,6 +166,7 @@ def load_pytorch_checkpoint_in_tf2_model(\n try:\n import tensorflow as tf # noqa: F401\n import torch # noqa: F401\n+ from safetensors.torch import load_file as safe_load_file # noqa: F401...
2023-11-13T14:18:19
vuejs/vue
dff85b230abda63839ed6b80d56ccfc6068b9ae0
70a28b37bc2fc9fe8494d70a13e4f8848aed4d00
fix(ssr): handle inline template compilation error fix #6766
[ { "path": "src/compiler/to-function.js", "patch": "@@ -1,7 +1,7 @@\n /* @flow */\n \n-import { noop } from 'shared/util'\n-import { warn, tip } from 'core/util/debug'\n+import { noop, extend } from 'shared/util'\n+import { warn as baseWarn, tip } from 'core/util/debug'\n \n type CompiledFunctionResult = {\n...
2017-10-10T14:47:06
rust-lang/rust
8a0adec05bf99d229e33545ba16c65c210e40142
9a833de62a1de598ea54ad0b8ac01369f8d23c85
Avoid manually producing FatalError in a couple of places
[ { "path": "compiler/rustc_driver_impl/src/lib.rs", "patch": "@@ -1024,7 +1024,7 @@ pub fn describe_flag_categories(early_dcx: &EarlyDiagCtxt, matches: &Matches) ->\n let wall = matches.opt_strs(\"W\");\n if wall.iter().any(|x| *x == \"all\") {\n print_wall_help();\n- rustc_errors::Fat...
2025-02-05T15:09:15
golang/go
b878d8db66faf9f8d9b2ff394123cdde21d93f8d
fcb8f8384ac62eb029926bb1f3602825fa61b261
bufio: don't panic when Scanner sees an impossible Read count Fixes #38053 Change-Id: Ib0f9777f37eeaa07eb8ecb6df3e97e9d4b46dcd8 Reviewed-on: https://go-review.googlesource.com/c/go/+/225357 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org...
[ { "path": "src/bufio/scan.go", "patch": "@@ -211,6 +211,10 @@ func (s *Scanner) Scan() bool {\n \t\t// be extra careful: Scanner is for safe, simple jobs.\n \t\tfor loop := 0; ; {\n \t\t\tn, err := s.r.Read(s.buf[s.end:len(s.buf)])\n+\t\t\tif n < 0 || n > len(s.buf)-s.end {\n+\t\t\t\tn = 0\n+\t\t\t\terr = e...
2020-03-25T03:09:11
huggingface/transformers
210e38d83f85738f9f6c277579e6c05e634ad164
b97cab7e6d3934c566e6cc8daf3e2f76d92397d5
[`Llama + Mistral`] Add attention dropout (#27315) * add droppouts * add the dropout * add doc in the config * nits * fix mistral config * nits
[ { "path": "src/transformers/models/llama/configuration_llama.py", "patch": "@@ -95,7 +95,8 @@ class LlamaConfig(PretrainedConfig):\n experimental feature, subject to breaking API changes in future versions.\n attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):\...
2023-11-13T13:51:48
ggml-org/llama.cpp
8a4a85627702b569d7d2810f2de06a4321656e9d
11490b36723d511d75fb601995c79b5c363ba3a2
Add LLaDA 8b Diffusion model (#14771) * Add support for Llada-8b: diffusion model * Add README * Fix README and convert_hf_to_gguf * convert_hf_to_gguf.py: address review comments * Make everything in a single example * Remove model-specific sampling * Remove unused argmax * Remove braced initializers, improve ...
[ { "path": "common/arg.cpp", "patch": "@@ -3438,34 +3438,51 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n }\n ).set_examples({LLAMA_EXAMPLE_SERVER}));\n \n- // diffusion parameters\n add_opt(common_arg(\n { \"--diffusion-steps\" }, \"N\",\n ...
2025-07-31T11:49:09