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
33df09e71a6431721113a41a3d66dea3df940ae2
b4199c2dad51639f5c467c7e2986e5270b275d84
[docstring] Fix docstring for 'BertGenerationConfig' (#26661) * [docstring] Remove 'BertGenerationConfig' from OBJECTS_TO_IGNORE * [docstring] Fix docstring for 'BertGenerationConfig' (#26638)
[ { "path": "src/transformers/models/bert_generation/configuration_bert_generation.py", "patch": "@@ -38,7 +38,7 @@ class BertGenerationConfig(PretrainedConfig):\n Number of hidden layers in the Transformer encoder.\n num_attention_heads (`int`, *optional*, defaults to 16):\n N...
2023-10-12T15:01:13
vuejs/vue
0bcad13bb3c61037e82a19c8cd3a8dbaf7b4b0d0
e12d96a1325ae4ed3e5520c1de68f5cd774e5515
Reorganize and update PR template (#5106) * Reorganize and update PR template * Update PULL_REQUEST_TEMPLATE.md * Remove required info for bugfixes
[ { "path": ".github/PULL_REQUEST_TEMPLATE.md", "patch": "@@ -3,38 +3,33 @@ Please make sure to read the Pull Request Guidelines:\n https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines\n -->\n \n-<!-- ISSUE TEMPLATE -->\n-**Please check if the PR fulfills these requirements**\...
2017-03-08T02:18:02
golang/go
3fd7d78decf9e4770083c5e0dddc878ab278a464
48c79db07f44676559ca024237dd8d3fa12c065f
[dev.link] cmd/link: fix up 'top frame' attribute in preload Populate the 'top frame' attribute for function symbols during preload (needed for DWARF debug frame generation). Change-Id: If27836f51ebafa3c1c29b268a22d72d1b59b505a Reviewed-on: https://go-review.googlesource.com/c/go/+/220983 Run-TryBot: Than McIntosh <t...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -1627,6 +1627,9 @@ func (l *Loader) preloadSyms(r *oReader, kind int) {\n \t\tif !added {\n \t\t\tcontinue\n \t\t}\n+\t\tif osym.TopFrame() {\n+\t\t\tl.SetAttrTopFrame(gi, true)\n+\t\t}\n \t\tif strings.HasPrefix(name, \"go.itablink.\") {\n \t...
2020-02-19T14:44:23
vuejs/vue
e12d96a1325ae4ed3e5520c1de68f5cd774e5515
7010d0ffc52809498ee3de4087a6b4b70c62727b
chore(parser.spec): fix an IE conditional test with a typo (#5102) * chore(parser.spec): fix an IE conditional test with a typo * check children.length is 0, instead of undefined
[ { "path": "test/unit/modules/compiler/parser.spec.js", "patch": "@@ -504,6 +504,6 @@ describe('parser', () => {\n </div>\n `, options)\n expect(ast.tag).toBe('div')\n- expect(ast.chilldren).toBeUndefined()\n+ expect(ast.children.length).toBe(0)\n })\n })", "additions": 1, "dele...
2017-03-08T02:17:08
ggml-org/llama.cpp
dad5c44398b78467943ed0a603ea427fe9f6fc62
55f6b9fa6563f6ae49113f9abdc980c12348cc1c
kv-cache : avoid modifying recurrent cells when setting inputs (#13834) * kv-cache : avoid modifying recurrent cells when setting inputs * kv-cache : remove inp_s_mask It was replaced with equivalent and simpler functionality with rs_z (the first zeroed state) and the already-existing inp_s_copy. * kv-cache : fix n...
[ { "path": "src/llama-graph.cpp", "patch": "@@ -250,22 +250,6 @@ void llm_graph_input_s_copy::set_input(const llama_ubatch * ubatch) {\n }\n }\n \n-void llm_graph_input_s_mask::set_input(const llama_ubatch * ubatch) {\n- GGML_UNUSED(ubatch);\n-\n- const int64_t n_kv = kv_state->get_n_kv();\n-\n- ...
2025-06-10T22:20:14
huggingface/transformers
b4199c2dad51639f5c467c7e2986e5270b275d84
eb734e51479be7d16d41d0f60c565cac3e57367a
[docstring] Update `GPT2` and `Whisper` (#26642) * [DOCS] Update docstrings for and tokenizer * [DOCS] add pad_token argument to whisper tokenizer docstring * [FIX] Reword pad_token description * [CHORE] Apply style formatting --------- Co-authored-by: jmcdonnell <jmcdonnell@fieldbox.ai>
[ { "path": "src/transformers/models/gpt2/configuration_gpt2.py", "patch": "@@ -58,7 +58,7 @@ class GPT2Config(PretrainedConfig):\n Number of hidden layers in the Transformer encoder.\n n_head (`int`, *optional*, defaults to 12):\n Number of attention heads for each attention l...
2023-10-12T15:00:59
rust-lang/rust
42271d452c6a93546e1990275c6f48ca1bbad5a5
3228d5ee62d37cb92c3a2cc5ef1350d9c85ccb03
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -91,9 +91,6 @@ rm tests/ui/statics/const_generics.rs # same\n # ======================\n rm tests/incremental/thinlto/cgu_invalidated_when_import_{added,removed}.rs # requires LLVM\n rm -r tests/run-make/cross-lang-lto # same\n-rm -r tests/run-make/sepco...
2025-02-01T16:39:07
golang/go
2cf3ebaf3db5b23a56e2ee62ecd76748dfbb5b8e
8955a56da015890f317d5f6919391503b854d93a
cmd/compile: add dedicated ARM64BitField aux type The goal here is improved AuxInt printing in ssa.html. Instead of displaying an inscrutable encoded integer, it displays something like v25 (28) = UBFX <int> [lsb=4,width=8] v52 which is much nicer for debugging. Change-Id: I40713ff7f4a857c4557486cdf73c2dff137511ca ...
[ { "path": "src/cmd/compile/internal/ssa/check.go", "patch": "@@ -141,7 +141,7 @@ func checkFunc(f *Func) {\n \t\t\t\t\tf.Fatalf(\"bad int32 AuxInt value for %v\", v)\n \t\t\t\t}\n \t\t\t\tcanHaveAuxInt = true\n-\t\t\tcase auxInt64, auxFloat64:\n+\t\t\tcase auxInt64, auxFloat64, auxARM64BitField:\n \t\t\t\tc...
2020-02-18T01:47:34
nodejs/node
edd541957f6bb6fa4ccb56bd1f878172f631ce36
12e39d6d943348a19da1bf84d4891aa28cd3ffb6
deps: upgrade libuv to 1.12.0 Fixes: https://github.com/nodejs/node/issues/12853 Fixes: https://github.com/nodejs/node/issues/854 PR-URL: https://github.com/nodejs/node/pull/13306 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnel...
[ { "path": "deps/uv/.mailmap", "patch": "@@ -1,3 +1,4 @@\n+A. Hauptmann <andreashauptmann@t-online.de>\n Aaron Bieber <qbit@deftly.net> <deftly@gmail.com>\n Alan Gutierrez <alan@prettyrobots.com> <alan@blogometer.com>\n Andrius Bentkus <andrius.bentkus@gmail.com> <toxedvirus@gmail.com>\n@@ -39,3 +40,4 @@ Tim...
2017-05-30T17:19:11
vuejs/vue
7010d0ffc52809498ee3de4087a6b4b70c62727b
8acfdb31d2b15f2e49579b380fdc1b14472eb836
chore(model-select.spec): add a check for value binding and fix some typo (#5092) * chore: add a check for value binding * chore: fix some typo
[ { "path": "test/unit/features/directives/model-select.spec.js", "patch": "@@ -80,9 +80,14 @@ describe('Directive v-model select', () => {\n waitForUpdate(function () {\n expect(vm.$el.value).toBe('3')\n expect(vm.$el.childNodes[2].selected).toBe(true)\n+\n updateSelect(vm.$el, '1')\n ...
2017-03-08T02:14:55
ggml-org/llama.cpp
55f6b9fa6563f6ae49113f9abdc980c12348cc1c
3678b838bb71eaccbaeb479ff38c2e12bfd2f960
convert : fix duplicate key DeepSeek-R1 conversion error (#14103)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -556,8 +556,11 @@ def set_gguf_parameters(self):\n logger.info(f\"gguf: experts used count = {n_experts_used}\")\n \n if (head_dim := self.hparams.get(\"head_dim\")) is not None:\n- self.gguf_writer.add_key_length(head_dim)\n- ...
2025-06-10T21:29:52
huggingface/transformers
eb734e51479be7d16d41d0f60c565cac3e57367a
0ebee8b93358b6ef0182398b8fcbd7afd64c0f97
[docstring] Fix `UniSpeech`, `UniSpeechSat`, `Wav2Vec2ForCTC` (#26664) * Remove UniSpeechConfig * Remove , at the end otherwise check_docstring changes order * Auto add new docstring * Update docstring for UniSpeechConfig * Remove from check_docstrings * Remove UniSpeechSatConfig and UniSpeechSatForCTC ...
[ { "path": "src/transformers/models/unispeech/configuration_unispeech.py", "patch": "@@ -65,33 +65,33 @@ class UniSpeechConfig(PretrainedConfig):\n The dropout ratio for activations inside the fully connected layer.\n attention_dropout (`float`, *optional*, defaults to 0.1):\n ...
2023-10-12T14:51:34
golang/go
a3fc77aa7e5ce67f647a1bd58a00423102135f16
b8f54e57c20368db5693b941fd6f79634b067cb0
cmd/compile: add ellipsis rule diagnostics to rulegen These detect opportunities to convert a rule to use an ellipsis, and provide better error messages when something goes wrong. This change was used to generate all the preceding changes converting rules to use ellipses. This change is at the end of those changes ra...
[ { "path": "src/cmd/compile/internal/ssa/gen/rulegen.go", "patch": "@@ -1287,23 +1287,31 @@ func parseValue(val string, arch arch, loc string) (op opData, oparch, typ, auxi\n \t}\n \n \t// Sanity check aux, auxint.\n-\tif auxint != \"\" {\n-\t\tswitch op.aux {\n-\t\tcase \"Bool\", \"Int8\", \"Int16\", \"Int3...
2020-01-23T22:33:26
nodejs/node
12e39d6d943348a19da1bf84d4891aa28cd3ffb6
c05561eb0529d973d873e48adfd86690c3be90e5
test: validate full error messages test: changed test2 of test-vm-timeout.js so that entire error message would be matched in assert.throw. Before test 2 of test-vm-timeout.js would match any RangeError, now it looks specifically for the error message "RangeError: timeout must be a positive nu...
[ { "path": "test/parallel/test-vm-timeout.js", "patch": "@@ -32,12 +32,12 @@ assert.throws(function() {\n // Test 2: Timeout must be >= 0ms\n assert.throws(function() {\n vm.runInThisContext('', { timeout: -1 });\n-}, RangeError);\n+}, /^RangeError: timeout must be a positive number$/);\n \n // Test 3: Tim...
2017-06-03T19:11:42
vuejs/vue
8acfdb31d2b15f2e49579b380fdc1b14472eb836
be9ac624c81bb698ed75628fe0cbeaba4a2fc991
fix a typo on type definition name (#5103)
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -7,7 +7,7 @@ import { camelize, no } from 'shared/util'\n \n type TransformFunction = (el: ASTElement, code: string) => string;\n type DataGenFunction = (el: ASTElement) => string;\n-type DirctiveFunction = (el: ASTElement, dir: ASTDirective, warn: Fun...
2017-03-06T08:56:22
ggml-org/llama.cpp
3a12db23b6918682ccb70ab15d897f11fe5fc320
ae92c1855b1a5b604fa1bfcced19a556ab3e78c5
Fixed spec timings to: accepted/tested instead of accepted/drafted (#14104)
[ { "path": "tools/server/server.cpp", "patch": "@@ -3556,16 +3556,16 @@ struct server_context {\n const llama_tokens & cached_text_tokens = slot.cache_tokens.get_text_tokens();\n llama_tokens draft = common_speculative_gen_draft(slot.spec, params_spec, cached_text_tokens, id);...
2025-06-10T15:48:07
huggingface/transformers
0ebee8b93358b6ef0182398b8fcbd7afd64c0f97
57632bf98ce0975fd6bbcc8cee1b89f2d124d991
[docs] LLM prompting guide (#26274) * llm prompting guide * updated code examples * an attempt to fix the code example tests * set seed in examples * added a doctest comment * added einops to the doc_test_job * string formatting * string formatting, again * added the toc to slow_documentation_t...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -92,6 +92,8 @@\n sections:\n - local: tasks/idefics\n title: Image tasks with IDEFICS\n+ - local: tasks/prompting\n+ title: LLM prompting guide\n title: Prompting\n title: Task Guides\n - sections:", "additions": 2, "d...
2023-10-12T12:48:01
vuejs/vue
be9ac624c81bb698ed75628fe0cbeaba4a2fc991
61930e0cc6d7ed8873251108ac6ea6c08b0f01ad
chore(src): fix some typos (#5104)
[ { "path": "src/core/observer/dep.js", "patch": "@@ -34,7 +34,7 @@ export default class Dep {\n }\n \n notify () {\n- // stablize the subscriber list first\n+ // stabilize the subscriber list first\n const subs = this.subs.slice()\n for (let i = 0, l = subs.length; i < l; i++) {\n sub...
2017-03-06T08:54:30
ggml-org/llama.cpp
b7ce1ad1e332da5909772d173a7e6748fbd1887a
97340b4c9924be86704dbf155e97c8319849ee19
ggml : fix weak alias win32 (whisper/0) ggml-ci
[ { "path": "ggml/src/ggml-cpu/ggml-cpu-impl.h", "patch": "@@ -518,11 +518,14 @@ void ggml_barrier(struct ggml_threadpool * tp);\n #elif defined(__GNUC__)\n // GCC/Clang on *nix\n # define GGML_WEAK_ALIAS(name, alias) GGML_DO_PRAGMA(weak name = alias) // NOLINT\n-#elif defined(_MSC_VER) && defined (_WIN64)\n+...
2025-06-10T08:34:10
huggingface/transformers
57632bf98ce0975fd6bbcc8cee1b89f2d124d991
db5e0c329251a7fdd96495653f5edcb0b3c8fc5f
Fix backward compatibility of Conversation (#26741) * Fix backward compatibility of Conversation I ran into a case where an external library was depending on the `new_user_input` field of Conversation. https://github.com/SeldonIO/MLServer/blob/release/1.4.x/runtimes/huggingface/mlserver_huggingface/codecs/utils.py#...
[ { "path": "src/transformers/pipelines/conversational.py", "patch": "@@ -155,17 +155,29 @@ def iter_texts(self):\n yield message[\"role\"] == \"user\", message[\"content\"]\n \n @property\n- def past_user_inputs(self):\n+ def _user_messages(self):\n # This is a legacy property f...
2023-10-12T11:19:23
golang/go
b8f54e57c20368db5693b941fd6f79634b067cb0
18053b7131fff206b11c73bd1db3b024f4d0589e
cmd/go: version command should error when given bad args For example, 'go version -m' happily gives you Go's own version, even though the -m flag only makes sense when grabbing the version of a binary on disk. Similarly, if any of the directly named files can't be found, the tool would succeed. That's acceptable if a...
[ { "path": "src/cmd/go/internal/version/version.go", "patch": "@@ -53,6 +53,11 @@ var (\n \n func runVersion(cmd *base.Command, args []string) {\n \tif len(args) == 0 {\n+\t\tif *versionM || *versionV {\n+\t\t\tfmt.Fprintf(os.Stderr, \"go version: flags can only be used with arguments\\n\")\n+\t\t\tbase.SetE...
2020-02-27T16:19:06
vuejs/vue
61930e0cc6d7ed8873251108ac6ea6c08b0f01ad
2dc177ffb3fa0ede18841806533ba034e71195d5
chore(test): fix some typos (#5101)
[ { "path": "test/e2e/specs/todomvc.js", "patch": "@@ -85,7 +85,7 @@ module.exports = {\n createNewItem('test')\n .assert.count('.todo', 2)\n \n- // complted filter\n+ // completed filter\n browser.click('.filters li:nth-child(3) a')\n .assert.count('.todo', 2)\n .assert.coun...
2017-03-06T08:50:49
huggingface/transformers
db5e0c329251a7fdd96495653f5edcb0b3c8fc5f
72256bc72ac2f2e341da47b9aea57e2e37879700
Fix `MistralIntegrationTest` OOM (#26754) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -15,6 +15,7 @@\n \"\"\" Testing suite for the PyTorch Mistral model. \"\"\"\n \n \n+import gc\n import tempfile\n import unittest\n \n@@ -447,17 +448,23 @@ def test_model_7b_logits(self):\n print(out[0, 0, :30])\n torch....
2023-10-12T10:31:11
ggml-org/llama.cpp
2bb0467043258bdc58dbaefb33786f1731b38937
b8e2194efc529378be45ab9b27d6648a5b81458a
rpc : nicer error messages for RPC server crash (#14076)
[ { "path": "ggml/src/ggml-rpc/ggml-rpc.cpp", "patch": "@@ -53,6 +53,9 @@ struct socket_t {\n }\n };\n \n+// macro for nicer error messages on server crash\n+#define RPC_STATUS_ASSERT(x) if (!(x)) GGML_ABORT(\"Remote RPC server crashed or returned malformed response\")\n+\n // all RPC structures must be p...
2025-06-10T06:41:01
golang/go
18053b7131fff206b11c73bd1db3b024f4d0589e
117826903a526c4d31c628f1a302c1d4799c1666
cmd/compile: optimize unsigned comparisons to 0/1 on amd64 Plus a bonus optimization I noticed while working on this. There are no functions (besides the rewrite rules) whose text size increases as a result of this change. Updates #21439 The following per-package text size stats were generated by parsing the output...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -567,6 +567,12 @@\n (NE (TESTB (SETAE cmp) (SETAE cmp)) yes no) -> (UGE cmp yes no)\n (NE (TESTB (SETO cmp) (SETO cmp)) yes no) -> (OS cmp yes no)\n \n+// Unsigned comparisons to 0/1\n+(ULT (TEST(Q|L|W|B) x x) yes no) -> (First no yes)\n...
2020-01-01T07:12:33
vuejs/vue
eb58694f6fec3e2d32c69a4f13a89650bca2e82b
c683caff3ae627ffc0a0d3a8357101c3b4a5653e
chore(filter.spec): fix variable-- test case (#5094)
[ { "path": "test/unit/features/filter/filter.spec.js", "patch": "@@ -125,7 +125,7 @@ describe('Filters', () => {\n it('handle division with variable--', () => {\n const vm = new Vue({\n data: { a: 7 },\n- template: `<div>{{ a++ / 2 | double }}</div>`,\n+ template: `<div>{{ a-- / 2 | dou...
2017-03-05T00:40:49
ggml-org/llama.cpp
1f63e75f3b5dc7f44dbe63c8a41d23958fe95bc0
40cbf571c9210031340f022d104317e89a1a6bb2
metal : use less stack memory in FA kernel (#14088) * metal : use less stack memory in FA kernel ggml-ci * cont : fix BF16 variant
[ { "path": "ggml/src/ggml-metal/ggml-metal.metal", "patch": "@@ -3333,8 +3333,6 @@ kernel void kernel_flash_attn_ext(\n \n threadgroup q_t * sq = (threadgroup q_t *) (shmem_f16 + 0*DK); // holds the query data\n threadgroup q4_t * sq4 = (threadgroup q4_t *) (shmem_f16 + ...
2025-06-09T20:05:02
golang/go
117826903a526c4d31c628f1a302c1d4799c1666
7340e5a1e86311302c6fcc3a86afe7ff9cbf5e49
flag: update comment to refer to Output, not out The out method was renamed to Output in CL 70391 for #17628 and #21888. Fixes #37514 Change-Id: I99be47b5030ccbbf10a056df9fcc3c97cb99b015 Reviewed-on: https://go-review.googlesource.com/c/go/+/221383 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot ...
[ { "path": "src/flag/flag.go", "patch": "@@ -331,7 +331,7 @@ type FlagSet struct {\n \tformal map[string]*Flag\n \targs []string // arguments after flags\n \terrorHandling ErrorHandling\n-\toutput io.Writer // nil means stderr; use out() accessor\n+\toutput io.Writer // nil mean...
2020-02-27T19:11:48
vuejs/vue
62e4f2b3d1281297e1671b924c7fb932b56e1961
40bc5923ae69062f6bbd5f3cba34e2a1a3f1cf70
chore: fix some closetag mismatches (#5088)
[ { "path": "test/unit/features/component/component-slot.spec.js", "patch": "@@ -153,7 +153,7 @@ describe('Component slot', () => {\n b: 2,\n show: true\n },\n- template: '<test :show=\"show\"><p slot=\"b\">{{b}}</a><p>{{a}}</p></test>',\n+ template: '<test :show=\"show\"><p sl...
2017-03-04T15:10:11
nodejs/node
2db2857c72c219e5ba1642a345e52cfdd8c44a66
554fa24916c5c6d052b51c5cee9556b76489b3f7
deps: cherry-pick 6d38f89 from upstream V8 Original commit message: [turbofan] Boost performance of Array.prototype.shift by 4x. For small arrays, it's way faster to just move the elements instead of doing the fairly complex and heavy-weight left-trimming. Crankshaft has had this optimization for sma...
[ { "path": "deps/v8/src/compiler/graph.h", "patch": "@@ -104,6 +104,17 @@ class V8_EXPORT_PRIVATE Graph final : public NON_EXPORTED_BASE(ZoneObject) {\n Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9};\n return NewNode(op, arraysize(nodes), nodes);\n }\n+ Node* NewNode(const Operator* op, Nod...
2017-05-28T10:14:23
huggingface/transformers
72256bc72ac2f2e341da47b9aea57e2e37879700
ab0ddc99e853c974949d823dbfaa732202696f3e
Fix `PersimmonIntegrationTest` OOM (#26750) * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/persimmon/test_modeling_persimmon.py", "patch": "@@ -15,6 +15,7 @@\n \"\"\" Testing suite for the PyTorch Persimmon model. \"\"\"\n \n \n+import gc\n import unittest\n \n from parameterized import parameterized\n@@ -395,31 +396,43 @@ class PersimmonIntegrationTest(unittest.TestCase):...
2023-10-12T09:24:18
ggml-org/llama.cpp
40cbf571c9210031340f022d104317e89a1a6bb2
7f4fbe5183b23b6b2e25fd1ccc5d1fa8bb010cb7
kv-cache : fix shift and defrag logic (#14081) * kv-cache : fix shift ggml-ci * cont : reset shift[i] ggml-ci * cont : fix defrag erasing cells that didn't move ggml-ci
[ { "path": "src/llama-kv-cache-unified.cpp", "patch": "@@ -462,7 +462,7 @@ bool llama_kv_cache_unified::update(llama_context * lctx, bool do_shift, const d\n for (uint32_t i = 0; i < n_kv; ++i) {\n assert(dinfo.ids[i] <= n_kv);\n \n- if (dinfo.ids[i] == n_kv) {\n+ ...
2025-06-09T20:04:35
vuejs/vue
d6999c19c4c18d5eedfd3a7741e17b0e34e8a8df
1b38a261c5ad852da1026d4058b1100e075f8f4e
Fix unnecessary conditional. (#5054)
[ { "path": "src/core/util/lang.js", "patch": "@@ -29,14 +29,13 @@ const bailRE = /[^\\w.$]/\n export function parsePath (path: string): any {\n if (bailRE.test(path)) {\n return\n- } else {\n- const segments = path.split('.')\n- return function (obj) {\n- for (let i = 0; i < segments.length...
2017-03-03T04:04:04
golang/go
3061d89651618bd4ebe84ee0df3a83effc35c9e3
a1e057e585903cd35f4b497904af82117d60d3ba
cmd/go/testdata/script: fix path separator in test to be os-independent Use ${:} instead of : so to be Windows-friendly. Change-Id: I5e660af49b0a2ac2da868583cbcb55cf8bf89b68 Reviewed-on: https://go-review.googlesource.com/c/go/+/221461 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Bryan C. Mills <bcmil...
[ { "path": "src/cmd/go/testdata/script/install_shadow_gopath.txt", "patch": "@@ -3,7 +3,7 @@\n \n [!net] skip\n \n-env GOPATH=$WORK/gopath1:$WORK/gopath2\n+env GOPATH=$WORK/gopath1${:}$WORK/gopath2\n \n mkdir $WORK/gopath1/src/test\n mkdir $WORK/gopath2/src/test", "additions": 1, "deletions": 1, ...
2020-02-27T22:24:48
nodejs/node
554fa24916c5c6d052b51c5cee9556b76489b3f7
36ba9e6e0cf09e94b403aa23efce8c9a4530e029
deps: cherry-pick f5fad6d from upstream v8 Original commit message: This commit adds a getter for the private is_verbose_ member. The use case for this comes from Node.js where the ability to avoid calling FatalException if the TryCatch is verbose would be nice to have. BUG= Review-Url: http...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -8168,6 +8168,11 @@ class V8_EXPORT TryCatch {\n */\n void SetVerbose(bool value);\n \n+ /**\n+ * Returns true if verbosity is enabled.\n+ */\n+ bool IsVerbose() const;\n+\n /**\n * Set whether or not this TryCatch should capture a Message objec...
2017-05-02T10:28:17
ggml-org/llama.cpp
7f4fbe5183b23b6b2e25fd1ccc5d1fa8bb010cb7
f470bc36bed4d836b9de5a483fa0dfaee176d6f5
llama : allow building all tests on windows when not using shared libs (#13980) * llama : allow building all tests on windows when not using shared libraries * add static windows build to ci * tests : enable debug logs for test-chat --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": ".github/workflows/build.yml", "patch": "@@ -687,8 +687,8 @@ jobs:\n strategy:\n matrix:\n include:\n- - build: 'cpu-x64'\n- defines: '-G \"Ninja Multi-Config\" -D CMAKE_TOOLCHAIN_FILE=cmake/x64-windows-llvm.cmake -DGGML_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DGG...
2025-06-09T18:03:09
vuejs/vue
3294eba5a572f03290ce38f15625732dafd8e45d
0b902e0c28f4f324ffb8efbc9db74127430f8a42
fix v-on .left .right compat with keyboard events (fix #5046)
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -29,9 +29,9 @@ const modifierCode: { [key: string]: string } = {\n shift: genGuard(`!$event.shiftKey`),\n alt: genGuard(`!$event.altKey`),\n meta: genGuard(`!$event.metaKey`),\n- left: genGuard(`$event.button !== 0`),\n- middle: genGuard(`$eve...
2017-03-03T03:40:15
golang/go
a1e057e585903cd35f4b497904af82117d60d3ba
6ef25c2ad3e1051629e78de0a8cd3553d48c832e
cmd/go: roll forward "convert TestShadowingLogic to the script framework" This rolls forward the change golang.org/cl/214431, which was reverted in golang.org/cl/220217. The cl was broken because TestVersionControlErrorMessageIncludesCorrectDirectory, which is going to be removed in golang.org/cl/214429 hadn't been su...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -1543,51 +1543,6 @@ func TestSymlinkWarning(t *testing.T) {\n \ttg.grepStderr(\"ignoring symlink\", \"list should have reported symlink\")\n }\n \n-func TestShadowingLogic(t *testing.T) {\n-\tskipIfGccgo(t, \"gccgo has no standard packages\")\n-\ttg := testgo(...
2020-02-20T00:35:58
nodejs/node
44f5523260f8687c5844e945f8fecff261f600ba
bfb4694408434b631bf5cfbca756fc9cb331e91c
v8: fix stack overflow in recursive method HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock() used to self-recurse before this commit, causing stack overflows on systems with small stack sizes. Make it non-recursive by storing intermediate results in a heap-allocated list. Fixes: https://github....
[ { "path": "deps/v8/src/crankshaft/hydrogen-gvn.cc", "patch": "@@ -5,6 +5,8 @@\n #include \"src/crankshaft/hydrogen-gvn.h\"\n \n #include \"src/crankshaft/hydrogen.h\"\n+#include \"src/list.h\"\n+#include \"src/list-inl.h\"\n #include \"src/objects-inl.h\"\n #include \"src/v8.h\"\n \n@@ -651,19 +653,23 @@ Si...
2017-04-17T10:20:05
vuejs/vue
0b902e0c28f4f324ffb8efbc9db74127430f8a42
46c3866b0fbad862d79200d52b83f2113807d913
handle circular reference in looseEqual (fix #5055)
[ { "path": "src/shared/util.js", "patch": "@@ -211,7 +211,12 @@ export function looseEqual (a: mixed, b: mixed): boolean {\n const isObjectA = isObject(a)\n const isObjectB = isObject(b)\n if (isObjectA && isObjectB) {\n- return JSON.stringify(a) === JSON.stringify(b)\n+ try {\n+ return JSON...
2017-03-03T02:48:53
ggml-org/llama.cpp
f470bc36bed4d836b9de5a483fa0dfaee176d6f5
8f47e25f56e9792093b7497c68e9f80bab82ed19
ggml-cpu : split arch-specific implementations (#13892) * move ggml-cpu-aarch64 to repack * split quantize_row_q8_0/1 * split helper functions * split ggml_vec_dot_q4_0_q8_0 * split ggml_vec_dot_q4_1_q8_1 * split ggml_vec_dot_q5_0_q8_0 * split ggml_vec_dot_q5_1_q8_1 * split ggml_vec_dot_q8_0_q8_0 * split ggml_...
[ { "path": "Makefile", "patch": "@@ -367,7 +367,7 @@ ifdef LLAMA_SERVER_SSL\n endif\n \n ifndef GGML_NO_CPU_AARCH64\n-\tMK_CPPFLAGS += -DGGML_USE_CPU_AARCH64\n+\tMK_CPPFLAGS += -DGGML_USE_CPU_REPACK\n endif\n \n # warnings\n@@ -970,7 +970,7 @@ OBJ_GGML = \\\n \t$(DIR_GGML)/src/ggml-threading.o \\\n \t$(DIR_G...
2025-06-09T14:47:13
huggingface/transformers
3bc65505fc0801e3d9ff741ec725fb0cb4d863d6
e1cec43415e72c9853288d4e9325b734d36dd617
Fix doctest for `Blip2ForConditionalGeneration` (#26737) * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/blip_2/modeling_blip_2.py", "patch": "@@ -1272,14 +1272,10 @@ def get_text_features(\n >>> import torch\n >>> from transformers import AutoTokenizer, Blip2Model\n \n- >>> device = \"cuda\" if torch.cuda.is_available() else \"cpu\"\n-\n- >>> mo...
2023-10-12T08:01:07
golang/go
2cfc5e2b2fb14cde51702cd124f0c9b324c8066e
4d6c171a1b355fe209a630e299a419a0cdb04253
cmd/go: convert TestGoBuildGOPATHOrder to the script framework It looks like TestGoBuildGOPATHOrderBroken has been fixed so I've converted that too, without the skip. Part of converting all tests to script framework to improve test parallelism. Updates #36320 Updates #17751 Change-Id: I7ee77f22fb888811c175bcdc5eb81...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -1945,59 +1945,6 @@ func TestGoInstallPkgdir(t *testing.T) {\n \ttg.mustExist(filepath.Join(pkg, \"sync/atomic.a\"))\n }\n \n-func TestGoBuildGOPATHOrder(t *testing.T) {\n-\t// golang.org/issue/14176#issuecomment-179895769\n-\t// golang.org/issue/14192\n-\t// ...
2020-01-13T18:51:14
nodejs/node
bfb4694408434b631bf5cfbca756fc9cb331e91c
bc8e4878c007f044425bbdd8f0dff7006d0028a0
deps: fix addons compilation with VS2013 VS2013 does not support defaulting move constructor and assignment operator. This adds explicit definitions of those methods for two classes. This fix is required because we still support building addons with VS2013 and the incompatibility is in v8.h. Fixes: https://github.com...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -4025,10 +4025,12 @@ class V8_EXPORT WasmCompiledModule : public Object {\n // supports move semantics, and does not support copy semantics.\n class TransferrableModule final {\n public:\n- TransferrableModule(TransferrableModule&& src) = default;\n+ ...
2017-05-23T16:25:03
vuejs/vue
367f781f44cb77bb58e4acd2f52a9e27e280f67a
2f751b5d9908968549e3aa05d546d3b5055110b1
ssr: fix json bundle path (fix #5037)
[ { "path": "src/server/create-bundle-renderer.js", "patch": "@@ -43,9 +43,10 @@ export function createBundleRendererCreator (createRenderer: () => Renderer) {\n path.isAbsolute(bundle)\n ) {\n if (fs.existsSync(bundle)) {\n+ const isJSON = /\\.json$/.test(bundle)\n basedir = ba...
2017-02-28T15:26:02
ggml-org/llama.cpp
8f47e25f56e9792093b7497c68e9f80bab82ed19
201b31dc2e6fef3de598280b53fd3b69420a4e49
cuda : fix device sync on buffer clear (#14033)
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -615,9 +615,8 @@ static void ggml_backend_cuda_buffer_clear(ggml_backend_buffer_t buffer, uint8_t\n ggml_backend_cuda_buffer_context * ctx = (ggml_backend_cuda_buffer_context *)buffer->context;\n \n ggml_cuda_set_device(ctx->device);\n- CU...
2025-06-09T14:36:26
huggingface/transformers
797a1babf27bf602b9c92d4cb46ce671b763bb82
aaccf1844eccbb90cc923378e3c37a6b143d03fb
[docstring] Fix docstring for `CodeLlamaTokenizer` (#26709) * update check_docstrings * update docstring
[ { "path": "src/transformers/models/code_llama/tokenization_code_llama.py", "patch": "@@ -68,6 +68,11 @@ class CodeLlamaTokenizer(PreTrainedTokenizer):\n Args:\n vocab_file (`str`):\n Path to the vocabulary file.\n+ unk_token (`str`, *optional*, defaults to `\"<unk>\"`):\n+ ...
2023-10-11T16:01:22
rust-lang/rust
06171066d2ff8d71138c42f5f7c9c7e906be1102
55459598c250d985eb5f840306dfb59f267c03b6
Fix sentence in process::abort
[ { "path": "library/std/src/process.rs", "patch": "@@ -2318,14 +2318,10 @@ pub fn exit(code: i32) -> ! {\n /// Terminates the process in an abnormal fashion.\n ///\n /// The function will never return and will immediately terminate the current\n-/// process in a platform specific \"abnormal\" manner.\n-///\n...
2025-01-27T14:00:21
golang/go
4ae1879dda1a20176dddc62e827404c75a869fa0
c739bc487d94c0617b3e4454f29271d08d66613c
cmd/compile: document Move's type Fixes #37381 Change-Id: I8abf07d6342c10fc8d52e11c6a70fb0ec09220d2 Reviewed-on: https://go-review.googlesource.com/c/go/+/220683 Reviewed-by: Cherry Zhang <cherryyz@google.com>
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -1923,6 +1923,7 @@\n (IsNonNil (LocalAddr _ _)) -> (ConstBool [1])\n \n // Inline small or disjoint runtime.memmove calls with constant length.\n+// See the comment in op Move in genericOps.go for discussion of the type.\n (StaticCall ...
2020-02-25T00:16:27
vuejs/vue
7963b3d32c888326ee19c06ea1c3b70bec28c540
00648f00af8d2a94beea0cfb5689094cff6827b0
Fix comment typo in normalize-children.js (#5014)
[ { "path": "src/core/vdom/helpers/normalize-children.js", "patch": "@@ -24,7 +24,7 @@ export function simpleNormalizeChildren (children: any) {\n return children\n }\n \n-// 2. When the children contains constrcuts that always generated nested Arrays,\n+// 2. When the children contains constructs that alwa...
2017-02-26T20:30:25
nodejs/node
9b4a891ca2e387820a9cac0a1ecfc97ca4c4e932
bbe5cb2749b52878e2df34622a98ca4c18ec3bad
deps: run memory hungry V8 test in exclusive mode es6/typedarray-construct-offset-not-smi allocates a 2G block of memory and if there are multiple variants running at the same time this can lead to crashes, OOM kills or the OS failing to allocate memory. This patch limits us to running a single variant of the test. ...
[ { "path": "deps/v8/test/mjsunit/mjsunit.status", "patch": "@@ -148,7 +148,7 @@\n # Slow tests.\n 'copy-on-write-assert': [PASS, SLOW],\n 'es6/tail-call-megatest*': [PASS, SLOW, FAST_VARIANTS, ['tsan', SKIP]],\n- 'es6/typedarray-construct-offset-not-smi': [PASS, SLOW],\n+ 'es6/typedarray-construct-of...
2017-06-06T08:33:45
huggingface/transformers
aaccf1844eccbb90cc923378e3c37a6b143d03fb
e58cbed51d1a4877e37b2fcf23e8d801b233ec4d
[docstring] Fix docstring for `LlamaTokenizer` and `LlamaTokenizerFast` (#26669) * [docstring] Fix docstring for `LlamaTokenizer` and `LlamaTokenizerFast` * [docstring] Fix docstring typo at `LlamaTokenizer` and `LlamaTokenizerFast`
[ { "path": "src/transformers/models/llama/tokenization_llama.py", "patch": "@@ -71,6 +71,43 @@ class LlamaTokenizer(PreTrainedTokenizer):\n Args:\n vocab_file (`str`):\n Path to the vocabulary file.\n+ unk_token (`str` or `tokenizers.AddedToken`, *optional*, defaults to `\"<unk...
2023-10-11T15:03:31
ggml-org/llama.cpp
201b31dc2e6fef3de598280b53fd3b69420a4e49
e21d2d4ae26d6c5daf1602a1061aa4f8e722ca57
graph : fix geglu (#14077) ggml-ci
[ { "path": "src/llama-graph.cpp", "patch": "@@ -663,22 +663,14 @@ ggml_tensor * llm_graph_context::build_ffn(\n {\n // Split into two equal parts\n int64_t split_point = cur->ne[0] / 2;\n- ggml_tensor * output_ffn_up = ggml_cont(ctx0, ggml_view_2d(\n...
2025-06-09T14:17:31
golang/go
c739bc487d94c0617b3e4454f29271d08d66613c
956f64888d650e870d03c533b47646cf911bc396
cmd/go/internal/modload: make PackageNotInModuleError reasonable for the Target module Updates #28459 Updates #32917 Change-Id: Iced562cb7c2e0ac075d8345f1e4ad3b073842dcf Reviewed-on: https://go-review.googlesource.com/c/go/+/185343 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@gola...
[ { "path": "src/cmd/go/internal/modload/query.go", "patch": "@@ -445,7 +445,11 @@ func QueryPattern(pattern, query string, allowed func(module.Version) bool) ([]Q\n \t\tcandidateModules = modulePrefixesExcludingTarget(base)\n \t)\n \tif len(candidateModules) == 0 {\n-\t\treturn nil, fmt.Errorf(\"package %s i...
2019-07-03T21:12:32
nodejs/node
bbe5cb2749b52878e2df34622a98ca4c18ec3bad
24709b2e4aac9f60cf6617c8616965bc62003883
deps: limit regress/regress-crbug-514081 v8 test regress/regress-crbug-514081 allocates a 2G block of memory and if there are multiple variants running at the same time this can lead to crashes, OOM kills or the OS failing to allocate memory. This patch limits us to running a single variant of the test Fixes: https...
[ { "path": "deps/v8/test/mjsunit/mjsunit.status", "patch": "@@ -692,4 +692,13 @@\n 'whitespaces': [SKIP],\n }], # variant == wasm_traps\n \n+##############################################################################\n+# This test allocates a 2G block of memory and if there are multiple\n+# varients th...
2016-05-09T22:44:42
ggml-org/llama.cpp
e21d2d4ae26d6c5daf1602a1061aa4f8e722ca57
dc0623fddb661926e0998538895155e4f081ff09
CANN: Simplify the environment variable setting(#13104) * Simplify the environment variable setting to specify the memory pool type. * Adjust the GGML_CANN_ASYNC_MODE setting to accept yes, enable, 1, or on (case-insensitive) as valid options. * update * fix CI * update * delete whitespace * fix according to rev...
[ { "path": "docs/backend/CANN.md", "patch": "@@ -8,6 +8,7 @@\n - [DataType Supports](#datatype-supports)\n - [Docker](#docker)\n - [Linux](#linux)\n+ - [Environment variable setup](#environment-variable-setup)\n - [TODO](#todo)\n \n \n@@ -290,5 +291,24 @@ Authors from Peking University: Bizhao Shi (bshi@...
2025-06-09T11:47:39
huggingface/transformers
e58cbed51d1a4877e37b2fcf23e8d801b233ec4d
b219ae6bd4158260e04adb67a5b3c195102c348f
Revert #20715 (#26734) * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/utils/__init__.py", "patch": "@@ -186,7 +186,9 @@\n is_training_run_on_sagemaker,\n is_vision_available,\n requires_backends,\n+ tf_required,\n torch_only_method,\n+ torch_required,\n )\n from .peft_utils import (\n ADAPTER_CONFIG_NAME,", "additions"...
2023-10-11T14:46:41
rust-lang/rust
58c4b3ce4ae067c054bcb57a6890701eb827ef62
1e87d00e11c261f80d581c87f0ed7ffbb373d46a
tests: port `split-debuginfo` to rmake.rs Co-authored-by: Oneirical <manchot@videotron.ca>
[ { "path": "src/tools/tidy/src/allowed_run_make_makefiles.txt", "patch": "@@ -1 +0,0 @@\n-run-make/split-debuginfo/Makefile", "additions": 0, "deletions": 1, "language": "Plain Text" }, { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -1,368 +0,0 @@\n-# ignore-cross-c...
2025-01-15T11:23:07
nodejs/node
60d14c870274e9f193a81e8eb9b6a74fba3b4178
35353a45fcc28b68c9d6c0695a8209d47dfeff56
doc: Add URL argument with http/https request PR-URL: https://github.com/nodejs/node/pull/13405 Fixes: https://github.com/nodejs/node/issues/13383 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cji...
[ { "path": "doc/api/http.md", "patch": "@@ -1568,9 +1568,13 @@ added to the [`'request'`][] event.\n ## http.get(options[, callback])\n <!-- YAML\n added: v0.3.6\n+changes:\n+ - version: v7.5.0\n+ pr-url: https://github.com/nodejs/node/pull/10638\n+ description: The `options` parameter can be a WHATWG...
2017-06-02T15:07:06
ggml-org/llama.cpp
dc0623fddb661926e0998538895155e4f081ff09
87d34b381d5868e75586210ec17b5ef5deddc276
webui: fix sidebar being covered by main content (#14082) * webui: fix sidebar being covered by main content Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> * webui: update index.html.gz Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> --------- Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
[ { "path": "tools/server/webui/src/App.tsx", "patch": "@@ -32,7 +32,7 @@ function AppLayout() {\n <>\n <Sidebar />\n <main\n- className=\"drawer-content grow flex flex-col h-screen w-screen mx-auto px-4 overflow-auto bg-base-100\"\n+ className=\"drawer-content grow flex flex-col...
2025-06-09T10:01:17
huggingface/transformers
1d6a84749bce9fef4db7c61621728205271357d1
6ecb2ab67971a13e9832c2df84f6c9d1e7e0dbf0
Fix checkpoint path in `no_trainer` scripts (#26733) checkpoint path
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -465,7 +465,7 @@ def collate_fn(examples):\n path = os.path.basename(checkpoint_path)\n \n accelerator.print(f\"Resumed from checkpoint: {checkpoint_path}\")\n- accelerator.load_...
2023-10-11T14:16:27
vuejs/vue
cf7b90fbf7bb427da554cfec61a8310ca666a21f
10e724fa78b54288709c0281ad558c4c2cae4fb3
fix flow
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -4,6 +4,7 @@ import { once, isObject, toNumber } from 'shared/util'\n import { inBrowser, isIE9, warn } from 'core/util/index'\n import { mergeVNodeHook } from 'core/vdom/helpers/index'\n import { activeInstance } from 'core/instance/...
2017-02-26T00:13:57
rust-lang/rust
223e0f1ce1dc7e06041f7226a661a653c0ddb3df
16e5ea4ec43814abdec220ec834845b47b390a0b
tests: fix incorrect comment
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -237,7 +237,7 @@ else # Some non-Windows, non-Darwin platforms are not stable, and some are.\n \tunpacked-lto: unpacked-lto-split unpacked-lto-single\n \n \t# - rmeta file added to rlib, no object files are generated and thus no debuginfo is ...
2025-01-16T07:23:53
nodejs/node
dcfbbacba8c22613b956c1a3b9d958676e5d5e87
4c5cbb7c8367abde6409ce68eee0e5eb5f07903d
path: use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/11319 Ref: https://github.com/nodejs/node/issues/11273 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson ...
[ { "path": "lib/path.js", "patch": "@@ -21,11 +21,11 @@\n \n 'use strict';\n \n-const inspect = require('util').inspect;\n+const errors = require('internal/errors');\n \n function assertPath(path) {\n if (typeof path !== 'string') {\n- throw new TypeError('Path must be a string. Received ' + inspect(pat...
2017-02-11T19:32:16
ggml-org/llama.cpp
87d34b381d5868e75586210ec17b5ef5deddc276
b460d16ae858c6624fd37aec316622a4060ca325
server : fix LRU check (#14079) ggml-ci
[ { "path": "tools/server/server.cpp", "patch": "@@ -2142,15 +2142,16 @@ struct server_context {\n \n // find the slot that has been least recently used\n if (ret == nullptr) {\n- int64_t t_last = ggml_time_us();\n+ int64_t t_last = -1;\n+\n for (server_slot &...
2025-06-09T09:57:58
huggingface/transformers
6ecb2ab67971a13e9832c2df84f6c9d1e7e0dbf0
69873d529db9796eaf8dc52d2d93b0bea11d2001
Fix stale bot for locked issues (#26711)
[ { "path": "scripts/stale.py", "patch": "@@ -18,6 +18,7 @@\n from datetime import datetime as dt\n import os\n \n+import github.GithubException\n from github import Github\n \n \n@@ -36,8 +37,8 @@ def main():\n repo = g.get_repo(\"huggingface/transformers\")\n open_issues = repo.get_issues(state=\"op...
2023-10-11T14:08:55
vuejs/vue
6468e15194b8305fa85e2bb63b064152a366b400
e7a2510e631bd25f46b4e1125b83a9236a50ff1d
fix release script tag handling
[ { "path": "build/release.sh", "patch": "@@ -30,18 +30,18 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then\n cd packages/vue-template-compiler\n npm version $VERSION\n if [[ -z $RELEASE_TAG ]]; then\n- npm publish --tag $RELEASE_TAG\n- else\n npm publish\n+ else\n+ npm publish --tag $RELEASE_TAG\n fi\n...
2017-02-24T23:26:08
rust-lang/rust
16e5ea4ec43814abdec220ec834845b47b390a0b
b06066341b72ecb5568809c28f8a441c1875aa27
tests: fix incorrect comment for wrong path remap scope
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -150,7 +150,7 @@ else # Some non-Windows, non-Darwin platforms are not stable, and some are.\n \t\trm $(TMPDIR)/$(call BIN,foo)\n \n \t# - Debuginfo in `.o` files\n-\t# - `.o` and binary refer to remapped `.o` paths which do not exist\n+\t# -...
2025-01-16T06:37:50
ggml-org/llama.cpp
247e5c6e447707bb4539bdf1913d206088a8fc69
5787b5da57e54dba760c2deeac1edf892e8fc450
cuda : fix buffer type check with integrated GPUs (#14069)
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -1144,7 +1144,6 @@ typedef void (*ggml_cuda_op_mul_mat_t)(\n static cudaError_t ggml_cuda_cpy_tensor_2d(\n void * dst, const struct ggml_tensor * src, int64_t i3, int64_t i2, int64_t i1_low, int64_t i1_high, cudaStream_t stream) {\n \n- GGML_A...
2025-06-08T18:39:56
huggingface/transformers
69873d529db9796eaf8dc52d2d93b0bea11d2001
cc44ca8017b11c0086593f8666b23d4c420c5d51
fix the model card issue as `use_cuda_amp` is no more available (#26731)
[ { "path": "src/transformers/modelcard.py", "patch": "@@ -895,10 +895,10 @@ def extract_hyperparameters_from_trainer(trainer):\n hyperparameters[\"num_epochs\"] = trainer.args.num_train_epochs\n \n if trainer.args.fp16:\n- if trainer.use_cuda_amp:\n- hyperparameters[\"mixed_prec...
2023-10-11T13:58:23
vuejs/vue
abfb4589a826936ae1a4422cc3db50805ddee831
5d12d52710f5ec71426cfe707ebfed3808a280a2
fix weex tests
[ { "path": "src/entries/weex-compiler.js", "patch": "@@ -1,30 +1,3 @@\n /* @flow */\n \n-import { extend } from 'shared/util'\n-import { compile as baseCompile, baseOptions } from 'weex/compiler/index'\n-import { detectErrors } from 'compiler/error-detector'\n-\n-export function compile (\n- template: strin...
2017-02-24T22:49:17
nodejs/node
df46fcb61a6f64cebffd26c8dbd4f24c8058fe25
b830c976b56a4b9601ffa03980511512ac8ae8e1
doc: fix typo "ndapi" in n-api.md PR-URL: https://github.com/nodejs/node/pull/13484 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca...
[ { "path": "doc/api/n-api.md", "patch": "@@ -703,7 +703,7 @@ added: v8.0.0\n NODE_EXTERN napi_status napi_create_reference(napi_env env,\n napi_value value,\n int initial_refcount,\n- ...
2017-06-05T21:30:00
rust-lang/rust
b06066341b72ecb5568809c28f8a441c1875aa27
95ba76b3c5d78622a6fa5b9d654e5624c4cfb463
tests: fix `-Zunstable-options` bug in `split-debuginfo`
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -47,7 +47,7 @@ else # Some non-Windows, non-Darwin platforms are not stable, and some are.\n \t# - `.dwo` never created\n \t# - `.dwp` never created\n \toff:\n-\t\t$(RUSTC) foo.rs -g -C $(UNSTABLEOPTS) split-debuginfo=off\n+\t\t$(RUSTC) foo.r...
2025-01-15T15:16:10
golang/go
42f8199290f27a65f2aba9f1f6b9bdfd2406612e
ea3bfba87cfd7141870f975102029e2e341b4af3
all: fix incorrect channel and API usage in some unit tests This CL changes some unit test functions, making sure that these tests (and goroutines spawned during test) won't block. Since they are just test functions, I use one CL to fix them all. I hope this won't cause trouble to reviewers and can save time for us. T...
[ { "path": "src/cmd/compile/internal/gc/lex_test.go", "patch": "@@ -93,7 +93,7 @@ func TestPragcgo(t *testing.T) {\n \tfor _, tt := range tests {\n \n \t\tp.err = make(chan syntax.Error)\n-\t\tgotch := make(chan [][]string)\n+\t\tgotch := make(chan [][]string, 1)\n \t\tgo func() {\n \t\t\tp.pragcgobuf = nil\...
2020-02-13T21:20:30
huggingface/transformers
cc44ca8017b11c0086593f8666b23d4c420c5d51
da69de17e86501b95396086a5b6479f645e8f70e
[docstring] `SwinModel` docstring fix (#26679) * remove from utils * updated doc string * only in the model * Update src/transformers/models/swin/modeling_swin.py Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> * Update src/transformers/models/swin/modeling_swin.py Co-authored-by: ...
[ { "path": "src/transformers/models/swin/modeling_swin.py", "patch": "@@ -942,6 +942,12 @@ def _set_gradient_checkpointing(self, module, value=False):\n @add_start_docstrings(\n \"The bare Swin Model transformer outputting raw hidden-states without any specific head on top.\",\n SWIN_START_DOCSTRING,...
2023-10-11T13:53:32
ggml-org/llama.cpp
0974ad7a7cd4bca846b15c484ff3be890135a52c
745aa5319b9930068aff5e87cf5e9eef7227339b
llama : fix llama_model_chat_template with template name (LLM_KV with suffix) (#14050)
[ { "path": "src/llama-arch.cpp", "patch": "@@ -200,7 +200,6 @@ static const std::map<llm_kv, const char *> LLM_KV_NAMES = {\n { LLM_KV_TOKENIZER_HF_JSON, \"tokenizer.huggingface.json\" },\n { LLM_KV_TOKENIZER_RWKV, \"tokenizer.rwkv.world\" ...
2025-06-07T12:13:12
vuejs/vue
7d3309deed60fc86568a6e2e09f0ccdb7dc5ceea
d304eee296990994b0491b0abfde2e1c4bf2ec3a
fix transition appear class fallback (fix #4985)
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -68,9 +68,9 @@ export function enter (vnode: VNodeWithData, toggleDisplay: ?() => void) {\n return\n }\n \n- const startClass = isAppear ? appearClass : enterClass\n- const activeClass = isAppear ? appearActiveClass : enterAct...
2017-02-24T20:36:16
rust-lang/rust
95ba76b3c5d78622a6fa5b9d654e5624c4cfb463
97ae7a0b8a1167649620a7df0dcfa670a3db5e3e
tests: remove redundant `-C debuginfo=2` when `-g` is already specified `-g` is an alias for `-C debuginfo=2`.
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -112,8 +112,8 @@ else # Some non-Windows, non-Darwin platforms are not stable, and some are.\n \t# - `.dwo` deleted\n \t# - `.dwp` present\n \tpacked-remapped-split:\n-\t\t$(RUSTC) $(UNSTABLEOPTS) -C split-debuginfo=packed -C debuginfo=2 \\\n...
2025-01-15T09:25:18
nodejs/node
3630ed1c827fd02e447b733865ebd6214b478a41
f06c05cf5a2c2678a76c15adbe7f3acbc9478617
errors,tty: migrate to use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/13240 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -123,6 +123,7 @@ E('ERR_HTTP_INVALID_STATUS_CODE',\n E('ERR_INDEX_OUT_OF_RANGE', 'Index out of range');\n E('ERR_INVALID_ARG_TYPE', invalidArgType);\n E('ERR_INVALID_CALLBACK', 'callback must be a function');\n+E('ERR_INVALID_FD', (fd) => `\"fd\" must be a po...
2017-05-26T12:55:18
golang/go
ea3bfba87cfd7141870f975102029e2e341b4af3
7bb33179cadf072403b2f1d8f8210c5ae414d135
cmd/compile: handle more cases in isNonNegative The gains from this aren't particularly impressive. Still, it is cheap and easy, and it will keep me from wondering about whether it might help to add X every time I look at this function. This updated function is pretty exhaustive; I examined every op encountered in a ...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -1296,23 +1296,51 @@ func removeBranch(b *Block, branch branch) {\n \n // isNonNegative reports whether v is known to be greater or equal to zero.\n func isNonNegative(v *Value) bool {\n+\tif !v.Type.IsInteger() {\n+\t\tpanic(\"isNonNegative ba...
2019-12-20T21:42:39
huggingface/transformers
da69de17e86501b95396086a5b6479f645e8f70e
5334796d204177b5ccfddc3471ee1ca4cec217a6
[Assistant Generation] Improve Encoder Decoder (#26701) * [Assistant Generation] Improve enc dec * save more * Fix logit processor checks * Clean * make style * fix deprecation * fix generation test * Apply suggestions from code review * fix biogpt * make style
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -227,6 +227,20 @@ class GenerationConfig(PushToHubMixin):\n decoder_start_token_id (`int`, *optional*):\n If an encoder-decoder model starts decoding with a different token than *bos*, the id of that token.\n \n...
2023-10-11T13:52:20
vuejs/vue
d304eee296990994b0491b0abfde2e1c4bf2ec3a
661d880075f6e5280884a91fd9ac949064cc10d5
fix weex tests
[ { "path": "test/weex/compiler/v-model.spec.js", "patch": "@@ -14,7 +14,7 @@ describe('compile v-model', () => {\n it('should compile other component with whole $event as the value', () => {\n const { render, staticRenderFns, errors } = compile(`<div><foo v-model=\"x\" /></div>`)\n expect(render).n...
2017-02-24T17:26:21
ggml-org/llama.cpp
487a5e0401423bba02cd6e97e4d45131bb20b22b
d17a809ef0af09b16625e991a76f6fe80d9c332e
context : fix SWA-related warning for multiple sequences (#14045)
[ { "path": "src/llama-context.cpp", "patch": "@@ -123,7 +123,7 @@ llama_context::llama_context(\n __func__, n_ctx_per_seq, hparams.n_ctx_train);\n }\n \n- if (!params.swa_full && cparams.n_seq_max > 1) {\n+ if (!params.swa_full && cparams.n_seq_max > 1 && hparams.is_swa_any()) {\n ...
2025-06-06T10:29:18
rust-lang/rust
97ae7a0b8a1167649620a7df0dcfa670a3db5e3e
d440ea0c8ef1af75cc034f119a3b62cbbabf4ad3
tests: use an illustrative else-if branch in `split-debuginfo` Makefile This does not work with GNU Make 3.80, but this is just to make it easier to follow during review.
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -30,342 +30,339 @@ ifeq ($(UNAME),Darwin)\n \t\t$(RUSTC) foo.rs -g -C split-debuginfo=unpacked\n \t\tls $(TMPDIR)/*.o\n \t\t[ ! -d $(TMPDIR)/foo.dSYM ]\n-else\n-\tifdef IS_WINDOWS\n-\t\t# Windows only supports packed debuginfo - nothing to te...
2025-01-15T08:50:43
nodejs/node
f06c05cf5a2c2678a76c15adbe7f3acbc9478617
422722ff67fc29e1cfd212d183a9594f8869de7f
src: remove `'` print modifier It is not supported on Windows so it emits: warning C4476: 'fprintf' : unknown type field character ''' in format specifier warning C4474: 'fprintf' : too many arguments passed for format string PR-URL: https://github.com/nodejs/node/pull/13447 Fixes: https://github.com/nodejs/node/...
[ { "path": "src/env-inl.h", "patch": "@@ -146,7 +146,7 @@ inline bool Environment::AsyncHooks::pop_ids(double async_id) {\n if (uid_fields_[kCurrentAsyncId] != async_id) {\n fprintf(stderr,\n \"Error: async hook stack has become corrupted (\"\n- \"actual: %'.f, expected: %'.f)\\n...
2017-06-04T03:50:11
golang/go
7bb33179cadf072403b2f1d8f8210c5ae414d135
98858c438016bbafd161b502a148558987aa44d5
net: fix typo in unexported variable name Change-Id: Idf64716ef8cc3ceee2fc94462cba33ba60049f7b GitHub-Last-Rev: ba550c5d136688e5aeaf3c9d4713b7f29bd17492 GitHub-Pull-Request: golang/go#36237 Reviewed-on: https://go-review.googlesource.com/c/go/+/212300 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gob...
[ { "path": "src/net/dnsclient_unix.go", "patch": "@@ -40,10 +40,10 @@ var (\n \terrInvalidDNSResponse = errors.New(\"invalid DNS response\")\n \terrNoAnswerFromDNSServer = errors.New(\"no answer from DNS server\")\n \n-\t// errServerTemporarlyMisbehaving is like errServerMisbehaving, except\n+\t//...
2020-02-27T05:21:22
vuejs/vue
661d880075f6e5280884a91fd9ac949064cc10d5
394679fc70343a4f693317e376df39a8216776e5
fix component v-model with "value" binding expression (fix #5002)
[ { "path": "src/compiler/directives/model.js", "patch": "@@ -10,17 +10,22 @@ export function genComponentModel (\n ): ?boolean {\n const { number, trim } = modifiers || {}\n \n- let valueExpression = 'value'\n+ const baseValueExpression = '$$v'\n+ let valueExpression = baseValueExpression\n if (trim) ...
2017-02-24T17:17:59
ggml-org/llama.cpp
669c13e0f67edfba891c5bd7105eb4376bcf8626
146b88e8b3e16d22cea22f8be982a4d45e913b1e
vulkan: Enable VK_KHR_cooperative_matrix extension for Intel Xe2 GPUs (#14001) * allowing B580 and U9-288V * experimenting code to detect Xe2 * allowing coopmat only for Xe2 GPUs * fixed comment wording * fixed comment wording * removed unnecessary driver check
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -196,6 +196,7 @@ enum vk_device_architecture {\n AMD_RDNA1,\n AMD_RDNA2,\n AMD_RDNA3,\n+ INTEL_XE2,\n };\n \n static vk_device_architecture get_device_architecture(const vk::PhysicalDevice& device) {\n@@ -246,6 +247,34 @@ static v...
2025-06-05T14:00:29
rust-lang/rust
d440ea0c8ef1af75cc034f119a3b62cbbabf4ad3
9e48dfe5e0d5ec1b064b5d25504948ede0ec9b53
tests: reformat `split-debuginfo`'s `Makefile` To make it easier to tell the conditional branching.
[ { "path": "tests/run-make/split-debuginfo/Makefile", "patch": "@@ -6,366 +6,366 @@ include ../tools.mk\n all: off packed unpacked\n \n ifeq ($(UNAME),Darwin)\n-# If disabled, don't run `dsymutil`.\n-off:\n-\trm -rf $(TMPDIR)/*.dSYM\n-\t$(RUSTC) foo.rs -g -C split-debuginfo=off\n-\t[ ! -d $(TMPDIR)/foo.dSYM ...
2025-01-15T08:44:45
huggingface/transformers
dcc49d8a7ef91c5e1baeb4d510ec4f37bc259760
1e3c9ddacc7fc4142253bc9ddcba85c4d5b977e7
In assisted decoding, pass model_kwargs to model's forward call (fix prepare_input_for_generation in all models) (#25242) * In assisted decoding, pass model_kwargs to model's forward call Previously, assisted decoding would ignore any additional kwargs that it doesn't explicitly handle. This was inconsistent with ...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1297,6 +1297,43 @@ def _validate_generated_length(self, generation_config, input_ids_length, has_de\n UserWarning,\n )\n \n+ def _extend_attention_mask(self, model_kwargs: Dict[str, Any], new_mask_length: ...
2023-10-11T11:18:42
nodejs/node
422722ff67fc29e1cfd212d183a9594f8869de7f
f1199c2bb4fe07fd9fdba3d6728f4791f66b2ea7
win, doc: document per-drive current working dir Add note to fs.md and path.md about Windows using per-drive current working directory. Fixes: https://github.com/nodejs/node/issues/9378 PR-URL: https://github.com/nodejs/node/pull/13330 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jas...
[ { "path": "doc/api/fs.md", "patch": "@@ -94,6 +94,12 @@ Error: EISDIR: illegal operation on a directory, read\n <stack trace.>\n ```\n \n+*Note:* On Windows Node.js follows the concept of per-drive working directory.\n+This behavior can be observed when using a drive path without a backslash. For\n+exam...
2017-06-06T09:19:23
vuejs/vue
394679fc70343a4f693317e376df39a8216776e5
bc034d33a43b56f9e6275cef8330644e4d1ed1ab
ensure errors Array is always present in compiler output
[ { "path": "src/platforms/web/compiler/index.js", "patch": "@@ -58,6 +58,8 @@ export function compile (\n })\n if (process.env.NODE_ENV !== 'production') {\n compiled.errors = errors.concat(detectErrors(compiled.ast))\n+ } else {\n+ compiled.errors = errors\n }\n return compiled\n }", "ad...
2017-02-24T16:14:36
ggml-org/llama.cpp
146b88e8b3e16d22cea22f8be982a4d45e913b1e
7f37b6cf1e2c1b90bf0d9c8d91904b4b6c512748
ci: fix CUDA build failure on autodl cloud machines (#14005) Replace CMAKE_CUDA_ARCHITECTURES=native with nvidia-smi detection as 'native' fails on autodl cloud environments. Co-authored-by: pockers21 <liyang2@uniontech.com>
[ { "path": "ci/run.sh", "patch": "@@ -46,7 +46,20 @@ if [ ! -z ${GG_BUILD_METAL} ]; then\n fi\n \n if [ ! -z ${GG_BUILD_CUDA} ]; then\n- CMAKE_EXTRA=\"${CMAKE_EXTRA} -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=native\"\n+ CMAKE_EXTRA=\"${CMAKE_EXTRA} -DGGML_CUDA=ON\"\n+\n+ if command -v nvidia-smi >/d...
2025-06-05T13:25:29
golang/go
98858c438016bbafd161b502a148558987aa44d5
af1f3b008281c61c54a5d203ffb69334b7af007c
runtime: don't panic on racy use of timers If we see a racy use of timers, as in concurrent calls to Timer.Reset, do the operations in an unpredictable order, rather than crashing. Fixes #37400 Change-Id: Idbac295df2dfd551b6d762909d5040fc532c1b34 Reviewed-on: https://go-review.googlesource.com/c/go/+/221077 Run-TryB...
[ { "path": "src/runtime/time.go", "patch": "@@ -74,36 +74,26 @@ type timer struct {\n // timerNoStatus -> timerWaiting\n // anything else -> panic: invalid value\n // deltimer:\n-// timerWaiting -> timerDeleted\n+// timerWaiting -> timerModifying -> timerDeleted\n // timerModifi...
2020-02-26T04:23:15
huggingface/transformers
1e3c9ddacc7fc4142253bc9ddcba85c4d5b977e7
fc63914399b6f60512c720959f9182b02ae4a45c
Make Whisper Encoder's sinusoidal PE non-trainable by default (#26032) * set encoder's PE as non-trainable * freeze flax * init sinusoids * add test for non-trainable embed positions * simplify TF encoder embed_pos * revert tf * clean up * add sinusoidal init for jax * make consistent sinusoida...
[ { "path": "src/transformers/models/whisper/modeling_flax_whisper.py", "patch": "@@ -14,6 +14,7 @@\n # limitations under the License.\n \"\"\" Flax whisper model.\"\"\"\n \n+import math\n import random\n from functools import partial\n from typing import Optional, Tuple\n@@ -58,6 +59,19 @@\n remat = nn_parti...
2023-10-11T08:08:54
vuejs/vue
4cf49828c0274262f111e23056332d3a970b28d9
2a5fb41d1cd7445b6aacd2e888df1b397b1899dd
properly handle cosntructor options modification before global mixin application (fix #4976)
[ { "path": "flow/component.js", "patch": "@@ -14,6 +14,7 @@ declare interface Component {\n static extend: (options: Object) => Function;\n static superOptions: Object;\n static extendOptions: Object;\n+ static sealedOptions: Object;\n static super: Class<Component>;\n // assets\n static directi...
2017-02-23T23:11:18
nodejs/node
f1199c2bb4fe07fd9fdba3d6728f4791f66b2ea7
df5d8e031a4f886fc79bbe7190a4885e496a0225
tools: fix order of ESLint rules PR-URL: https://github.com/nodejs/node/pull/13363 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Rich Trott <rtrott@gmail.co...
[ { "path": ".eslintrc.yaml", "patch": "@@ -13,7 +13,6 @@ parserOptions:\n rules:\n # Possible Errors\n # http://eslint.org/docs/rules/#possible-errors\n- comma-dangle: [2, only-multiline]\n no-control-regex: 2\n no-debugger: 2\n no-dupe-args: 2\n@@ -28,7 +27,6 @@ rules:\n no-invalid-regexp: 2\n ...
2017-06-01T07:57:06
ggml-org/llama.cpp
7f37b6cf1e2c1b90bf0d9c8d91904b4b6c512748
3a077146a4761fdbd24bdd8eb098f46b8adc4dda
memory : migrate from llama_kv_cache to more generic llama_memory (#14006) * memory : merge llama_kv_cache into llama_memory + new `llama_memory` API ggml-ci * context : fix casts ggml-ci
[ { "path": "include/llama.h", "patch": "@@ -61,7 +61,10 @@ extern \"C\" {\n struct llama_model;\n struct llama_context;\n struct llama_sampler;\n- struct llama_kv_cache;\n+\n+ typedef struct llama_memory_i * llama_memory_t;\n+\n+ struct llama_kv_cache; // DEPRECATED (use llama_memory ins...
2025-06-05T12:29:22
golang/go
12cd55c062d6062a64076cb37f12ab7646df1be7
8bdd24df6afa746cede600351feb2aa4395a63ea
io/ioutil: reject path separators in TempDir, TempFile pattern Fixes #33920 Change-Id: I2351a1caa80c086ff5a8e02aad70d996be7aac35 Reviewed-on: https://go-review.googlesource.com/c/go/+/212597 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Emmanuel Odeke <em...
[ { "path": "src/io/ioutil/tempfile.go", "patch": "@@ -5,6 +5,7 @@\n package ioutil\n \n import (\n+\t\"errors\"\n \t\"os\"\n \t\"path/filepath\"\n \t\"strconv\"\n@@ -52,7 +53,10 @@ func TempFile(dir, pattern string) (f *os.File, err error) {\n \t\tdir = os.TempDir()\n \t}\n \n-\tprefix, suffix := prefixAndSu...
2019-12-25T16:24:07
huggingface/transformers
3eceaa3637197fa78dd3525cb3df57fcaf5ba00d
975003eacb959011a7bb6fc6413904d84de06726
Fix source_prefix default value (#26654)
[ { "path": "examples/pytorch/summarization/run_summarization.py", "patch": "@@ -264,7 +264,7 @@ class DataTrainingArguments:\n },\n )\n source_prefix: Optional[str] = field(\n- default=\"\", metadata={\"help\": \"A prefix to add before every source text (useful for T5 models).\"}\n+ ...
2023-10-10T18:49:10