repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
363301f2219fff6ad05bd98a51faa1cc510b040e
e1c2b69c341f088d59949d1eabfc022c12d4c797
support loading model without config.json file (#32356) * support loading model without config.json file * fix condition * update tests * add test * ruff * ruff * ruff
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -565,6 +565,8 @@ def get_config_dict(\n original_kwargs = copy.deepcopy(kwargs)\n # Get config dict associated with the base config file\n config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwa...
2024-09-06T11:49:47
vercel/next.js
8ddcc6aedb6dcd424ff0e44c8d47450ae77a3723
a5029e9fd4cefaecf6857c056ea377f862a92275
Fix removing whitespacing in dev overlay (#28277) ## Bug - [x] Related issues linked using `fixes #number` fixes #14434 Before ![image](https://user-images.githubusercontent.com/31622972/130001431-392efc66-69b3-47b5-802a-251a545983fd.png) After ![image](https://user-images.githubusercontent.com/31622972/13000145...
[ { "path": "packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx", "patch": "@@ -14,7 +14,11 @@ export const CodeFrame: React.FC<CodeFrameProps> = function CodeFrame({\n const formattedFrame = React.useMemo<string>(() => {\n const lines = codeFrame.split(/\\r?\\n/g)\n const pr...
2022-08-08T02:16:42
ollama/ollama
35ec7f079ff3d08b1b837bffe202107abaa00555
5231ae52d9b5d4044f96f90029fbdc9789bb9761
Fix unicode output on windows with redirect to file (#7358) If we're not writing out to a terminal, avoid setting the console mode on windows, which corrupts the output file.
[ { "path": "cmd/cmd.go", "patch": "@@ -1318,7 +1318,7 @@ func NewCLI() *cobra.Command {\n \tlog.SetFlags(log.LstdFlags | log.Lshortfile)\n \tcobra.EnableCommandSorting = false\n \n-\tif runtime.GOOS == \"windows\" {\n+\tif runtime.GOOS == \"windows\" && term.IsTerminal(int(os.Stdout.Fd())) {\n \t\tconsole.Co...
2024-10-25T20:43:16
nodejs/node
da7804f25914fe5a460db01c2e234dafc3649dfc
57d7638af3dab44129d6008f356b9b1598d72d51
fs: throw fs.lstat{Sync} errors in JS PR-URL: https://github.com/nodejs/node/pull/17914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -1123,7 +1123,11 @@ fs.lstatSync = function(path) {\n handleError((path = getPathFromURL(path)));\n nullCheck(path);\n validatePath(path);\n- binding.lstat(pathModule.toNamespacedPath(path));\n+ const ctx = { path };\n+ binding.lstat(pathModule.toNamespacedPath(p...
2017-12-28T06:51:05
rust-lang/rust
5d7e55cc110e63cee8d24c0b9d60d3835cc5302b
ae3216e702eacef0b60d6df336cc3faf30d8ee4a
Mention about .fixed files
[ { "path": "book/src/development/adding_lints.md", "patch": "@@ -127,16 +127,18 @@ fn main() {\n \n Note that we are adding comment annotations with the name of our lint to mark\n lines where we expect an error. Once we have implemented our lint we can run\n-`TESTNAME=foo_functions cargo uibless` to generate...
2025-03-17T12:25:26
golang/go
eae8fd519b2cbfa253f2f9068587e0ce765efced
837b35cc55c258bb57ac9fa337ed0783a6fcc617
[dev.regabi] cmd/compile: iexport debug crumbs for toolstash Prints offsets for declarations, inline bodies, and strings when -v is used. Still not much, but hopefully useful for narrowing down the cause of export data differences. Change-Id: I9b2e4a3d55b92823fa45a39923e8c4b25303693c Reviewed-on: https://go-review.go...
[ { "path": "src/cmd/compile/internal/gc/iexport.go", "patch": "@@ -290,6 +290,10 @@ func iexport(out *bufio.Writer) {\n \tw.writeIndex(p.inlineIndex, false)\n \tw.flush()\n \n+\tif *base.Flag.LowerV {\n+\t\tfmt.Printf(\"export: hdr strings %v, data %v, index %v\\n\", p.strings.Len(), dataLen, p.data0.Len())\...
2020-12-08T09:28:57
huggingface/transformers
1bd9d1c89998d7cf7f1ce0290e8944e9299cf407
51d15eb1c149f2d31b08766e7a21d5cebaa55b17
fix qwen2vl vision eager-attention (#33213) * fix-qwen2vl-vision-eager-attention * code-quality * Update src/transformers/models/qwen2_vl/modeling_qwen2_vl.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * code-quality --------- Co-authored-by: Arthur <48595927+ArthurZucker...
[ { "path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py", "patch": "@@ -275,6 +275,7 @@ class VisionAttention(nn.Module):\n def __init__(self, dim: int, num_heads: int = 16) -> None:\n super().__init__()\n self.num_heads = num_heads\n+ self.head_dim = dim // num_heads\n ...
2024-09-06T11:42:17
vercel/next.js
a5029e9fd4cefaecf6857c056ea377f862a92275
963585a4fcbc7af68dae759a96936f9973d861c2
Allow custom path for preview mode cookies (#38313) * Allow custom path for preview mode cookies * update params order and tests * update tests * fix tests and update docs Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "docs/advanced-features/preview-mode.md", "patch": "@@ -194,10 +194,12 @@ Then, send a request to `/api/clear-preview-mode-cookies` to invoke the API Rout\n `setPreviewData` takes an optional second parameter which should be an options object. It accepts the following keys:\n \n - `maxAge`: Specif...
2022-08-08T01:45:30
rust-lang/rust
d5c4ed04842235b08119fde271151f7f17b57139
8e235258f38e43c4b565c5393d96aa5381d366bf
(re)move fixed crash tests
[ { "path": "tests/crashes/100618.rs", "patch": "@@ -1,12 +0,0 @@\n-//@ known-bug: #100618\n-//@ compile-flags: -Cdebuginfo=2\n-\n-//@ only-x86_64\n-enum Foo<T: 'static> {\n- Value(T),\n- Recursive(&'static Foo<Option<T>>),\n-}\n-\n-fn main() {\n- let _x = Foo::Value(());\n-}", "additions": 0, ...
2025-03-17T11:43:31
ollama/ollama
5231ae52d9b5d4044f96f90029fbdc9789bb9761
3085c47bea508e638c0b9f15a2f4c00afd83b66d
Fix incremental build file deps (#7361) The common src/hdr defs should be in the common definitions, not gpu specific.
[ { "path": "llama/make/common-defs.make", "patch": "@@ -76,3 +76,9 @@ else\n \tCP := cp -af\n endif\n \n+COMMON_SRCS := \\\n+\t$(wildcard *.c) \\\n+\t$(wildcard *.cpp)\n+COMMON_HDRS := \\\n+\t$(wildcard *.h) \\\n+\t$(wildcard *.hpp)", "additions": 6, "deletions": 0, "language": "Unknown" }, {...
2024-10-25T18:50:45
nodejs/node
57d7638af3dab44129d6008f356b9b1598d72d51
791975d1895c1b037d539d9191d4e60a6fdf0c5d
fs: throw fs.stat{Sync} errors in JS PR-URL: https://github.com/nodejs/node/pull/17914 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -441,7 +441,11 @@ fs.existsSync = function(path) {\n return false;\n }\n nullCheck(path);\n- binding.stat(pathModule.toNamespacedPath(path));\n+ const ctx = { path };\n+ binding.stat(pathModule.toNamespacedPath(path), undefined, ctx);\n+ if (ctx....
2017-12-27T20:01:45
golang/go
4090af83c57c857de600ada68e7a27dffd37d8b1
e2d278bfeb2f0f117efc50b3f0f9dcb086a45ed2
[dev.regabi] cmd/compile: use reflection in ir.Dump ir.Dump is the final (I think!) piece of the compiler that was walking nodes using Left, Right etc without knowing what they meant. This CL uses reflection to walk nodes without knowing what they mean instead. One benefit is that we can print actual meanings (field n...
[ { "path": "src/cmd/compile/internal/ir/fmt.go", "patch": "@@ -10,6 +10,9 @@ import (\n \t\"go/constant\"\n \t\"io\"\n \t\"os\"\n+\t\"path/filepath\"\n+\t\"reflect\"\n+\t\"strings\"\n \n \t\"unicode/utf8\"\n \n@@ -957,17 +960,6 @@ func dumpNodeHeader(w io.Writer, n Node) {\n \t\tfmt.Fprintf(w, \" defn(%p)\",...
2020-12-06T20:17:05
huggingface/transformers
51d15eb1c149f2d31b08766e7a21d5cebaa55b17
2b789f27f383435b8db2fee3d10b0a1358c0c234
[whisper] alternative fix for long-form timestamps (#32131) * [whisper] alternative fix for long-form timestamps * update test
[ { "path": "src/transformers/models/whisper/tokenization_whisper.py", "patch": "@@ -587,11 +587,20 @@ def _compute_offsets(self, token_ids, time_precision=0.02):\n consecutive = np.append(consecutive, np.where(timestamp_tokens)[0][-1] + 1)\n \n last_slice = np.where(timestamp_tokens)[0][0...
2024-09-06T10:57:08
vercel/next.js
963585a4fcbc7af68dae759a96936f9973d861c2
0796b6faa991cd58a517b0f160320e9978208066
fix: improve logging for _devPagesManifest.json loading failures (#38046) ## Bug - [x] Fixes #38047 - ~[ ] Integration tests added: do you want them added for such an unusual edge case?~ [Comment below: skipping](https://github.com/vercel/next.js/pull/38046#issuecomment-1207444526) - [x] Errors have helpful link atta...
[ { "path": "errors/failed-to-fetch-devpagesmanifest.md", "patch": "@@ -0,0 +1,18 @@\n+# Failed to fetch devPagesManifest\n+\n+#### Why This Error Occurred\n+\n+The network request to load `_devPagesManifest.json` did not succeed.\n+\n+The dev pages manifest file is used by `next/link` to retrieve the list of...
2022-08-07T19:36:03
ollama/ollama
3085c47bea508e638c0b9f15a2f4c00afd83b66d
0ccc73251a1ef115eb13caf6a190d2e841402b80
Improve dependency gathering logic (#7345) This unfies the rocm/cuda dependency logic into the makefile and fixes a missing define which broke windows rocm
[ { "path": "llama/Makefile", "patch": "@@ -9,8 +9,7 @@ ifeq ($(OS),windows)\n \tCUDA_BASE_DIR := $(dir $(shell cygpath -m -s \"$(CUDA_PATH)\\\\..\" 2>/dev/null))\n \tCUDA_11:=$(shell ls -d $(CUDA_BASE_DIR)/v11.? 2>/dev/null)\n \tCUDA_12:=$(shell ls -d $(CUDA_BASE_DIR)/v12.? 2>/dev/null)\n-\tHIP_PATH_83 := $(...
2024-10-24T16:51:53
nodejs/node
316b5efd6b02379a490ce62c31a13122729ff1dd
4319780389badf4e173f57408b42949a2841a188
n-api: throw RangeError napi_create_typedarray() According to the ECMA spec, we should throw a RangeError in the following cases: - `(length * elementSize) + offset` > the size of the array passed in - `offset % elementSize` != `0` In the current implementation, this check was omitted. So, the following code will...
[ { "path": "doc/api/errors.md", "patch": "@@ -1328,6 +1328,18 @@ While using `N-API`, `Constructor.prototype` was not an object.\n While calling `napi_create_dataview()`, a given `offset` was outside the bounds\n of the dataview or `offset + length` was larger than a length of given `buffer`.\n \n+<a id=\"ER...
2018-01-08T14:37:27
huggingface/transformers
1759bb9126e59405f58693a17ef9f58040c2008b
5792c459ed8ac0d37a0112e980fecdd59f05ec9c
Fix: StaticCache & `inputs_embeds` (#32932) squash commit
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1481,6 +1481,7 @@ def _prepare_cache_for_generation(\n model_kwargs: Dict,\n assistant_model: \"PreTrainedModel\",\n batch_size: int,\n+ max_cache_length: int,\n device: torch.device,\n ) -> bool:\n ...
2024-09-06T07:56:59
golang/go
e2d278bfeb2f0f117efc50b3f0f9dcb086a45ed2
dbf2fc8cff5f7d6a5fcbeea0d4b0349cc7d158e2
[dev.regabi] cmd/compile: two small fixes Addressing comments from CL 275434 and CL 275444. I forgot to run "git rw" to rebase the fixup CLs down before running "git submit". Change-Id: Ideaa2340a81511491c096555c6834cd9bdb267d8 Reviewed-on: https://go-review.googlesource.com/c/go/+/275881 Trust: Russ Cox <rsc@golang....
[ { "path": "src/cmd/compile/internal/ir/mknode.go", "patch": "@@ -144,7 +144,7 @@ func forNodeFields(typName string, typ *types.Struct, f func(name string, is fun\n \t\t\tif strings.ToLower(strings.TrimSuffix(v.Name(), \"_\")) != \"body\" {\n \t\t\t\tcontinue\n \t\t\t}\n-\t\tcase \"Name\", \"Pack\":\n+\t\tca...
2020-12-07T20:26:24
vercel/next.js
0796b6faa991cd58a517b0f160320e9978208066
a720dbdc4c0411ff0384449d00e125b4d3f0f1c5
Add runtime to PageConfig type (#37453) * Add runtime to PageConfig type * Add test case for runtime type * Apply suggestions from code review * dedupe type * fix import * fix lint Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/build/analysis/get-page-static-info.ts", "patch": "@@ -1,4 +1,4 @@\n-import { isServerRuntime, ServerRuntime } from '../../server/config-shared'\n+import { isServerRuntime } from '../../server/config-shared'\n import type { NextConfig } from '../../server/config-shared'\n import {\n...
2022-08-07T19:16:10
ollama/ollama
0ccc73251a1ef115eb13caf6a190d2e841402b80
dc6fe820512d1046f3a342e384baa64b8ce1758c
fix #7247 - invalid image input (#7249) --------- Co-authored-by: Bill Wang <bill.wang@bill.wang>
[ { "path": "docs/openai.md", "patch": "@@ -37,7 +37,7 @@ response = client.chat.completions.create(\n {\"type\": \"text\", \"text\": \"What's in this image?\"},\n {\n \"type\": \"image_url\",\n- \"image_url\": \"iVBORw0KGgoAAAANSUhEUgAAAG...
2024-10-23T17:31:04
huggingface/transformers
21fac7abba2a37fae86106f87fcf9974fd1e3830
5d11de4a2f523c5202610d5a572c164744b7e66b
simple align qwen2vl kv_seq_len calculation with qwen2 (#33161) * qwen2vl_align_kv_seqlen_to_qwen2 * flash att test * [run-slow] qwen2_vl * [run-slow] qwen2_vl fix OOM * [run-slow] qwen2_vl * Update tests/models/qwen2_vl/test_modeling_qwen2_vl.py Co-authored-by: Raushan Turganbay <raushan.turganbay@a...
[ { "path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py", "patch": "@@ -550,8 +550,13 @@ def forward(\n \n kv_seq_len = key_states.shape[-2]\n if past_key_value is not None:\n- kv_seq_len += cache_position[0] + 1\n-\n+ if self.layer_idx is None:\n+ ...
2024-09-05T16:19:30
nodejs/node
d07c6f9739360954e8e6c6f16bf061a7f64bda9c
f76ef504326f8a37cdb0d3dae705239d685abffc
assert: throw without args in ok `assert.ok()` should always receive a value. Otherwise there might be a bug or it was intended to use `assert.fail()`. PR-URL: https://github.com/nodejs/node/pull/17581 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: R...
[ { "path": "doc/api/assert.md", "patch": "@@ -645,6 +645,11 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the\n ## assert.ok(value[, message])\n <!-- YAML\n added: v0.1.21\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/17581\n+ descr...
2018-01-15T22:37:09
golang/go
5627a4dc3013fed02c4b8097413643b682cac276
db6032dd0cbce3e4feff0160287cbe3d9234a540
runtime/metrics: simplify test to support more environments go test sets the working directory to that of the package being tested, so opening one of the package source files can be done in a simpler way. This also allows the test to run in more environments, for example when GOROOT_FINAL¹ is set. Also remove the tes...
[ { "path": "src/runtime/metrics/description_test.go", "patch": "@@ -7,9 +7,7 @@ package metrics_test\n import (\n \t\"bufio\"\n \t\"os\"\n-\t\"path/filepath\"\n \t\"regexp\"\n-\t\"runtime\"\n \t\"runtime/metrics\"\n \t\"strings\"\n \t\"testing\"\n@@ -26,17 +24,9 @@ func TestDescriptionNameFormat(t *testing.T...
2020-12-09T00:44:33
vercel/next.js
a720dbdc4c0411ff0384449d00e125b4d3f0f1c5
591045824534fa360d6077268112d43523bd0cbe
fix(next): dev server starting when importing a file using get-projec… (#38274) Fixes: #38232 Fixes: https://github.com/vercel/next.js/issues/36893 Version [12.1.1-canary.5](https://github.com/vercel/next.js/releases/tag/v12.1.1-canary.5) introduced a bug, more specifically this PR: https://github.com/vercel/next.js...
[ { "path": "packages/next/bin/next.ts", "patch": "@@ -2,6 +2,7 @@\n import * as log from '../build/output/log'\n import arg from 'next/dist/compiled/arg/index.js'\n import { NON_STANDARD_NODE_ENV } from '../lib/constants'\n+import { commands } from '../lib/commands'\n ;['react', 'react-dom'].forEach((depende...
2022-08-07T17:31:30
huggingface/transformers
5d11de4a2f523c5202610d5a572c164744b7e66b
132e87500e1ee5a3ef10492222888ef9e0328d7d
Add Qwen2Moe GGUF loading support (#33264) * update gguf doc, config and tensor mapping * add qwen2moe architecture support, GGUFQwen2MoeConverter and q4 unit tests * apply code style fixes * reformat files * assign GGUFQwen2Converter to qwen2_moe
[ { "path": "docs/source/en/gguf.md", "patch": "@@ -78,6 +78,7 @@ For now the supported model architectures are the architectures that have been v\n - LLaMa\n - Mistral\n - Qwen2\n+- Qwen2Moe\n \n ## Example usage\n ", "additions": 1, "deletions": 0, "language": "Markdown" }, { "path": "sr...
2024-09-05T15:42:03
ollama/ollama
5c44461ccfd0bfca4815e9447b7cf20a74b6494f
03e40efa51a75a4e8385b64996af6468f42f6c06
Fix rocm windows build and clean up dependency gathering (#7305) On windows ensure windows version define is properly set for rocm. Remove duplicate rocm arch flags. Resolve wildcards in the targets so parallel builds don't race. Use readlink to resolve rocm dependencies since wildcards omit libelf Keep windows ro...
[ { "path": "llama/Dockerfile", "patch": "@@ -9,7 +9,7 @@ ARG ROCM_VERSION=6.1.2\n \n ### To create a local image for building linux binaries on mac or windows with efficient incremental builds\n #\n-# docker build --platform linux/amd64 -t builder-amd64 -f Dockerfile.new --target unified-builder-amd64 .\n+# ...
2024-10-22T19:54:15
golang/go
c32566c336519f378c07575b0149507a261032e9
6015c4e543bcf07c01a4221ecf7692162653fa24
[dev.typeparams] cmd/compile/internal/types2: avoid endless recursion in Comparable predicate Use a map to detect recursive types. With this we can now typecheck fixedbugs/issue8501.go. Updates #43088. Change-Id: I7fad6ccf6c94268473ff72b09a3158e13a7f4cc3 Reviewed-on: https://go-review.googlesource.com/c/go/+/276374 ...
[ { "path": "src/cmd/compile/internal/types2/issues_test.go", "patch": "@@ -531,3 +531,28 @@ func TestIssue34921(t *testing.T) {\n \t\tpkg = res // res is imported by the next package in this test\n \t}\n }\n+\n+func TestIssue43088(t *testing.T) {\n+\t// type T1 struct {\n+\t// x T2\n+\t// }\n+\t//\n+...
2020-12-09T00:58:00
vercel/next.js
591045824534fa360d6077268112d43523bd0cbe
0d5a692d0e85293e2997ed05c9914e5b169f0f64
update examples/custom-server-fastify and replace depreaction (#38269) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request...
[ { "path": "examples/custom-server-fastify/package.json", "patch": "@@ -6,10 +6,10 @@\n \"start\": \"cross-env NODE_ENV=production node ./server.js\"\n },\n \"dependencies\": {\n- \"cross-env\": \"^7.0.2\",\n- \"fastify\": \"^3.19.1\",\n+ \"cross-env\": \"^7.0.3\",\n+ \"fastify\": \"^4.2....
2022-08-07T16:52:02
huggingface/transformers
c6d2848a23aba42404784ba52e421ae7b8c68eda
03164ba14e1ce02b469e9dd066b5f2d805d0ab10
🚨 Fix `torch.jit.trace` for `interpolate_pos_encoding` in all vision models (#33226) * Fix `torch.jit.tracing` for `interpolate_pos_encoding` in all vision models * Apply formatting * Add missing `self.config = config` * Fix copies * Fix hiera interpolation unit test * Formatting * Update `_import_s...
[ { "path": "src/transformers/models/beit/modeling_beit.py", "patch": "@@ -41,6 +41,7 @@\n add_start_docstrings_to_model_forward,\n logging,\n replace_return_docstrings,\n+ torch_int,\n )\n from ...utils.backbone_utils import BackboneMixin\n from .configuration_beit import BeitConfig\n@@ -150,4...
2024-09-05T14:17:34
ollama/ollama
03e40efa51a75a4e8385b64996af6468f42f6c06
23f746508d1685bc1bbee9ac4cd600bf5f8e6167
runner.go: Merge partial unicode characters before sending We check for partial unicode characters and accumulate them before sending. However, when we did send, we still sent each individual piece separately, leading to broken output. This combines everything into a single group, which is also more efficient. This a...
[ { "path": "integration/basic_test.go", "patch": "@@ -30,6 +30,22 @@ func TestOrcaMiniBlueSky(t *testing.T) {\n \tGenerateTestHelper(ctx, t, req, []string{\"rayleigh\", \"scattering\"})\n }\n \n+func TestUnicodeOutput(t *testing.T) {\n+\tctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)...
2024-10-21T18:07:19
rust-lang/rust
a1bdc191ba5c3976d7f1d09d894a8c41760166fb
48005578576c7820590f680b92f5f6213b9165f5
Reinstate `single_match`/`single_match_else` lints with comments Commit efe3fe9b8c5f16bbf39af7415bbde9441bc54dbb removed the ability for `single_match` and `single_match_else` to trigger if comments were present outside of the arms, as those comments would be lost while rewriting the `match` expression. This reinstat...
[ { "path": "clippy_lints/src/matches/mod.rs", "patch": "@@ -1110,11 +1110,9 @@ impl<'tcx> LateLintPass<'tcx> for Matches {\n }\n }\n }\n- // If there are still comments, it means they are outside of the arms, therefore...
2025-03-16T18:12:56
golang/go
db6032dd0cbce3e4feff0160287cbe3d9234a540
854a2f8e01a554d8052445563863775406a04b71
cmd/compile: fix message typo occurences -> occurrences Change-Id: Ia81671f5de8a24ddd303a77b4580e8c726f29122 GitHub-Last-Rev: 11f9ab9f8c2c9acd70bcf170930426547d9b63eb GitHub-Pull-Request: golang/go#43097 Reviewed-on: https://go-review.googlesource.com/c/go/+/276612 Reviewed-by: Robert Griesemer <gri@golang.org> Revie...
[ { "path": "src/cmd/compile/internal/logopt/logopt_test.go", "patch": "@@ -51,7 +51,7 @@ func want(t *testing.T, out string, desired string) {\n \n func wantN(t *testing.T, out string, desired string, n int) {\n \tif strings.Count(out, desired) != n {\n-\t\tt.Errorf(\"expected exactly %d occurences of %s in ...
2020-12-09T14:17:56
huggingface/transformers
47b096412da9cbeb9351806e9f0eb70a693b2859
43df47d8e78238021a4273746fc469336f948314
Fix: Fix `FalconMamba` training issues due to incompatible kernels (#33195) * fix FM training kernels * fix copies * fix copies * propagate to slow path * make it BC * add comment * fix test
[ { "path": "src/transformers/kernels/falcon_mamba/__init__.py", "patch": "@@ -0,0 +1,15 @@\n+# coding=utf-8\n+# Copyright 2024 Tri Dao, Albert Gu, Technological Innovation Institute and HuggingFace Inc. team.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this f...
2024-09-05T09:55:08
vercel/next.js
32383521cca321a56d22e7b58a2e71c48eea2628
dc13c12ccced3d709e9dfe4b5425f4ea355a10db
fix(ts): More strict Redirect type (#38277) * fix(ts): More strict Redirect type * lint-fix Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/lib/load-custom-routes.ts", "patch": "@@ -42,9 +42,16 @@ export type Redirect = {\n basePath?: false\n locale?: false\n has?: RouteHas[]\n- statusCode?: number\n- permanent?: boolean\n-}\n+} & (\n+ | {\n+ statusCode?: never\n+ permanent: boolean\n+ }\n+ | {\n+...
2022-08-07T16:38:47
rust-lang/rust
0ee94562c9e7e2e75a13f06d9820cd191e21a06a
9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a
fix download-llvm logic for subtree sync branches
[ { "path": "src/build_helper/src/git.rs", "patch": "@@ -140,6 +140,7 @@ pub fn get_closest_merge_commit(\n // cd \\\"/checkout\\\" && \\\"git\\\" \\\"merge-base\\\" \\\"origin/master\\\" \\\"HEAD\\\"\\nexpected success, got: exit status: 1\\n\"\n // ```\n // Investigate...
2025-03-17T14:49:28
golang/go
854a2f8e01a554d8052445563863775406a04b71
6fa06d960b5ec38867a35dc278ae318ecff1b6c6
net/http: add connections back that haven't been canceled Issue #41600 fixed the issue when a second request canceled a connection while the first request was still in roundTrip. This uncovered a second issue where a request was being canceled (in roundtrip) but the connection was put back into the idle pool for a sub...
[ { "path": "src/net/http/transport.go", "patch": "@@ -784,14 +784,17 @@ func (t *Transport) CancelRequest(req *Request) {\n }\n \n // Cancel an in-flight request, recording the error value.\n-func (t *Transport) cancelRequest(key cancelKey, err error) {\n+// Returns whether the request was canceled.\n+func (...
2020-12-03T00:07:27
nodejs/node
f76ef504326f8a37cdb0d3dae705239d685abffc
27925c4086d52e3858cbfabf0e55f52c20bce8ac
assert: improve simple assert This improves the error message in simple asserts by using the real call information instead of the already evaluated part. PR-URL: https://github.com/nodejs/node/pull/17581 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By:...
[ { "path": "doc/api/assert.md", "patch": "@@ -658,19 +658,50 @@ parameter is `undefined`, a default error message is assigned. If the `message`\n parameter is an instance of an [`Error`][] then it will be thrown instead of the\n `AssertionError`.\n \n+Be aware that in the `repl` the error message will be dif...
2017-12-09T22:20:07
vercel/next.js
dc13c12ccced3d709e9dfe4b5425f4ea355a10db
b1de1d10782657bf7412160f2b88314c690e3e8c
refactor: add named export in next/server (#39381) ## Bug When using next/server in different environment ([vitest](https://vitest.dev/)), named import will have runtime error. ```tsx import { NextRequest } from 'next/server' // TypeError: NextRequest is not a constructor const request = new NextRequest() ``` This is...
[ { "path": "packages/next/server.js", "patch": "@@ -14,4 +14,13 @@ if (typeof URLPattern !== 'undefined') {\n serverExports.URLPattern = URLPattern\n }\n \n+// https://nodejs.org/api/esm.html#commonjs-namespaces\n+// When importing CommonJS modules, the module.exports object is provided as the default expo...
2022-08-07T16:17:15
rust-lang/rust
0b0ccd403bf39e0c5d82a1d2b34f5af5ce3b5f4f
b754ef727ca87050a8d758fc44f524cfb4310eff
Fix miri
[ { "path": "src/tools/miri/src/lib.rs", "patch": "@@ -71,6 +71,7 @@ extern crate rustc_index;\n extern crate rustc_middle;\n extern crate rustc_session;\n extern crate rustc_span;\n+extern crate rustc_symbol_mangling;\n extern crate rustc_target;\n // Linking `rustc_driver` pulls in the required object code...
2024-06-30T20:27:00
huggingface/transformers
43df47d8e78238021a4273746fc469336f948314
9230d78e76611cfa38c845213021aeb185362d10
Llava Onevision: add model (#32673) * working version * fix copies * update * tests * update docs * codestyle * add more tests * add returns for docs * clean up * Update src/transformers/models/llava_onevision/processing_llava_onevision.py Co-authored-by: amyeroberts <22614925+amyeroberts...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -836,6 +836,8 @@\n title: LLaVA-NeXT\n - local: model_doc/llava_next_video\n title: LLaVa-NeXT-Video\n+ - local: model_doc/llava_onevision\n+ title: LLaVA-Onevision\n - local: model_doc/lxmert\n title: LXME...
2024-09-05T09:43:20
golang/go
6fa06d960b5ec38867a35dc278ae318ecff1b6c6
ae9b442df2436b3d65ef765572681bf9aacdfbbb
runtime: prevent stack growth after fork in runtime.sigfillset This fixes the unexpected growth of stack in child process, which is caused by stack checking code in runtime.sigfillset called from runtime.sigset while clearing the signal handlers in child process. The redundant stack checking code is generated due to ...
[ { "path": "src/runtime/os_linux_be64.go", "patch": "@@ -38,6 +38,7 @@ func sigdelset(mask *sigset, i int) {\n \t*mask &^= 1 << (uint(i) - 1)\n }\n \n+//go:nosplit\n func sigfillset(mask *uint64) {\n \t*mask = ^uint64(0)\n }", "additions": 1, "deletions": 0, "language": "Go" }, { "path": ...
2020-12-08T14:29:04
nodejs/node
27925c4086d52e3858cbfabf0e55f52c20bce8ac
eca73a2f82c8a52f37ad4c97b29d3cdecf32c93a
doc: suggest not to throw JS errors from C++ Also provide an example on how to use internal/errors to handle errors in C++. PR-URL: https://github.com/nodejs/node/pull/18149 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> ...
[ { "path": "CPP_STYLE_GUIDE.md", "patch": "@@ -20,7 +20,8 @@\n * [Others](#others)\n * [Type casting](#type-casting)\n * [Do not include `*.h` if `*-inl.h` has already been included](#do-not-include-h-if--inlh-has-already-been-included)\n- * [Avoid throwing JavaScript errors in nested C++ methods](#avoi...
2018-01-14T18:51:36
rust-lang/rust
5d7e55cc110e63cee8d24c0b9d60d3835cc5302b
ae3216e702eacef0b60d6df336cc3faf30d8ee4a
Mention about .fixed files
[ { "path": "book/src/development/adding_lints.md", "patch": "@@ -127,16 +127,18 @@ fn main() {\n \n Note that we are adding comment annotations with the name of our lint to mark\n lines where we expect an error. Once we have implemented our lint we can run\n-`TESTNAME=foo_functions cargo uibless` to generate...
2025-03-17T12:25:26
ollama/ollama
f2890a4494f9fb3722ee7a4c506252362d1eab65
05cd82ef94a5c4b14bc030dd93a94e18ed63e295
IBM granite/granitemoe architecture support (#6760) * fix(ext_server): Port llama.cpp sampling refactors to ext_server This was a fairly large changeset. I closely followed the changes here: https://github.com/ggerganov/llama.cpp/commit/df270ef74596da8f1178f08991f4c51f18c9ee82 Branch: IBMGraniteArchitectureSupp...
[ { "path": "llama/build-info.cpp", "patch": "@@ -1,5 +1,5 @@\n /**\n- * llama.cpp - commit 8962422b1c6f9b8b15f5aeaea42600bcc2d44177 - do not edit this file\n+ * llama.cpp - commit 3f1ae2e32cde00c39b96be6d01c2997c29bae555 - do not edit this file\n *\n * MIT License\n *", "additions": 1, "deletions"...
2024-10-17T18:59:52
vercel/next.js
b1de1d10782657bf7412160f2b88314c690e3e8c
43a4a8e6a6fd1ebd42769dc2b24f63fb8b89e9b6
fix (examples): Changed the version of next-pwa (#39369) next-pwa verison 5.5.5 causes the app to [crash](https://github.com/shadowwalker/next-pwa/issues/370). See issue #39224 Changed the version to 5.5.4 and removed `^`. Fixes: https://github.com/vercel/next.js/issues/39383
[ { "path": "examples/progressive-web-app/package.json", "patch": "@@ -7,7 +7,7 @@\n },\n \"dependencies\": {\n \"next\": \"latest\",\n- \"next-pwa\": \"^5.4.1\",\n+ \"next-pwa\": \"5.5.4\",\n \"react\": \"^17.0.2\",\n \"react-dom\": \"^17.0.2\"\n },", "additions": 1, "deletion...
2022-08-07T15:25:47
huggingface/transformers
b3909989d38cc2666110e7bc6d114d29d942639c
a1faf22f2ce5b96b16f87d26e1243d4b14d5ca56
Fix excessive CPU memory usage with FSDP and cpu_ram_efficient_loading (#33154)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -958,6 +958,9 @@ def _load_state_dict_into_meta_model(\n )\n )\n ):\n+ if is_fsdp_enabled():\n+ param_device = \"cpu\" if is_local_dist_rank_0() else \"meta\"\n+\n # For bac...
2024-09-04T16:37:54
rust-lang/rust
d5c4ed04842235b08119fde271151f7f17b57139
8e235258f38e43c4b565c5393d96aa5381d366bf
(re)move fixed crash tests
[ { "path": "tests/crashes/100618.rs", "patch": "@@ -1,12 +0,0 @@\n-//@ known-bug: #100618\n-//@ compile-flags: -Cdebuginfo=2\n-\n-//@ only-x86_64\n-enum Foo<T: 'static> {\n- Value(T),\n- Recursive(&'static Foo<Option<T>>),\n-}\n-\n-fn main() {\n- let _x = Foo::Value(());\n-}", "additions": 0, ...
2025-03-17T11:43:31
golang/go
31496cfde50a490639ce0723f75de0f16a8291dd
01b76d5fbc4d4acdd28b08a061b072b73b22f44e
cmd/vet: vendor in x/tools, enable framepointer vet check Vendor in latest x/tools. Add framepointer vet check to vet. Fixes #43014 Change-Id: Ife72f85b1261aa60c0028041c58040d60a40918a Reviewed-on: https://go-review.googlesource.com/c/go/+/276372 Trust: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@g...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,5 +8,5 @@ require (\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n \tgolang.org/x/mod v0.4.0\n \tgolang.org/x/sys v0.0.0-20201204225414-ed752295db88 // indirect\n-\tgolang.org/x/tools v0.0.0-20201110201400-7099162a900a\n+\tgolang.org/x/tools v0.0.0-2...
2020-12-08T22:07:19
ollama/ollama
5dd0477fd4123e9ed76bc37361985357d45f70a2
c3d321d405df2076768de49cf999a3542224eabd
Fix regression on older macos versions (#7192) The new cgo compilation requires a flag to target older macos versions
[ { "path": "llama/llama.go", "patch": "@@ -3,12 +3,12 @@ package llama\n /*\n #cgo CFLAGS: -O2 -std=c11 -DGGML_BUILD=1 -DNDEBUG -DLOG_DISABLE_LOGS -DGGML_USE_LLAMAFILE\n #cgo CXXFLAGS: -O2 -std=c++11 -DGGML_BUILD=1 -DNDEBUG -DLOG_DISABLE_LOGS -DGGML_USE_LLAMAFILE\n-#cgo darwin,arm64 CFLAGS: -DGGML_USE_METAL ...
2024-10-13T17:47:42
nodejs/node
0c8aaf318ab8a501fe3075afb8fc175c744adcdb
1c29da8236f0017fa3a09eaeba3c48309d08375b
build: remove bench-* targets PR-URL: https://github.com/nodejs/node/pull/18150 Fixes: https://github.com/nodejs/node/issues/17053 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "Makefile", "patch": "@@ -1020,57 +1020,13 @@ ifeq ($(XZ), 0)\n \tssh $(STAGINGSERVER) \"touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/$(TARNAME)-$(OSTYPE)-$(ARCH).tar.xz.done\"\n endif\n \n-.PHONY: bench-net\n-bench-net: all\n-\t@$(NODE) benchmark/run.js net\n-\n-bench-crypto: all\n-\t@$(NODE) bench...
2018-01-14T19:19:51
huggingface/transformers
a1faf22f2ce5b96b16f87d26e1243d4b14d5ca56
cfd92c64f589dff9b357ce9a7165acf0af0586ad
[BUG] fix upper nltk version (#33301) fix upper nltk version
[ { "path": "setup.py", "patch": "@@ -130,7 +130,7 @@\n \"keras>2.9,<2.16\",\n \"keras-nlp>=0.3.1,<0.14.0\", # keras-nlp 0.14 doesn't support keras 2, see pin on keras.\n \"librosa\",\n- \"nltk\",\n+ \"nltk<=3.8.1\",\n \"natten>=0.14.6,<0.15.0\",\n \"numpy>=1.17\",\n \"onnxconve...
2024-09-04T16:28:08
vercel/next.js
59a01ec7090f6c3260d765276db216f3a87af4a2
a679a1e13224407ea01dfbabe5a9ac4975f31eea
Fix `next/future/image` alt text (#39366) In many browsers (other than Chrome), the `alt` text is visible while the image is loading. This causes a sense layout shift since you'll see a flash of text and then the image (although lighthouse measures 0 CLS, likely because Chrome doesn't have this problem). This PR updat...
[ { "path": "packages/next/client/future/image.tsx", "patch": "@@ -130,6 +130,7 @@ type ImageElementProps = Omit<ImageProps, 'src' | 'loader'> & {\n placeholder: PlaceholderValue\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>\n setBlurComplete: (b: boolean) => void\n+ set...
2022-08-06T03:53:13
golang/go
01b76d5fbc4d4acdd28b08a061b072b73b22f44e
48d6275952184f1e858c2796d36c6b205d5d7e83
go/types: correct error position for inherited const init expressions This is a port of CL 275517 from the dev.typeparams branch, to fix the positioning of error messages for invalid const init expressions that are inherited. Differences from CL 275517: + The inherited flag is added to the constDecl intermediate ...
[ { "path": "src/go/types/check.go", "patch": "@@ -46,6 +46,7 @@ type context struct {\n \tscope *Scope // top-most scope for lookups\n \tpos token.Pos // if valid, identifiers are looked up as if at position pos (used by Eval)\n \tiota constant.Value ...
2020-12-08T14:44:48
nodejs/node
1c29da8236f0017fa3a09eaeba3c48309d08375b
9ffebeab48e2e0b61dc0817430f089b6a1482ea7
tls: migrate C++ errors to internal/errors.js * Throw ERR_TLS_SNI_FROM_SERVER when setting server names on a server-side socket instead of returning silently * Assert on wrap_->started and wrap_->ssl instead of throwing errors since these errors indicate that the user either uses private APIs, or monkey-patches ...
[ { "path": "doc/api/errors.md", "patch": "@@ -1530,6 +1530,12 @@ a hostname in the first parameter.\n An excessive amount of TLS renegotiations is detected, which is a potential\n vector for denial-of-service attacks.\n \n+<a id=\"ERR_TLS_SNI_FROM_SERVER\"></a>\n+### ERR_TLS_SNI_FROM_SERVER\n+\n+An attempt w...
2018-01-10T19:33:49
huggingface/transformers
d2dcff96f8c0d33c4a76bb601fd43a0ae67d128b
5731dc8dd89f76c95046d980743d463015a22bc4
[InstructBLIP] qformer_tokenizer is required input (#33222) * [InstructBLIP] qformer_tokenizer is required input * Bit safer * Add to instructblipvideo processor * Fix up * Use video inputs * Update tests/models/instructblipvideo/test_processor_instructblipvideo.py
[ { "path": "src/transformers/models/instructblip/processing_instructblip.py", "patch": "@@ -50,24 +50,23 @@ class InstructBlipProcessor(ProcessorMixin):\n An instance of [`BlipImageProcessor`]. The image processor is a required input.\n tokenizer (`AutoTokenizer`):\n An instan...
2024-09-04T15:18:06
ollama/ollama
c3d321d405df2076768de49cf999a3542224eabd
7fe3902552f762e6cc4f78eb83b2a60c6a6e61d8
llm: Remove GGML_CUDA_NO_PEER_COPY for ROCm (#7174) This workaround logic in llama.cpp is causing crashes for users with less system memory than VRAM.
[ { "path": "llm/generate/gen_linux.sh", "patch": "@@ -251,7 +251,7 @@ if [ -z \"${OLLAMA_SKIP_ROCM_GENERATE}\" -a -d \"${ROCM_PATH}\" ]; then\n ROCM_VARIANT=_v$(ls ${ROCM_PATH}/lib/librocblas.so.*.*.????? | cut -f5 -d. || true)\n fi\n init_vars\n- CMAKE_DEFS=\"${COMMON_CMAKE_DEFS} ${CMAKE_...
2024-10-12T16:56:49
vercel/next.js
a679a1e13224407ea01dfbabe5a9ac4975f31eea
d008f655bce55f9d9f4cf63be4b7441e80262529
Fix catchall rewrites for _next/data routes (#39370) * Fix catchall rewrites for _next/data routes * update check
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -734,6 +734,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n match: getPathMatch('/_next/data/:path*'),\n type: 'route',\n name: '_next/data catchall',\n+ check: true,\n ...
2022-08-06T02:32:17
rust-lang/rust
a0abd613d031407c5d17bb1e7debebddf748d468
a56b1d2a1378d0559a6174b4392fe49b245268df
fix missing rustfmt for apple darwin
[ { "path": "src/bootstrap/src/core/build_steps/dist.rs", "patch": "@@ -1585,9 +1585,15 @@ impl Step for Extended {\n prepare(\"cargo\");\n prepare(\"rust-std\");\n prepare(\"rust-analysis\");\n- prepare(\"clippy\");\n- prepare(\"rust-analyzer\");\n- ...
2024-10-07T11:10:18
huggingface/transformers
122ded0a11cb6cc36f1bdab77bd2fd91185768fc
178cb6bb1ccad0b2049683edbbd1b29aa1977217
Bugfix/alexsherstinsky/fix none check for attention factor in rope scaling 2024 08 28 0 (#33188) * Fixing a bug in the way "attention_factor" is validated in ROPE utilities. * Fixing a bug in the way "attention_factor" is validated in ROPE utilities. * Fixing a bug in the way "attention_factor" is validated in R...
[ { "path": "src/transformers/modeling_rope_utils.py", "patch": "@@ -487,10 +487,11 @@ def _validate_longrope_parameters(config: PretrainedConfig):\n logger.warning(f\"`rope_scaling`'s factor field must be a float >= 1, got {factor}\")\n \n attention_factor = rope_scaling.get(\"attention_f...
2024-09-04T15:01:12
golang/go
9b8c27255893faf01e82227164a59baad1ff0011
7ad6596c4711c48ef95334c9c6516a0c30979bd9
reflect: document multiple keys in struct tags For #40281 Fixes #42959 Change-Id: Ibc4769fda1592a1373ec720ea30baf319c0a0136 Reviewed-on: https://go-review.googlesource.com/c/go/+/274448 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/reflect/type.go", "patch": "@@ -1104,12 +1104,16 @@ type StructField struct {\n \n // A StructTag is the tag string in a struct field.\n //\n-// By convention, tag strings are a concatenation of\n-// optionally space-separated key:\"value\" pairs.\n-// Each key is a non-empty string consistin...
2020-12-03T02:25:19
nodejs/node
9ffebeab48e2e0b61dc0817430f089b6a1482ea7
f75bc2c1a596e8b0dca83527ed1bad614e69eaef
tls: migrate argument type-checking errors * Throw ERR_INVALID_ARG_TYPE from public APIs * Assert argument types in bindings instead of throwing errors PR-URL: https://github.com/nodejs/node/pull/18125 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: J...
[ { "path": "lib/_tls_wrap.js", "patch": "@@ -36,6 +36,9 @@ const { Timer } = process.binding('timer_wrap');\n const tls_wrap = process.binding('tls_wrap');\n const { TCP, constants: TCPConstants } = process.binding('tcp_wrap');\n const { Pipe, constants: PipeConstants } = process.binding('pipe_wrap');\n+cons...
2018-01-10T17:42:08
ollama/ollama
0077e22d524edbad949002216f2ba6206aacb1b5
03408f34374977dee2855b511226ff8c507a2401
runner.go: Handle truncation of tokens for stop sequences When a single token contains both text to be return and a stop sequence, this causes an out of bounds error when we update the cache to match our text. This is because we currently assume that the removing the stop sequence will consume at least one token. Thi...
[ { "path": "llama/runner/runner.go", "patch": "@@ -451,14 +451,27 @@ func (s *Server) processBatch(tokenBatch *llama.Batch, embedBatch *llama.Batch)\n \t\tsequence := strings.Join(seq.pendingResponses, \"\")\n \n \t\tif ok, stop := findStop(sequence, seq.stop); ok {\n-\t\t\tslog.Debug(\"hit stop token\", \"s...
2024-10-09T23:12:23
vercel/next.js
d008f655bce55f9d9f4cf63be4b7441e80262529
442378d21dd56d6e769863eb8c2cb521a463a2e0
fix: skip resizing image if it's animated (#39325) We were resizing animated images when importing them, but we don't optimize images when they come from an upstream provider. For consistency, we can skip resizing for local animated images as well. Fixes #39317 ## Bug - [ ] Related issues linked using `fixes #numbe...
[ { "path": "packages/next/server/image-optimizer.ts", "patch": "@@ -4,7 +4,6 @@ import { promises } from 'fs'\n import { getOrientation, Orientation } from 'next/dist/compiled/get-orientation'\n import imageSizeOf from 'next/dist/compiled/image-size'\n import { IncomingMessage, ServerResponse } from 'http'\n...
2022-08-05T21:28:17
huggingface/transformers
d70347726577e9823e35c11883e98c5b2c520b37
d750b509fc20d56498b48e7daf363cfe760bdc1f
[fix] LlavaNextProcessor '_get_unpadded_features' method (#33263) * [fix] LlavaNextProcessor '_get_unpadded_features' method * [tests] add test_image_token_filling * [chore] style + comment * [minor] improve readability * [chore] run make fix-copies
[ { "path": "src/transformers/models/llava_next/processing_llava_next.py", "patch": "@@ -199,8 +199,8 @@ def _get_unpadded_features(self, height, width, patches_height, patches_width, s\n because it divided each image into patches depending on its resolution. Therefore we need to calculate how many\n ...
2024-09-04T12:41:51
golang/go
63722da46bbf320670e8f993490fe1431feeeb04
6d783e7440056ca24b57b52605def43d09d8b2a2
[dev.regabi] cmd/compile: fix comment Russ, is this what you meant? Change-Id: I27d2847811c6eabd94358e435eb3eb4bc8cfaa9e Reviewed-on: https://go-review.googlesource.com/c/go/+/275712 Trust: Keith Randall <khr@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
[ { "path": "src/cmd/compile/internal/gc/typecheck.go", "patch": "@@ -3361,7 +3361,7 @@ out:\n \n // type check function definition\n // To be called by typecheck, not directly.\n-// (Call typecheckfn instead.)\n+// (Call typecheckFunc instead.)\n func typecheckfunc(n *ir.Func) {\n \tif enableTrace && base.Fl...
2020-12-06T01:24:48
rust-lang/rust
a56b1d2a1378d0559a6174b4392fe49b245268df
282865097d138c7f0f7a7566db5b761312dd145c
fix missing rustfmt and clippy for msi
[ { "path": "src/bootstrap/src/core/build_steps/dist.rs", "patch": "@@ -1627,6 +1627,8 @@ impl Step for Extended {\n \"rust-analyzer-preview\".to_string()\n } else if name == \"clippy\" {\n \"clippy-preview\".to_string()\n+ } else if name ...
2024-10-07T11:07:57
nodejs/node
3e062762e4519dbb6817c2a47f9d28165f66b53f
8229fc0715ef62fc33f5bba17f4b9c4329ae15d8
doc: napi: fix unbalanced emphasis Some of the section headers had unbalanced emphasis. PR-URL: https://github.com/nodejs/node/pull/18122 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Jon Moss <me@jonathanmos...
[ { "path": "doc/api/n-api.md", "patch": "@@ -3368,7 +3368,7 @@ scenario, because with those the async execution still happens on the main\n event loop. When using any other async mechanism, the following APIs are\n necessary to ensure an async operation is properly tracked by the runtime.\n \n-### *napi_asyn...
2018-01-12T18:19:46
vercel/next.js
442378d21dd56d6e769863eb8c2cb521a463a2e0
5f483b97439dca55590745142f35cf652dc34665
Fix failing escheck test (#39365)
[ { "path": "test/production/escheck-output/index.test.ts", "patch": "@@ -1,43 +1,44 @@\n import { createNext } from 'e2e-utils'\n-import execa from 'execa'\n+import { NextConfig } from 'packages/next'\n import { NextInstance } from 'test/lib/next-modes/base'\n \n describe('ES Check default output', () => {\n...
2022-08-05T17:30:42
ollama/ollama
cd7e01e8b9bddf343e48484fef59e9cfd21dbff7
7a962bd802d8d85d8addff0890e5640c6c2fcf5c
fix vendoring attribute for metal (#7156) Add missing metal files to vendoring list
[ { "path": ".gitattributes", "patch": "@@ -6,6 +6,7 @@ llama/**/*.c linguist-vendored\n llama/**/*.cu linguist-vendored\n llama/**/*.cuh linguist-vendored\n llama/**/*.m linguist-vendored\n+llama/**/*.metal linguist-vendored\n \n * text=auto\n *.go text eol=lf", "additions": 1, "deletions": 0, "l...
2024-10-09T22:22:36
huggingface/transformers
ebbe8d8014900e16876938c3e4a0d15c6f8acb67
35f72ebf47aa8b87e17f01889cecbf0ccc224a19
Cache docs: update (#32929) * some changes * more updates * fix cache copy * nits * nits * add tests
[ { "path": "docs/source/en/kv_cache.md", "patch": "@@ -22,15 +22,15 @@ Effective caching helps reduce computation time and improve response rates, espe\n \n Transformers support various caching methods, leveraging \"Cache\" classes to abstract and manage the caching logic.\n This document outlines best pract...
2024-09-04T10:05:31
rust-lang/rust
ce23f737506f9c729a77c3d35283994dfb348d5e
4848b1bc89932080492116760128413d772b5ae7
fix: Fix stale `Building CrateGraph` report
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/reload.rs", "patch": "@@ -754,21 +754,21 @@ impl GlobalState {\n self.analysis_host.apply_change(change);\n \n self.finish_loading_crate_graph();\n- return;\n+ } else {\n+ change.set_crate_graph(...
2025-03-17T11:17:58
golang/go
7ad6596c4711c48ef95334c9c6516a0c30979bd9
50cdb2d8e9ca8d7b79a05121c88271b46f7c9607
io/fs: fix Sub method error text Noticed in (and alternative to) CL 275520. Change-Id: If6c107ee9928dd1910facd4dc66da7234cb91c39 Reviewed-on: https://go-review.googlesource.com/c/go/+/275879 Trust: Russ Cox <rsc@golang.org> Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ro...
[ { "path": "src/io/fs/sub.go", "patch": "@@ -88,7 +88,7 @@ func (f *subFS) Open(name string) (File, error) {\n }\n \n func (f *subFS) ReadDir(name string) ([]DirEntry, error) {\n-\tfull, err := f.fullName(\"open\", name)\n+\tfull, err := f.fullName(\"read\", name)\n \tif err != nil {\n \t\treturn nil, err\n ...
2020-12-07T20:20:37
nodejs/node
8229fc0715ef62fc33f5bba17f4b9c4329ae15d8
8f153092d86b0605af8a2ef294dc310fefa83e30
src: fix code coverage cleanup In https://github.com/nodejs/node/pull/17987 which updated the location of the code coverage patches I missed a few changes needed to properly clean up for code coverage. Add these. PR-URL: https://github.com/nodejs/node/pull/18081 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-...
[ { "path": "Makefile", "patch": "@@ -145,7 +145,7 @@ check: test\n coverage-clean:\n \tif [ -d lib_ ]; then $(RM) -r lib; mv lib_ lib; fi\n \t$(RM) -r node_modules\n-\t$(RM) -r gcovr testing\n+\t$(RM) -r gcovr build\n \t$(RM) -r out/$(BUILDTYPE)/.coverage\n \t$(RM) -r .cov_tmp\n \t$(RM) out/$(BUILDTYPE)/obj....
2018-01-10T14:07:54
vercel/next.js
9f2949feba8884af4b59752231bdc3f03ae7569b
0571885ec4e324b4722c24712677169851ed3560
fix: wrong reference url for disableStaticImages (#39362) ## Minor Improvement - doc of `disableStaticImages` has an incorrect reference link. Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "packages/next/shared/lib/image-config.ts", "patch": "@@ -60,7 +60,7 @@ export type ImageConfigComplete = {\n */\n domains: string[]\n \n- /** @see [Cache behavior](https://nextjs.org/docs/api-reference/next/image#caching-behavior) */\n+ /** @see [Disable static image import configuration](...
2022-08-05T15:49:58
ollama/ollama
7a962bd802d8d85d8addff0890e5640c6c2fcf5c
f9584deba5d7faa1ff547fca5ea4e19818394de8
fix vendoring attribute (#7155) Expand out the file extensions for vendored code so git reports the status correctly
[ { "path": ".gitattributes", "patch": "@@ -1,5 +1,11 @@\n llm/ext_server/* linguist-vendored\n-llama/**/*.{cpp,hpp,h,c,cu,cuh,m} linguist-vendored\n+llama/**/*.cpp linguist-vendored\n+llama/**/*.hpp linguist-vendored\n+llama/**/*.h linguist-vendored\n+llama/**/*.c linguist-vendored\n+llama/**/*.cu linguist-v...
2024-10-09T21:21:02
huggingface/transformers
35f72ebf47aa8b87e17f01889cecbf0ccc224a19
ecd61c62862f925a18b4f063dc17fcaf01826e25
Fix: multigpu training (#33271) fix
[ { "path": "src/transformers/trainer.py", "patch": "@@ -1926,7 +1926,7 @@ def train(\n \n # do_train is not a reliable argument, as it might not be set and .train() still called, so\n # the following is a workaround:\n- if (args.fp16_full_eval or args.bf16_full_eval) and not args.do_tr...
2024-09-04T10:01:08
rust-lang/rust
8e235258f38e43c4b565c5393d96aa5381d366bf
0e76f8b7e02b1ddd349dde1501f73426a4e764cf
fix(debuginfo): avoid overflow when handling expanding recursive type
[ { "path": "compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs", "patch": "@@ -247,6 +247,16 @@ pub(super) fn stub<'ll, 'tcx>(\n StubInfo { metadata, unique_type_id }\n }\n \n+struct AdtStackPopGuard<'ll, 'tcx, 'a> {\n+ cx: &'a CodegenCx<'ll, 'tcx>,\n+}\n+\n+impl<'ll, 'tcx, 'a> Drop for Ad...
2025-03-17T10:17:09
golang/go
6d783e7440056ca24b57b52605def43d09d8b2a2
2de0af3b1b09e11b71ec4c58bb406be7abf112b0
[dev.regabi] cmd/compile: export all Node fields [generated] The plan was always to export them once we remove the getters and setters, but do it a bit early, with _ suffixes as needed, so that the reflection-based ir.Dump can access the fields. Passes buildall w/ toolstash -cmp. [git-generate] cd src/cmd/compile/in...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -91,20 +91,20 @@ func toNtype(x Node) Ntype {\n // An AddStringExpr is a string concatenation Expr[0] + Exprs[1] + ... + Expr[len(Expr)-1].\n type AddStringExpr struct {\n \tminiExpr\n-\tlist Nodes\n+\tList_ Nodes\n }\n \n func NewAddStringExpr(p...
2020-12-06T20:36:58
vercel/next.js
0571885ec4e324b4722c24712677169851ed3560
d88fd14a280928d46e18a8186ed83a8d1f609289
test: ensure default output is correct (#39358) So we don't regress on issues like #39090, #35913, #34629, #33314, etc. Closes #35912 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an...
[ { "path": "test/production/escheck-output/index.test.ts", "patch": "@@ -0,0 +1,44 @@\n+import { createNext } from 'e2e-utils'\n+import execa from 'execa'\n+import { NextInstance } from 'test/lib/next-modes/base'\n+\n+describe('ES Check default output', () => {\n+ let next: NextInstance\n+\n+ afterEach(() ...
2022-08-05T13:07:50
nodejs/node
9d3958102ec28f2bb468b2c532b7b34cabd61f1b
921fb84687fb8135075c1f001383e9b0b863f4b5
stream: add custom inspect to BufferList Currently inspecting the BufferList can result a maximum call stack size error. Adding a individual inspect function prevents this. PR-URL: https://github.com/nodejs/node/pull/17907 Refs: https://github.com/nodejs/node/issues/12693 Reviewed-By: James M Snell <jasnell@gmail.com...
[ { "path": "lib/internal/streams/BufferList.js", "patch": "@@ -1,6 +1,7 @@\n 'use strict';\n \n const { Buffer } = require('buffer');\n+const { inspect } = require('util');\n \n function copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n@@ -73,4 +74,9 @@ module.exports =...
2018-01-16T14:33:23
ollama/ollama
f9584deba5d7faa1ff547fca5ea4e19818394de8
96efd9052f28827eea44282b8f2a5e819ed7277e
Fix build leakages (#7141) The recent change to applying patches leaves the submodule dirty based on "new commits" being present. This ensures we clean up so the tree no longer reports dirty after a `go generate ./...` run. The Makefile was being a bit too aggressive in cleaning things up and would result in del...
[ { "path": "llama/Makefile", "patch": "@@ -42,7 +42,7 @@ $(RUNNER_TARGETS):\n \t$(MAKE) -f make/Makefile.$@\n \n clean:\n-\trm -rf $(BUILD_DIR) $(DIST_RUNNERS) $(PAYLOAD_RUNNERS) $(RUNNERS_PAYLOAD_DIR)\n+\trm -rf $(BUILD_DIR) $(DIST_RUNNERS) $(PAYLOAD_RUNNERS)\n \n clean-payload:\n \trm -rf $(addprefix $(RUN...
2024-10-08T20:04:59
huggingface/transformers
ecd61c62862f925a18b4f063dc17fcaf01826e25
d6534f996b0c05cf8e94aac1de6a194772313f36
Add OLMoE (#32406) * Add OLMoE * Add OLMoE * Updates * Make norm optional; add keys * Add output * Add * Fix dtype * Fix eos config * Update * Add OLMoE * Fix OLMoE path * Format * Format * Rmv copy statement * Rmv copy statement * Format * Add copies * Cp rotary *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -490,6 +490,8 @@\n title: Nyströmformer\n - local: model_doc/olmo\n title: OLMo\n+ - local: model_doc/olmoe\n+ title: OLMoE\n - local: model_doc/open-llama\n title: Open-Llama\n - local: model_doc/opt...
2024-09-03T16:43:12
nodejs/node
85739b6c5b5d12204a81de18ceddf2d357effb8b
858b48b692dd04e5134c02f23efac94c4e678329
child_process: ignore undef/proto values of env At present, undefined values of env option will be transferred as a "undefined" string value, and values in prototype will also be included, which are not usual behaviors. This commit prevents those to be transferred to the environment of the child process. PR-URL: htt...
[ { "path": "doc/api/child_process.md", "patch": "@@ -437,6 +437,8 @@ If not given, the default is to inherit the current working directory.\n Use `env` to specify environment variables that will be visible to the new\n process, the default is [`process.env`][].\n \n+`undefined` values in `env` will be ignore...
2017-08-30T09:57:12
golang/go
bb4a37bd9316a04c45845634a721ef44d8b5b787
70155cca81d061686d4f23b7ad59fe8213e87f9f
[dev.regabi] cmd/compile: move Type, Sym printing to package types [generated] Move the printing of types.Type and types.Sym out of ir into package types, where it properly belongs. This wasn't done originally (when the code was in gc) because the Type and Sym printing was a bit tangled up with the Node printing. But ...
[ { "path": "src/cmd/compile/internal/gc/align.go", "patch": "@@ -193,7 +193,7 @@ func findTypeLoop(t *types.Type, path *[]*types.Type) bool {\n \t\t// Type imported from package, so it can't be part of\n \t\t// a type loop (otherwise that package should have\n \t\t// failed to compile).\n-\t\tif t.Sym().Pkg ...
2020-12-06T18:54:50
huggingface/transformers
979d24e7fd82a10d1457d500bef8ec3b5ddf2f8a
6b7d64ac1c5d19ab4b9e99142a08e31741106e4e
fix the parallel number of CI nodes when it is smaller than number of tests (#33276) * fix the parallel number * this? * keep it simple * woups * nit * style * fix param name * fix * fix dtype * yups * ??? * ?? * this? * ???? * no default flow style * ?? * print config ...
[ { "path": ".circleci/config.yml", "patch": "@@ -55,9 +55,9 @@ jobs:\n url=\"https://circleci.com/api/v2/project/${project_slug}/${job_number}/artifacts\"\n curl -o test_preparation/artifacts.json ${url}\n - run:\n- name: \"Show Artifacts\"\...
2024-09-03T14:53:21
nodejs/node
b12425d055f305a2b69fe925c38ef798aae4b0b2
8d043238dee18c7356f28133e1d353048a14c7ee
async_hooks,test: only use IPv6 in http test If IPv6 is not supported on a machine, the IPv6 handle will first be created, this will then fail and default to an IPv4 handle. This causes the graph to change, as there now is an extra handle. PR-URL: https://github.com/nodejs/node/pull/18143 Fixes: https://github.com/no...
[ { "path": "test/async-hooks/test-graph.http.js", "patch": "@@ -1,6 +1,9 @@\n 'use strict';\n \n const common = require('../common');\n+if (!common.hasIPv6)\n+ common.skip('IPv6 support required');\n+\n const initHooks = require('./init-hooks');\n const verifyGraph = require('./verify-graph');\n const http ...
2018-01-14T10:09:24
golang/go
8ce2605c5b4bc64432e1711a1273f91eee3a41fc
158c9dd131db86a381535a902b54bc7f610a8c97
[dev.regabi] cmd/compile: untangle ir.Dump printing The Node printing code is tangled up due to the multiple printing modes. Split out the Dump mode into its own code, which clarifies it considerably. We are going to have to change the code for the new Node representations, so it is nice to have it in an understandabl...
[ { "path": "src/cmd/compile/fmtmap_test.go", "patch": "@@ -42,12 +42,14 @@ var knownFormats = map[string]string{\n \t\"*cmd/compile/internal/ssa.sparseTreeMapEntry %v\": \"\",\n \t\"*cmd/compile/internal/types.Field %p\": \"\",\n \t\"*cmd/compile/internal/types.Field %v\": \"\",\n+\t\"*...
2020-12-05T05:02:46
huggingface/transformers
03c12d0d63f781eda525900978f69eebc3df7478
e969d884a6fc29e34781f4a8e81166fa56d670bc
Add sdpa support for Albert (#32092) * Add sdpa support for Albert * [run_slow] albert * Add benchmarks and PR suggestion * Fix quality * Fix * [run_slow] albert
[ { "path": "docs/source/en/model_doc/albert.md", "patch": "@@ -59,7 +59,52 @@ This model was contributed by [lysandre](https://huggingface.co/lysandre). This\n - Layers are split in groups that share parameters (to save memory).\n Next sentence prediction is replaced by a sentence ordering prediction: in the...
2024-09-03T13:01:00
ollama/ollama
96efd9052f28827eea44282b8f2a5e819ed7277e
de982616f1dde636e46b2cef2edd971b54ef7691
Re-introduce the `llama` package (#5034) * Re-introduce the llama package This PR brings back the llama package, making it possible to call llama.cpp and ggml APIs from Go directly via CGo. This has a few advantages: - C APIs can be called directly from Go without needing to use the previous "server" REST AP...
[ { "path": ".gitattributes", "patch": "@@ -1,3 +1,5 @@\n llm/ext_server/* linguist-vendored\n+llama/**/*.{cpp,hpp,h,c,cu,cuh,m} linguist-vendored\n+\n * text=auto\n *.go text eol=lf", "additions": 2, "deletions": 0, "language": "Unknown" }, { "path": ".github/workflows/test.yaml", "pa...
2024-10-08T15:53:54
nodejs/node
8d043238dee18c7356f28133e1d353048a14c7ee
75032c9c8b0f5e47ed3361b45cfb8e8852bc5a5c
test: fix flaky interval test PR-URL: https://github.com/nodejs/node/pull/18140 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Joyee Cheun...
[ { "path": "test/sequential/test-timers-set-interval-excludes-callback-duration.js", "patch": "@@ -4,15 +4,14 @@ const Timer = process.binding('timer_wrap').Timer;\n const assert = require('assert');\n \n let cntr = 0;\n-let first, second;\n+let first;\n const t = setInterval(() => {\n- common.busyLoop(50);...
2018-01-14T03:48:17
huggingface/transformers
979f4774f619e43a7c121c49b3c9cdc0b48d687a
7ed9789e210d8eca797fc21b9c783b1ce718ecb5
Fix Bark saving (#33266)
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1248,6 +1248,17 @@ def resize_token_embeddings(\n \n return model_embeds\n \n+ def _tie_weights(self):\n+ if getattr(self.config, \"tie_word_embeddings\", True):\n+ self._tied_weights_keys = []\n+ ...
2024-09-03T08:57:59
golang/go
50cdb2d8e9ca8d7b79a05121c88271b46f7c9607
8d3458517199f5aa2be0ec0f316fd406c9ca6cbb
runtime/cgo: fix building on musl sys/unistd.h only exists in glibc and not in musl so use the standard location. This is a regression from CL 210639 Change-Id: Idd4c75510d9829316b44300c36c34df6d667cc05 GitHub-Last-Rev: 0fa4162f1c7c460bda7585300285f47d1781985d GitHub-Pull-Request: golang/go#43038 Reviewed-on: https:/...
[ { "path": "src/runtime/cgo/linux_syscall.c", "patch": "@@ -10,7 +10,7 @@\n \n #include <grp.h>\n #include <sys/types.h>\n-#include <sys/unistd.h>\n+#include <unistd.h>\n #include <errno.h>\n #include \"libcgo.h\"\n ", "additions": 1, "deletions": 1, "language": "C" } ]
2020-12-06T20:13:47
ollama/ollama
f40bb398f6423ae82386820f0abfe279045771b7
79d3b1e2bdfc97542a7259b0c839520d39578514
Stop model before deletion if loaded (fixed #6957) (#7050)
[ { "path": "cmd/cmd.go", "patch": "@@ -680,6 +680,17 @@ func DeleteHandler(cmd *cobra.Command, args []string) error {\n \t\treturn err\n \t}\n \n+\t// Unload the model if it's running before deletion\n+\topts := &runOptions{\n+\t\tModel: args[0],\n+\t\tKeepAlive: &api.Duration{Duration: 0},\n+\t}\n+\tif ...
2024-10-01T22:45:43
vercel/next.js
869a2fe881d56bf808af3786f160921e337b0220
b4027875e769189b823d98619e0f7c5651c4ad14
Change invalid internal upstream image error code (#39334) fixes #39312 this is more consistent with other errors an invalid image should cause a validation error and not a server error
[ { "path": "packages/next/server/image-optimizer.ts", "patch": "@@ -511,7 +511,7 @@ export async function imageOptimizer(\n }\n } else {\n throw new ImageError(\n- 500,\n+ 400,\n 'Unable to optimize image and unable to fallback to upstream image'\n )\n }", ...
2022-08-05T02:36:21
rust-lang/rust
63722ea55d61cbd803caf635893930d430e318ce
2e7901e90c53c7bd8b93889b588687116af670e5
fix(codegen): do not generate docs with `--check` Running `cargo codegen --check` should not generate any mdbook files, since they are ignored in the repo and used only while releasing a new copy of the documentation. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/xtask/src/codegen/assists_doc_tests.rs", "patch": "@@ -53,6 +53,11 @@ r#####\"\n );\n }\n \n+ // Do not generate assists manual when run with `--check`\n+ if check {\n+ return;\n+ }\n+\n {\n // Generate assists manual. Note that we d...
2025-03-17T08:42:11
nodejs/node
36daf1d6344137c7ab0e6b39998d1030721de45c
9301b8a9c69d112b98c7d60e074c845d80342b4e
src: harden JSStream callbacks Since these are executing JS code, and in particular parts of that code may be provided by userland, handle such exceptions in C++. Refs: https://github.com/nodejs/node/pull/17938#issuecomment-354683850 PR-URL: https://github.com/nodejs/node/pull/18028 Reviewed-By: Ben Noordhuis <info@b...
[ { "path": "src/js_stream.cc", "patch": "@@ -14,9 +14,9 @@ using v8::FunctionCallbackInfo;\n using v8::FunctionTemplate;\n using v8::HandleScope;\n using v8::Local;\n-using v8::MaybeLocal;\n using v8::Object;\n using v8::String;\n+using v8::TryCatch;\n using v8::Value;\n \n \n@@ -87,24 +87,41 @@ bool JSStrea...
2018-01-07T21:07:13
huggingface/transformers
7ed9789e210d8eca797fc21b9c783b1ce718ecb5
566302686a71de14125717dea9a6a45b24d42b37
Fix: `num_logits_to_keep` in composite models (#33168) * fix * paligemma
[ { "path": "src/transformers/models/cohere/modeling_cohere.py", "patch": "@@ -1118,7 +1118,7 @@ def prepare_inputs_for_generation(\n cache_position=None,\n position_ids=None,\n use_cache=True,\n- num_logits_to_keep=0,\n+ num_logits_to_keep=None,\n **kwargs,\n ...
2024-09-03T08:48:45
golang/go
9c0e2db051093767526c96cbe02d3c3b7d28f770
7f9a2bc2bc6201d7ffb3b5066b88a19d2da96592
test: add new test that gofrontend failed to handle The gofrontend code would in some circumstances incorrectly generate a type descriptor for an alias type, causing the type to fail to be equal to the unaliased type. Change-Id: I47d33b0bfde3c72a9a186049539732bdd5a6a96e Reviewed-on: https://go-review.googlesource.com...
[ { "path": "test/fixedbugs/bug510.dir/a.go", "patch": "@@ -0,0 +1,13 @@\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 a\n+\n+import \"reflect\"\n+\n+type A = map[int] bool\n+\n+...
2020-12-05T16:08:47
ollama/ollama
03608cb46ecdccaf8c340c9390626a9d8fcc3c6b
450acb71a6366ca22eada96ab08c0527a6914c5e
server: close response body on error (#6986) This change closes the response body when an error occurs in makeRequestWithRetry. Previously, the first, non-200 response body was not closed before reattempting the request. This change ensures that the response body is closed in all cases where an error occurs, preve...
[ { "path": "server/images.go", "patch": "@@ -1025,6 +1025,8 @@ func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.UR\n \n \t\tswitch {\n \t\tcase resp.StatusCode == http.StatusUnauthorized:\n+\t\t\tresp.Body.Close()\n+\n \t\t\t// Handle authentication error with one retry\n \t\t\tc...
2024-09-26T19:00:31
vercel/next.js
b4027875e769189b823d98619e0f7c5651c4ad14
d6cb795fc6842337e4ba836a399c8d97a8b3aea0
Fixed links to supabase examples (#39343) Corrected links to supabase examples in the `with-supabase-auth-realtime-db/README.md` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an exist...
[ { "path": "examples/with-supabase-auth-realtime-db/README.md", "patch": "@@ -15,7 +15,7 @@ Please file feedback and issues over on the [Supabase GitHub org](https://github\n ## More Supabase examples\n \n - [Next.js Subscription Payments Starter](https://github.com/vercel/nextjs-subscription-payments)\n-- [...
2022-08-05T02:00:48