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
efba35a860954e78e72177b0d6b0c88b239d8cb1
9b62913b40b94c63db239b770e232bd48534d480
server: fix load-on-startup not respected in ini file (#19897) Co-authored-by: Roman Marchenko <r.marchenko@ideco.ru>
[ { "path": "tools/server/server-models.cpp", "patch": "@@ -291,7 +291,9 @@ void server_models::load_models() {\n for (const auto & [name, inst] : mapping) {\n std::string val;\n if (inst.meta.preset.get_option(COMMON_ARG_PRESET_LOAD_ON_STARTUP, val)) {\n- models_to_load.push_ba...
2026-02-26T11:32:31
huggingface/transformers
f4f696255f318346f3cd660f984c48de531ed7e1
1749841a0e9d803984985e08e4df177ac5a8b1a9
Fix Cannot convert [array()] to EagerTensor of dtype int64 (#31109) While running the model.prepare_tf_dataset() method, it raises the error below: ``` TypeError: Cannot convert [array([322., 1.])] to EagerTensor of dtype int64 ``` This happens, in "DataCollatorForSeq2Seq" function when we are try to conver...
[ { "path": "src/transformers/data/data_collator.py", "patch": "@@ -632,9 +632,19 @@ def __call__(self, features, return_tensors=None):\n ]\n else:\n batch[\"labels\"] = [\n- np.concatenate([label, [self.label_pad_token_id] * (max_...
2024-06-03T09:49:03
golang/go
15eaa870e14195c17dbb4be0d11bc40dba94ff22
515e6a9b12dfe654c86cfd070ee5d6ac144fe116
cmd/link: add support for external linking on linux/riscv64 Fixes #36739 Change-Id: Id7573b343786360c72524f9f27d2a8f08d379cf3 Reviewed-on: https://go-review.googlesource.com/c/go/+/243517 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> R...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -921,7 +921,7 @@ func (t *tester) extLink() bool {\n \t\t\"darwin-amd64\", \"darwin-arm64\",\n \t\t\"dragonfly-amd64\",\n \t\t\"freebsd-386\", \"freebsd-amd64\", \"freebsd-arm\",\n-\t\t\"linux-386\", \"linux-amd64\", \"linux-arm\", \"linux-arm64\", \"linux-ppc6...
2020-08-13T14:13:28
nodejs/node
4924fb3226abd4334a156400c977f8b8a1a075be
83fcb9f07591ceb89cfe0b6347ffb622aa26cdf4
doc: add links to EventEmitter in errors.md PR-URL: https://github.com/nodejs/node/pull/16861 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -76,8 +76,8 @@ Errors that occur within _Asynchronous APIs_ may be reported in multiple ways:\n // Otherwise handle the data\n });\n ```\n-- When an asynchronous method is called on an object that is an `EventEmitter`,\n- errors can be routed to that obje...
2017-11-07T12:09:49
ggml-org/llama.cpp
66287bdaaca3042bd4df5fc8f7bd4d58bfcd208c
1ca3d1de153152645cf890b637c2c6450f1615e3
model : add Jina Embeddings v5 Nano (partial EuroBERT) support (#19826) * WIP: Add EuroBERT support with autoformatting changes This commit includes: - EuroBERT model implementation for GGUF conversion - C++ backend support for EuroBERT architecture - Unintended autoformatting changes to Python files Saving before r...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1148,6 +1148,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"27949a2493fc4a9f53f5b9b029c82689cfbe5d3a1929bb25e043089e28466de6\":\n # ref: https://huggingface.co/jinaai/jina-embeddings-v2-base-de\n res = \"...
2026-02-26T11:14:09
huggingface/transformers
1749841a0e9d803984985e08e4df177ac5a8b1a9
39b2ff69d6f32239c5acf9b9e6acb533c477a527
[`GemmaModel`] fix small typo (#31202) * fixes * fix-copies
[ { "path": "src/transformers/models/gemma/modeling_gemma.py", "patch": "@@ -408,7 +408,7 @@ def forward(\n query_states, key_states, value_states, attention_mask, q_len, dropout=dropout_rate\n )\n \n- attn_output = attn_output.reshape(bsz, q_len, self.hidden_size).contiguous()\n+ ...
2024-06-03T09:02:38
golang/go
515e6a9b12dfe654c86cfd070ee5d6ac144fe116
fc981654c763c2c1d72df2a6e35ba3dfc78d13ee
runtime: use CreateWaitableTimerEx to implement usleep @jstarks suggested that recent versions of Windows provide access to high resolution timers. See https://github.com/golang/go/issues/8687#issuecomment-656259353 for details. I tried to run this C program on my Windows 10 computer ``` #include <stdio.h> #incl...
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -21,6 +21,7 @@ const (\n //go:cgo_import_dynamic runtime._CreateIoCompletionPort CreateIoCompletionPort%4 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime._CreateThread CreateThread%6 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime._CreateWaitableTime...
2020-07-19T06:06:48
rust-lang/rust
8641805dfeb035f66a8c04f57893864deeaaef03
b9f5453d77e79e2a1b5d78029913fd579e5084cf
Fix syntax highlightingg punct filtering ignoring mods
[ { "path": "src/tools/rust-analyzer/crates/ide/src/syntax_highlighting.rs", "patch": "@@ -593,7 +593,7 @@ fn filter_by_config(highlight: &mut Highlight, config: HighlightConfig) -> bool\n *tag = HlTag::Punctuation(HlPunct::Other);\n }\n }\n- HlTag::Punctuation(_) if...
2025-03-05T13:42:43
ggml-org/llama.cpp
bd723005916b7616591256f4fdef0cb47ec1944f
2943210c1eaa3fc9cc4f0ac6f0ae5f2ce2350f98
server : fix typo in server README.md (#19900) fix typo
[ { "path": "tools/server/README.md", "patch": "@@ -1510,7 +1510,7 @@ version = 1\n ; If the same key is defined in a specific preset, it will override the value in this global section.\n [*]\n c = 8192\n-n-gpu-layer = 8\n+n-gpu-layers = 8\n \n ; If the key corresponds to an existing model on the server,\n ; ...
2026-02-26T10:26:16
nodejs/node
83fcb9f07591ceb89cfe0b6347ffb622aa26cdf4
698bb96383e46017d68b44c680f328f7bdf18c45
doc: fix a link in dgram.md PR-URL: https://github.com/nodejs/node/pull/16854 Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/dgram.md", "patch": "@@ -629,7 +629,7 @@ and `udp6` sockets). The bound address and port can be retrieved using\n [`socket.address().address`]: #dgram_socket_address\n [`socket.address().port`]: #dgram_socket_address\n [`socket.bind()`]: #dgram_socket_bind_port_address_callback\n-[`System...
2017-11-07T00:53:39
huggingface/transformers
39b2ff69d6f32239c5acf9b9e6acb533c477a527
5b5b48b11db9bdf06f551fd75229375a2b9a2e78
Token healing (#30081) * token healing impl + trie with extensions * make fixup * prefix-robust space tokenization * examples readme and requirements * make fixup * allow input prompt and model * redundant defaults * Specialized Trie * make fixup * updated tests with new inherited Tree * ...
[ { "path": "examples/research_projects/token-healing/README.md", "patch": "@@ -0,0 +1,40 @@\n+<!-- back to top link -->\n+<a name=\"readme-top\"></a>\n+\n+<!-- ABOUT THE PROJECT -->\n+## What is token healing?\n+\n+Token healing rectifies the token boundary bias in greedy tokenization. It does this by trimmi...
2024-06-03T08:53:15
ollama/ollama
a189810df6c4b0492463d1ddb68993c9abc32c7f
e95b8967909c490cf0cf608388dbeae96fbe3bcf
Determine max VRAM on macOS using `recommendedMaxWorkingSetSize` (#2354) * read iogpu.wired_limit_mb on macOS Fix for https://github.com/ollama/ollama/issues/1826 * improved determination of available vram on macOS read the recommended maximal vram on macOS via Metal API * Removed macOS-specific logging ...
[ { "path": "gpu/gpu_darwin.go", "patch": "@@ -1,12 +1,14 @@\n //go:build darwin\n \n package gpu\n-\n+/*\n+#cgo CFLAGS: -x objective-c\n+#cgo LDFLAGS: -framework Foundation -framework CoreGraphics -framework Metal\n+#include \"gpu_info_darwin.h\"\n+*/\n import \"C\"\n import (\n \t\"runtime\"\n-\n-\t\"github...
2024-02-25T23:16:45
golang/go
fc981654c763c2c1d72df2a6e35ba3dfc78d13ee
76a615b20a943b7255ac1cb3944df62a1dbc882c
sort: fix grammar in updated Less comment The rewritten comment didn't sound right to my ears. Tweak it to be grammatically correct. Change-Id: Iae7d9f8810fff78cfd964bb3117099bce4479c14 Reviewed-on: https://go-review.googlesource.com/c/go/+/263180 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance ...
[ { "path": "src/sort/sort.go", "patch": "@@ -27,7 +27,7 @@ type Interface interface {\n \t//\n \t// Note that floating-point comparison (the < operator on float32 or float64 values)\n \t// is not a transitive ordering when not-a-number (NaN) values are involved.\n-\t// See Float64Slice.Less a correctly imple...
2020-10-17T07:25:58
ggml-org/llama.cpp
d7d826b3c1fca0c1564a59d92bf6c2c40c8e69fb
c747294b2d70a00a91713abe62fb7890c5893c5c
server : support multi-modal context checkpoints (#19849) * Modify llama-memory-hybrid-iswa.cpp * Modify llama-memory-recurrent.cpp * Modify server-common.cpp * Modify server-common.h * Modify server-context.cpp * Modify server-task.h * Added comment to llama-memory-hybrid-iswa.cpp * Remove comment from server-...
[ { "path": "src/llama-memory-recurrent.cpp", "patch": "@@ -163,7 +163,7 @@ bool llama_memory_recurrent::seq_rm(llama_seq_id seq_id, llama_pos p0, llama_pos\n const auto & cell = cells[tail_id];\n // partial intersection is invalid if it includes the final pos\n if (0 < p0 ...
2026-02-25T13:14:27
nodejs/node
698bb96383e46017d68b44c680f328f7bdf18c45
09d22ddab5eded7790b68059d91186117c43f3b7
test: tick processor version check regression test Verify that v8-version log lines are parsed and matched correctly. Fixes: https://github.com/nodejs/node/issues/16736 PR-URL: https://github.com/nodejs/node/pull/16769 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-tick-processor-version-check.js", "patch": "@@ -0,0 +1,41 @@\n+// Flags: --expose-internals\n+'use strict';\n+require('../common');\n+const assert = require('assert');\n+const { versionCheck } = require('internal/v8_prof_polyfill');\n+\n+assert.strictEqual(versionCheck('v8-vers...
2017-11-05T10:33:13
huggingface/transformers
97e5a7072c326ebf106c0c923fa099bcf953b45b
96eb06286b63c9c93334d507e632c175d6ba8b28
Fix typo: use_safetenstors to use_safetensors (#31184) Corrected a typo in security.md. Changed `use_safetenstors` to `use_safetensors` in the section discussing the usage of safe formats for loading models to prevent arbitrary code execution.
[ { "path": "SECURITY.md", "patch": "@@ -14,7 +14,7 @@ Models uploaded on the Hugging Face Hub come in different formats. We heavily re\n models in the [`safetensors`](https://github.com/huggingface/safetensors) format (which is the default prioritized\n by the transformers library), as developed specifically...
2024-06-03T08:33:02
ollama/ollama
1f087c4d26e1ee938203dffbcff134efa5072307
5d7ea6616fc127469f43605464803d8521fcc51d
Update langchain python tutorial (#2737) Remove unused GPT4all Use nomic-embed-text as embedded model Fix a deprecation warning (__call__)
[ { "path": "docs/tutorials/langchainpy.md", "patch": "@@ -42,12 +42,12 @@ text_splitter=RecursiveCharacterTextSplitter(chunk_size=500, chunk_overlap=0)\n all_splits = text_splitter.split_documents(data)\n ```\n \n-It's split up, but we have to find the relevant splits and then submit those to the model. We c...
2024-02-25T05:31:36
ggml-org/llama.cpp
c747294b2d70a00a91713abe62fb7890c5893c5c
8fdf269dad4763ae2e3768f81e8d7121a34a752f
scripts: update corpus of compare-logprobs (#19326) * scripts: update corpus of compare-logprobs * fix
[ { "path": "scripts/compare-logprobs.py", "patch": "@@ -25,16 +25,12 @@\n \"\"\"\n \n \n-def generate_input_prompt(length: int) -> list[str]:\n- CORPUS = \"\"\"\n- You are an advanced AI assistant capable of using tools to gather information, perform calculations, or execute tasks. Always think step by...
2026-02-25T11:57:34
golang/go
76a615b20a943b7255ac1cb3944df62a1dbc882c
30119bcca997d154e4ab200b01afa7007b088994
cmd/compile: fix defer/go calls to variadic unsafe-uintptr functions Before generating wrapper function, turn any f(a, b, []T{c, d, e}...) calls back into f(a, b, c, d, e). This allows the existing code for recognizing and specially handling unsafe.Pointer->uintptr conversions to correctly handle variadic arguments to...
[ { "path": "src/cmd/compile/internal/gc/walk.go", "patch": "@@ -3881,6 +3881,16 @@ func wrapCall(n *Node, init *Nodes) *Node {\n \t}\n \n \tisBuiltinCall := n.Op != OCALLFUNC && n.Op != OCALLMETH && n.Op != OCALLINTER\n+\n+\t// Turn f(a, b, []T{c, d, e}...) back into f(a, b, c, d, e).\n+\tif !isBuiltinCall &...
2020-10-17T08:10:06
nodejs/node
421316dca17d72919a928f414af8d03e2f3a2476
02bad59f003d03bf64c59874cd31bd29202a194a
lib: fix version check in tick processor Introduced in 70832bc3538 ("build: add V8 embedder version string".) Fixes: https://github.com/nodejs/node/issues/16736 PR-URL: https://github.com/nodejs/node/pull/16769 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/v8_prof_polyfill.js", "patch": "@@ -89,7 +89,7 @@ function versionCheck() {\n var firstLine = readline();\n line = firstLine + '\\n' + line;\n firstLine = firstLine.split(',');\n- const curVer = process.versions.v8.split(/\\.-/);\n+ const curVer = process.versions.v8.split(/[...
2017-11-05T10:33:13
huggingface/transformers
96eb06286b63c9c93334d507e632c175d6ba8b28
372baec2e67cc3ca376ebc3ea3d299c989093a4c
Diff converter v2 (#30868) * current working example! * commit regex and result file * update * nit * push the conversion file * oups * roadmap and nits * attempt diffs for 3 files * persimmon * nit * add diff file that is the same as the modeling_llama.py * fix rope nits * updates ...
[ { "path": "examples/diff-conversion/README.md", "patch": "@@ -0,0 +1,20 @@\n+# Using the `diff_converter` linter\n+\n+`pip install libcst` is a must!\n+\n+# `sh examples/diff-conversion/convert_examples.sh` to get the converted outputs\n+\n+The diff converter is a new `linter` specific to `transformers`. It...
2024-05-31T16:37:43
ollama/ollama
8782dd562819606c6b84f0e075e987f6744e83d2
11bfff8ee11ffa6e49ec8fbecf3a20fa060b582f
fix `build_windows.ps1` script to run `go build` with the correct flags
[ { "path": "scripts/build_windows.ps1", "patch": "@@ -53,7 +53,7 @@ function buildOllama() {\n write-host \"Building ollama CLI\"\n & go generate ./...\n if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}\n- & go build \"-ldflags=\"\"-X=github.com/jmorganca/ollama/version.Version=$script:VERSION\...
2024-02-22T22:41:43
golang/go
30119bcca997d154e4ab200b01afa7007b088994
c8f6135d4fd0be14bfc63c2bbb911cc9647e00a6
cmd/go/internal/modload: fix sort condition in (*replacementRepo).Versions In CL 258220 I added replacement versions to the repo versions used in the modload.Query functions. The versions are computed from a map in the modfile index, which has a nondeterministic iteration order. I added a short-circuit condition to s...
[ { "path": "src/cmd/go/internal/modload/query.go", "patch": "@@ -891,12 +891,12 @@ func (rr *replacementRepo) ModulePath() string { return rr.repo.ModulePath() }\n // Versions returns the versions from rr.repo augmented with any matching\n // replacement versions.\n func (rr *replacementRepo) Versions(prefix...
2020-10-17T01:57:46
nodejs/node
02bad59f003d03bf64c59874cd31bd29202a194a
9087a1dc918399c38a3e18fdf0cbc2d0135512c4
src: fix -Wunused-result warning Fix a compiler warning that was introduced in commit c3dc0e0d75c ("src: add CollectExceptionInfo & errors.SystemError") by adding a `.FromJust()` call. PR-URL: https://github.com/nodejs/node/pull/16726 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cji...
[ { "path": "src/env.cc", "patch": "@@ -263,7 +263,7 @@ void CollectExceptionInfo(Environment* env,\n \n if (syscall != nullptr) {\n obj->Set(env->context(), env->syscall_string(),\n- OneByteString(env->isolate(), syscall));\n+ OneByteString(env->isolate(), syscall)).FromJust();\...
2017-11-03T17:59:42
huggingface/transformers
cdc813113a751e72830705e1d8119aff3792c5c0
9837a25481e1e381753119c1676289e8358d91af
Instance segmentation examples (#31084) * Initial setup * Metrics * Overfit on two batches * Train 40 epochs * Memory leak debugging * Trainer fine-tuning * Draft * Fixup * Trained end-to-end * Add requirements * Rewrite evaluator * nits * Add readme * Add instance-segmentation t...
[ { "path": "docs/source/en/model_doc/mask2former.md", "patch": "@@ -41,6 +41,7 @@ This model was contributed by [Shivalika Singh](https://huggingface.co/shivi) an\n A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with Mask2Former.\n \n - Demo notebooks regard...
2024-05-31T15:56:17
ollama/ollama
287ba115004b6bf034f7e7f8d4cd5ef2aab0e5e3
63861f58cc6bad7d512825badd5154ccd7b32826
better error message when calling `/api/generate` or `/api/chat` with embedding models
[ { "path": "server/routes.go", "patch": "@@ -192,7 +192,7 @@ func GenerateHandler(c *gin.Context) {\n \t}\n \n \tif model.IsEmbedding() {\n-\t\tc.AbortWithStatusJSON(http.StatusBadRequest, gin.H{\"error\": \"model does not support generate\"})\n+\t\tc.AbortWithStatusJSON(http.StatusBadRequest, gin.H{\"error\...
2024-02-21T02:53:45
golang/go
c8f6135d4fd0be14bfc63c2bbb911cc9647e00a6
5faa8286512db8b11ba3f16c447dbf41f289b47a
test: add regression test from #41474 This issue was fixed with multiple individual compiler optimizations, each of which had their own respective test cases. This CL just adds the capstone test case to demonstrate that the issue has been fixed and doesn't regress again. Updates #41474. Change-Id: Iae752d4b0e7b83ee3...
[ { "path": "src/os/os_test.go", "patch": "@@ -9,6 +9,7 @@ import (\n \t\"errors\"\n \t\"flag\"\n \t\"fmt\"\n+\t\"internal/race\"\n \t\"internal/testenv\"\n \t\"io\"\n \t\"io/ioutil\"\n@@ -2579,3 +2580,20 @@ func TestOpenFileKeepsPermissions(t *testing.T) {\n \t\tt.Errorf(\"Stat after OpenFile is %v, should b...
2020-10-16T15:48:29
nodejs/node
9087a1dc918399c38a3e18fdf0cbc2d0135512c4
9e4fa6c8901a06034cbae6fb073125fd63eb3d7f
src: fix -Winconsistent-missing-override warning Fix a compiler warning that was introduced in commit 4db1bc8f205 ("http2: allocate on every chunk send") by adding an `override` keyword. PR-URL: https://github.com/nodejs/node/pull/16726 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <c...
[ { "path": "src/node_http2.h", "patch": "@@ -431,7 +431,7 @@ class Http2Session : public AsyncWrap,\n const SubmitTrailers& submit_trailers) override;\n \n void Send(WriteWrap* req, char* buf, size_t length) override;\n- WriteWrap* AllocateSend();\n+ WriteWrap* AllocateSend() override;\...
2017-11-03T17:59:42
huggingface/transformers
9837a25481e1e381753119c1676289e8358d91af
f8e6ba454c6b534d6613f62199c007743dda4761
Add streaming, various fixes (#30838) * Implement streaming run in ReAct agents * Allow additional imports in code agents * Python interpreter: support classes and exceptions, fixes
[ { "path": "docs/source/en/agents.md", "patch": "@@ -28,8 +28,8 @@ An agent is a system that uses an LLM as its engine, and it has access to functi\n These *tools* are functions for performing a task, and they contain all necessary description for the agent to properly use them.\n \n The agent can be program...
2024-05-31T12:16:23
ollama/ollama
ce0c95d0972476f1e5a0064edbceb33d3ceed6ba
a9bc1e1c37d2e155eaca6de2b64008a36354b5a0
[fix] /bye and /exit are now treated as prefixes (#2381) * [fix] /bye and /exit are now treated as prefixes instead of being treated as entire lines which doesn't align with the way the rest of the commands are treated * Update cmd/interactive.go Fixing whitespace --------- Co-authored-by: Jeffrey Morgan ...
[ { "path": "cmd/interactive.go", "patch": "@@ -470,7 +470,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {\n \t\t\t} else {\n \t\t\t\tusage()\n \t\t\t}\n-\t\tcase line == \"/exit\", line == \"/bye\":\n+\t\tcase strings.HasPrefix(line, \"/exit\"), strings.HasPrefix(line, \"/bye\"):\n...
2024-02-20T02:56:49
ggml-org/llama.cpp
a96a1120b45c011ef6ed38bcb3fc455209ea5b9e
244641955f6146f7e8474afff7772d427593a534
gguf : fix ftell/fseek for Windows (#19870)
[ { "path": "ggml/src/gguf.cpp", "patch": "@@ -18,6 +18,14 @@\n #define GGUF_MAX_STRING_LENGTH (1024*1024*1024)\n #define GGUF_MAX_ARRAY_ELEMENTS (1024*1024*1024)\n \n+#ifdef _WIN32\n+# define gguf_ftell _ftelli64\n+# define gguf_fseek _fseeki64\n+#else\n+# define gguf_ftell ftello\n+# define ggu...
2026-02-25T04:58:11
golang/go
5faa8286512db8b11ba3f16c447dbf41f289b47a
11cfb48df192c14d185c1cfcaad1ba3e7b84c807
cmd/link: use GOOS=ios for TestBuildForTvOS Updates #38485. Fix darwin-amd64-10_15 build. Change-Id: I1833c23788acafc9530bb91fb6182fc5cb44f6cd Reviewed-on: https://go-review.googlesource.com/c/go/+/263265 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Ian Lance ...
[ { "path": "src/cmd/link/link_test.go", "patch": "@@ -309,7 +309,7 @@ func TestBuildForTvOS(t *testing.T) {\n \tcmd := exec.Command(testenv.GoToolPath(t), \"build\", \"-buildmode=c-archive\", \"-o\", ar, lib)\n \tcmd.Env = append(os.Environ(),\n \t\t\"CGO_ENABLED=1\",\n-\t\t\"GOOS=darwin\",\n+\t\t\"GOOS=ios\...
2020-10-17T00:25:54
huggingface/transformers
f8e6ba454c6b534d6613f62199c007743dda4761
fc5d3e112a3fee646de7bfbaf38562a87bbc648f
[trainer] add sanity evaluation option (#31146) * add sanity evaluation * fix * Apply suggestions from code review Co-authored-by: Zach Mueller <muellerzr@gmail.com> * fix --------- Co-authored-by: Zach Mueller <muellerzr@gmail.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2175,6 +2175,9 @@ def _inner_training_loop(\n grad_norm: Optional[float] = None\n self.control = self.callback_handler.on_train_begin(args, self.state, self.control)\n \n+ if args.sanity_evaluation:\n+ self._evaluate(tr...
2024-05-31T10:44:20
nodejs/node
2054c66e7773e54a2f5a0844322b5e5752b6cff3
09c152e9b40ea9809c455073e1e615e4af5e1d63
test: remove custom message from assertion The custom message means that the values involved are not reported. Remove the custom message for a more detailed error message. PR-URL: https://github.com/nodejs/node/pull/16824 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.co...
[ { "path": "test/addons/async-hooks-promise/test.js", "patch": "@@ -34,8 +34,7 @@ const hook1 = async_hooks.createHook({\n // Check that the internal field returns the same PromiseWrap passed to init().\n assert.strictEqual(\n binding.getPromiseField(Promise.resolve(1)),\n- pwrap,\n- 'Unexpected PromiseW...
2017-11-06T15:37:55
ggml-org/llama.cpp
244641955f6146f7e8474afff7772d427593a534
47eb12b95325d04af1d938130fdc73ad1902f5a5
models : fix graph splits (#19866)
[ { "path": "src/models/kimi-linear.cpp", "patch": "@@ -116,6 +116,8 @@ llm_build_kimi_linear::llm_build_kimi_linear(const llama_model & model, const ll\n cur = build_norm(inpL, layer.attn_norm, NULL, LLM_NORM_RMS, il);\n cb(cur, \"attn_norm\", il);\n \n+ ggml_build_forward_expand(gf, c...
2026-02-24T22:01:13
huggingface/transformers
fc5d3e112a3fee646de7bfbaf38562a87bbc648f
bd9d1ddf417f33e650da7e6a9e405573609dc673
Quantization: Enhance bnb error message (#31160) enhance error message
[ { "path": "src/transformers/quantizers/quantizer_bnb_4bit.py", "patch": "@@ -63,7 +63,7 @@ def validate_environment(self, *args, **kwargs):\n if not (is_accelerate_available() and is_bitsandbytes_available()):\n raise ImportError(\n \"Using `bitsandbytes` 8-bit quantizati...
2024-05-31T10:36:46
golang/go
a2eb53c571607bb0e64cb2996ca2bd402ad6e347
689a7a13780dc7a5138215aa4d369bdcf789fee8
strconv: use the Eisel-Lemire ParseFloat algorithm Also fix BenchmarkAtof64Random* to initialize the test data when none of the TestAtof* tests are run. Passing "go test -test.count=5 -test.run=xxx -test.bench=Atof64" on to benchstat: name old time/op new time/op delta Atof64Decimal-4 47.9ns...
[ { "path": "doc/go1.16.html", "patch": "@@ -316,3 +316,16 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </p>\n </dd>\n </dl><!-- runtime/debug -->\n+\n+<dl id=\"strconv\"><dt><a href=\"/pkg/strconv/\">strconv</a></dt>\n+ <dd>\n+ <p><!-- CL 260858 -->\n+ <a href=\"/pkg...
2020-10-09T12:18:05
nodejs/node
09c152e9b40ea9809c455073e1e615e4af5e1d63
79f90f3d98d1f81ef0065a829b6c14e418401306
test: show incorrect value on test failure PR-URL: https://github.com/nodejs/node/pull/16818 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe>
[ { "path": "test/async-hooks/test-promise.promise-before-init-hooks.js", "patch": "@@ -16,7 +16,7 @@ hooks.enable();\n p.then(function afterresolution(val) {\n assert.strictEqual(val, 5);\n const as = hooks.activitiesOfTypes('PROMISE');\n- assert.strictEqual(as.length, 1, 'one activity');\n+ assert.str...
2017-11-06T15:14:16
ggml-org/llama.cpp
47eb12b95325d04af1d938130fdc73ad1902f5a5
418dea39cea85d3496c8b04a118c3b17f3940ad8
server: fix query params lost when proxying requests in multi-model router mode (#19854) * server: fix query params lost when proxying requests in multi-model router mode * server: re-encode query params using httplib::encode_query_component in proxy
[ { "path": "tools/server/server-http.cpp", "patch": "@@ -339,6 +339,17 @@ static std::map<std::string, std::string> get_headers(const httplib::Request & r\n return headers;\n }\n \n+static std::string build_query_string(const httplib::Request & req) {\n+ std::string qs;\n+ for (const auto & [key, v...
2026-02-24T20:46:06
huggingface/transformers
48cada87c3d27905aa53cb979e7f6b8497b89561
d19566e8523547d833d674d973908dae569dfba4
Fix quantized cache output (#31143)
[ { "path": "tests/quantization/quanto_integration/test_quanto.py", "patch": "@@ -448,7 +448,7 @@ class QuantoKVCacheQuantizationTest(unittest.TestCase):\n def test_quantized_cache(self):\n EXPECTED_TEXT_COMPLETION = [\n \"Simply put, the theory of relativity states that 1) the speed o...
2024-05-31T10:08:55
golang/go
689a7a13780dc7a5138215aa4d369bdcf789fee8
f1e3c8f14232cde8da8666ad68df493563287634
runtime/cgo: fix build tag placement vet warning Change-Id: Ie6583b46213caae897fc2189d4973c88759f5f4b Reviewed-on: https://go-review.googlesource.com/c/go/+/263258 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Ta...
[ { "path": "src/runtime/cgo/gcc_libinit_windows.c", "patch": "@@ -3,6 +3,7 @@\n // license that can be found in the LICENSE file.\n \n // +build cgo\n+\n #define WIN64_LEAN_AND_MEAN\n #include <windows.h>\n #include <process.h>", "additions": 1, "deletions": 0, "language": "C" } ]
2020-10-16T23:11:42
nodejs/node
79f90f3d98d1f81ef0065a829b6c14e418401306
137c780d4bb3cd9c36f2837477f73bc4a2e9e4bd
test: include file mode in assert message If the REPL history file is created with an invalid mode include the failed mode in the error message. PR-URL: https://github.com/nodejs/node/pull/16815 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "test/parallel/test-repl-history-perm.js", "patch": "@@ -1,4 +1,7 @@\n 'use strict';\n+\n+// Verifies that the REPL history file is created with mode 0600\n+\n // Flags: --expose_internals\n \n const common = require('../common');\n@@ -39,9 +42,10 @@ const checkResults = common.mustCall(function(e...
2017-11-06T15:19:09
ggml-org/llama.cpp
418dea39cea85d3496c8b04a118c3b17f3940ad8
da426cb25031928bcbc0d822bbd5ac3491ed4c13
ggml/gguf : prevent integer overflows (#19856) * gguf : prevent integer overflow for ggml_context mem size * ggml : fix int overflows in ggml_new_object() * gguf : prevent string exhaustion * gguf : prevent array elements exhaustion * ggml : fix negative tensor type oob * py : assert that alignment is non-zero po...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -730,10 +730,6 @@ extern \"C\" {\n GGML_API size_t ggml_type_size(enum ggml_type type); // size in bytes for all elements in a block\n GGML_API size_t ggml_row_size (enum ggml_type type, int64_t ne); // size in bytes for all elements in a r...
2026-02-24T18:17:11
huggingface/transformers
cda9c82a6362d7bcb5dc998ac2097473df4467bb
5e5c4d629d8bcd9d5b2b4fa859a2bbdbb0011e36
fix get_scheduler when name is warmup_stable_decay (#31128) fix get_scheduler args
[ { "path": "src/transformers/optimization.py", "patch": "@@ -540,6 +540,9 @@ def scheduler_hook(param):\n if name == SchedulerType.INVERSE_SQRT:\n return schedule_func(optimizer, num_warmup_steps=num_warmup_steps)\n \n+ if name == SchedulerType.WARMUP_STABLE_DECAY:\n+ return schedule_fu...
2024-05-30T14:25:43
ollama/ollama
fc39a6cd7a5f9a4951babb183826f15eea0351ff
88622847c6a83508681b8876e2aaca9ca85f83b5
Fix cuda leaks This should resolve the problem where we don't fully unload from the GPU when we go idle.
[ { "path": "llm/patches/02-shutdown.diff", "patch": "@@ -1,5 +1,5 @@\n diff --git a/examples/server/server.cpp b/examples/server/server.cpp\n-index 11dd82c3..311495a8 100644\n+index a0b46970..7800c6e7 100644\n --- a/examples/server/server.cpp\n +++ b/examples/server/server.cpp\n @@ -28,6 +28,7 @@\n@@ -10,7 +...
2024-02-18T23:50:38
golang/go
05739d6f17c57f09264272621b88725a463234d0
3eae1a905854fd9f4ebeeae406c4ebb88cbd779b
runtime: wait for preemption signals before syscall.Exec Fixes #41702 Fixes #42023 Change-Id: If07f40b1d73b8f276ee28ffb8b7214175e56c24d Reviewed-on: https://go-review.googlesource.com/c/go/+/262817 Trust: Ian Lance Taylor <iant@golang.org> Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Ian Lance Taylor <iant@...
[ { "path": "src/runtime/proc.go", "patch": "@@ -1311,6 +1311,14 @@ found:\n \tcheckdead()\n \tunlock(&sched.lock)\n \n+\tif GOOS == \"darwin\" {\n+\t\t// Make sure pendingPreemptSignals is correct when an M exits.\n+\t\t// For #41702.\n+\t\tif atomic.Load(&m.signalPending) != 0 {\n+\t\t\tatomic.Xadd(&pending...
2020-10-15T21:39:12
nodejs/node
137c780d4bb3cd9c36f2837477f73bc4a2e9e4bd
17d83883e19a530c8df276b373b2fbc39f81f7f3
doc: fix json generator warnings - Fix `console.countReset()` signature - Fix `console.group()` arguments list PR-URL: https://github.com/nodejs/node/pull/16742 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By:...
[ { "path": "doc/api/console.md", "patch": "@@ -216,7 +216,7 @@ undefined\n >\n ```\n \n-### console.countReset([label = 'default'])\n+### console.countReset([label='default'])\n <!-- YAML\n added: v8.3.0\n -->\n@@ -293,7 +293,7 @@ values are concatenated. See [`util.format()`][] for more information.\n added...
2017-11-04T08:53:09
ggml-org/llama.cpp
aa6f918c1c786668db530c3a1c3ff8a93da928f7
8c2c0108dd77f90c0a5233420601ae05ac735d59
Vulkan Scalar Flash Attention Refactor (#19625) * vulkan: allow using fp16 in scalar flash attention shader * split rows inside of subgroups for faster synchronization * use row_split when Br >= 4, change reductions to use shared memory if row_split == 1 * use f32 scalar FA if f16 is not supported by device * fix ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -403,19 +403,20 @@ enum FaCodePath {\n };\n \n struct vk_fa_pipeline_state {\n- vk_fa_pipeline_state(uint32_t HSK, uint32_t HSV, bool small_rows, bool small_cache, FaCodePath path, bool aligned, bool f32acc, uint32_t flags)\n- : HSK(HS...
2026-02-24T07:35:48
huggingface/transformers
5e5c4d629d8bcd9d5b2b4fa859a2bbdbb0011e36
2b9e252b16396c926dad0e3c31802b4af8004e93
FIX / Quantization: Add extra validation for bnb config (#31135) add validation for bnb config
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -383,6 +383,10 @@ def __init__(\n if bnb_4bit_quant_storage is None:\n self.bnb_4bit_quant_storage = torch.uint8\n elif isinstance(bnb_4bit_quant_storage, str):\n+ if bnb_4bit_quant_storage not in ...
2024-05-30T09:45:03
golang/go
3eae1a905854fd9f4ebeeae406c4ebb88cbd779b
9cec50f50c29f5ef7264bf06ee7ac0991b4b36d6
cmd/objdump: skip TestDisasmExtld on AIX Fixes #42025. Change-Id: I34bed3364902e37df24ed6f56cddf163c7a4dc52 Reviewed-on: https://go-review.googlesource.com/c/go/+/263147 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Jeremy Faller <jeremy@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: C...
[ { "path": "src/cmd/objdump/objdump_test.go", "patch": "@@ -262,6 +262,8 @@ func TestDisasmExtld(t *testing.T) {\n \tswitch runtime.GOOS {\n \tcase \"plan9\", \"windows\":\n \t\tt.Skipf(\"skipping on %s\", runtime.GOOS)\n+\tcase \"aix\":\n+\t\tt.Skipf(\"skipping on AIX, see issue 40972\")\n \t}\n \tt.Paralle...
2020-10-16T19:29:25
nodejs/node
17d83883e19a530c8df276b373b2fbc39f81f7f3
2336df1b502d55261baf3ebd6e22c011c619b069
test: refactor tls test to use fixtres.readSync PR-URL: https://github.com/nodejs/node/pull/16816 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-tls-hello-parser-failure.js", "patch": "@@ -22,6 +22,10 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n+\n+// This test ensures that the tls parser causes a client error if the client\n+// sends invalid data.\n \n...
2017-11-06T15:15:14
rust-lang/rust
049f4dbd2b990f46772d07f07d54c7ea6ccca7fd
5ad05fb9e9925d29b490b46bc8b6df127bf9adb0
Add warning and debug information when `cargo metadata` fails The errors are silently dropped elsewhere, which make it really hard to debug issues due to dependency download failures.
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/cargo_workspace.rs", "patch": "@@ -288,7 +288,22 @@ impl CargoWorkspace {\n locked: bool,\n progress: &dyn Fn(String),\n ) -> anyhow::Result<(cargo_metadata::Metadata, Option<anyhow::Error>)> {\n- Self::fetch_metadata_(ca...
2025-03-05T09:40:11
ggml-org/llama.cpp
8c2c0108dd77f90c0a5233420601ae05ac735d59
3ea5360c00dbee37b32277627dfae187a61c8180
vulkan: fix coopmat1 without bf16 support (#19793)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -3780,10 +3780,12 @@ static void ggml_vk_load_shaders(vk_device& device) {\n && !device->coopmat_bf16_support\n #endif\n ) {\n+ const uint32_t s_warptile_wm = device->subgroup_size == 8 ? 8 : 32;\n+\n // use scalar...
2026-02-24T06:48:32
huggingface/transformers
cb879c58013f4c77fb792f1938f077f8e11f6453
1f84141391b435a621f009c2ac78397d606fd233
FIX / Docs: Fix GPTQ expected number of bits (#31111) Update overview.md
[ { "path": "docs/source/en/quantization/overview.md", "patch": "@@ -52,7 +52,7 @@ Use the table below to help you decide which quantization method to use.\n | [bitsandbytes](./bitsandbytes) | 🟢 | 🔴 | 🟢 | 🔴 | 🔴 | 🔴 ...
2024-05-29T13:56:28
rust-lang/rust
aa72de9330d7803374d4200833c39ec5daea1012
8edf528eb458631041b75eb1a6de709ba1f509ec
fix triagebot.toml
[ { "path": "triagebot.toml", "patch": "@@ -252,7 +252,6 @@ trigger_files = [\n \"compiler/rustc_passes/src/check_attr.rs\",\n \"compiler/rustc_attr_parsing\",\n \"compiler/rustc_attr_data_structures\",\n- \"compiler/rustc_attr_validation\",\n ]\n \n [autolabel.\"T-rustdoc-frontend\"]\n@@ -316,...
2025-03-02T10:05:19
ollama/ollama
a497235a55906fb5f132e8689bf298e3c09d79f3
df6dc4fd96ba485a028bb1a59e63500bb7357247
Fix view logs menu
[ { "path": "app/lifecycle/logging_windows.go", "patch": "@@ -11,7 +11,7 @@ func ShowLogs() {\n \tcmd_path := \"c:\\\\Windows\\\\system32\\\\cmd.exe\"\n \tslog.Debug(fmt.Sprintf(\"viewing logs with start %s\", AppDataDir))\n \tcmd := exec.Command(cmd_path, \"/c\", \"start\", AppDataDir)\n-\tcmd.SysProcAttr = ...
2024-02-16T23:42:53
golang/go
ae162554f9e0078b325fb32e2e10ddda15b2acdc
570b49d6fc8d66e5bcb7645dfe2a3f9a118dbf0f
net/http: try to deflake TestTransportDiscardsUnneededConns Fixes #33585. Fixes #36797. Change-Id: I9202b624642368089a9ce827e3e7a7427100bf4f Reviewed-on: https://go-review.googlesource.com/c/go/+/263144 Trust: Russ Cox <rsc@golang.org> Trust: Benny Siegert <bsiegert@gmail.com> Run-TryBot: Russ Cox <rsc@golang.org> Re...
[ { "path": "src/net/http/clientserver_test.go", "patch": "@@ -1009,8 +1009,14 @@ func TestTransportDiscardsUnneededConns(t *testing.T) {\n \t\t\tdefer wg.Done()\n \t\t\tresp, err := c.Get(cst.ts.URL)\n \t\t\tif err != nil {\n-\t\t\t\tt.Errorf(\"Get: %v\", err)\n-\t\t\t\treturn\n+\t\t\t\t// Try to work around...
2020-10-16T17:39:50
nodejs/node
ac1e6bda899b68e96cf7a84b0cea0d5bf6c564fa
207b24a75e5a23b58e960effe9852430cacdddbe
test: use fixtures module in test-repl PR-URL: https://github.com/nodejs/node/pull/16809 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-repl.js", "patch": "@@ -21,6 +21,7 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n \n common.globalCheck = false;\n@@ -40,7 +41,7 @@ let server_tcp, server_unix, client_tcp, cli...
2017-11-06T15:06:30
ggml-org/llama.cpp
3ea5360c00dbee37b32277627dfae187a61c8180
39fb81f8756208d79dd12ad89359f3b31675e20d
vulkan: fix data race in mul_mat_id shader (#19790)
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/mul_mm_cm2.comp", "patch": "@@ -167,7 +167,9 @@ void load_row_ids(uint expert_idx, bool nei0_is_pow2, uint ic) {\n uint id = ids[iter++];\n uvec4 ballot = subgroupBallot(in_range && id == expert_idx);\n \n- ballots_sh[gl_SubgroupID] = bal...
2026-02-24T06:43:12
huggingface/transformers
1f84141391b435a621f009c2ac78397d606fd233
d16053c8679be5eed05a8e1bfdb3e0149468e104
Fix nightly circleci (#31114) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/config.yml", "patch": "@@ -98,7 +98,7 @@ jobs:\n fetch_all_tests:\n working_directory: ~/transformers\n docker:\n- - image: huggingface/transformers-consistency\n+ - image: huggingface/transformers-quality\n parallelism: 1\n step...
2024-05-29T13:42:39
rust-lang/rust
01795b14f07910223e12240128510f48ff110629
ac951d379913c667a1fb73a0830e81d65d2007cf
change definitely non-productive cycles to error
[ { "path": "compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs", "patch": "@@ -271,12 +271,39 @@ where\n /// and will need to clearly document it in the rustc-dev-guide before\n /// stabilization.\n pub(super) fn step_kind_for_source(&self, source: GoalSource) -> PathKind {\n- mat...
2025-02-27T10:57:05
golang/go
570b49d6fc8d66e5bcb7645dfe2a3f9a118dbf0f
03f181a90ef4de680a666ca86c7988915e892e8c
cmd/go: normalize paths in TestScript/build_overlay Fixes #42008 Change-Id: I1652e8cc4e72b4b7e52571ab12da29e717218a0b Reviewed-on: https://go-review.googlesource.com/c/go/+/263145 Trust: Bryan C. Mills <bcmills@google.com> Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Review...
[ { "path": "src/cmd/go/testdata/script/build_overlay.txt", "patch": "@@ -51,7 +51,7 @@ go 1.16\n package dir2\n \n func PrintMessage() {\n- printMessage()\n+\tprintMessage()\n }\n -- m/dir/foo.txt --\n The build action code currently expects the package directory\n@@ -61,46 +61,51 @@ TODO(matloob): Remove...
2020-10-16T18:01:04
ggml-org/llama.cpp
d8aeb65ceed4e0a6ff8395e719facd5ed706c64d
9051663d5d67bdab765e9bc9afee41ed34f09260
tests : fix typos in comments in test-backend-sampler [no ci] (#19824) * tests : fix typos in comments in test-backend-sampler [no ci]
[ { "path": "tests/test-backend-sampler.cpp", "patch": "@@ -361,7 +361,7 @@ static void test_backend_temp_sampling(const test_params & params) {\n GGML_ASSERT(false && \"Failed to decode token\");\n }\n \n- // Verfify sequence 0\n+ // Verify sequence 0\n {\n ...
2026-02-23T16:12:02
huggingface/transformers
0bef4a273825d2cfc52ddfe62ba486ee61cc116f
97a58a5d2c594d9c80000a30890201d4ddb27889
Fix faulty rstrip in module loading (#31108)
[ { "path": "src/transformers/dynamic_module_utils.py", "patch": "@@ -198,7 +198,10 @@ def get_class_in_module(class_name: str, module_path: Union[str, os.PathLike]) -\n Returns:\n `typing.Type`: The class looked for.\n \"\"\"\n- name = os.path.normpath(module_path).rstrip(\".py\").replace(...
2024-05-29T12:33:26
nodejs/node
207b24a75e5a23b58e960effe9852430cacdddbe
74d9dc2f5d6cf08087bff8ab94c30ee5622e9c4a
test: update test to use fixtures.readKey Use fixtures.readKey() rather than common.fixturesDir in test-regress-GH-1531. PR-URL: https://github.com/nodejs/node/pull/16811 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.c...
[ { "path": "test/parallel/test-regress-GH-1531.js", "patch": "@@ -1,16 +1,20 @@\n 'use strict';\n const common = require('../common');\n \n+// This test ensures that a http request callback is called\n+// when the agent option is set\n+// See https://github.com/nodejs/node-v0.x-archive/issues/1531\n+\n if (!...
2017-11-06T15:23:13
ollama/ollama
df6dc4fd96ba485a028bb1a59e63500bb7357247
88622847c6a83508681b8876e2aaca9ca85f83b5
Fix duplicate menus on update and exit on signals Also fixes a few fit-and-finish items for better developer experience
[ { "path": "app/lifecycle/lifecycle.go", "patch": "@@ -6,6 +6,8 @@ import (\n \t\"log\"\n \t\"log/slog\"\n \t\"os\"\n+\t\"os/signal\"\n+\t\"syscall\"\n \n \t\"github.com/jmorganca/ollama/app/store\"\n \t\"github.com/jmorganca/ollama/app/tray\"\n@@ -23,12 +25,18 @@ func Run() {\n \t}\n \tcallbacks := t.GetCal...
2024-02-16T23:33:16
ggml-org/llama.cpp
2b6dfe824de8600c061ef91ce5cc5c307f97112c
e8e261699a2a93b60f307d92aa788e47b6b2ebd7
llama : remove write/read of output ids/logits/embeddings (#18862) * llama : remove write/read of output ids/logits/embeddings This commit removes the write/read of output ids, logits and embeddings from the llama context state. Refs: https://github.com/ggml-org/llama.cpp/pull/18862#issuecomment-3756330941 * comple...
[ { "path": "common/common.cpp", "patch": "@@ -1760,3 +1760,65 @@ float lr_opt::get_lr(float epoch) const {\n LOG_INF(\"epoch %.2g lr=%.2g\\n\", epoch, r);\n return r;\n }\n+\n+bool common_replay_last_token(struct llama_context * ctx, llama_token last_token, int32_t pos) {\n+ llama_batch batch = ll...
2026-02-23T06:04:30
huggingface/transformers
97a58a5d2c594d9c80000a30890201d4ddb27889
c8861376adee4c0f962918416dd356fdab552189
Fix env.py in cases where torch is not present (#31113) * Fix env.py in cases where torch is not present * Simplify the fix (and avoid some issues)
[ { "path": "src/transformers/commands/env.py", "patch": "@@ -133,13 +133,14 @@ def run(self):\n \"JaxLib version\": f\"{jaxlib_version}\",\n \"Using distributed or parallel set-up in script?\": \"<fill in>\",\n }\n- if pt_cuda_available:\n- info[\"Using GPU i...
2024-05-29T12:20:36
golang/go
03f181a90ef4de680a666ca86c7988915e892e8c
83317d9e3cb0674f71d1118d8814aefb31ac1239
io: unexport ErrBadWriteCount It was added in CL 240740 to fix #39978 but without any discussion of the exported API. The error can still be returned to fix the issue, without adding new public API to package io. Also fix the error message to refer to lower-case write like the other errors in the package. Change-Id...
[ { "path": "src/io/export_test.go", "patch": "@@ -0,0 +1,8 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package io\n+\n+// exported for test\n+var ErrInvalidWrite = errInvalidWrite"...
2020-10-16T03:32:51
nodejs/node
48a777287d1e0b4e199efe2137d5513c3edfc85d
13e983bf8364399fc2f8d610802367383ea496ca
test: fix typos in read-buffer tests The offset-exceeding tests for readFloat contained a double test for readFloatLE instead of one for readFloatLE and one for readFloatBE. This is fixed in this commit. PR-URL: https://github.com/nodejs/node/pull/16834 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-buffer-read.js", "patch": "@@ -59,13 +59,13 @@ read(buf, 'readUIntBE', [2, 0], 0xfd);\n read(buf, 'readUIntLE', [2, 0], 0x48);\n \n // attempt to overflow buffers, similar to previous bug in array buffers\n-assert.throws(() => Buffer.allocUnsafe(8).readFloatLE(0xffffffff),\n+as...
2017-11-06T16:36:56
ollama/ollama
88622847c6a83508681b8876e2aaca9ca85f83b5
9774663013e725142fa64f17fefbf7d34dda54f3
fix: chat system prompting overrides (#2542)
[ { "path": "cmd/interactive.go", "patch": "@@ -354,8 +354,15 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {\n \t\t\t\t\t}\n \n \t\t\t\t\tif args[1] == \"system\" {\n-\t\t\t\t\t\topts.System = sb.String()\n-\t\t\t\t\t\topts.Messages = append(opts.Messages, api.Message{Role: \"system\...
2024-02-16T19:42:43
ggml-org/llama.cpp
ed4837891d3a142d8806c3879afb5752f1254e98
cacc371f99fb3b5b431d3fa89ac0c752bbd62a3b
common : fix improper trimming in XML parser on complete message (#19805) Co-authored-by: Jules LEIDELINGER <11395311+julio75012@users.noreply.github.com>
[ { "path": "common/chat-parser-xml-toolcall.cpp", "patch": "@@ -803,7 +803,7 @@ inline void parse_msg_with_xml_tool_calls(common_chat_msg_parser & builder, cons\n }\n \n // remove potential partial suffix\n- if (builder.pos() == builder.input().size()) {\n+ if (builder.pos() == ...
2026-02-22T16:34:54
huggingface/transformers
c3044ec2f3416bdec19ea66504b7911549bd3b16
bfe6f513b9b5d782c54b42e50891a2c7aac414a3
Use `HF_HUB_OFFLINE` + fix has_file in offline mode (#31016) * Fix has_file in offline mode * harmonize env variable for offline mode * Switch to HF_HUB_OFFLINE * fix test * revert test_offline to test TRANSFORMERS_OFFLINE * Add new offline test * merge conflicts * docs
[ { "path": "docs/source/de/installation.md", "patch": "@@ -162,7 +162,7 @@ Transformers verwendet die Shell-Umgebungsvariablen `PYTORCH_TRANSFORMERS_CACHE`\n \n ## Offline Modus\n \n-Transformers ist in der Lage, in einer Firewall- oder Offline-Umgebung zu laufen, indem es nur lokale Dateien verwendet. Setze...
2024-05-29T10:55:43
golang/go
83317d9e3cb0674f71d1118d8814aefb31ac1239
afba990169f41d9026c923da5235584db32cab67
runtime/internal/atomic: panic nicely on unaligned 64-bit atomics On 386 and arm, unaligned 64-bit atomics aren't safe, so we check for this and panic. Currently, we panic by dereferencing nil, which may be expedient but is pretty user-hostile since it gives no hint of what the actual problem was. This CL replaces th...
[ { "path": "src/runtime/internal/atomic/asm_386.s", "patch": "@@ -3,6 +3,7 @@\n // license that can be found in the LICENSE file.\n \n #include \"textflag.h\"\n+#include \"funcdata.h\"\n \n // bool Cas(int32 *val, int32 old, int32 new)\n // Atomically:\n@@ -44,7 +45,6 @@ TEXT ·Loadint64(SB), NOSPLIT, $0-12\n...
2020-10-15T19:52:58
nodejs/node
f60c692499c488d4ab59b67b258eea88dc826287
fb31e074503145302acaaec49bbf779fdf067d83
http: use 'connect' event only if socket is connecting Fixes a bug that prevented `ClientRequest.prototype.setTimeout()` from working properly when the socket was reused for multiple requests. Fixes: https://github.com/nodejs/node/issues/16716 Refs: https://github.com/nodejs/node/pull/8895 PR-URL: https://github.com/...
[ { "path": "lib/_http_client.js", "patch": "@@ -728,9 +728,13 @@ ClientRequest.prototype.setTimeout = function setTimeout(msecs, callback) {\n }\n \n this.once('socket', function(sock) {\n- sock.once('connect', function() {\n+ if (sock.connecting) {\n+ sock.once('connect', function() {\n+ ...
2017-11-03T17:13:48
ggml-org/llama.cpp
cacc371f99fb3b5b431d3fa89ac0c752bbd62a3b
ae2368e74eb2c280629ce6cf80edb88d72d23495
Fix wrong cli-argument in documentation (#19804)
[ { "path": "tools/server/webui/README.md", "patch": "@@ -101,7 +101,7 @@ In a separate terminal, start the backend server:\n ./llama-server -m model.gguf\n \n # Multi-model (ROUTER mode)\n-./llama-server --model-store /path/to/models\n+./llama-server --models-dir /path/to/models\n ```\n \n ### 3. Start Devel...
2026-02-22T15:26:33
huggingface/transformers
bfe6f513b9b5d782c54b42e50891a2c7aac414a3
d521ba579741330d5ccb55e5dd1e35ab4017dc36
FEAT: Add mistral v3 conversion script (#30981) * add mistral v3 conversion script * Update src/transformers/models/mistral/convert_mistral_weights_to_hf.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * fixup --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.norep...
[ { "path": "src/transformers/models/mistral/convert_mistral_weights_to_hf.py", "patch": "@@ -19,6 +19,7 @@\n import warnings\n \n import torch\n+from safetensors.torch import load_file as safe_load_file\n \n from transformers import (\n LlamaTokenizer,\n@@ -76,7 +77,7 @@ def write_json(text, path):\n ...
2024-05-29T09:43:54
golang/go
afba990169f41d9026c923da5235584db32cab67
e7259c07d4e479d9f83899a4c8b2f58b7b4ff63e
runtime/internal/atomic: drop package prefixes This drops package prefixes from the assembly code on 386 and arm. In addition to just being nicer, this allows the assembler to automatically pick up the argument stack map from the Go signatures of these functions. This doesn't matter right now because these functions n...
[ { "path": "src/runtime/funcdata.h", "patch": "@@ -32,9 +32,9 @@\n // defines the pointer map for the function's arguments.\n // GO_ARGS should be the first instruction in a function that uses it.\n // It can be omitted if there are no arguments at all.\n-// GO_ARGS is inserted implicitly by the linker for a...
2020-10-15T20:11:10
nodejs/node
fb31e074503145302acaaec49bbf779fdf067d83
0736ad47433104666aa4e4c1781be743db43f653
test: replace fixturesDir with usage of fixtures module Repalce common.fixturesDir with usage of the fixtures module in test-tls-ecdh-disable. Add a comment explaining the test. PR-URL: https://github.com/nodejs/node/pull/16810 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.i...
[ { "path": "test/parallel/test-tls-ecdh-disable.js", "patch": "@@ -19,8 +19,12 @@\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n+// Test that the usage of eliptic curves are not permitted if disabled during\n+// server initializ...
2017-11-06T15:13:49
ollama/ollama
e547378893b8b40c2cc7ad63131cbe34cc25fb89
fd77dbec4d7903e68e60d40d44b023eb0d33ed21
disable default debug
[ { "path": "app/main.go", "patch": "@@ -4,14 +4,9 @@ package main\n // go build -ldflags=\"-H windowsgui\" .\n \n import (\n-\t\"os\"\n-\n \t\"github.com/jmorganca/ollama/app/lifecycle\"\n )\n \n func main() {\n-\t// TODO - remove as we end the early access phase\n-\tos.Setenv(\"OLLAMA_DEBUG\", \"1\") // nol...
2024-02-15T20:05:13
ggml-org/llama.cpp
9f0684f003f0feae3436293d9d9686f190105729
34ec1c3f182712302f55deca023e465a18a4897c
ci : fix rocm archive name [no ci] (#19808)
[ { "path": ".github/workflows/release.yml", "patch": "@@ -604,7 +604,7 @@ jobs:\n id: pack_artifacts\n run: |\n cp LICENSE ./build/bin/\n- tar -czvf llama-bin-ubuntu-rocm-${{ matrix.ROCM_VERSION }}-${{ matrix.build }}.tar.gz --transform \"s,./,llama-${{ steps.tag.outputs.na...
2026-02-22T15:14:37
huggingface/transformers
d521ba579741330d5ccb55e5dd1e35ab4017dc36
a564d10afe1a78c31934f0492422700f61a0ffc0
Quantized KV cache: update quanto (#31052) * quanto latest version was refactored * add error msg * incorrect compare sign * Update src/transformers/cache_utils.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@u...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1,17 +1,21 @@\n import copy\n+import importlib.metadata\n import json\n import os\n from dataclasses import dataclass\n from typing import Any, Dict, List, Optional, Tuple, Union\n \n import torch\n+from packaging import version\n \n from .configura...
2024-05-29T09:25:44
golang/go
e7259c07d4e479d9f83899a4c8b2f58b7b4ff63e
606d4a38b9ae76df30cc1bcaeee79923a5792e59
cmd/objdump: skip tests on unsupported platforms Should fix mips(64)(le) and s390x builds. Change-Id: I2c80339ce22b0ce5dceb595e504740e74bc840cd Reviewed-on: https://go-review.googlesource.com/c/go/+/263137 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Than McInt...
[ { "path": "src/cmd/objdump/objdump_test.go", "patch": "@@ -106,6 +106,17 @@ var ppcGnuNeed = []string{\n \t\"cmpw\",\n }\n \n+func mustHaveDisasm(t *testing.T) {\n+\tswitch runtime.GOARCH {\n+\tcase \"mips\", \"mipsle\", \"mips64\", \"mips64le\":\n+\t\tt.Skipf(\"skipping on %s, issue 12559\", runtime.GOARCH...
2020-10-16T16:11:02
nodejs/node
0300565af933e705452e35a68b8befbb3afac719
4de10273bbe7c4772bf142100945ed84dfc5e65d
zlib: warn before crash on invalid internals usage PR-URL: https://github.com/nodejs/node/pull/16657 Refs: https://github.com/nodejs/node/issues/16649 Refs: https://github.com/nodejs/node/issues/14161 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Myles Borins ...
[ { "path": "src/node_zlib.cc", "patch": "@@ -422,6 +422,16 @@ class ZCtx : public AsyncWrap {\n \n // just pull the ints out of the args and call the other Init\n static void Init(const FunctionCallbackInfo<Value>& args) {\n+ // Refs: https://github.com/nodejs/node/issues/16649\n+ // Refs: https://...
2017-10-31T23:37:51
ollama/ollama
823a520266ab51442d8f2d8631a0c2676f79dd3d
66ef308abdccf3e0098715f66253898e9ff12702
Fix lint error on ignored error for win console
[ { "path": "cmd/cmd.go", "patch": "@@ -815,7 +815,7 @@ func NewCLI() *cobra.Command {\n \n \tif runtime.GOOS == \"windows\" {\n \t\t// Enable colorful ANSI escape code in Windows terminal (disabled by default)\n-\t\tconsole.ConsoleFromFile(os.Stdout)\n+\t\tconsole.ConsoleFromFile(os.Stdout) //nolint:errcheck...
2024-02-14T03:38:52
ggml-org/llama.cpp
34ec1c3f182712302f55deca023e465a18a4897c
e877ad8bd9e2f147d8f8244511b852cdade27953
server : merge contiguous Responses input items into a single assistant message (#19773) * server : merge contiguous input items into a single assistant message * cont : simplify tool call msg * cont : reduce and combine content * cont : fix merging content items
[ { "path": "tools/server/server-common.cpp", "patch": "@@ -1105,6 +1105,8 @@ json convert_responses_to_chatcmpl(const json & response_body) {\n };\n \n for (json item : input_value) {\n+ bool merge_prev = !chatcmpl_messages.empty() && chatcmpl_messages.back().value(\"role\", \"\") ...
2026-02-22T13:11:31
golang/go
606d4a38b9ae76df30cc1bcaeee79923a5792e59
dfee3332e66bd3f3afd76615767d2cd9b1905b26
net/http: ensure Request.Body.Close is called once and only once Makes *Request.write always close the body, so that callers no longer have to close the body on returned errors, which was the trigger for double-close behavior. Fixes #40382 Change-Id: I128f7ec70415f240d82154cfca134b3f692191e3 Reviewed-on: https://go-...
[ { "path": "src/net/http/client_test.go", "patch": "@@ -2026,3 +2026,60 @@ func TestClientPopulatesNilResponseBody(t *testing.T) {\n \t\tt.Errorf(\"substitute Response.Body was unexpectedly non-empty: %q\", b)\n \t}\n }\n+\n+// Issue 40382: Client calls Close multiple times on Request.Body.\n+func TestClient...
2020-09-26T15:49:56
ggml-org/llama.cpp
e877ad8bd9e2f147d8f8244511b852cdade27953
35715657cb2fa6eb302a2c1933ed10dbd0d8bc75
ci : fix rocm release path [no ci] (#19784)
[ { "path": ".github/workflows/release.yml", "patch": "@@ -609,7 +609,7 @@ jobs:\n - name: Upload artifacts\n uses: actions/upload-artifact@v6\n with:\n- path: llama-bin-ubuntu-rocm-${{ matrix.ROCM_VERSION }}-${{ matrix.build }}.tar.gz\n+ path: llama-${{ steps.tag.outpu...
2026-02-22T07:07:46
huggingface/transformers
a564d10afe1a78c31934f0492422700f61a0ffc0
7f08817be46041502d6ddcde26c475dd1fadaaf5
Deprecate low use models (#30781) * Deprecate models - graphormer - time_series_transformer - xlm_prophetnet - qdqbert - nat - ernie_m - tvlt - nezha - mega - jukebox - vit_hybrid - x_clip - deta - speech_to_text_2 - efficientformer - realm - gptsan_japanese * Fix up * Fix speech2text2 imports ...
[ { "path": "docs/source/en/model_doc/deta.md", "patch": "@@ -16,6 +16,14 @@ rendered properly in your Markdown viewer.\n \n # DETA\n \n+<Tip warning={true}>\n+\n+This model is in maintenance mode only, we don't accept any new PRs changing its code.\n+If you run into any issues running this model, please rein...
2024-05-28T17:07:07
golang/go
e981936855383883edb5fcc85a196c485b15f0f9
af8748054b40e9a1e529e42a0f83cc2c90a35af6
cmd/internal/obj/ppc64,cmd/asm/internal/asm/testdata: fix up ppc64 testcases When a fix was made at the end of the last release related to NOPs, it was discovered that the ppc64.s testcase was out of date and contained comments that weren't being processed. Essentially the instructions in that test were being assemble...
[ { "path": "src/cmd/asm/internal/asm/endtoend_test.go", "patch": "@@ -442,10 +442,6 @@ func TestPPC64EndToEnd(t *testing.T) {\n \ttestEndToEnd(t, \"ppc64\", \"ppc64\")\n }\n \n-func TestPPC64Encoder(t *testing.T) {\n-\ttestEndToEnd(t, \"ppc64\", \"ppc64enc\")\n-}\n-\n func TestRISCVEncoder(t *testing.T) {\n ...
2020-10-06T21:08:31
ggml-org/llama.cpp
a0c91e8f9f69c11bbdb1111af20537e206f0866f
07968d53e4c4421e227ef816d9732cdd5abfc78d
Improve CUDA graph capture (#19754) * Improve CUDA graph capture Currently, CUDA graphs are eagerly enabled on the first call to ggml_backend_cuda_graph_compute. If the graph properties keep changing (4+ consecutive updates), the graph is permanently disabled. This is suboptimal because: - The first call always incu...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -1149,8 +1149,7 @@ struct ggml_cuda_graph {\n size_t num_nodes = 0;\n std::vector<cudaGraphNode_t> nodes;\n bool disable_due_to_gpu_arch = false;\n- bool disable_due_to_too_many_updates = false;\n- int number_consecutive_updates = 0;\...
2026-02-21T09:39:36
huggingface/transformers
3264be4114a64af94058e3fab17a8a1ebc5899fa
476890e9aeb695c746efe093c6ab7440322c9077
TST: Fix instruct-blip tests (#31088) * fix flan t5 tests * better format
[ { "path": "tests/models/instructblip/test_modeling_instructblip.py", "patch": "@@ -559,20 +559,22 @@ def test_inference_vicuna_7b(self):\n logits = model(**inputs).logits\n \n expected_slice = torch.tensor(\n- [[-3.4902, -12.5078, 8.4141], [-5.1211, -12.1328, 7.8281], [-4.0312...
2024-05-28T16:29:11
ollama/ollama
caf2b13c10f912bef00dbab98cb1ed232aa5854c
1d263449ff4926448e95f9656a6db740b5483481
Fix infinite keep_alive (#2480)
[ { "path": "api/types.go", "patch": "@@ -415,8 +415,7 @@ func (d *Duration) UnmarshalJSON(b []byte) (err error) {\n \tswitch t := v.(type) {\n \tcase float64:\n \t\tif t < 0 {\n-\t\t\tt = math.MaxFloat64\n-\t\t\td.Duration = time.Duration(t)\n+\t\t\td.Duration = time.Duration(math.MaxInt64)\n \t\t} else {\n ...
2024-02-13T23:40:32
ggml-org/llama.cpp
07968d53e4c4421e227ef816d9732cdd5abfc78d
ba3b9c8844aca35ecb40d31886686326f22d2214
fix: UI single model selection in router mode (#19767)
[ { "path": "tools/server/webui/src/lib/components/app/models/ModelsSelector.svelte", "patch": "@@ -251,9 +251,6 @@\n \t\t\treturn options.find((option) => option.id === activeId);\n \t\t}\n \n-\t\tif (options.length === 1) {\n-\t\t\treturn options[0];\n-\t\t}\n \t\t// No selection - return undefined to show ...
2026-02-21T08:28:39
huggingface/transformers
476890e9aeb695c746efe093c6ab7440322c9077
aada568f73953d0678bbb0d605bfeed46fb209fd
Fix DeepSpeed compatibility with weight_norm (#30881) (#31018)
[ { "path": "src/transformers/models/hubert/modeling_hubert.py", "patch": "@@ -295,8 +295,14 @@ def __init__(self, config):\n \n with deepspeed.zero.GatheredParameters(self.conv.weight, modifier_rank=0):\n self.conv = weight_norm(self.conv, name=\"weight\", dim=2)\n- dee...
2024-05-28T16:25:15
golang/go
af8748054b40e9a1e529e42a0f83cc2c90a35af6
912262b806a432a29302e0cee45e4f42ef7038a2
sort: update comments - Describe requirements on Less more precisely. - Standardize on x for the variable name of the data being sorted (was variously a, p, slice). - Many other minor wording changes. Fixes #41951. Change-Id: Ic9e222a53ec035fcc3b5ddfc7f0eefbe1bb2890d Reviewed-on: https://go-review.googlesource.com...
[ { "path": "src/sort/slice.go", "patch": "@@ -4,34 +4,38 @@\n \n package sort\n \n-// Slice sorts the provided slice given the provided less function.\n+// Slice sorts the slice x given the provided less function.\n+// It panics if x is not a slice.\n //\n-// The sort is not guaranteed to be stable. For a st...
2020-10-15T16:09:56
ggml-org/llama.cpp
ba3b9c8844aca35ecb40d31886686326f22d2214
94b0200a01a753eff5897dab9311f51a7bc1c62f
hexagon : fix build release (#19444) (#19587)
[ { "path": "CMakeLists.txt", "patch": "@@ -1,4 +1,4 @@\n-cmake_minimum_required(VERSION 3.14) # for add_link_options and implicit target directories.\n+cmake_minimum_required(VERSION 3.14...3.28) # for add_link_options and implicit target directories.\n project(\"llama.cpp\" C CXX)\n include(CheckIncludeFile...
2026-02-21T00:40:00
nodejs/node
4de10273bbe7c4772bf142100945ed84dfc5e65d
e232cd8d2244fb40d838f100aa41b08b55a5d57b
test: replace common.fixturesDir with fixtures module Require `fixturesDir` from `fixtures` module instead of `common` in test-fs-realpath-buffer-encoding. PR-URL: https://github.com/nodejs/node/pull/16803 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ri...
[ { "path": "test/parallel/test-fs-realpath-buffer-encoding.js", "patch": "@@ -1,9 +1,10 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const fs = require('fs');\n \n-const string_dir = fs.realpathSync(common.fi...
2017-11-06T15:06:00
huggingface/transformers
aada568f73953d0678bbb0d605bfeed46fb209fd
3af7bf30ad076c0b6d60d6854adc50b1f6a05b51
Fix PretrainedConfig docstring with deprecated resume_download (#31014)
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -536,9 +536,9 @@ def from_pretrained(\n force_download (`bool`, *optional*, defaults to `False`):\n Whether or not to force to (re-)download the configuration files and override the cached versions if\n ...
2024-05-28T15:47:35
ollama/ollama
48a273f80ba1f0fc7a5ed8881c0dc14fc664ea4e
939c60473f6f8783e31a055c2847caa6099f3e2c
Fix issues with templating prompt in chat mode (#2460)
[ { "path": "docs/modelfile.md", "patch": "@@ -86,7 +86,7 @@ There are two ways to view `Modelfile`s underlying the models in [ollama.com/lib\n # FROM llama2:13b\n \n FROM /root/.ollama/models/blobs/sha256:123abc\n- TEMPLATE \"\"\"[INST] {{ if and .First .System }}<<SYS>>{{ .System }}<</SYS>>\n+ TEMPLAT...
2024-02-12T23:06:57