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
ggml-org/llama.cpp
f3101a8cc665f73217c752a10a7042889275cfbc
1c49c70d07ef87635daa5e8fdd0b5bfd88493dd3
SYCL: add gelu_erf kernel (#13749) * SYCL: add gelu_erf kernel * refactor code Co-authored-by: Atharva Dubey <atharva.dubey@codeplay.com> * Use scope_op_debug_print --------- Co-authored-by: Atharva Dubey <atharva.dubey@codeplay.com>
[ { "path": "ggml/src/ggml-sycl/element_wise.cpp", "patch": "@@ -84,6 +84,15 @@ static void gelu_quick(const T *x, T *dst, int k,\n dst[i] = x[i] * (static_cast<T>(1.0f) / (static_cast<T>(1.0f) + sycl::native::exp(GELU_QUICK_COEF * x[i])));\n }\n \n+template<typename T>\n+static void gelu_erf(const T * x,...
2025-05-27T15:22:59
huggingface/transformers
ae9a344cce52ff244f721425f660b55ebc522b88
1a2e966cfe916cdfd78ef7e1385911106bc33f50
[`Mistral`] Add Flash Attention-2 support for `mistral` (#26464) * add FA-2 support for mistral * fixup * add sliding windows * fixing few nits * v1 slicing cache - logits do not match * add comment * fix bugs * more mem efficient * add warning once * add warning once * oops * fixup ...
[ { "path": "docs/source/en/model_doc/mistral.md", "patch": "@@ -82,6 +82,51 @@ tokenizer = LlamaTokenizer.from_pretrained(\"/output/path\")\n model = MistralForCausalLM.from_pretrained(\"/output/path\")\n ```\n \n+## Combining Mistral and Flash Attention 2\n+\n+First, make sure to install the latest version ...
2023-10-03T11:44:46
golang/go
7802b551769c9f39e2b08a13f7ba2b4e5c521f9e
821b7994826cf8f9f5f66ca35339ffe088dba02d
reflect: update Select to panic early on excessive input cases The runtime implementation of select has an upper limit on the number of select cases that are supported in order to maintain low stack memory usage. Rather than support an arbitrary number of select cases, we've opted to panic early with a useful message ...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -1651,6 +1651,35 @@ func TestSelect(t *testing.T) {\n \t}\n }\n \n+func TestSelectMaxCases(t *testing.T) {\n+\tvar sCases []SelectCase\n+\tchannel := make(chan int)\n+\tclose(channel)\n+\tfor i := 0; i < 65536; i++ {\n+\t\tsCases = append(sCases, SelectCase{...
2020-02-23T20:27:05
nodejs/node
bd4a53493b4d130e39955a2497995707666cffd4
a235e670a820107210be27e0cd266164763fb014
deps: upgrade openssl sources to 1.0.2l This replaces all sources of openssl-1.0.2l.tar.gz into deps/openssl/openssl Fixes: https://github.com/nodejs/node/issues/13161 PR-URL: https://github.com/nodejs/node/pull/13233 Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed...
[ { "path": "deps/openssl/openssl/CHANGES", "patch": "@@ -2,6 +2,12 @@\n OpenSSL CHANGES\n _______________\n \n+ Changes between 1.0.2k and 1.0.2l [25 May 2017]\n+\n+ *) Have 'config' recognise 64-bit mingw and choose 'mingw64' as the target\n+ platform rather than 'mingw'.\n+ [Richard Levitte]\n+\...
2017-05-26T05:27:45
vuejs/vue
7131bc48155fb5224f4d6f0fb1c4b7eed6a79db4
b60182d996ed1e976ce1697a3017cb702ddc0920
separate initRender and initial mounting (fix #4693)
[ { "path": "src/core/instance/init.js", "patch": "@@ -39,10 +39,13 @@ export function initMixin (Vue: Class<Component>) {\n vm._self = vm\n initLifecycle(vm)\n initEvents(vm)\n+ initRender(vm)\n callHook(vm, 'beforeCreate')\n initState(vm)\n callHook(vm, 'created')\n- initRender...
2017-01-11T20:01:23
huggingface/transformers
1a2e966cfe916cdfd78ef7e1385911106bc33f50
245da7ed38d9f0dbd428c48e2ec4111ae5be2680
Nit-added-tokens (#26538) * fix stripping * nits * fix another test * styling * fix? * update * revert bad merge * found the bug * YES SIR * is that change really required? * make fast even faster * re order functions
[ { "path": "src/transformers/tokenization_utils.py", "patch": "@@ -367,6 +367,25 @@ def __init__(self, **kwargs):\n \n self._decode_use_source_tokenizer = False\n \n+ @property\n+ def is_fast(self) -> bool:\n+ return False\n+\n+ @property\n+ def vocab_size(self) -> int:\n+ \...
2023-10-03T10:23:46
golang/go
821b7994826cf8f9f5f66ca35339ffe088dba02d
90c71cec5bca21e8c7e984fffbd0ad62d7067f5d
test: clean up run.go • Inline check function because it's more readable. • Delete toolPath because it was unused. • Use strings.TrimPrefix because it's simpler. • Remove out variable because its value was unused. • Rename serr to err because it's more consistent. Change-Id: I084fb4f8b399578834d5eea29a673c386cf3a357 ...
[ { "path": "test/run.go", "patch": "@@ -166,14 +166,6 @@ func main() {\n \t}\n }\n \n-func toolPath(name string) string {\n-\tp := filepath.Join(os.Getenv(\"GOROOT\"), \"bin\", \"tool\", name)\n-\tif _, err := os.Stat(p); err != nil {\n-\t\tlog.Fatalf(\"didn't find binary at %s\", p)\n-\t}\n-\treturn p\n-}\n...
2020-02-09T06:40:45
ggml-org/llama.cpp
bc583e3c63c04a11d287c108ea9e6a515ead0423
72b090da2c50e540143fd312a2f9aa5f151e6136
mtmd : support Qwen 2.5 Omni (input audio+vision, no audio output) (#13784) * mtmd : allow multiple modalities at the same time * refactor mtmd tokenizer * fix compile * ok, missing SinusoidsPositionEmbedding * first working version * fix style * more strict validate of n_embd * refactor if..else to switch * f...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -432,6 +432,9 @@ def load_hparams(dir_model: Path):\n if \"llm_config\" in config:\n # rename for InternVL\n config[\"text_config\"] = config[\"llm_config\"]\n+ if \"thinker_config\" in con...
2025-05-27T12:06:10
vuejs/vue
92657249ddbb68c7b28c7e9d6fcc8e68cf8a151f
38b30b4e605aeca41a8889f706c19d5d359a784a
Mark node with static props as static (#4662) * fix special static attrs as dom prop * refactor
[ { "path": "flow/compiler.js", "patch": "@@ -82,6 +82,7 @@ declare type ASTElement = {\n plain?: boolean;\n pre?: true;\n ns?: string;\n+ staticProps?: Array<string>;\n \n component?: string;\n inlineTemplate?: true;", "additions": 1, "deletions": 0, "language": "JavaScript" }, { ...
2017-01-10T22:38:32
nodejs/node
3fe980d3e609a250656fb72041830c195ddf3fb0
7dfeb36143a37b5f11766220a6408b9e6124a53b
build: fix typo PR-URL: https://github.com/nodejs/node/pull/13396 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
[ { "path": "vcbuild.bat", "patch": "@@ -157,7 +157,7 @@ if _%PROCESSOR_ARCHITECTURE%_==_AMD64_ set msvs_host_arch=amd64\n if _%PROCESSOR_ARCHITEW6432%_==_AMD64_ set msvs_host_arch=amd64\n @rem usualy vcvarsall takes an argument: host + '_' + target\n set vcvarsall_arg=%msvs_host_arch%_%target_arch%\n-@rem un...
2017-06-02T12:51:48
huggingface/transformers
245da7ed38d9f0dbd428c48e2ec4111ae5be2680
3632fb3c25eecd4fa491db9d5f3663d7d58516b0
[Doctest] Add `configuration_encoder_decoder.py` (#26519) * [Doctest] Add configuration_encoder_decoder.py Added configuration_encoder_decoder.py to utils/documentation_tests.txt for doctest * Revert "[Doctest] Add configuration_encoder_decoder.py" This reverts commit bd653535a4356dc3c9f43e65883819079a2053b0....
[ { "path": "src/transformers/models/encoder_decoder/configuration_encoder_decoder.py", "patch": "@@ -51,7 +51,7 @@ class EncoderDecoderConfig(PretrainedConfig):\n \n >>> config = EncoderDecoderConfig.from_encoder_decoder_configs(config_encoder, config_decoder)\n \n- >>> # Initializing a Bert2Bert mode...
2023-10-03T09:21:24
ggml-org/llama.cpp
81713121ee56755ba4a147d1a1e3fa248ec31a66
f9cd68398baf2ba8af4725ca9ed00bef205e6706
kv-cells : track min/max used cells and per-sequence positions (#13808) * kv-cells : track min/max used cells and per-sequence positions ggml-ci * kv-cells : fix pos-modification updates for seq_pos ggml-ci * kv-cells : add comments ggml-ci
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -286,31 +286,11 @@ void llama_kv_cache_unified::seq_div(llama_seq_id seq_id, llama_pos p0, llama_po\n }\n \n llama_pos llama_kv_cache_unified::seq_pos_min(llama_seq_id seq_id) const {\n- llama_pos result = std::numeric_limits<llama_pos>::max();\n-\n- fo...
2025-05-27T10:49:41
golang/go
4e8badbbc2fe7854bb1c12a9ee42315b4d535051
84afaa9e9491d76ea43d7125b336030a0a2a902d
crypto/cipher: require non-zero nonce size for AES-GCM Also fix typo in crypto/cipher/gcm_test.go. Fixes #37118 Change-Id: I8544d1eeeb1f0336cebb977b8c5bfa5e4c5ad8c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/218500 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>...
[ { "path": "src/crypto/cipher/gcm.go", "patch": "@@ -86,7 +86,8 @@ func NewGCM(cipher Block) (AEAD, error) {\n }\n \n // NewGCMWithNonceSize returns the given 128-bit, block cipher wrapped in Galois\n-// Counter Mode, which accepts nonces of the given length.\n+// Counter Mode, which accepts nonces of the gi...
2020-02-07T19:44:58
vuejs/vue
367c2e34a1d53c3122c5487bb39606a2e8bca380
a36dc07222632e7c961eadf6556d1c98f49f4007
[weex] Use weex.requireModule instead of weex.require (#4682) * [weex] use weex.requireModule instead of weex.require * [weex] fix the deprecated __weex_require_module__
[ { "path": "src/entries/weex-framework.js", "patch": "@@ -91,7 +91,7 @@ export function createInstance (\n const weexInstanceVar = {\n config,\n document,\n- require: moduleGetter\n+ requireModule: moduleGetter\n }\n Object.freeze(weexInstanceVar)\n \n@@ -112,7 +112,7 @@ export function c...
2017-01-10T16:02:55
nodejs/node
b1ed55f259b075c43198404113a07dc55ca3983d
592d7d2f2a153edabee8a60dbcc1c7c6fce45463
assert: fix deepEqual RangeError: Maximum call stack size exceeded Fixes: https://github.com/nodejs/node/issues/13314 Refs: https://github.com/nodejs/node/issues/6416 This commit changes semantics of the memos cycles tracker. Before the change it was used to track all currently wisited nodes of an object tree, which ...
[ { "path": "lib/assert.js", "patch": "@@ -262,24 +262,27 @@ function _deepEqual(actual, expected, strict, memos) {\n // Use memos to handle cycles.\n if (!memos) {\n memos = {\n- actual: { map: new Map(), position: 0 },\n- expected: { map: new Map(), position: 0 }\n+ actual: new Map(),...
2017-05-30T20:44:34
huggingface/transformers
3632fb3c25eecd4fa491db9d5f3663d7d58516b0
768aa3d9cd345c6ee9e7716048e5a62946d35924
[AMD] Add initial version for run_tests_multi_gpu (#26346) * Add initial version for run_tests_multi_gpu * Trigger change in BERT * fix typo setup -> setup_gpu * Add tag mi210 * Enable multi-gpu jobs * One more * Use dynamic device allocation * Attempt to fix syntax for docker create * fix scri...
[ { "path": ".github/workflows/self-push-amd.yml", "patch": "@@ -44,28 +44,32 @@ jobs:\n needs: check_runner_status\n strategy:\n matrix:\n- machine_type: [single-gpu]\n- runs-on: [self-hosted, docker-gpu, amd-gpu, '${{ matrix.machine_type }}', mi210]\n+ machine_type: [single-gp...
2023-10-03T09:13:45
ggml-org/llama.cpp
4f81b33e324b1669b282eb81104e4a1131be7dce
cdf94a18023c92f41808ec874ba577d914674717
llama : validate seq id batch input (#13809) * llama : validate seq id batch input ggml-ci * cont : fix the fix ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -693,12 +693,18 @@ int llama_context::encode(llama_batch & inp_batch) {\n \n GGML_ASSERT((!batch.token && batch.embd) || (batch.token && !batch.embd)); // NOLINT\n \n+ // TODO: move the validation to the llama_batch_allocr\n if (batch.token) {\n ...
2025-05-27T06:40:59
vuejs/vue
e8d72d254bba2649d79979050fa748b1a46abfca
c9fa2e674b520bb64359e18cf6a6455a7d05a6e7
fix alligator.io link in backers.md
[ { "path": "BACKERS.md", "patch": "@@ -74,7 +74,7 @@ It could be you!\n <img width=\"240px\" src=\"http://i.imgur.com/MRIkKgp.png\">\n </a>\n \n-<a href=\"https://alligator.io\"></a>\n+<a href=\"https://alligator.io\">\n <img width=\"240px\" src=\"https://alligator.io/images/alligator-logo.svg\">\n </a>\...
2017-01-05T18:46:13
golang/go
84afaa9e9491d76ea43d7125b336030a0a2a902d
531b6d3126bb810dcdfcce14983cea32236c322d
encoding/json: limit max nesting depth Limit the maximum nesting depth when parsing to protect against stack overflow, permitted by https://tools.ietf.org/html/rfc7159#section-9 A nesting depth limit of 10,000 was chosen to be a conservative balance between avoiding stack overflow and avoiding impacting legitimate JS...
[ { "path": "src/encoding/json/decode_test.go", "patch": "@@ -2431,3 +2431,99 @@ func TestUnmarshalMapWithTextUnmarshalerStringKey(t *testing.T) {\n \t\tt.Errorf(`Key \"foo\" is not existed in map: %v`, p)\n \t}\n }\n+\n+func TestUnmarshalMaxDepth(t *testing.T) {\n+\ttestcases := []struct {\n+\t\tname ...
2019-10-08T17:19:48
nodejs/node
a9f798ebcc1bbef86cff3b0ba8cb3bc004602387
28227963faa72e623ae97707988a9aa940d01958
errors,http_server: migrate to use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/13301 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/_http_server.js", "patch": "@@ -35,6 +35,7 @@ const chunkExpression = common.chunkExpression;\n const httpSocketSetup = common.httpSocketSetup;\n const OutgoingMessage = require('_http_outgoing').OutgoingMessage;\n const { outHeadersKey, ondrain } = require('internal/http');\n+const errors = ...
2017-05-30T14:47:35
ggml-org/llama.cpp
a26c4cc11ec7c6574e3691e90ecdbd67deeea35b
4265a87b59ebfc25f35adbf4db3b608995b0a78a
scripts : add option to compare commits in Debug (#13806) * scripts : add option to compare commits in Debug * cont : reuse existing CMAKE_OPTS
[ { "path": "scripts/compare-commits.sh", "patch": "@@ -17,14 +17,14 @@ rm -f llama-bench.sqlite > /dev/null\n \n # to test a backend, call the script with the corresponding environment variable (e.g. GGML_CUDA=1 ./scripts/compare-commits.sh ...)\n if [ -n \"$GGML_CUDA\" ]; then\n- cmake_opts=\"-DGGML_CUDA...
2025-05-26T19:24:01
huggingface/transformers
b5ca8fcd20da3ed6aa562ca926c4c8e2c56fe6a4
df6a855e7bb525b9a10c80eda776b93586312767
Add tokenizer kwargs to fill mask pipeline. (#26234) * add tokenizer kwarg inputs * Adding tokenizer_kwargs to _sanitize_parameters * Add truncation=True example to tests * Update test_pipelines_fill_mask.py * Update test_pipelines_fill_mask.py * make fix-copies and make style * Update fill_mask.py ...
[ { "path": "src/transformers/models/bert/tokenization_bert_tf.py", "patch": "@@ -129,7 +129,7 @@ def from_tokenizer(cls, tokenizer: \"PreTrainedTokenizerBase\", **kwargs): # noqa\n pad_token_id = tokenizer.pad_token_id if pad_token_id is None else pad_token_id\n \n vocab = tokenizer.get_voca...
2023-10-03T08:25:10
vuejs/vue
c9fa2e674b520bb64359e18cf6a6455a7d05a6e7
8be3aa48594359af80c1aed2c07f348dd83dbdf9
fix todomvc example director.js cdn link
[ { "path": "examples/todomvc/index.html", "patch": "@@ -4,7 +4,7 @@\n <meta charset=\"utf-8\">\n <title>Vue.js • TodoMVC</title>\n <link rel=\"stylesheet\" href=\"https://unpkg.com/todomvc-app-css/index.css\">\n- <script src=\"https:unpkg.com/director/build/director.js\"></script>\n+ <scrip...
2017-01-05T16:14:57
vuejs/vue
e259fc306eece6be8014d2ace0258d9775971cd5
a0c37a9072c9cb9952df410baf1178c007f30803
fix #4344 #4445 #4511 (#4646) * fiz regular expression * fix regular expression
[ { "path": "src/compiler/parser/text-parser.js", "patch": "@@ -4,7 +4,7 @@ import { cached } from 'shared/util'\n import { parseFilters } from './filter-parser'\n \n const defaultTagRE = /\\{\\{((?:.|\\n)+?)\\}\\}/g\n-const regexEscapeRE = /[-.*+?^${}()|[\\]/\\\\]/g\n+const regexEscapeRE = /[-.*+?^${}()|[\\]...
2017-01-05T16:15:53
golang/go
531b6d3126bb810dcdfcce14983cea32236c322d
218f4572f5d5832c81e13d71690791aea67dacd2
cmd/link: code cleanup in macho_combine_dwarf.go - remove global variables - add missing error checks - add missing (*os.File).Close calls - null-check text section correctly - reduce some variable scopes - use bytes.Buffer instead of appended slice - reduce integer casting Change-Id: Ib9ad41adefed4d61047f53e27046389...
[ { "path": "src/cmd/link/internal/ld/macho_combine_dwarf.go", "patch": "@@ -16,11 +16,6 @@ import (\n \t\"unsafe\"\n )\n \n-var realdwarf, linkseg *macho.Segment\n-var dwarfstart, linkstart int64\n-var dwarfaddr int64\n-var linkoffset uint32\n-\n const (\n \tpageAlign = 12 // 4096 = 1 << 12\n )\n@@ -59,16 +5...
2020-02-07T20:27:55
ggml-org/llama.cpp
4265a87b59ebfc25f35adbf4db3b608995b0a78a
6f180b915c9ed9ec0c240b5dcd64644988fb5e82
cuda : avoid cuGetErrorString (#13791) ggml-ci
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -168,7 +168,7 @@ void ggml_cuda_error(const char * stmt, const char * func, const char * file, in\n \n #define CUBLAS_CHECK(err) CUDA_CHECK_GEN(err, CUBLAS_STATUS_SUCCESS, cublas_get_error_str)\n \n-#if !defined(GGML_USE_HIP)\n+#if !defined(GGML_USE_HI...
2025-05-26T19:14:52
rust-lang/rust
3f5e21858177714865b67a5f064fdfef07a5cd56
635c6d0eacf01c147a7caea27f7f05b75b9932ec
Give a better explanation for having `bug_fmt` and `span_bug_fmt`.
[ { "path": "compiler/rustc_middle/src/util/bug.rs", "patch": "@@ -1,4 +1,4 @@\n-// These functions are used by macro expansion for bug! and span_bug!\n+// These functions are used by macro expansion for `bug!` and `span_bug!`.\n \n use std::fmt;\n use std::panic::{Location, panic_any};\n@@ -8,15 +8,15 @@ use...
2025-01-30T22:42:41
huggingface/transformers
1470f731b67117341993f024150fd8318b96d8b9
c20d90d577f8e58d70d0062a2b97c60c7b4293dd
🌐 [i18n-KO] Translated `tokenizer_summary.md` to Korean (#26243) * docs: ko: toknenizer_summary.md Co-Authored-By: Sohyun Sim <96299403+sim-so@users.noreply.github.com> Co-Authored-By: Juntae <79131091+sronger@users.noreply.github.com> Co-Authored-By: Injin Paek <71638597+eenzeenee@users.noreply.github.com> *...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -174,8 +174,8 @@\n title: 🤗 Transformers로 작업을 해결하는 방법\n - local: model_summary\n title: Transformer 모델군\n- - local: in_translation\n- title: (번역중) Summary of the tokenizers\n+ - local: tokenizer_summary\n+ title: 토크나이저 요약\n - local: ...
2023-10-02T16:55:33
nodejs/node
28227963faa72e623ae97707988a9aa940d01958
3c989de2074a1bc103be0dafb5b11c87bbba8351
errors,repl: migrate to use internal/errors.js PR-URL: https://github.com/nodejs/node/pull/13299 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -134,11 +134,15 @@ E('ERR_INVALID_TUPLE', '%s must be an iterable %s tuple');\n E('ERR_INVALID_URL', 'Invalid URL: %s');\n E('ERR_INVALID_URL_SCHEME',\n (expected) => `The URL must be ${oneOf(expected, 'scheme')}`);\n+E('ERR_INVALID_REPL_HISTORY',\n+ (repl...
2017-05-30T14:16:39
vuejs/vue
da955d1a4f268c9183907306506f663c46b40406
d3768c0268c74fe123b5bec715e32dce556d4ac2
Use 'click' event for checkbox and radio (fix #4620) (#4639) * listen to click event for checkbox and radio. * add test cases
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -62,7 +62,7 @@ function genCheckboxModel (\n : `:_q(${value},${trueValueBinding})`\n )\n )\n- addHandler(el, 'change',\n+ addHandler(el, 'click',\n `var $$a=${value},` +\n '$$el=$event.target,' +\n ...
2017-01-04T19:43:52
huggingface/transformers
c20d90d577f8e58d70d0062a2b97c60c7b4293dd
bab3331906484db48be93e0f4768b66098db9494
add build_inputs_with_special_tokens to LlamaFast (#26297) * add build_inputs_with_special_tokens to LlamaFast * fixup * Update src/transformers/models/llama/tokenization_llama_fast.py
[ { "path": "src/transformers/models/llama/tokenization_llama_fast.py", "patch": "@@ -249,3 +249,16 @@ def default_chat_template(self):\n template = template.replace(\"DEFAULT_SYSTEM_MESSAGE\", default_message)\n \n return template\n+\n+ # TODO ArthurZ let's rely on the template processor i...
2023-10-02T16:30:44
ggml-org/llama.cpp
03f582ae8fccecff225c30a2802461b44761e822
88c125f2acce0e25e5fc8481ab0681415fc64a10
server: fix streaming crashes (#13786) * add preludes to content on partial regex match * allow all parsers to parse non-tool-call content. * tweak order of <|python_tag|> vs <function= parsing for functionary v3.1 format. still not ideal but hopefully less prone to crash
[ { "path": "common/chat-parser.cpp", "patch": "@@ -170,20 +170,23 @@ std::string common_chat_msg_parser::consume_rest() {\n }\n \n // Tries to find the regex, consumes it (pos right after it) and gives the prelude (right before it) and the groups to the callback.\n-std::optional<common_chat_msg_parser::find_...
2025-05-26T15:03:57
golang/go
218f4572f5d5832c81e13d71690791aea67dacd2
31acdcc701cb97040832bce371fdd8985fbea131
text/template: make reflect.Value indirections more robust Always shadow or modify the original parameter name. With code like: func index(item reflect.Value, ... { v := indirectInterface(item) It was possible to incorrectly use 'item' and 'v' later in the function, which could result in subtle bugs. This is prec...
[ { "path": "src/text/template/funcs.go", "patch": "@@ -185,41 +185,41 @@ func indexArg(index reflect.Value, cap int) (int, error) {\n // arguments. Thus \"index x 1 2 3\" is, in Go syntax, x[1][2][3]. Each\n // indexed item must be a map, slice, or array.\n func index(item reflect.Value, indexes ...reflect.V...
2019-12-19T14:13:59
nodejs/node
3fba3d6409012c9e1e8ccfc537166d1ace5c52a5
7f545f083dc748f63ddd0715443523a65bb0ecea
http: describe parse err in debug output PR-URL: https://github.com/nodejs/node/pull/13206 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex...
[ { "path": "lib/_http_client.js", "patch": "@@ -451,7 +451,7 @@ function socketOnData(d) {\n \n var ret = parser.execute(d);\n if (ret instanceof Error) {\n- debug('parse error');\n+ debug('parse error', ret);\n freeParser(parser, req, socket);\n socket.destroy();\n req.emit('error', re...
2017-05-24T20:17:34
vuejs/vue
aeb2efab4035dcdaab4afb3bfd9e9cef39fdd120
d80eff8eb61e48ac184536a159a0e96c4613e7d6
[weex] fix the removeChild logic for text node (#4626)
[ { "path": "src/platforms/weex/runtime/node-ops.js", "patch": "@@ -34,8 +34,8 @@ export function insertBefore (node, target, before) {\n }\n \n export function removeChild (node, child) {\n- if (node.nodeType === 3) {\n- node.parentNode.setAttr('value', '')\n+ if (child.nodeType === 3) {\n+ node.setA...
2017-01-02T16:38:02
ggml-org/llama.cpp
88c125f2acce0e25e5fc8481ab0681415fc64a10
d74e94c1b3ac02db01e47008e1f8d371029d81ac
examples/training: Fix file name in README (#13803) This patch fixes binary file names in README.md. Signed-off-by: Masanari Iida <standby24x7@gmail.com>
[ { "path": "examples/training/README.md", "patch": "@@ -10,8 +10,8 @@ Proof of concept:\n \n ``` sh\n export model_name=llama_3.2-1b && export quantization=f32\n-./build/bin/finetune --file wikitext-2-raw/wiki.test.raw -ngl 999 --model models/${model_name}-${quantization}.gguf -c 512 -b 512 -ub 512\n-./build...
2025-05-26T14:55:24
huggingface/transformers
bab3331906484db48be93e0f4768b66098db9494
4b4c6aabfb054fd42e5737ffafc56739adf3cce4
Code-llama-nit (#26300) * fix encoding when the fill token is None * add tests and edge cases * fiuxp * Update tests/models/code_llama/test_tokenization_code_llama.py
[ { "path": "src/transformers/models/code_llama/tokenization_code_llama_fast.py", "patch": "@@ -303,7 +303,7 @@ def set_infilling_processor(self, reset, suffix_first=False, add_special_tokens=\n def encode_plus(self, text, text_pair=None, suffix_first=False, add_special_tokens=True, **kwargs):\n #...
2023-10-02T16:29:27
golang/go
151ccd4bdb06d77e89f00b8172b70cfb2f49ca2b
ec4c9db21015cf53661661b95b19110ed71dd49d
go/types: report correct number of arguments for make() built-in calls Also: Added test cases for (separate) issue #37393. To be enabled when that issue is fixed. Fixes #37349. Updates #37393. Change-Id: Ib78cb0614c0b396241af06a3aa5d37d8045c2f2e Reviewed-on: https://go-review.googlesource.com/c/go/+/220584 Rev...
[ { "path": "src/go/types/builtins.go", "patch": "@@ -455,7 +455,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\tx.typ = T\n \t\tif check.Types != nil {\n \t\t\tparams := [...]Type{T, Typ[Int], Typ[Int]}\n-\t\t\tcheck.recordBuiltinType(call.Fun, makeSig(x.typ, param...
2020-02-23T21:08:29
vuejs/vue
05591f177a80cee02818c53dcf6659a3b486e633
c1f68dd96eab2ccc634d0b813cef4cc13e8211d3
[weex] fix the text node could not be removed properly (#4606)
[ { "path": "src/platforms/weex/runtime/node-ops.js", "patch": "@@ -34,6 +34,10 @@ export function insertBefore (node, target, before) {\n }\n \n export function removeChild (node, child) {\n+ if (node.nodeType === 3) {\n+ node.parentNode.setAttr('value', '')\n+ return\n+ }\n node.removeChild(child)...
2016-12-31T00:36:37
nodejs/node
ce5745bf92f586c58366e9f738441d69118f2c18
17e10b33c2c356ab276a98cabd116a8416147f33
test: improve test-https-server-keep-alive-timeout The test is flaky under load. These changes greatly improve reliability. * Use a recurring interval to determine when the test should end rather than a timer. * Increase server timeout to 500ms to allow for events being delayed by system load Changing to an inte...
[ { "path": "test/parallel/test-https-server-keep-alive-timeout.js", "patch": "@@ -30,24 +30,20 @@ function run() {\n }\n \n test(function serverKeepAliveTimeoutWithPipeline(cb) {\n- let socket;\n- let destroyedSockets = 0;\n- let timeoutCount = 0;\n let requestCount = 0;\n process.on('exit', function(...
2017-05-30T20:06:52
ggml-org/llama.cpp
d74e94c1b3ac02db01e47008e1f8d371029d81ac
f13847cfb560d92492b480cca2c5d6aa9473cde3
`server`: fix format of streamed tool call deltas (diff name, fix id location) (#13800) * fix deltas of tool_call.function.name * fix tool_call.id (was in tool_call.function.id!) + add function type * add tool_call.type * populate empty tool_call.function.arguments on first delta
[ { "path": "common/chat.cpp", "patch": "@@ -106,9 +106,9 @@ std::vector<common_chat_msg_diff> common_chat_msg_diff::compute_diffs(const comm\n if (!args_diff.empty() || pref.id != newf.id) {\n auto & diff = diffs.emplace_back();\n diff.tool_call_index = idx;\n- diff...
2025-05-26T13:56:49
huggingface/transformers
e4dad4fe32525c26eccb5790c258aa271476ac33
1b8decb04c246ec8e1c4ba7f2749043d0876d24e
Remove-warns (#26483) * fix stripping * remove some warnings and update some warnings * revert changes for other PR
[ { "path": "src/transformers/models/llama/tokenization_llama.py", "patch": "@@ -125,7 +125,7 @@ def __init__(\n \n if legacy is None:\n logger.warning_once(\n- f\"You are using the default legacy behaviour of the {self.__class__}. If you see this, DO NOT PANIC! This is\"\n+...
2023-10-02T14:52:00
golang/go
402ea9e4f9ddcd2ed595ac12ce1b4e39f82e128f
0f2a1574b02de3fec6937e65b1bdc21106bef15c
time: add Ticker.Reset This CL implements Ticker.Reset method in time package. Benchmark: name time/op TickerReset-12 6.41µs ±10% TickerResetNaive-12 95.7µs ±12% Fixes #33184 Change-Id: I4cbd31796efa012b2a297bb342158f11a4a31fef Reviewed-on: https://go-review.googlesource.com/c/go/+/220424 Run...
[ { "path": "api/next.txt", "patch": "@@ -1 +1,2 @@\n pkg testing, method (*T) Deadline() (time.Time, bool)\n+pkg time, method (*Ticker) Reset(Duration)", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/go1.15.html", "patch": "@@ -80,3 +80,13 @@ <h3 id=\"mino...
2020-02-03T13:42:32
rust-lang/rust
bf15d599ffa050bd8ef022e8f656b1336675b203
63a039a7f5b5da9e438943b9d55985e9c514c0b5
Remove the temporary typedef for `LLVMRustDIFlags` If we're already churning all of the debuginfo bindings, we might as well fix this at the same time.
[ { "path": "compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp", "patch": "@@ -675,12 +675,6 @@ template <typename DIT> DIT *unwrapDIPtr(LLVMMetadataRef Ref) {\n #define DIArray DINodeArray\n #define unwrapDI unwrapDIPtr\n \n-// FIXME(Zalathar): This is a temporary typedef to avoid churning dozens of\n-// bind...
2025-01-31T01:53:57
vuejs/vue
2ee516dfc8c72cf48ca7c77863216d93de0b30eb
299ecfc19fa0f59effef71d24686bd7eb70ecbab
ensure updated hook is called after children are updated as well (fix #4599)
[ { "path": "src/core/instance/lifecycle.js", "patch": "@@ -109,9 +109,8 @@ export function lifecycleMixin (Vue: Class<Component>) {\n if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {\n vm.$parent.$el = vm.$el\n }\n- if (vm._isMounted) {\n- callHook(vm, 'updated')\n- ...
2016-12-29T21:19:44
nodejs/node
17e10b33c2c356ab276a98cabd116a8416147f33
45d78393a9956ec813fc4a522e0f157093175456
doc: fix link in CHANGELOG_V8 PR-URL: https://github.com/nodejs/node/pull/13313 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/changelogs/CHANGELOG_V8.md", "patch": "@@ -136,7 +136,7 @@ LTS codename `'Carbon'`. Note that the\n \n * **Src**\n * `NODE_MODULE_VERSION` has been updated to 57\n- (https://github.com/nodejs/node/commit/ec7cbaf266)]\n+ [[`ec7cbaf266`](https://github.com/nodejs/node/commit/ec7cbaf266)...
2017-05-30T20:22:21
ggml-org/llama.cpp
f13847cfb560d92492b480cca2c5d6aa9473cde3
79c137f77677b3c8ee3c60a7da033721b938399a
server: fix regression on streamed non-chat completion w/ stops (#13785) * more forgiving message diffs: partial stop words aren't erased, full stops are * Add (slow) server test for completion + stream + stop
[ { "path": "common/chat.cpp", "patch": "@@ -31,6 +31,11 @@ static std::string string_diff(const std::string & last, const std::string & cur\n return current;\n }\n if (!string_starts_with(current, last)) {\n+ if (string_starts_with(last, current)) {\n+ // This happens if the...
2025-05-26T13:16:37
huggingface/transformers
63864e057fd4ecbf54c77599702873f7be871e65
6824461f2a35546a3d781fe60576e00f6db7bedf
Fix model integration ci (#26322) * fix wav2vec2 * nit * stash * one more file to update * fix byt5 * vocab size is 256, don't change that! * use other revision * test persimon in smaller size * style * tests * nits * update add tokens from pretrained * test tokenization * nits ...
[ { "path": "src/transformers/models/byt5/tokenization_byt5.py", "patch": "@@ -104,7 +104,7 @@ def vocab_size(self):\n return self._utf_vocab_size\n \n def get_vocab(self):\n- vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}\n+ vocab = {self.convert_ids_to_t...
2023-10-02T11:55:46
rust-lang/rust
63a039a7f5b5da9e438943b9d55985e9c514c0b5
a730edcd67c7cb29d4458e170d4eb290387c27c3
Replace our `LLVMRustDIBuilderRef` with LLVM-C's `LLVMDIBuilderRef` This makes it possible to start incrementally replacing our debuginfo bindings with the ones in the LLVM-C API, all of which operate on `LLVMDIBuilderRef`.
[ { "path": "compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp", "patch": "@@ -667,8 +667,6 @@ extern \"C\" bool LLVMRustInlineAsmVerify(LLVMTypeRef Ty, char *Constraints,\n unwrap<FunctionType>(Ty), StringRef(Constraints, ConstraintsLen)));\n }\n \n-typedef DIBuilder *LLVMRustDIBuilderRef;\n-\n template...
2025-01-31T01:51:56
vuejs/vue
6b1755ae8c9f44a20046331f6a3dad31b37bf177
e120d1459d921de3e961343ea9233a8c6c438a44
adjust hydration strategy (fix #4560)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -14,7 +14,7 @@\n \n import config from '../config'\n import VNode from './vnode'\n-import { makeMap, isPrimitive, _toString, warn } from '../util/index'\n+import { makeMap, isPrimitive, warn } from '../util/index'\n import { activeInstance } from '../instance...
2016-12-27T22:26:58
golang/go
0f2a1574b02de3fec6937e65b1bdc21106bef15c
5bd145413a84be1afa74a82767384d9e224f7069
testing: change benchmark example function Change to rand.Int, a function that the compiler cannot reliably eliminate. Fix output to actual benchmark values. Fixes #37341 Change-Id: Ifb5bf49b826ae0bdb4bf9de5a472ad0eaa54569c Reviewed-on: https://go-review.googlesource.com/c/go/+/220397 Reviewed-by: Ian Lance Taylor <...
[ { "path": "src/testing/testing.go", "patch": "@@ -37,17 +37,17 @@\n // https://golang.org/cmd/go/#hdr-Testing_flags\n //\n // A sample benchmark function looks like this:\n-// func BenchmarkHello(b *testing.B) {\n+// func BenchmarkRandInt(b *testing.B) {\n // for i := 0; i < b.N; i++ {\n-// ...
2020-02-20T18:29:43
huggingface/transformers
6824461f2a35546a3d781fe60576e00f6db7bedf
24178c24616fd3401b4eb4a873590a4b1d4fc88c
[`core`/ `auto` ] Fix bnb test with code revision + bug with code revision (#26431) * fix bnb test with code revision * fix test * Apply suggestions from code review * Update src/transformers/models/auto/auto_factory.py * Update src/transformers/models/auto/auto_factory.py * Update src/transformers/mod...
[ { "path": "tests/quantization/bnb/test_mixed_int8.py", "patch": "@@ -138,7 +138,9 @@ def test_get_keys_to_not_convert(self):\n model_id, trust_remote_code=True, revision=\"72e5f594ce36f9cabfa2a9fd8f58b491eb467ee7\"\n )\n with init_empty_weights():\n- model = AutoModelF...
2023-10-02T09:35:07
ggml-org/llama.cpp
9012eb9b454a82eaa4cd77ae904c0ea391e4db42
fef693dc6b959a8e8ba11558fbeaad0b264dd457
sycl: Add more debug prints (#13640)
[ { "path": "ggml/src/ggml-sycl/binbcast.cpp", "patch": "@@ -319,32 +319,27 @@ inline void ggml_sycl_op_repeat(ggml_backend_sycl_context & ctx, ggml_tensor *ds\n \n \n void ggml_sycl_add(ggml_backend_sycl_context & ctx, ggml_tensor * dst) {\n- GGML_SYCL_DEBUG(\"call %s\\n\", __func__);\n+ scope_op_debug...
2025-05-26T08:28:53
rust-lang/rust
d6e8c7f7a0813c1f8cd42c00cb43d4c1b3f562ac
a6434ef9c0246fa39eecb34e22807da2a68f3904
Delay a bug when indexing unsized slices
[ { "path": "compiler/rustc_const_eval/src/check_consts/check.rs", "patch": "@@ -634,7 +634,12 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {\n Rvalue::RawPtr(RawPtrKind::FakeForPtrMetadata, place) => {\n // These are only inserted for slice length, so the place must already b...
2025-01-31T00:11:55
vuejs/vue
f5f8453050c16310b3bd33f0978a0f727043e771
610fe3159218fb08567a7857ec05ef687c129646
Recommend user to provide reproduction repository for ssr issue (#4573) * recommend user to provide reproduction repository for ssr issue * fix typo * update style
[ { "path": ".github/CONTRIBUTING.md", "patch": "@@ -28,7 +28,7 @@ Hi! I’m really excited that you are interested in contributing to Vue.js. Befo\n \n - It is recommended that you make a JSFiddle/JSBin/Codepen to demonstrate your issue. You could start with [this template](http://jsfiddle.net/df4Lnuw6/) that ...
2016-12-27T21:09:21
golang/go
5bd145413a84be1afa74a82767384d9e224f7069
b0863ce0e6fbcf3e39f25cdd0b9380b3710507ba
time: don't get confused about day 31 when parsing 002 The 002 parsing code had a bug that mishandled day 31. Fixes #37387 Change-Id: Ia5a492a4ddd09a4bc232ce9582aead42d5099bdd Reviewed-on: https://go-review.googlesource.com/c/go/+/220637 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobo...
[ { "path": "src/time/format.go", "patch": "@@ -1112,7 +1112,7 @@ func parse(layout, value string, defaultLocation, local *Location) (Time, error)\n \t\t\treturn Time{}, &ParseError{alayout, avalue, \"\", value, \": day-of-year out of range\"}\n \t\t}\n \t\tif m == 0 {\n-\t\t\tm = yday/31 + 1\n+\t\t\tm = (yda...
2020-02-23T16:04:13
huggingface/transformers
7d6627d0d9e845188dd90bd0fae655fa411eb4b0
6d02ca4bb9286404242a66f4744874e68f7713a2
Fix broken link to video classification task (#26487)
[ { "path": "docs/source/en/model_doc/videomae.md", "patch": "@@ -47,7 +47,7 @@ review it! The resource should ideally demonstrate something new instead of dupl\n **Video classification**\n - [A notebook](https://github.com/huggingface/notebooks/blob/main/examples/video_classification.ipynb) that shows how\n ...
2023-10-02T09:19:11
ggml-org/llama.cpp
2d38b6e4004fb1c341723e657fb1e71a4d3fb473
e121edc4324a640be11b7e567edd39b721b0f8e4
CANN: Add the basic supports of Flash Attention kernel (#13627) * cann: add the basic FA support * cann: update the readme * cann: update the FlashAttention with PSEShift * cann: update the input parameters in FA * cann: update the alibi with max_bias * cann: add the constrints of softcap * cann: update the docs...
[ { "path": "docs/backend/CANN.md", "patch": "@@ -280,6 +280,15 @@ cmake --build build --config release\n ### **GitHub contribution**:\n Please add the **[CANN]** prefix/tag in issues/PRs titles to help the CANN-team check/address them without delay.\n \n+## Updates\n+### Basic Flash Attention Support\n+The b...
2025-05-26T02:20:18
vuejs/vue
4d9de6a2e3e0422189d6a1f5d6d583a5266a9569
0cbc96101d8b4e03bc87776bfd55eb1a6bf3cceb
do not use looseEqual for checkbox v-model if has no true-value binding (fix #4586)
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -56,8 +56,11 @@ function genCheckboxModel (\n const falseValueBinding = getBindingAttr(el, 'false-value') || 'false'\n addProp(el, 'checked',\n `Array.isArray(${value})` +\n- `?_i(${value},${valueBinding})>-1` +\n- `:...
2016-12-27T20:58:57
rust-lang/rust
ba5386aeed08ed4d2a305b8f14c34de800e48167
a730edcd67c7cb29d4458e170d4eb290387c27c3
Fix a typo in conventions.md Introduced in #135950
[ { "path": "src/doc/rustc-dev-guide/src/conventions.md", "patch": "@@ -43,7 +43,7 @@ environment.\n \n ## Formatting and linting Python code\n \n-The Rust repository contains quite a lof of Python code. We try to keep\n+The Rust repository contains quite a lot of Python code. We try to keep\n it both linted ...
2025-01-30T23:23:46
huggingface/transformers
6d02ca4bb9286404242a66f4744874e68f7713a2
7d77d7f79c5351485e0ee733c021cb0cca06637f
Fix issue of canine forward requiring input_ids anyway (#26290) * fix issue of canine forward requires input_ids anyway The `forward` requires `input_ids` for deriving other variables in all cases. Change this to use the given one between `input_ids` and `inputs_embeds` * fix canine forward The current `forwa...
[ { "path": "src/transformers/models/canine/modeling_canine.py", "patch": "@@ -1169,7 +1169,9 @@ def forward(\n # Contextualize character embeddings using shallow Transformer.\n # We use a 3D attention mask for the local attention.\n # `input_char_encoding`: shape (batch_size, char_seq...
2023-10-02T09:06:40
ggml-org/llama.cpp
de2ef53a4b2c0d703749a309d19fe68fd8f1b9ac
c508256db2de2b032e19c8ed833f4683c827c9a1
kv-cache : rework kv_cell (#13706) * kv-cache : rework kv_cell ggml-ci * kv-cells : use "shift" instead of "delta" consistently ggml-ci * llama : add llama_max_parallel_sequences() ggml-ci * kv-cells : update comments [no ci] * context : fail upon construction if sequences exceed max value ggml-ci * kv-cells ...
[ { "path": "include/llama.h", "patch": "@@ -471,6 +471,7 @@ extern \"C\" {\n LLAMA_API int64_t llama_time_us(void);\n \n LLAMA_API size_t llama_max_devices(void);\n+ LLAMA_API size_t llama_max_parallel_sequences(void);\n \n LLAMA_API bool llama_supports_mmap (void);\n LLAMA_API bool ...
2025-05-25T13:34:36
vuejs/vue
02e2d99e277a1ba1bd42e1b81b2273903fdb7fbc
0bb2d4e2b621950f5d44ed83b7e9ce15e282db68
Revert "ensure leave transitions and enter transitions are triggered in the same frame (fix #4510)" This reverts commit 92ad0bd378d38f84691120b1caa654ad195ea724.
[ { "path": "examples/move-animations/index.html", "patch": "@@ -15,19 +15,17 @@\n border: 1px solid #666;\n box-sizing: border-box;\n }\n- /* 1. define transition property, duration and easing */\n .fade-move, .fade-enter-active, .fade-leave-active {\n transition: all...
2016-12-27T19:11:45
nodejs/node
8440777553e456d93e7dc136b12ffa51154e6a60
126170a05fc044c88fe0f27fc81fcdb9e75d5a0b
doc: fix date for 8.0.0 changelog Fixes #13356 PR-URL: https://github.com/nodejs/node/pull/13360 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet B...
[ { "path": "doc/changelogs/CHANGELOG_V8.md", "patch": "@@ -22,7 +22,7 @@\n * [Archive](CHANGELOG_ARCHIVE.md)\n \n <a id=\"8.0.0\"></a>\n-## 2017-04-25, Version 8.0.0 (Current), @jasnell\n+## 2017-05-30, Version 8.0.0 (Current), @jasnell\n \n Node.js 8.0.0 is a major new release that includes a significant ...
2017-06-01T05:23:03
huggingface/transformers
7d77d7f79c5351485e0ee733c021cb0cca06637f
ca0379b8c8bb8c827b31b99da6066288450965e5
Fix requests connection error during modelcard creation (#26518) fix requests connection error Co-authored-by: Jan Philipp Harries <jphme@users.noreply.github.com>
[ { "path": "src/transformers/modelcard.py", "patch": "@@ -387,7 +387,7 @@ def __post_init__(self):\n for tag in info.tags:\n if tag.startswith(\"license:\"):\n self.license = tag[8:]\n- except (requests.exceptions.HTTPError, HFValidationE...
2023-10-02T08:52:51
ggml-org/llama.cpp
c508256db2de2b032e19c8ed833f4683c827c9a1
40aaa8a403df5dcfb515eb2fd7a817fd99779526
rpc : Fix build on OpenBSD (#13541)
[ { "path": "common/common.cpp", "patch": "@@ -849,7 +849,7 @@ std::string fs_get_cache_directory() {\n if (getenv(\"LLAMA_CACHE\")) {\n cache_directory = std::getenv(\"LLAMA_CACHE\");\n } else {\n-#if defined(__linux__) || defined(__FreeBSD__) || defined(_AIX)\n+#if defined(__linux__) || defi...
2025-05-25T12:35:53
rust-lang/rust
635c6d0eacf01c147a7caea27f7f05b75b9932ec
6ac88786155774da429213a1362d4cb085047af3
Simplify `bug!` and `span_bug!`. Three rules can be combined into one. I based this change on the definition of `print!`.
[ { "path": "compiler/rustc_middle/src/macros.rs", "patch": "@@ -4,8 +4,8 @@\n ///\n /// If you have a span available, you should use [`span_bug`] instead.\n ///\n-/// If the bug should only be emitted when compilation didn't fail, [`DiagCtxtHandle::span_delayed_bug`]\n-/// may be useful.\n+/// If the bug sho...
2025-01-30T22:00:58
nodejs/node
862bf1bbc25db8eac4d6f0dba28bb258760f775b
e824c75c3e71c1069d8a34984df0d92438813ee6
doc: modernize and fix code examples in util.md * Remove useless constructor. * Use template literals. * Update code example. Now all arrays with just holes are outputted the same way. In the fixed example, it was `[ <101 empty items> ]` twice. PR-URL: https://github.com/nodejs/node/pull/13298 Reviewed-By: Mich...
[ { "path": "doc/api/util.md", "patch": "@@ -196,9 +196,6 @@ ES6 example using `class` and `extends`\n const EventEmitter = require('events');\n \n class MyStream extends EventEmitter {\n- constructor() {\n- super();\n- }\n write(data) {\n this.emit('data', data);\n }\n@@ -329,8 +326,8 @@ class B...
2017-05-30T14:03:00
ggml-org/llama.cpp
40aaa8a403df5dcfb515eb2fd7a817fd99779526
a08c1d2845dc279d58d826ef3c3ecad97cbbcef7
mtmd : add support for Qwen2-Audio and SeaLLM-Audio (#13760) * mtmd : add Qwen2-Audio support * small clean up * update discussion link * clarify mtmd_get_output_embd * clarification in multimodal.md * fix ultravox bug * ggml_cont
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2643,7 +2643,7 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_file_type(self.ftype)\n \n \n-@ModelBase.register(\"Qwen2Model\", \"Qwen2ForCausalLM\")\n+@ModelBase.register(\"Qwen2Model\", \"Qwen2ForCausalLM\", \"Qwen2AudioForConditionalGener...
2025-05-25T12:06:32
golang/go
6e5652bebede2d53484a872f6d1dfeb498b0b50c
ebe49b2c2999a7d4128c44aed9602a69fdc53d16
time: add Ticker.Reset This CL implements Ticker.Reset method in time package. Benchmark: name time/op TickerReset-12 6.41µs ±10% TickerResetNaive-12 95.7µs ±12% Fixes #33184 Change-Id: I12c651f81e452541bcbbc748b45f038aae1f8dae Reviewed-on: https://go-review.googlesource.com/c/go/+/217362 Run...
[ { "path": "api/next.txt", "patch": "@@ -1 +1,2 @@\n pkg testing, method (*T) Deadline() (time.Time, bool)\n+pkg time, method (*Ticker) Reset(Duration)", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/go1.15.html", "patch": "@@ -80,3 +80,13 @@ <h3 id=\"mino...
2020-02-03T13:42:32
vuejs/vue
0bb2d4e2b621950f5d44ed83b7e9ce15e282db68
2540c37c15eed42cbbcf576545406097ec46a6e3
Revert "fix enter transition flicker regression (fix #4576)" This reverts commit 89987e8e2ce31c071ea937152dbf967b6213d4ad.
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -112,9 +112,9 @@ export function enter (vnode: VNodeWithData, toggleDisplay: ?() => void) {\n beforeEnterHook && beforeEnterHook(el)\n if (expectsCSS) {\n addTransitionClass(el, startClass)\n- addTransitionClass(el, activeC...
2016-12-27T19:11:40
rust-lang/rust
483307f1271d798a51bb5e4fc8c9f7b731ad6e46
29317604d1926e526ee89d86398ee6d26ef126a4
Don't export `rustc_hir_analysis::collect`. Instead re-export `rustc_hir_analysis::collect::suggest_impl_trait`, which is the only thing from the module used in another crate. This fixes a `FIXME` comment. Also adjust some visibilities to satisfy the `unreachable_pub` lint. This changes requires downgrading a link in...
[ { "path": "compiler/rustc_hir_analysis/src/collect.rs", "patch": "@@ -57,7 +57,7 @@ mod type_of;\n \n ///////////////////////////////////////////////////////////////////////////\n \n-pub fn provide(providers: &mut Providers) {\n+pub(crate) fn provide(providers: &mut Providers) {\n resolve_bound_vars::pr...
2025-01-28T23:52:24
ggml-org/llama.cpp
a08c1d2845dc279d58d826ef3c3ecad97cbbcef7
d785f9c1fd1a1929c6d0e2a0b12cae5db867908b
docs : add Moondream2 pre-quantized link (#13745) * Multimodal: Added Moondream2 model and fixed ggml.org link * Apply suggestions from code review --------- Co-authored-by: name <none@none.com> Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
[ { "path": "docs/multimodal.md", "patch": "@@ -33,7 +33,7 @@ llama-server -hf ggml-org/gemma-3-4b-it-GGUF --no-mmproj-offload\n \n ## Pre-quantized models\n \n-These are ready-to-use models, most of them come with `Q4_K_M` quantization by default. They can be found at the Hugging Face page of the ggml-org: h...
2025-05-25T12:04:49
golang/go
e9956791bfabcb0db0035a1e1479f9ca1b2e32c2
35b80575b8dbeb031455ccd99a08850c1d9f33b1
encoding/json: fix broken link to json.org This updates the link to a newer image. Change-Id: Ibdfe8c57d9217a325bcfde98cb6f952ca63d588a GitHub-Last-Rev: f5970ba395781c0d299dfdaa1ed75e46125b8268 GitHub-Pull-Request: golang/go#36938 Reviewed-on: https://go-review.googlesource.com/c/go/+/217297 Reviewed-by: Toshihiro Sh...
[ { "path": "src/encoding/json/encode.go", "patch": "@@ -649,7 +649,7 @@ func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {\n func isValidNumber(s string) bool {\n \t// This function implements the JSON numbers grammar.\n \t// See https://tools.ietf.org/html/rfc7159#section-6\n-\t// and https...
2020-02-03T18:15:41
vuejs/vue
2540c37c15eed42cbbcf576545406097ec46a6e3
7f25f730c1b82a80158d488b025f138155664921
fix dynamic transition type for higher-order transition components (fix #4545)
[ { "path": "src/platforms/web/runtime/components/transition.js", "patch": "@@ -62,6 +62,10 @@ function hasParentTransition (vnode) {\n }\n }\n \n+function isSameChild (child, oldChild) {\n+ return oldChild.key === child.key && oldChild.tag === child.tag\n+}\n+\n export default {\n name: 'transition',\n ...
2016-12-27T17:10:13
rust-lang/rust
d8be00fd44f6d152494ea23734fe692abd47cf36
40db88979de16d4db91e9fd493b8d79ea4499e67
Fix a comment typo.
[ { "path": "compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs", "patch": "@@ -34,7 +34,7 @@\n //! impl<T, I: Iterator<Item=T>> SpecExtend<T> for I { /* default impl */ }\n //! ```\n //!\n-//! We get that the generic pamameters for `impl2` are `[T, std::vec::IntoIter<T>]`.\n+//! We get that ...
2025-01-29T02:23:30
nodejs/node
f1b2e68d651e4fb68ad3b27e1138542673d3b502
ae6c7044c8d48cc8e7c267efca7429d5aa4df993
doc: fix code examples in url.md * Update outputs. * Refine spaces. * Restore missing part. PR-URL: https://github.com/nodejs/node/pull/13288 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig ...
[ { "path": "doc/api/url.md", "patch": "@@ -101,7 +101,7 @@ that an effort will be made to coerce the given values into strings. For\n instance:\n \n ```js\n-const myURL = new URL({toString: () => 'https://example.org/'});\n+const myURL = new URL({ toString: () => 'https://example.org/' });\n // https://exa...
2017-05-29T21:25:41
ggml-org/llama.cpp
d785f9c1fd1a1929c6d0e2a0b12cae5db867908b
4032ca406632212b075e3c61c2a4476128321410
server: fix/test add_generation_prompt (#13770) Co-authored-by: ochafik <ochafik@google.com>
[ { "path": "tools/server/tests/unit/test_template.py", "patch": "@@ -47,3 +47,28 @@ def test_date_inside_prompt(template_name: str, format: str, tools: list[dict]):\n \n today_str = datetime.date.today().strftime(format)\n assert today_str in prompt, f\"Expected today's date ({today_str}) in content ...
2025-05-25T09:45:49
huggingface/transformers
ca0379b8c8bb8c827b31b99da6066288450965e5
67239f736059fd52675e49237bdc79e4c9b0a462
Fix num_heads in _upad_input (#26490) * Fix num_heads in _upad_input The variable num_key_value_heads has falsely been named num_heads, which led to reshaping the query_layer using the wrong attention head count. (It would have been enough to use the correct variable self.num_heads instead of num_heads, but I renam...
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -692,13 +692,17 @@ def _flash_attention_forward(\n # Copied from transformers.models.llama.modeling_llama.LlamaFlashAttention2._upad_input\n def _upad_input(self, query_layer, key_layer, value_layer, padding_mask, query_leng...
2023-10-02T08:10:19
vuejs/vue
d111f3f1fdcac8206a4bed59aa0227fc622e884b
89987e8e2ce31c071ea937152dbf967b6213d4ad
typo fix (#4583) - nomralization / normalzation → normalization
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -302,10 +302,10 @@ function genChildren (el: ASTElement, checkSkip?: boolean): string | void {\n }\n }\n \n-// determine the normalzation needed for the children array.\n+// determine the normalization needed for the children array.\n // 0: no normal...
2016-12-27T15:17:24
golang/go
35b80575b8dbeb031455ccd99a08850c1d9f33b1
1894842b751d86b642249d8171250acba0395205
syscall: release a js.Func object in fsCall (This is a reland of golang.org/cl/217417.) A js.Func object in fsCall was created for each call but never released. This CL fixes this. Change-Id: Ifc0efb997c9b3e04641839691ccc04de61ef28d6 Reviewed-on: https://go-review.googlesource.com/c/go/+/220537 Run-TryBot: Hajime Ho...
[ { "path": "src/syscall/fs_js.go", "patch": "@@ -495,7 +495,7 @@ func fsCall(name string, args ...interface{}) (js.Value, error) {\n \t}\n \n \tc := make(chan callResult, 1)\n-\tjsFS.Call(name, append(args, js.FuncOf(func(this js.Value, args []js.Value) interface{} {\n+\tf := js.FuncOf(func(this js.Value, ar...
2020-02-02T05:55:29
rust-lang/rust
2dbe9fd8a638c0440fcb140efd04383d9660a4eb
f453f930abb5922df7b0a27fe1742bfbf3828fb3
Remove an out-of-date `FIXME` comment. This comment made sense when this crate was called `rustc_typeck`, but makes less sense now that it's called `rustc_hir_analysis`. Especially given that `check_drop_impl` is only called within the crate.
[ { "path": "compiler/rustc_hir_analysis/src/check/dropck.rs", "patch": "@@ -1,7 +1,3 @@\n-// FIXME(@lcnr): Move this module out of `rustc_hir_analysis`.\n-//\n-// We don't do any drop checking during hir typeck.\n-\n use rustc_data_structures::fx::FxHashSet;\n use rustc_errors::codes::*;\n use rustc_errors::...
2025-01-29T10:27:17
nodejs/node
e7100364f44d5d90f672c6bcf915eead99031748
d0b1b52edba8a4815086a1fa5e978ceaa91f6d3a
zlib: expose amount of data read for engines Added bytesRead property to Zlib engines Fixes: https://github.com/nodejs/node/issues/8874 PR-URL: https://github.com/nodejs/node/pull/13088 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
[ { "path": "doc/api/zlib.md", "patch": "@@ -386,6 +386,17 @@ added: v0.5.8\n Not exported by the `zlib` module. It is documented here because it is the base\n class of the compressor/decompressor classes.\n \n+### zlib.bytesRead\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* {number}\n+\n+The `zlib.bytesRead` p...
2017-05-18T00:09:00
huggingface/transformers
67239f736059fd52675e49237bdc79e4c9b0a462
0b192de1f353b0e04dad4813e02e2c672de077be
Revert falcon exception (#26472) * Revert "Falcon: fix revision propagation (#26006)" This reverts commit 118c676ef3124423e5d062b665f05cde55bc9a90. * Revert "Put Falcon back (#25960)" This reverts commit 22a69f1d7d520d5fbccbdb163d05db56bf79724c.
[ { "path": "src/transformers/models/auto/auto_factory.py", "patch": "@@ -32,12 +32,7 @@\n logging,\n requires_backends,\n )\n-from .configuration_auto import (\n- AutoConfig,\n- model_type_to_module_name,\n- replace_list_option_in_docstrings,\n- sanitize_code_revision,\n-)\n+from .configu...
2023-10-02T07:13:19
ggml-org/llama.cpp
f5cd27b71da3ac375a04a41643d14fc779a8057b
a2d02d5793fd9af7a7224773456501691b95fd02
`server`: streaming of tool calls and thoughts when `--jinja` is on (#12379) * add common_json w/ support for truncated json healing * add common_chat_msg_diff * partial common_chat_parse * refactor parser w/ optionals * server: wire chat diffs in stream mode * fix trigger of thinking models (must happen after th...
[ { "path": "common/CMakeLists.txt", "patch": "@@ -60,12 +60,16 @@ add_library(${TARGET} STATIC\n base64.hpp\n chat.cpp\n chat.h\n+ chat-parser.cpp\n+ chat-parser.h\n common.cpp\n common.h\n console.cpp\n console.h\n json-schema-to-grammar.cpp\n json.hpp\n+ json-pa...
2025-05-25T00:48:08
vuejs/vue
89987e8e2ce31c071ea937152dbf967b6213d4ad
66bf120f7aa7543cfe684741cba6f5b638f551c0
fix enter transition flicker regression (fix #4576)
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -112,9 +112,9 @@ export function enter (vnode: VNodeWithData, toggleDisplay: ?() => void) {\n beforeEnterHook && beforeEnterHook(el)\n if (expectsCSS) {\n addTransitionClass(el, startClass)\n+ addTransitionClass(el, activeC...
2016-12-27T15:16:45
golang/go
638df87fa4f927763f99ebf0c6bc9c4a5380d1f9
7ee3b63c8bab7d1e6d3b8df21a465aecd2e08447
hash/maphash: don't discard data on random seed init Hash initializes seed on the first usage of seed or state with initSeed. initSeed uses SetSeed which discards accumulated data. This causes hash to return different sums for the same data in the first use and after reset. This CL fixes this issue by separating the s...
[ { "path": "src/hash/maphash/maphash.go", "patch": "@@ -69,7 +69,7 @@ type Hash struct {\n // which does call h.initSeed.)\n func (h *Hash) initSeed() {\n \tif h.seed.s == 0 {\n-\t\th.SetSeed(MakeSeed())\n+\t\th.setSeed(MakeSeed())\n \t}\n }\n \n@@ -124,12 +124,17 @@ func (h *Hash) Seed() Seed {\n // Two Has...
2020-02-20T19:29:22
rust-lang/rust
b546334f6c0e5fadcd05f21bf449f90512854990
97d1b0cbcdd133c23271d68f25d1d22c65a055c0
Avoid a duplicated error case in `fn_sig_suggestion`.
[ { "path": "compiler/rustc_hir_analysis/src/check/mod.rs", "patch": "@@ -455,18 +455,14 @@ fn fn_sig_suggestion<'tcx>(\n let mut output = sig.output();\n \n let asyncness = if tcx.asyncness(assoc.def_id).is_async() {\n- output = if let ty::Alias(_, alias_ty) = *output.kind() {\n- tc...
2025-01-29T04:07:02
nodejs/node
102e1aa4e3291fb5b63658d186d596d8a6403a9b
f6665334e70e9125797a4c1e7bdbb4e41ddfb842
doc: fix ordering error in errors.md PR-URL: https://github.com/nodejs/node/pull/13274 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -558,15 +558,6 @@ found [here][online].\n the connected party did not properly respond after a period of time. Usually\n encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`\n was not properly called.\n- \n- <a id=\"ERROR_CODES\"></...
2017-05-29T04:14:33
huggingface/transformers
0b192de1f353b0e04dad4813e02e2c672de077be
68e85fc822097b3df8d685a4705804348245284d
[ASR Pipe] Improve docs and error messages (#26476) * improve docs/errors * why whisper * Update docs/source/en/pipeline_tutorial.md Co-authored-by: Lysandre Debut <hi@lysand.re> * specify pt only --------- Co-authored-by: Lysandre Debut <hi@lysand.re>
[ { "path": "docs/source/en/pipeline_tutorial.md", "patch": "@@ -30,33 +30,44 @@ Take a look at the [`pipeline`] documentation for a complete list of supported t\n \n ## Pipeline usage\n \n-While each task has an associated [`pipeline`], it is simpler to use the general [`pipeline`] abstraction which contains...
2023-09-29T17:32:37
ggml-org/llama.cpp
259469c4b57c1a32606353bcac52ba683424a990
4c32832c59e97d96c19349fdc92763e8949fda83
Move GLM4 f32 attention fix to the correct function (#13750)
[ { "path": "src/llama-graph.cpp", "patch": "@@ -1287,6 +1287,10 @@ ggml_tensor * llm_graph_context::build_attn(\n \n if (wo) {\n cur = build_lora_mm(wo, cur);\n+ if (arch == LLM_ARCH_GLM4) {\n+ // GLM4 seems to have numerical issues with half-precision accumulators\n+ ...
2025-05-24T14:49:12
vuejs/vue
de220a635d0e712bbd24f951bd4121780af054b9
84b7b82031ac70467cedcec801fde55a605e4321
ignore text nodes between v-if conditions (fix #4533)
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -352,6 +352,23 @@ function processIfConditions (el, parent) {\n }\n }\n \n+function findPrevElement (children: Array<any>): ASTElement | void {\n+ let i = children.length\n+ while (i--) {\n+ if (children[i].type === 1) {\n+ return children[i...
2016-12-23T04:40:10
golang/go
f9c51e353fd8b5d5e8bc27979bcfccd647e54b21
5912f4fc376013897998747bd81602dce962072b
time: remove unnecessary trailing slash from "/etc/" Fixes #36640 Change-Id: I2049b572347da1cb967f5a3f2bc342b310216435 Reviewed-on: https://go-review.googlesource.com/c/go/+/215519 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@gola...
[ { "path": "src/time/zoneinfo_unix.go", "patch": "@@ -34,7 +34,7 @@ func initLocal() {\n \ttz, ok := syscall.Getenv(\"TZ\")\n \tswitch {\n \tcase !ok:\n-\t\tz, err := loadLocation(\"localtime\", []string{\"/etc/\"})\n+\t\tz, err := loadLocation(\"localtime\", []string{\"/etc\"})\n \t\tif err == nil {\n \t\t\...
2020-01-20T20:05:08
huggingface/transformers
68e85fc822097b3df8d685a4705804348245284d
391177441b133645c02181b57370ab12f71b88c4
[Flax Examples] Seq2Seq ASR Fine-Tuning Script (#21764) * from seq2seq speech * [Flax] Example script for speech seq2seq * tests and fixes * make style * fix: label padding tokens * fix: label padding tokens over list * update ln names for Whisper * try datasets iter loader * create readme and ...
[ { "path": "examples/flax/_tests_requirements.txt", "patch": "@@ -5,4 +5,6 @@ nltk\n rouge-score\n seqeval\n tensorboard\n-evaluate >= 0.2.0\n\\ No newline at end of file\n+evaluate >= 0.2.0\n+torch\n+accelerate\n\\ No newline at end of file", "additions": 3, "deletions": 1, "language": "Plain Te...
2023-09-29T15:42:58
ggml-org/llama.cpp
c3a2624339187e89c4f65fd72a5fe7103968b5ad
ffd0eae60b7642e942c8245b89642527e36099e6
vocab : fix ugm tokenizer precision (#13743)
[ { "path": "src/llama-vocab.cpp", "patch": "@@ -835,7 +835,7 @@ struct llm_tokenizer_ugm_session {\n }\n \n // initialize score_sum to -FLT_MAX so it will be always lower than sums of token scores\n- std::vector<struct best_tokenization> tokenization_results(input_len + 1, {vocab.token...
2025-05-24T10:29:09
vuejs/vue
84b7b82031ac70467cedcec801fde55a605e4321
b3ebfef91d72b301b85bce07c4ffad4f59bc73e2
fix SSR tests
[ { "path": "src/platforms/web/server/modules/dom-props.js", "patch": "@@ -20,14 +20,17 @@ export default function renderDOMProps (node: VNodeWithData): string {\n return res\n }\n \n+ const attrs = node.data.attrs\n for (const key in props) {\n if (key === 'innerHTML') {\n setText(node, pr...
2016-12-23T04:03:05
nodejs/node
f6665334e70e9125797a4c1e7bdbb4e41ddfb842
716e9e07fd9d936380553d512e8a8abe21caa4f9
crypto: clear err stack after ECDH::BufferToPoint Functions that call `ECDH::BufferToPoint` were not clearing the error stack on failure, so an invalid key could leave leftover error state and cause subsequent (unrelated) signing operations to fail. PR-URL: https://github.com/nodejs/node/pull/13275 Reviewed-By: Fedor...
[ { "path": "src/node_crypto.cc", "patch": "@@ -5136,6 +5136,8 @@ void ECDH::ComputeSecret(const FunctionCallbackInfo<Value>& args) {\n ECDH* ecdh;\n ASSIGN_OR_RETURN_UNWRAP(&ecdh, args.Holder());\n \n+ MarkPopErrorOnReturn mark_pop_error_on_return;\n+\n if (!ecdh->IsKeyPairValid())\n return env->T...
2017-05-29T04:20:04
golang/go
af686da46ffeb463c113607bac3ec5e8f53acaf9
d67d044310bc5cc1c26b60caf23a58602e9a1946
cmd/compile: allow print/println(f()) where f() is multi-value Fixes #35576 Change-Id: Ia128f412120069e9f8813e9e910e62644f950bfb Reviewed-on: https://go-review.googlesource.com/c/go/+/207118 Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsk...
[ { "path": "src/cmd/compile/internal/gc/typecheck.go", "patch": "@@ -1805,7 +1805,7 @@ func typecheck1(n *Node, top int) (res *Node) {\n \n \tcase OPRINT, OPRINTN:\n \t\tok |= ctxStmt\n-\t\ttypecheckslice(n.List.Slice(), ctxExpr)\n+\t\ttypecheckargs(n)\n \t\tls := n.List.Slice()\n \t\tfor i1, n1 := range ls ...
2019-11-14T03:00:33
ggml-org/llama.cpp
ffd0eae60b7642e942c8245b89642527e36099e6
b775345d788ac16260e7eef49e11fe57ee5677f7
CUDA: fix race condition in FA vector kernels (#13742)
[ { "path": "ggml/src/ggml-cuda/fattn-vec-f16.cuh", "patch": "@@ -212,6 +212,7 @@ static __global__ void flash_attn_vec_ext_f16(\n }\n }\n if (__all_sync(0xFFFFFFFF, skip)) {\n+ __syncthreads();\n continue;\n }\n #endif // GGML...
2025-05-24T09:46:19
huggingface/transformers
391177441b133645c02181b57370ab12f71b88c4
9b23d0de0e5e185fd356923647656e15fea03d96
Avoid all-zeor attnetion mask used in testing (#26469) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -2960,7 +2960,8 @@ def ids_tensor(shape, vocab_size, rng=None, name=None):\n def random_attention_mask(shape, rng=None, name=None):\n attn_mask = ids_tensor(shape, vocab_size=2, rng=None, name=None)\n # make sure that at least one token is atte...
2023-09-29T09:06:06