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
f8a260e2a44fbc707878277cb8cb5e53619f8b74
c9afee539204f5e658d03e63a1df3aacb4cab305
Sync QuestionAnsweringPipeline (#34039) * Sync QuestionAnsweringPipeline * typo fixes * Update deprecation warnings
[ { "path": "src/transformers/pipelines/question_answering.py", "patch": "@@ -183,8 +183,16 @@ def __call__(self, *args, **kwargs):\n # Generic compatibility with sklearn and Keras\n # Batched data\n elif \"X\" in kwargs:\n+ warnings.warn(\n+ \"Passing the `X`...
2024-10-10T12:38:14
golang/go
84e8a06f62e47bf3f126e6c7e5f39dd7ca82f421
0c86b999c35ed199bc7aa001affb1d5d186c9e73
cmd/cgo: remove unnecessary space in cgo export header The cgo header has an unnecessary space in the exported function definition on non-windows goos. This was introduced in go1.16 so it would be good to fix it before release. Example: // Current behavior, notice there is an unecessary space // between extern and ...
[ { "path": "src/cmd/cgo/out.go", "patch": "@@ -953,9 +953,9 @@ func (p *Package) writeExports(fgo2, fm, fgcc, fgcch io.Writer) {\n \t\t// Build the wrapper function compiled by gcc.\n \t\tgccExport := \"\"\n \t\tif goos == \"windows\" {\n-\t\t\tgccExport = \"__declspec(dllexport)\"\n+\t\t\tgccExport = \"__de...
2021-01-14T20:29:49
nodejs/node
ff5b56ea9d70d24140bf4bc53b8692ef1513f43a
a926c1a18f42ac8b9631838fb03980cbbded1bdf
tools: enable eslint no-undef-init rule This also fixes the three entries that did not pass. PR-URL: https://github.com/nodejs/node/pull/18831 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso ...
[ { "path": ".eslintrc.js", "patch": "@@ -130,6 +130,7 @@ module.exports = {\n // http://eslint.org/docs/rules/#variables\n 'no-delete-var': 'error',\n 'no-undef': 'error',\n+ 'no-undef-init': 'error',\n 'no-unused-vars': ['error', { args: 'none' }],\n 'no-use-before-define': ['error', ...
2018-02-17T02:45:07
ollama/ollama
ff180c3466e7f3ee21658465958c9ece6de2d5c0
3fe74fba42b8d496a1ab3e8298bdc9b8ffb0f336
fix llama and mistral3 models (#10774) * fix llama model * fix mistral3.1 model do not set default vision layers
[ { "path": "model/models/llama/model.go", "patch": "@@ -1,9 +1,8 @@\n package llama\n \n import (\n-\t\"fmt\"\n+\t\"cmp\"\n \t\"math\"\n-\t\"strings\"\n \n \t\"github.com/ollama/ollama/fs\"\n \t\"github.com/ollama/ollama/kvcache\"\n@@ -14,9 +13,9 @@ import (\n )\n \n type Options struct {\n-\thiddenSize, num...
2025-05-19T22:06:35
vercel/next.js
d0903a5c5be184f3656a9c8dc2f5c297cb280a4b
f33c23c1442357d2ec82ed0378ff336d64f4cdd4
Update semver of eslint-plugin-react (#40246) `eslint-plugin-react` has a broken version between v7.31.2-6. Upping the version range ensure that only functioning packages get installed. Fixes #40245 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful li...
[ { "path": "packages/eslint-config-next/package.json", "patch": "@@ -16,7 +16,7 @@\n \"eslint-import-resolver-typescript\": \"^2.7.1\",\n \"eslint-plugin-import\": \"^2.26.0\",\n \"eslint-plugin-jsx-a11y\": \"^6.5.1\",\n- \"eslint-plugin-react\": \"^7.29.4\",\n+ \"eslint-plugin-react\": \"^...
2022-09-13T01:55:44
huggingface/transformers
66e08dba71a10bc3c00b8501edee7aa36cf7541d
a84c413773cdfdba58b35194c5ba51e2ccb2ca39
Fix pipelines tests (#34049) * Fix wrong skip annotation * Remove error raise
[ { "path": "tests/test_pipeline_mixin.py", "patch": "@@ -214,8 +214,6 @@ def run_task_tests(self, task, torch_dtype=\"float32\"):\n image_processor_names.append(cls_name)\n elif \"FeatureExtractor\" in cls_name:\n feature_extractor_names.append(cls_name...
2024-10-10T11:04:06
golang/go
0c86b999c35ed199bc7aa001affb1d5d186c9e73
9135795891a0a297dbbfb66b726b249712f47927
cmd/test2json: document passing -test.paniconexit0 For #29062 Fixes #43263 Change-Id: I160197c94cc4f936967cc22c82cec01663a14fe6 Reviewed-on: https://go-review.googlesource.com/c/go/+/283873 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan C. Mills <bcmills@go...
[ { "path": "src/cmd/go/testdata/script/test_exit.txt", "patch": "@@ -54,6 +54,23 @@ go test -list=. ./main_zero\n stdout 'skipping all tests'\n ! stdout TestNotListed\n \n+# Running the test directly still fails, if we pass the flag.\n+go test -c -o ./zero.exe ./zero\n+! exec ./zero.exe -test.paniconexit0\n+...
2021-01-14T20:00:23
nodejs/node
a926c1a18f42ac8b9631838fb03980cbbded1bdf
5782c51dfb729a1331e223e14ee3c9a5d0a19113
test: http2 compat response.write() error checks PR-URL: https://github.com/nodejs/node/pull/18859 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-compat-serverresponse-write-no-cb.js", "patch": "@@ -1,95 +0,0 @@\n-'use strict';\n-\n-const { mustCall,\n- mustNotCall,\n- expectsError,\n- hasCrypto, skip } = require('../common');\n-if (!hasCrypto)\n- skip('missing crypto');\n-const { createServer...
2018-02-18T21:39:06
ollama/ollama
3fe74fba42b8d496a1ab3e8298bdc9b8ffb0f336
1a0cfd080a2d3e65519c241b7561bf5aa49468ff
llm: Use first layer as memory buffer in estimation This is a partial revert of 0478d44 "Fixed over vram allcation dure to small initial layer sizes." Previously we used the size of the first layer as an extra reserved amount of space to buffer our memory estimates. The above commit changed this to use the largest la...
[ { "path": "llm/memory.go", "patch": "@@ -1,12 +1,9 @@\n package llm\n \n import (\n-\t\"cmp\"\n \t\"fmt\"\n \t\"log/slog\"\n-\t\"maps\"\n \t\"os\"\n-\t\"slices\"\n \t\"strconv\"\n \t\"strings\"\n \n@@ -125,10 +122,12 @@ func EstimateGPULayers(gpus []discover.GpuInfo, f *ggml.GGML, projectors []strin\n \t}\n...
2025-05-19T18:40:44
vercel/next.js
0a093c0e8275f3aa809dca5fd6b8a0a20f66b7ed
421029cf61e7fd99974f625ad18c598f0f3de871
docs(errors/large-page-data): how to see data being passed to page (#40491) ## Summary This PR adds a note about how to see the data that this error is complaining about: ```sh Warning: data for page "/" is xxx which exceeds the threshold of 128 kB, this amount of data can reduce performance. ``` This debug trick w...
[ { "path": "errors/large-page-data.md", "patch": "@@ -8,6 +8,12 @@ One of your pages includes a large amount of page data (>= 128kB). This can nega\n \n Reduce the amount of data returned from `getStaticProps`, `getServerSideProps`, or `getInitialProps` to only the essential data to render the page. The defa...
2022-09-13T00:44:43
huggingface/transformers
adea67541ad31f5193e56d2b18d2e7c57c4ecc15
a265600c6010ceb3dee8904ba07587f32b052751
Phi3: fix attn for sliding window (#33586) * fix phi3 attn fir sliding window * fix tests * address most comment * style * update after rebase * add more models * fix tests
[ { "path": "src/transformers/models/mimi/modeling_mimi.py", "patch": "@@ -23,7 +23,7 @@\n from torch import nn\n \n from ...activations import ACT2FN\n-from ...cache_utils import Cache, DynamicCache, StaticCache\n+from ...cache_utils import Cache, DynamicCache, SlidingWindowCache, StaticCache\n from ...model...
2024-10-10T09:50:39
golang/go
67bf62d93955fa72c5307f5a2ad0394cb37abd82
ef5285fbd0636965d916c81dbf87834731f337b2
[dev.typeparams] cmd/compile/internal/types2: better error message for invalid ... use This partially addresses the issue below: In many (all) cases we want to handle invalid ... use in the parser as a syntax error; but this ensures that we get a decent error if we get here anyway. Updates #43680. Change-Id: I93af43...
[ { "path": "src/cmd/compile/internal/types2/examples/types.go2", "patch": "@@ -113,6 +113,9 @@ type I1[T any] interface{\n \tm1(T)\n }\n \n+// There is no such thing as a variadic generic type.\n+type _[T ... /* ERROR invalid use of ... */ interface{}] struct{}\n+\n // Generic interfaces may be embedded as o...
2021-01-14T01:00:11
ollama/ollama
d75557747357bfb3afd441a0cc207ec944bd3a18
a2cc8571c5b2b8f77a8a5e2f65cb7aaa56482dc4
llm: Estimate projector memory correctly for Ollama engine The Llama engine always places vision projectors on the first GPU if one exists. However, the Ollama engine groups it with the output layer, which means the projector is only offloaded if all other layers are offloaded. The memory estimation code always assume...
[ { "path": "llm/memory.go", "patch": "@@ -85,8 +85,11 @@ func EstimateGPULayers(gpus []discover.GpuInfo, f *ggml.GGML, projectors []strin\n \tvar graphOffload uint64\n \n \t// Projectors loaded into GPU0 only\n-\tvar projectorWeights uint64\n-\tvar projectorGraph uint64\n+\tvar llamaEngineProjectorWeights ui...
2025-05-13T18:36:52
nodejs/node
5782c51dfb729a1331e223e14ee3c9a5d0a19113
e5369e054bae809b73254f7ea93df02d7ac4eb8d
test: http2 stream.respond() error checks PR-URL: https://github.com/nodejs/node/pull/18861 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-respond-errors.js", "patch": "@@ -5,95 +5,81 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n const http2 = require('http2');\n-const {\n- constants,\n- Http2Stream,\n- nghttp2ErrorString\n-} = process.binding('http2...
2018-02-19T03:30:51
huggingface/transformers
a265600c6010ceb3dee8904ba07587f32b052751
69b5ccb8878b58372ea326d17d9490d67ccf23a7
add sdpa to OPT (#33298) * add sdpa to OPT * chore: remove redundant whitespace in OPTDecoder class * fixup * bug fix * add sdpa and attention generate test * fixup * Refactor OPTAttention forward method for improved readability and maintainability * undo refactor for _shape and key,val states ...
[ { "path": "docs/source/en/model_doc/opt.md", "patch": "@@ -110,6 +110,73 @@ Below is an expected speedup diagram that compares pure inference time between t\n </div>\n \n \n+### Using Scaled Dot Product Attention (SDPA)\n+PyTorch includes a native scaled dot-product attention (SDPA) operator as part of `tor...
2024-10-10T09:49:34
vercel/next.js
421029cf61e7fd99974f625ad18c598f0f3de871
8bf6a873034993a09a882a25aab8123af0653d2e
Don't execute prefetches for bot user agents (#40435) Such bots typically navigate websites using hard navigations (as they crawl one URL at a time). Respectively, they do not benefit from prefetches at all, while increasing the cost of both the crawl and operating the site. <!-- Thanks for opening a PR! Your c...
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -48,7 +48,8 @@ import Router from './router'\n \n import { setRevalidateHeaders } from './send-payload/revalidate-headers'\n import { execOnce } from '../shared/lib/utils'\n-import { isBlockedPage, isBot } from './utils'\n+import { isBlockedPage ...
2022-09-13T00:27:43
golang/go
9135795891a0a297dbbfb66b726b249712f47927
d9b79e53bb40275d7974cbc14cc60fc1ce84f8f1
cmd/go/internal/load: report positions for embed errors Fixes #43469 Fixes #43632 Change-Id: I862bb9da8bc3e4f15635bc33fd7cb5f12b917d71 Reviewed-on: https://go-review.googlesource.com/c/go/+/283638 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Jay Conrod <jayconrod@googl...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -412,6 +412,9 @@ type PackageError struct {\n }\n \n func (p *PackageError) Error() string {\n+\t// TODO(#43696): decide when to print the stack or the position based on\n+\t// the error type and whether the package is in the main module.\n+\t// Docu...
2021-01-13T22:08:38
vercel/next.js
8bf6a873034993a09a882a25aab8123af0653d2e
97ac34446877a166d37157b682032b96f19ab1bb
Rename allowDynamic to unstable_allowDynamic (#40496) Follow-up to https://github.com/vercel/next.js/pull/39539 as discussed this renames to `unstable_` prefix initially while we test this out further. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have he...
[ { "path": "docs/api-reference/edge-runtime.md", "patch": "@@ -145,14 +145,14 @@ You can relax the check to allow specific files with your Middleware or Edge API\n ```javascript\n export const config = {\n runtime: 'experimental-edge', // for Edge API Routes only\n- allowDynamic: [\n+ unstable_allowDynam...
2022-09-12T22:32:18
huggingface/transformers
69b5ccb8878b58372ea326d17d9490d67ccf23a7
88d01d911934bde8da38c4b60622c6549a7acbb4
Add Translate docs into Arabic - section files CONCEPTUAL GUIDES (#33982) Add Translate docs into Arabic - section files CONCEPTUAL GUIDES --------------------------------------------------------------------------------------- Philosophy [i18n-ar] Translated file : docs/source/ar/philosophy.md into Arabic #33064 ...
[ { "path": "docs/source/ar/_toctree.yml", "patch": "@@ -217,32 +217,32 @@\n # title: التحقق من طلب السحب\n # title: المساهمة\n - sections:\n- # - local: philosophy\n- # title: الفلسفة\n+ - local: philosophy\n+ title: الفلسفة\n - local: glossary\n title: (قاموس المصطلحات (قائمة الكلمات\n- ...
2024-10-09T21:51:19
nodejs/node
5055c29e82c4634e6845702fba97cc2438923d44
acf2fd39f7461b36d895582e7b7d7a8b3be03eff
test: use runWithInvalidFD() in tests expecting EBADF PR-URL: https://github.com/nodejs/node/pull/18864 Fixes: https://github.com/nodejs/node/issues/18820 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridg...
[ { "path": "test/parallel/test-fs-close-errors.js", "patch": "@@ -4,9 +4,7 @@\n // include the desired properties\n \n const common = require('../common');\n-const assert = require('assert');\n const fs = require('fs');\n-const uv = process.binding('uv');\n \n ['', false, null, undefined, {}, []].forEach((i)...
2018-02-19T09:38:11
golang/go
d9b79e53bb40275d7974cbc14cc60fc1ce84f8f1
c73232d08f84e110707627a23ceae14d2b534889
cmd/compile: fix wrong complement for arm64 floating-point comparisons Consider the following example, func test(a, b float64, x uint64) uint64 { if a < b { x = 0 } return x } func main() { fmt.Println(test(1, math.NaN(), 123)) } The output is 0, but the expectation is 123. This is be...
[ { "path": "src/cmd/compile/internal/arm64/ssa.go", "patch": "@@ -1054,7 +1054,11 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\tssa.OpARM64LessThanF,\n \t\tssa.OpARM64LessEqualF,\n \t\tssa.OpARM64GreaterThanF,\n-\t\tssa.OpARM64GreaterEqualF:\n+\t\tssa.OpARM64GreaterEqualF,\n+\t\tssa.OpARM64Not...
2021-01-08T02:20:34
vercel/next.js
97ac34446877a166d37157b682032b96f19ab1bb
d83ceeec080fb5ab52df31d57978b1ce14139133
feat(edge): allows configuring Dynamic code execution guard (#39539) ### 📖 What's in there? Dynamic code evaluation (`eval()`, `new Function()`, ...) is not supported on the edge runtime, hence why we fail the build when detecting such statement in the middleware or `experimental-edge` routes at build time. ...
[ { "path": "docs/api-reference/edge-runtime.md", "patch": "@@ -136,6 +136,25 @@ The following JavaScript language features are disabled, and **will not work:**\n \n - `eval`: Evaluates JavaScript code represented as a string\n - `new Function(evalString)`: Creates a new function with the code provided as an ...
2022-09-12T22:01:00
huggingface/transformers
88d01d911934bde8da38c4b60622c6549a7acbb4
c02cf4872986b5875b509347daf42371e9548b46
🌐 [i18n-KO] Translated `generation_utils.md` to Korean (#33818) * docs: ko: generation_utils.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Woojun Jung <46880056+jungnerd@users.noreply.github.com> * Update generation_utils.md Co-authored-by: Steven Liu <59462357...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -785,8 +785,8 @@\n title: 토크나이저를 위한 유틸리티\n - local: in_translation\n title: (번역중) Utilities for Trainer\n- - local: in_translation\n- title: (번역중) Utilities for Generation\n+ - local: internal/generation_utils\n+ title: 생성...
2024-10-09T18:55:07
nodejs/node
acf2fd39f7461b36d895582e7b7d7a8b3be03eff
13637d23f7a2667c2f9abfe2c1a44d6941e10681
test: introduce common.runWithInvalidFD() This provides a more reliable way to get a fd that can be used to tirgger EBADF. PR-URL: https://github.com/nodejs/node/pull/18864 Fixes: https://github.com/nodejs/node/issues/18820 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> R...
[ { "path": "test/common/README.md", "patch": "@@ -139,6 +139,14 @@ consisting of all `ArrayBufferView` and an `ArrayBuffer`.\n \n Returns the file name and line number for the provided Function.\n \n+### runWithInvalidFD(func)\n+* `func` [&lt;Function>]\n+\n+Runs `func` with an invalid file descriptor that i...
2018-02-19T09:36:59
golang/go
c73232d08f84e110707627a23ceae14d2b534889
6aa28d3e06d0757995c54a22d2f2a1f1b396774f
cmd/go/internal/load: refactor setErrorPos to PackageError.setPos Renamed setErrorPos to setPos, made it a method of PackageError, and removed its Package parameter and return value. This makes it more clear that setPos modifies PackageError and does not create a new Package. Change-Id: I26c58d3d456c7c18a5c2598e1e8e1...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -304,7 +304,7 @@ func (p *Package) setLoadPackageDataError(err error, path string, stk *ImportSta\n \t}\n \n \tif path != stk.Top() {\n-\t\tp = setErrorPos(p, importPos)\n+\t\tp.Error.setPos(importPos)\n \t}\n }\n \n@@ -447,6 +447,15 @@ func (p *Pack...
2021-01-13T21:21:16
ollama/ollama
27da2cddc514208f4e23539e00485b880e3e2191
feb8923adada675b19dc1bc20f39ed6cfb0b99da
Fix lingering Q4_0 help reference (#10720)
[ { "path": "cmd/cmd.go", "patch": "@@ -1318,7 +1318,7 @@ func NewCLI() *cobra.Command {\n \t}\n \n \tcreateCmd.Flags().StringP(\"file\", \"f\", \"\", \"Name of the Modelfile (default \\\"Modelfile\\\"\")\n-\tcreateCmd.Flags().StringP(\"quantize\", \"q\", \"\", \"Quantize model to this level (e.g. q4_0)\")\n+...
2025-05-15T23:33:23
huggingface/transformers
c02cf4872986b5875b509347daf42371e9548b46
0354d4492623222a542f5b32c2b6d61c7b015161
🌐 [i18n-KO] Translated `main_classes/callback.md` to Korean (#33572) * docs: ko: callback.md * feat: nmt draft & manual edits * fix: resolve suggestions * Update docs/source/ko/main_classes/callback.md * Apply suggestions from code review * Apply suggestions from code review 확인했습니다! 상세한 리뷰 정말 감사합니다!...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -276,8 +276,8 @@\n title: 자동 클래스\n - local: in_translation\n title: (번역중) Backbones\n- - local: in_translation\n- title: (번역중) Callbacks\n+ - local: main_classes/callback\n+ title: 콜백\n - local: main_classes/configurat...
2024-10-09T18:54:38
vercel/next.js
804dc6bd103dbb9867b82d40e033fb33500a45df
735575708ab2dad926f1b4e3064952cdaf4f76e7
fix: eslint no-script-component-in-head error url (#40422) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples ...
[ { "path": "packages/eslint-plugin-next/lib/rules/no-script-component-in-head.js", "patch": "@@ -1,5 +1,4 @@\n-const url =\n- 'https://nextjs.org/docs/messages/no-script-component-in-head-component'\n+const url = 'https://nextjs.org/docs/messages/no-script-component-in-head'\n \n module.exports = {\n meta...
2022-09-12T16:15:33
nodejs/node
95bae858094450bd01f858ddd358ae0f83865157
eb3edefb70f80de23be6c06bf10904048fd369fd
errors: simplify sysError PR-URL: https://github.com/nodejs/node/pull/18857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "lib/internal/errors.js", "patch": "@@ -841,7 +841,7 @@ E('ERR_STREAM_UNSHIFT_AFTER_END_EVENT',\n 'stream.unshift() after end event', Error);\n E('ERR_STREAM_WRAP', 'Stream has StringDecoder set or is in objectMode', Error);\n E('ERR_STREAM_WRITE_AFTER_END', 'write after end', Error);\n-E('ERR_S...
2018-02-19T01:25:54
huggingface/transformers
0354d4492623222a542f5b32c2b6d61c7b015161
973e6066d478da5add37dce175d5aea6453cf689
🌐 [i18n-KO] Translated `text_generation.md` to Korean (#33777) * docs: ko: text_generation.md * feat: nmt draft * fix: manual edits * fix: manual edits * fix: resolve suggestions Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr> --------- Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@aj...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -288,8 +288,8 @@\n title: 로깅\n - local: main_classes/model\n title: Models\n- - local: in_translation\n- title: (번역중) Text Generation\n+ - local: main_classes/text_generation\n+ title: 텍스트 생성\n - local: main_classes/on...
2024-10-09T18:20:01
ollama/ollama
499ae7311fd26cb4e655ebea69712de3e242f629
ef202789fad6b8a8ab51f4d2ff5450067e3d1f65
ollamarunner: Base cached tokens on current prompt When we restore a sequence from the cache, we split the prompt into the already used tokens (stored in the cache) and new tokens that need to be processed. Currently, the references to the used tokens are coming from the stored previous sequence. However, even though...
[ { "path": "runner/llamarunner/cache.go", "patch": "@@ -104,8 +104,8 @@ func (c *InputCache) LoadCacheSlot(prompt []input, cachePrompt bool) (*InputCach\n \tslog.Debug(\"loading cache slot\", \"id\", slot.Id, \"cache\", len(slot.Inputs), \"prompt\", len(prompt),\n \t\t\"used\", numPast, \"remaining\", len(pr...
2025-05-09T23:51:47
rust-lang/rust
1da567b619d531184d558f5daafa4c30e8cd34eb
1893e1e5e794b04fccf77e1d2b810f99cd9db4a0
Deprecate `match_on_vec_items` lint This lint does more harm than good: in its description, it proposes to rewrite `match` on `Vec<_>` indexes or slices by a version which cannot panic but masks the failure by choosing the default variant. The `clippy::indexing_slicing` restriction lint covers those cases more safely...
[ { "path": "clippy_lints/src/declared_lints.rs", "patch": "@@ -348,7 +348,6 @@ pub static LINTS: &[&crate::LintInfo] = &[\n crate::matches::MATCH_AS_REF_INFO,\n crate::matches::MATCH_BOOL_INFO,\n crate::matches::MATCH_LIKE_MATCHES_MACRO_INFO,\n- crate::matches::MATCH_ON_VEC_ITEMS_INFO,\n c...
2025-02-14T11:50:37
vercel/next.js
735575708ab2dad926f1b4e3064952cdaf4f76e7
c7d3f9d413a909672e0946b5223f230a935f0e75
docs: move `swcMinify: true` out of "Experimental features" section (#40394) See the blog post: https://nextjs.org/blog/next-12-3##swc-minifier-stable ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Fea...
[ { "path": "docs/advanced-features/compiler.md", "patch": "@@ -9,6 +9,7 @@ description: Learn about the Next.js Compiler, written in Rust, which transforms\n \n | Version | Changes |\n...
2022-09-12T15:43:53
golang/go
06074108fab489d6bd7358e736bcd0cb38830c7c
2f072cf8a975afb082b40cb29238ce536b5ae9b6
[dev.fuzz] internal/fuzz: fix context cancellation for coordinator Previously, performing a SIGINT would cause the coordinator to write a crash to testdata, and would continue to run despite being interupted. Also includes a few small cleanups. Change-Id: Ia3cf7cd231c30ac9ad2a61f4935aa543e241f60d Reviewed-on: https:...
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -119,6 +119,7 @@ func CoordinateFuzzing(ctx context.Context, parallel int, seed [][]byte, corpusD\n \t\t\t\t\t// Return the first error found, replacing ctx.Err() if a more\n \t\t\t\t\t// interesting error is found.\n \t\t\t\t\terr = werr\n+\t\t\t\t\tbreak...
2021-01-13T19:43:30
nodejs/node
eb3edefb70f80de23be6c06bf10904048fd369fd
7c8beb5b5f35875811d6e44e9a03907c03a39bb5
errors: add comments about falsy error types Some error types are not properly set. This adds comments which ones are probably falty and to what they should be set instead. PR-URL: https://github.com/nodejs/node/pull/18857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed...
[ { "path": "lib/internal/errors.js", "patch": "@@ -622,6 +622,8 @@ E('ERR_CRYPTO_HASH_FINALIZED', 'Digest already called', Error);\n E('ERR_CRYPTO_HASH_UPDATE_FAILED', 'Hash update failed', Error);\n E('ERR_CRYPTO_INVALID_DIGEST', 'Invalid digest: %s', TypeError);\n E('ERR_CRYPTO_INVALID_STATE', 'Invalid sta...
2018-02-19T01:20:46
huggingface/transformers
973e6066d478da5add37dce175d5aea6453cf689
61a6dce7e4713382ff2690b4327f3957db321984
🌐 [i18n-KO] Translated `model_doc/patchtst.md` to Korean (#33589) * docs: ko: model_doc/patchtst.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com> * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <9...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -765,6 +765,8 @@\n title: Informer\n - local: model_doc/patchtsmixer\n title: PatchTSMixer\n+ - local: model_doc/patchtst\n+ title: PatchTST\n - local: model_doc/time_series_transformer\n title: 시계열 트랜스포머\n...
2024-10-09T18:15:24
rust-lang/rust
6509de3bfb06ba9d951cd4403512b1347f872d69
a001ae3be8c1ee8cbb6b5a3452937cdcc3c52a0c
Fix situations identified by `collapsible_if` new hits
[ { "path": "clippy.toml", "patch": "@@ -2,6 +2,8 @@ avoid-breaking-exported-api = false\n \n check-inconsistent-struct-field-initializers = true\n \n+lint-commented-code = true\n+\n [[disallowed-methods]]\n path = \"rustc_lint::context::LintContext::lint\"\n reason = \"this function does not add a link to ou...
2025-02-16T15:27:09
ollama/ollama
ef202789fad6b8a8ab51f4d2ff5450067e3d1f65
55760195e654992ca5f364aa191b24611b3b7531
fix pixel values padding (#10718) * panic if trying to pad 4d * fix pixel values padding
[ { "path": "ml/backend/ggml/ggml.go", "patch": "@@ -915,6 +915,8 @@ func (t *Tensor) RMSNorm(ctx ml.Context, w ml.Tensor, eps float32) ml.Tensor {\n func (t *Tensor) Pad(ctx ml.Context, shape ...int) ml.Tensor {\n \tif len(shape) != 4 {\n \t\tpanic(\"expected 4 dimensions\")\n+\t} else if shape[3] != 0 {\n+\...
2025-05-15T20:44:44
vercel/next.js
f92a4cee8ab449267c8133fd196af78c964995da
3851d9065fd2cdf4b3dbef4a11667e4a224a5113
Add failing case for location throw (#40445) Found that the cause was that `React.useId()` returns the same value across requests whereas it was being used to create a unique key. On further inspection that code could be removed altogether as `id` was not used client-side and the `rscCache` map is no longer needed as ...
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -56,17 +56,19 @@ let initialServerDataWriter: ReadableStreamDefaultController | undefined =\n let initialServerDataLoaded = false\n let initialServerDataFlushed = false\n \n-function nextServerDataCallback(seg: [number, string, string]) {\n+functi...
2022-09-12T12:45:37
nodejs/node
7c8beb5b5f35875811d6e44e9a03907c03a39bb5
6e1c25c45672b70f4b6c6c8af56d9c0762bfae04
console: port errors to new system This ports the errors to the new error system. PR-URL: https://github.com/nodejs/node/pull/18857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "lib/console.js", "patch": "@@ -21,7 +21,7 @@\n \n 'use strict';\n \n-const errors = require('internal/errors');\n+const { ERR_CONSOLE_WRITABLE_STREAM } = require('internal/errors').codes;\n const util = require('util');\n const kCounts = Symbol('counts');\n \n@@ -35,12 +35,12 @@ function Console(...
2018-02-19T00:51:58
huggingface/transformers
61a6dce7e4713382ff2690b4327f3957db321984
6ac5f25bb645b61ed2e77f80e39885b4a722e1ba
🌐 [i18n-KO] Translated `main_classes/data_collator.md` to Korean (#33954) * docs: ko: main_classes/data_collator.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> * fix: resolve suggestions --------- Co-authored-by: SeongWooCh...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -280,8 +280,8 @@\n title: (번역중) Callbacks\n - local: main_classes/configuration\n title: 구성\n- - local: in_translation\n- title: (번역중) Data Collator\n+ - local: main_classes/data_collator\n+ title: 데이터 콜레이터\n - local: ...
2024-10-09T18:14:43
golang/go
ef5285fbd0636965d916c81dbf87834731f337b2
f065ff221b546c9ac550d947f89eb3b44b11fc2f
[dev.typeparams] cmd/compile: add types2-based noder This CL adds "irgen", a new noding implementation that utilizes types2 to guide IR construction. Notably, it completely skips dealing with constant and type expressions (aside from using ir.TypeNode to interoperate with the types1 typechecker), because types2 alread...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -0,0 +1,222 @@\n+// Copyright 2021 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 noder\n+\n+import (\n+\t\"cmd/compile/internal/bas...
2021-01-09T08:57:55
ollama/ollama
55760195e654992ca5f364aa191b24611b3b7531
bd68d3ae50c67ba46ee94a584fa6d0386e4b8522
fix mllama conversion (#10716) cross attention Q and K projections needs to have their heads swapped, similar to non-cross attention Q and K tensors
[ { "path": "convert/convert_llama.go", "patch": "@@ -139,7 +139,8 @@ func (p *llamaModel) Tensors(ts []Tensor) []*ggml.Tensor {\n \t}\n \n \tfor _, t := range ts {\n-\t\tif strings.HasSuffix(t.Name(), \"attn_q.weight\") || strings.HasSuffix(t.Name(), \"attn_k.weight\") {\n+\t\tif strings.HasSuffix(t.Name(), ...
2025-05-15T19:15:01
vercel/next.js
3851d9065fd2cdf4b3dbef4a11667e4a224a5113
40fc066f09c0a987d563e3b869f48c388dd797aa
docs(middleware): fix broken link
[ { "path": "docs/api-reference/next/server.md", "patch": "@@ -10,7 +10,7 @@ description: Learn about the server-only helpers for Middleware and Edge API Rou\n \n The `NextRequest` object is an extension of the native [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request) interface, with the fo...
2022-09-12T11:13:09
huggingface/transformers
6ac5f25bb645b61ed2e77f80e39885b4a722e1ba
8dca25982685db879a0381890cf82de9fa72c543
🌐 [i18n-KO] Translated `modeling_utils.md` to Korean (#33808) * docs: ko: modeling_utils.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.github.com> --------- Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.g...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -775,12 +775,8 @@\n title: 그래프 모델\n title: (번역중) 모델\n - sections:\n- - local: in_translation\n- title: (번역중) Custom Layers and Utilities\n- - local: in_translation\n- title: (번역중) Utilities for pipelines\n- - local: interna...
2024-10-09T17:50:03
nodejs/node
6e1c25c45672b70f4b6c6c8af56d9c0762bfae04
8272c225b12eb08f60d41791c68f3f1a28caec20
errors: update all internal errors This updates all internal errors to the new error type. While doing so it removes unused errors. A few errors currently seem to have the wrong type. To identify them later, comments were added next to the error type. PR-URL: https://github.com/nodejs/node/pull/18857 Reviewed-By: An...
[ { "path": "doc/api/errors.md", "patch": "@@ -793,12 +793,6 @@ An invalid symlink type was passed to the [`fs.symlink()`][] or\n \n An attempt was made to add more headers after the headers had already been sent.\n \n-<a id=\"ERR_HTTP_INVALID_CHAR\"></a>\n-### ERR_HTTP_INVALID_CHAR\n-\n-An invalid character ...
2018-02-19T00:50:56
golang/go
983ac4b08663ea9655abe99ca30faf47e54fdc16
d6d467372854124795cdd11429244ef1e28b809c
[dev.regabi] cmd/compile: fix ICE when initializing blank vars CL 278914 introduced NameOffsetExpr to avoid copying ONAME nodes and hacking up their offsets, but evidently staticinit subtly depended on the prior behavior to allow dynamic initialization of blank variables. This CL refactors the code somewhat to avoid ...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -473,6 +473,9 @@ type NameOffsetExpr struct {\n }\n \n func NewNameOffsetExpr(pos src.XPos, name *Name, offset int64, typ *types.Type) *NameOffsetExpr {\n+\tif name == nil || IsBlank(name) {\n+\t\tbase.FatalfAt(pos, \"cannot take offset of nil or...
2021-01-13T23:02:16
ollama/ollama
ff80718e9c9a08dd10759cdee5c81db366e38368
0aa8b371ddd24a2d0ce859903a9284e9544f5c78
fix crash in old clients with quantization progress (#10710) Older clients assumed the digest was at least 19 characters long so increase the size of the dummy digest to avoid array out of bounds crashes.
[ { "path": "server/create.go", "patch": "@@ -430,7 +430,7 @@ func quantizeLayer(layer *layerGGML, quantizeType string, fn func(resp api.Progr\n \tfnWrap := func(n uint64) {\n \t\tdone := doneBytes.Add(n)\n \t\tprogress := float32(done) / float32(totalBytes)\n-\t\tfn(api.ProgressResponse{Status: fmt.Sprintf(\...
2025-05-14T21:54:18
vercel/next.js
fc3ef810ba3cfddd7763ad6fc498a6f2cddc3064
8bc587aa30099bdf3ee379fe0b1a2fe3387801cf
Update dev watcher to ignore more accurately (#40412) This ensures we ignore all except the files/directories we are explicitly wanting to watch to prevent watching/considering directories with massive amounts of files slowing down startup. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration t...
[ { "path": "packages/next/server/dev/next-dev-server.ts", "patch": "@@ -273,12 +273,10 @@ export default class DevServer extends Server {\n })\n }\n \n- const wp = (this.webpackWatcher = new Watchpack({\n- ignored: /([/\\\\]node_modules[/\\\\]|[/\\\\]\\.next[/\\\\]|[/\\\\]\\.git[/\\...
2022-09-11T18:39:32
huggingface/transformers
8dca25982685db879a0381890cf82de9fa72c543
4ad923344d78b41b788e737fd51131e546fe29d2
🌐 [i18n-KO] Translated `model_doc/graphormer.md` to Korean (#33569) * docs: ko: model_doc/graphormer.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> * fix: resolve suggestions * fix: resolve suggestions --------- Co-autho...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -770,9 +770,9 @@\n title: 시계열 모델\n - isExpanded: false\n sections:\n- - local: in_translation\n- title: (번역중) Graphormer\n- title: (번역중) Graph models\n+ - local: model_doc/graphormer\n+ title: Graphormer\n+ ...
2024-10-09T17:44:28
nodejs/node
8272c225b12eb08f60d41791c68f3f1a28caec20
887a2ba92eec98ddf1e0953e742419236eff75d7
errors: implement new error handling This implements a function based system. Instead of passing in the error code as first argument, the error code itself is a error class. It already contains the correct error type, so while adding a new error no one has to think about the error type anymore. In case a single error ...
[ { "path": "lib/internal/errors.js", "patch": "@@ -13,6 +13,7 @@\n const kCode = Symbol('code');\n const kInfo = Symbol('info');\n const messages = new Map();\n+const codes = {};\n \n var green = '';\n var red = '';\n@@ -86,6 +87,54 @@ function makeNodeError(Base) {\n };\n }\n \n+function makeNodeErrorWith...
2018-02-19T00:49:30
golang/go
7eb31d999cf2769deb0e7bdcafc30e18f52ceb48
ba76567bc2500204432ed8a5cb28848410e74447
cmd/go: add hints to more missing sum error messages When a command fails due to a module zip sum missing from go.sum, if the module is in the build list, the go command will print a 'go mod download' command the user can run to fix it. Previously, a hint was only printed if the module provided a package in 'all'. We...
[ { "path": "src/cmd/go/internal/modload/import.go", "patch": "@@ -130,25 +130,57 @@ func (e *AmbiguousImportError) Error() string {\n }\n \n // ImportMissingSumError is reported in readonly mode when we need to check\n-// if a module in the build list contains a package, but we don't have a sum\n-// for its ...
2021-01-08T20:14:22
ollama/ollama
0478d440f0ba62202bc4b98043ae4a7d0b85e4ba
8cc33f4c2ba9347b3de3b5fe197d486df741d3e4
Fixed over vram allcation dure to small initial layer sizes. Co-authored-by: Tej Kiran <kiran.tej@amd.com> Co-authored-by: Michael Yang <mxyng@pm.me> Co-authored-by: Tej Kiran <itej89@gmailcom>
[ { "path": "llm/memory.go", "patch": "@@ -1,9 +1,12 @@\n package llm\n \n import (\n+\t\"cmp\"\n \t\"fmt\"\n \t\"log/slog\"\n+\t\"maps\"\n \t\"os\"\n+\t\"slices\"\n \t\"strconv\"\n \t\"strings\"\n \n@@ -120,12 +123,10 @@ func EstimateGPULayers(gpus []discover.GpuInfo, f *ggml.GGML, projectors []strin\n \t}\n...
2025-05-13T23:42:39
huggingface/transformers
4ad923344d78b41b788e737fd51131e546fe29d2
04f51c42c809aec5dd475a7039d048ccdf8253d8
🌐 [i18n-KO] Translated `model_doc/informer.md` to Korean (#33585) * docs: ko: model_doc/informer.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> * fix: resolv...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -761,8 +761,8 @@\n sections:\n - local: model_doc/autoformer\n title: Autoformer\n- - local: in_translation\n- title: (번역중) Informer\n+ - local: model_doc/informer\n+ title: Informer\n - local: model_doc/...
2024-10-09T17:41:06
vercel/next.js
8bc587aa30099bdf3ee379fe0b1a2fe3387801cf
6fb1121e8c437bb5342d4eddfdced9b611130604
feat(ts): expose `AppType` (#40391) An alternative solution to #40371 Ref: #38867, https://github.com/t3-oss/create-t3-app/issues/412, https://github.com/t3-oss/create-t3-app/pull/414 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attac...
[ { "path": "packages/next/pages/_app.tsx", "patch": "@@ -5,10 +5,11 @@ import {\n AppInitialProps,\n AppPropsType,\n NextWebVitalsMetric,\n+ AppType,\n } from '../shared/lib/utils'\n import type { Router } from '../client/router'\n \n-export { AppInitialProps }\n+export { AppInitialProps, AppType }\n ...
2022-09-09T20:32:58
nodejs/node
887a2ba92eec98ddf1e0953e742419236eff75d7
d3955d15ff5c68acf91f35177d290ff068068a05
build, win: vcbuild improvements Removes extra erroor messages when Python is not installed. Removes "vswhere not found" message when no VS2017 installation is found. Adds support for DEBUG_HELPER to vcbuild.bat. Fixes: https://github.com/nodejs/node/issues/16864 PR-URL: https://github.com/nodejs/node/pull/17015 Rev...
[ { "path": "tools/msvs/find_python.cmd", "patch": "@@ -1,4 +1,5 @@\n @IF NOT DEFINED DEBUG_HELPER @ECHO OFF\n+echo Looking for Python 2.x\n SETLOCAL\n :: If python.exe is in %Path%, just validate\n FOR /F \"delims=\" %%a IN ('where python 2^> NUL') DO (\n@@ -14,18 +15,18 @@ FOR %%K IN ( \"HKCU\\Software\", \...
2017-11-13T15:59:11
golang/go
d6d467372854124795cdd11429244ef1e28b809c
c41b999ad410c74bea222ee76488226a06ba4046
[dev.regabi] cmd/compile: fix GOEXPERIMENT=regabi builder I misread the FIXME comment in InitLSym the first time. It's referring to how InitLSym is supposed to be called exactly once per function (see function documentation), but this is evidently not actually the case currently in GOEXPERIMENT=regabi mode. So just m...
[ { "path": "src/cmd/compile/internal/gc/obj.go", "patch": "@@ -111,7 +111,6 @@ func dumpdata() {\n \tnumDecls := len(typecheck.Target.Decls)\n \n \tdumpglobls(typecheck.Target.Externs)\n-\tstaticdata.WriteFuncSyms()\n \treflectdata.CollectPTabs()\n \tnumExports := len(typecheck.Target.Exports)\n \taddsignats...
2021-01-13T07:55:08
huggingface/transformers
04f51c42c809aec5dd475a7039d048ccdf8253d8
32cc15c6a22f8d4b96bb6a7dd6d99ad1102f3143
🌐 [i18n-KO] Translated `model_doc/time_series_transformer.md` to Korean (#33596) * docs: ko: model_doc/time_series_transformer.md * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions * fix: resolve sugg...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -765,8 +765,8 @@\n title: (번역중) Informer\n - local: model_doc/patchtsmixer\n title: PatchTSMixer\n- - local: in_translation\n- title: (번역중) Time Series Transformer\n+ - local: model_doc/time_series_transformer\n+ ...
2024-10-09T17:40:48
ollama/ollama
8cc33f4c2ba9347b3de3b5fe197d486df741d3e4
f46df4e5d2e964ccfd0f23f9377240b6d9897ed8
llama: fix memory leak for grammar (#10696)
[ { "path": "llama/sampling_ext.cpp", "patch": "@@ -114,6 +114,9 @@ void grammar_free(struct llama_grammar *g) {\n if (g->vocab != nullptr) {\n delete g->vocab;\n }\n+ if (g->o_vocab != nullptr) {\n+ delete g->o_vocab;\n+ }\n llama_grammar_free_...
2025-05-13T22:39:27
vercel/next.js
3d23c3d9ee84ce9ca8a1216ac3a5196d1e24e22c
b09592e6acb96f7dfdf1ab3b7d54f1bbbe8a046d
fix(#40388): `next/dynamic` should only add default loading without suspense (#40397) The PR fixes #40388. Currently, `next/dynamic` will try to provide a default `loading` to the `loadableOptions` even when `suspense` is enabled, thus triggering the incorrect warning. The PR fixes that. The corresponding integra...
[ { "path": "packages/next/shared/lib/dynamic.tsx", "patch": "@@ -65,29 +65,33 @@ export default function dynamic<P = {}>(\n options?: DynamicOptions<P>\n ): React.ComponentType<P> {\n let loadableFn: LoadableFn<P> = Loadable\n- let loadableOptions: LoadableOptions<P> = {\n- // A loading component is ...
2022-09-09T19:46:23
nodejs/node
d3955d15ff5c68acf91f35177d290ff068068a05
b1e52fe2ea99a52ace6399e9f629c965f66a2643
fs: use fs.access in fs.exists Uses fs.access to implement fs.exists functionality. Fixes a issue, when a file exists but user does not have privileges to do stat on the file. Fixes: https://github.com/nodejs/node/issues/17921 PR-URL: https://github.com/nodejs/node/pull/18618 Reviewed-By: Colin Ihrig <cjihrig@gmail....
[ { "path": "lib/fs.js", "patch": "@@ -234,14 +234,10 @@ fs.exists = function(path, callback) {\n }\n \n try {\n- path = getPathFromURL(path);\n- validatePath(path);\n+ fs.access(path, fs.FS_OK, suppressedCallback);\n } catch (err) {\n return callback(false);\n }\n- var req = new FSReqWr...
2018-02-12T12:03:05
golang/go
2abd24f3b78f8f605840e5a0dd3b4f76734f6c13
9a19481acb93114948503d935e10f6985ff15843
[dev.regabi] test: make run.go error messages slightly more informative This is intended to make it easier to write/change a test without referring to the source code to figure out what the error messages actually mean, or how to correct them. Change-Id: Ie79ff7cd9f2d1fa605257fe97eace68adc8a6716 Reviewed-on: https://...
[ { "path": "test/run.go", "patch": "@@ -489,7 +489,7 @@ func (t *test) run() {\n \t// Execution recipe stops at first blank line.\n \tpos := strings.Index(t.src, \"\\n\\n\")\n \tif pos == -1 {\n-\t\tt.err = errors.New(\"double newline not found\")\n+\t\tt.err = fmt.Errorf(\"double newline ending execution re...
2021-01-04T19:05:17
huggingface/transformers
32cc15c6a22f8d4b96bb6a7dd6d99ad1102f3143
f0fbef1c63241fd5879885daa7c2ad4efa0b41c6
🌐 [i18n-KO] Translated `model_doc/trajectory_transformer.md` to Korean (#33597) * docs: ko: model_doc/trajectory_transformer.md * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> * fix: resolve suggestions * fix: resolve suggestions --------- Co-au...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -754,8 +754,8 @@\n sections:\n - local: in_translation\n title: (번역중) Decision Transformer\n- - local: in_translation\n- title: (번역중) Trajectory Transformer\n+ - local: model_doc/trajectory_transformer\n+ title...
2024-10-09T17:40:36
vercel/next.js
38169e338559207f851fc6022c9d7638417d94a0
d64fc54507b6d92e6236edfe23f3d8fd112df86a
Fix mdx docs (#40402) ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) The MDX guide is missing `@mdx-js/react` as a require...
[ { "path": "docs/advanced-features/using-mdx.md", "patch": "@@ -33,7 +33,7 @@ The following steps outline how to setup `@next/mdx` in your Next.js project:\n 1. Install the required packages:\n \n ```bash\n- npm install @next/mdx @mdx-js/loader\n+ npm install @next/mdx @mdx-js/loader @mdx-js/react...
2022-09-09T19:12:36
ollama/ollama
f46df4e5d2e964ccfd0f23f9377240b6d9897ed8
c6bcdc4223c50071b59a19c42cc54ec9932f696f
llama: fix defrag patch to defragment when no slots are available (#10695)
[ { "path": "llama/llama.cpp/src/llama-context.cpp", "patch": "@@ -950,9 +950,12 @@ int llama_context::decode(llama_batch & inp_batch) {\n \n // find KV slot\n if (!kv_self->find_slot(ubatch)) {\n- LLAMA_LOG_WARN(\"%s: failed to find KV cache slot for ubatch of size %d\\n\", __func_...
2025-05-13T21:02:08
nodejs/node
7107c9201de10e9808e7e12a53829bf899ce19da
20dae8540b4a6306d53ebd8fca88a9940c8e9c00
tools: fix custom eslint rule errors This fixes a few rules by making sure the input is actually ready to be checked. Otherwise those can throw TypeErrors or result in faulty error messages. PR-URL: https://github.com/nodejs/node/pull/18853 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "tools/eslint-rules/alphabetize-errors.js", "patch": "@@ -1,19 +1,14 @@\n 'use strict';\n \n+const { isDefiningError } = require('./rules-utils.js');\n+\n const prefix = 'Out of ASCIIbetical order - ';\n const opStr = ' >= ';\n \n function errorForNode(node) {\n return node.expression.arguments[...
2018-02-18T19:19:20
huggingface/transformers
f0fbef1c63241fd5879885daa7c2ad4efa0b41c6
48b54205d0a15ba79e5965a34caf5d13ac22697e
🌐 [i18n-KO] Translated `main_classes/model.md` to Korean (#33606) * feat: nmt draft * fix: manual edits * docs: ko: main_classes/model.md * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> Co-author...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -286,8 +286,8 @@\n title: 케라스 콜백\n - local: main_classes/logging\n title: 로깅\n- - local: in_translation\n- title: (번역중) Models\n+ - local: main_classes/model\n+ title: Models\n - local: in_translation\n title: (번...
2024-10-09T17:40:06
ollama/ollama
4b903f088aa8d14404e5650d42db8c15530803d5
c7f4ae7b9c8976b4d50c59eb87e9582ea9c5c82f
llama: fix crash on snowflake embedding model (#10690)
[ { "path": "llama/llama.cpp/src/llama-vocab.cpp", "patch": "@@ -1469,8 +1469,6 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {\n const int precompiled_charsmap_keyidx = gguf_find_key(ctx, kv(LLM_KV_TOKENIZER_PRECOMPILED_CHARSMAP).c_str());\n if (precompil...
2025-05-13T20:11:11
vercel/next.js
13e423ccf61a96dc5c0ca5e10107e368d06c376d
a3a20dcbc1358f0362b74717c2fc3fa1e97a06b1
chore: fix examples (#40395) Closes #40366 Rebass is not dependent on `styled-components` anymore. See: https://rebassjs.org/migrating/#v4-breaking-changes Closes #40367 Document has been converted (#39871) from class, so `this.props` threw an error. ## Bug - [ ] Related issues linked using `fixes #nu...
[ { "path": "examples/with-rebass/.babelrc", "patch": "@@ -1,9 +0,0 @@\n-{\n- \"presets\": [\"next/babel\"],\n- \"plugins\": [\n- [\n- \"styled-components\",\n- { \"ssr\": true, \"displayName\": true, \"preprocess\": false }\n- ]\n- ]\n-}", "additions": 0, "deletions": 9, "langu...
2022-09-09T13:35:37
huggingface/transformers
48b54205d0a15ba79e5965a34caf5d13ac22697e
03e6fa0061970846024266146f571c8c781ee3a4
🌐 [i18n-KO] Translated `model_doc/mamba2.md` to Korean (#33629) * docs: ko: model_doc/mamba2.md * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix:...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -442,6 +442,8 @@\n title: (번역중) M2M100\n - local: model_doc/mamba\n title: Mamba\n+ - local: model_doc/mamba2\n+ title: Mamba2\n - local: in_translation\n title: (번역중) MarianMT\n - local: in_translati...
2024-10-09T17:39:54
nodejs/node
20dae8540b4a6306d53ebd8fca88a9940c8e9c00
3cb3618973bcf7817b55eb4fd96cc5fe7284cbd9
test: http2 client setNextStreamID errors PR-URL: https://github.com/nodejs/node/pull/18848 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-client-setNextStreamID-errors.js", "patch": "@@ -0,0 +1,59 @@\n+'use strict';\n+\n+const common = require('../common');\n+if (!common.hasCrypto)\n+ common.skip('missing crypto');\n+\n+const http2 = require('http2');\n+\n+const server = http2.createServer();\n+server.on('...
2018-02-18T04:35:01
ollama/ollama
526b2ed10296cc3d1ae89121eedcbbbe257741a3
a7240c6d636836f0bca01790038d7194f519604b
fix vocabulary (#10679)
[ { "path": "model/models/gemma2/model.go", "patch": "@@ -45,6 +45,8 @@ func New(c fs.Config) (model.Model, error) {\n \t\t\t\tTypes: c.Ints(\"tokenizer.ggml.token_type\"),\n \t\t\t\tBOS: int32(c.Uint(\"tokenizer.ggml.bos_token_id\")),\n \t\t\t\tEOS: int32(c.Uint(\"tokenizer.ggml.eos_token_id\")),\n+\t...
2025-05-13T00:29:46
vercel/next.js
a3a20dcbc1358f0362b74717c2fc3fa1e97a06b1
9ab5c012bffd9ca410978577d38b9a7a8e8db6d6
Add template and error file types (#39808) Co-authored-by: Jiachi Liu <inbox@huozhi.im>
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -1,7 +1,24 @@\n import type webpack from 'webpack'\n+import type { ValueOf } from '../../../shared/lib/constants'\n import { NODE_RESOLVE_OPTIONS } from '../../webpack-config'\n import { getModuleBuildInfo } from './get-module-...
2022-09-09T12:44:12
nodejs/node
45982de4184e66bb53577b9c07383189f3d83dde
2990429b16f32c216d357a5cbf3f81d43aa8abaf
cluster: fix inspector port assignment Make sure that inspector ports in cluster are inside the valid range: `[1024, 65535]`. Fixes flaky `test-inspector-port-zero-cluster`. PR-URL: https://github.com/nodejs/node/pull/18696 Fixes: https://github.com/nodejs/node/issues/18303 Reviewed-By: Colin Ihrig <cjihrig@gmail.com...
[ { "path": "lib/internal/cluster/master.js", "patch": "@@ -14,6 +14,7 @@ const intercom = new EventEmitter();\n const SCHED_NONE = 1;\n const SCHED_RR = 2;\n const { isLegalPort } = require('internal/net');\n+const [ minPort, maxPort ] = [ 1024, 65535 ];\n \n module.exports = cluster;\n \n@@ -119,6 +120,8 @@...
2018-02-10T13:52:18
golang/go
665def2c11bb49749b075d612e98b6db293266a7
81ea89adf38b90c3c3a8c4eed9e6c093a8634d59
encoding/asn1: document unmarshaling behavior for IMPLICIT string fields Fixes #42570. Change-Id: I73e339cdebe1720c141861a12e28a94cef13c75b Reviewed-on: https://go-review.googlesource.com/c/go/+/269798 Reviewed-by: Katie Hockman <katie@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org> Run-TryBot: Katie Ho...
[ { "path": "src/encoding/asn1/asn1.go", "patch": "@@ -1067,6 +1067,15 @@ func setDefaultValue(v reflect.Value, params fieldParameters) (ok bool) {\n //\tset causes a SET, rather than a SEQUENCE type to be expected\n //\ttag:x specifies the ASN.1 tag number; implies ASN.1 CONTEXT SPECIFIC\n //\n...
2020-11-13T03:13:02
rust-lang/rust
1ca79a8797e8c81854a1afc8b1cde40d503c92d6
8e50cfacdf49ff42432ae2fc6e943f07d316fc21
test fixes
[ { "path": "tests/ui/manual_strip_fixable.fixed", "patch": "@@ -1,4 +1,5 @@\n #![warn(clippy::manual_strip)]\n+#![allow(clippy::uninlined_format_args)]\n \n fn main() {\n let s = \"abc\";", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "tests/ui/manual_strip_fixab...
2025-03-25T14:49:14
huggingface/transformers
03e6fa0061970846024266146f571c8c781ee3a4
13929a0ec686988b56a9298b8035897215f4d2d7
🌐 [i18n-KO] Translated `main_classes/keras_callbacks.md` to Korean (#33955) * docs: ko: main_classes/keras_callbacks.md * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> --------- Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com>
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -282,8 +282,8 @@\n title: 구성\n - local: in_translation\n title: (번역중) Data Collator\n- - local: in_translation\n- title: (번역중) Keras callbacks\n+ - local: main_classes/keras_callbacks\n+ title: 케라스 콜백\n - local: main_c...
2024-10-09T17:34:01
ollama/ollama
9d6df9080502adcb6f25950e3d829ab05ec8cfc8
0cefd46f23ed60d5b41a90e6b6a1864e4214da3b
Follow up to #10363 (#10647) The quantization PR didn't block all unsupported file types, which this PR fixes. It also updates the API docs to reflect the now reduced set of supported types.
[ { "path": "docs/api.md", "patch": "@@ -19,7 +19,7 @@\n \n ### Model names\n \n-Model names follow a `model:tag` format, where `model` can have an optional namespace such as `example/model`. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `lat...
2025-05-12T22:23:31
vercel/next.js
9ab5c012bffd9ca410978577d38b9a7a8e8db6d6
614f0d8e19a80cbb5f707b2201c7fb3ec5f3a831
Stop build warning about `experimental: { esmExternals: 'loose' }` (#40377) Fixes #40368. ## Bug - [x] Related issues linked using `fixes #number` - [ ] ~~Integration tests added~~ [none applicable] - [ ] ~~Errors have helpful link attached, see `contributing.md`~~ [no new errors]
[ { "path": "packages/next/server/config-schema.ts", "patch": "@@ -253,7 +253,14 @@ const configSchema = {\n type: 'boolean',\n },\n esmExternals: {\n- type: 'boolean',\n+ oneOf: [\n+ {\n+ type: 'boolean',\n+ },\n+ {\n+ ...
2022-09-09T02:35:33
nodejs/node
53a5d87becb664c183d63a5c028641bc248f0771
2d76379e30ea1f31593f282ab7fb5368eddd2367
test: fix deprecation warning in binding.cc Currently, the make-callback-domain-warning addon generates the following warning: ../binding.cc:22:9: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, recv, method, 0, nullptr); ...
[ { "path": "test/addons/make-callback-domain-warning/binding.cc", "patch": "@@ -19,7 +19,8 @@ void MakeCallback(const FunctionCallbackInfo<Value>& args) {\n Local<Object> recv = args[0].As<Object>();\n Local<Function> method = args[1].As<Function>();\n \n- node::MakeCallback(isolate, recv, method, 0, nu...
2018-02-20T04:41:28
rust-lang/rust
d063e09d102591e9b60d7f4cf0e606c41c11b992
1d890389ffe885ac2b148113c852a115f35fdb01
Move `uninlined_format_args` to `style` This lint was downgraded to `pedantic` in part because rust-analyzer was not fully supporting it at the time per #10087. The support has been added over [a year ago](https://github.com/rust-lang/rust-analyzer/issues/11260), so seems like this should be back to style. Another so...
[ { "path": "tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed", "patch": "@@ -1,5 +1,5 @@\n #![deny(clippy::index_refutable_slice)]\n-\n+#![allow(clippy::uninlined_format_args)]\n fn below_limit() {\n let slice: Option<&[u32]> = Some(&[1, 2, 3]);\n if let Some([_, _, _, _, ...
2025-02-15T22:25:56
golang/go
12ee55ba7bf22157267e735e8e4bbf651c5b4e7d
b4d2a0445b0ca54a159e0895e1a8b31d47411894
[dev.regabi] cmd/compile: stop using Vargen for import/export Historically, inline function bodies were exported as plain Go source code, and symbol mangling was a convenient hack because it allowed variables to be re-imported with largely the same names as they were originally exported as. However, nowadays we use a...
[ { "path": "src/cmd/compile/internal/ir/func.go", "patch": "@@ -61,8 +61,14 @@ type Func struct {\n \t// memory for escaping parameters.\n \tEnter Nodes\n \tExit Nodes\n+\n \t// ONAME nodes for all params/locals for this func/closure, does NOT\n \t// include closurevars until transformclosure runs.\n+\t// N...
2021-01-11T23:07:09
huggingface/transformers
13929a0ec686988b56a9298b8035897215f4d2d7
41794e60984ff0de268879e3ba39a8266f61738f
🌐 [i18n-KO] Translated `model_doc/deberta.md` to Korean (#33967) * docs: ko: model_doc/deberta.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> * fix: resolve suggestions * fix: resolve suggestions --------- Co-authored-by: Chaewon Song <chaewo...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -366,8 +366,8 @@\n title: (번역중) CTRL\n - local: model_doc/dbrx\n title: DBRX\n- - local: in_translation\n- title: (번역중) DeBERTa\n+ - local: model_doc/deberta\n+ title: DeBERTa\n - local: model_doc/deber...
2024-10-09T17:33:34
ollama/ollama
0d6e35d3c67cf37de1c425d178c71d7351083013
6e9a7a256856bf1119c992cf7da39c05276f386c
fix: stream accumulator exits early (#10593) the stream accumulator exits as soon as it sees `api.ProgressResponse(status="success")` which isn't strictly correctly since some requests may have multiple successes, e.g. `/api/create` when the source model needs to be pulled.
[ { "path": "server/routes.go", "patch": "@@ -1341,31 +1341,29 @@ func Serve(ln net.Listener) error {\n \n func waitForStream(c *gin.Context, ch chan any) {\n \tc.Header(\"Content-Type\", \"application/json\")\n+\tvar latest api.ProgressResponse\n \tfor resp := range ch {\n \t\tswitch r := resp.(type) {\n \t\...
2025-05-08T20:17:30
rust-lang/rust
1d890389ffe885ac2b148113c852a115f35fdb01
f5d81a314a5765be237f716dca2b0ea42f460095
Move `uninlined_format_args` to `style` This lint was downgraded to `pedantic` in part because rust-analyzer was not fully supporting it at the time per #10087. The support has been added over [a year ago](https://github.com/rust-lang/rust-analyzer/issues/11260), so seems like this should be back to style. Another so...
[ { "path": "clippy_lints/src/format_args.rs", "patch": "@@ -141,7 +141,7 @@ declare_clippy_lint! {\n /// format!(\"{var:.prec$}\");\n /// ```\n ///\n- /// If allow-mixed-uninlined-format-args is set to false in clippy.toml,\n+ /// If `allow-mixed-uninlined-format-args` is set to `false` in ...
2025-02-06T07:41:20
huggingface/transformers
41794e60984ff0de268879e3ba39a8266f61738f
36d410dab637c133f1bb706779c75d9021d403cf
🌐 [i18n-KO] Translated `model_doc/bart.md` to Korean (#33893) * docs: ko: model_doc/bart.md * fix: anchor edits * feat: nmt draft * Update docs/source/ko/model_doc/bart.md * Update docs/source/ko/model_doc/bart.md * fix: manual edits * Update docs/source/ko/model_doc/bart.md * fix: manual edits ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -318,8 +318,8 @@\n sections:\n - local: in_translation\n title: (번역중) ALBERT\n- - local: in_translation\n- title: (번역중) BART\n+ - local: model_doc/bart\n+ title: BART\n - local: in_translation\n t...
2024-10-09T17:33:14
vercel/next.js
c6ef857d5792bc201c85e73ebaea8f6b83cdf643
1858fa966c485f2fc5a0cfe44a2eb3e43cae27ef
Subresource Integrity for App Directory (#39729) <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> This ...
[ { "path": "errors/manifest.json", "patch": "@@ -729,6 +729,10 @@\n {\n \"title\": \"middleware-parse-user-agent\",\n \"path\": \"/errors/middleware-parse-user-agent.md\"\n+ },\n+ {\n+ \"title\": \"nonce-contained-invalid-characters\",\n+ \"path\": ...
2022-09-08T22:17:15
nodejs/node
2d76379e30ea1f31593f282ab7fb5368eddd2367
48e90ed87e3116333f0b964a2eed352ca915a660
src: fix deprecation warning in node_perf.cc Currently the following deprecation warning is produced when compiling node_perf.cc: ./src/node_perf.cc:91:11: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(env->isolate(), ^ ....
[ { "path": "src/node_perf.cc", "patch": "@@ -91,7 +91,8 @@ void PerformanceEntry::Notify(Environment* env,\n node::MakeCallback(env->isolate(),\n env->process_object(),\n env->performance_entry_callback(),\n- 1, &object);\n+ ...
2018-02-20T04:21:05
golang/go
81ea89adf38b90c3c3a8c4eed9e6c093a8634d59
759309029fc1087a2f68f0f30f4cf77d3eb8c7b9
cmd/go: fix non-script staleness checks interacting badly with GOFLAGS Fixes #43012. Change-Id: Idc7a64b53c411e6dadd98521a48e15e664737d42 GitHub-Last-Rev: b56c0880c3b5ceb86c6fa2ba6bf82f8969e10472 GitHub-Pull-Request: golang/go#43155 Reviewed-on: https://go-review.googlesource.com/c/go/+/277453 Reviewed-by: Jay Conrod...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -216,6 +216,7 @@ func TestMain(m *testing.M) {\n \t}\n \t// Don't let these environment variables confuse the test.\n \tos.Setenv(\"GOENV\", \"off\")\n+\tos.Unsetenv(\"GOFLAGS\")\n \tos.Unsetenv(\"GOBIN\")\n \tos.Unsetenv(\"GOPATH\")\n \tos.Unsetenv(\"GIT_ALLO...
2020-12-12T17:43:52
ollama/ollama
5e380c3b42741541d01cea0c821f4e01aa4e432e
392de84031e71cbd97ffe19b89ccf6cfeed9c7b3
sched: fix race leading to orphaned runners (#10599) If a model is loading, and the request context is canceled during the load by a client closing the connection, and another request is inbound for the same model with a different configuration (context size, etc.) thus requiring a reload, two unload events can be in ...
[ { "path": "llm/server.go", "patch": "@@ -1010,17 +1010,17 @@ func (s *llmServer) Close() error {\n \ts.llamaModelLock.Unlock()\n \n \tif s.cmd != nil {\n-\t\tslog.Debug(\"stopping llama server\")\n+\t\tslog.Debug(\"stopping llama server\", \"pid\", s.Pid())\n \t\tif err := s.cmd.Process.Kill(); err != nil {...
2025-05-07T16:38:17
rust-lang/rust
b501e58c2e8aa42c0b6f4f568c90f70e34a11170
598f8658744db0dc0215545d2193accd3a1ce8c8
Incorporate issue-111692.rs into the larger test file and add more test cases Note that issue-111692.rs was incorrectly named: It's a regression test for issue [#]112278, not for [#]111692. That's been addressed, too.
[ { "path": "src/tools/tidy/src/issues.txt", "patch": "@@ -3189,7 +3189,6 @@ ui/parser/issues/issue-108495-dec.rs\n ui/parser/issues/issue-110014.rs\n ui/parser/issues/issue-111148.rs\n ui/parser/issues/issue-111416.rs\n-ui/parser/issues/issue-111692.rs\n ui/parser/issues/issue-112188.rs\n ui/parser/issues/is...
2025-03-24T16:39:38
huggingface/transformers
36d410dab637c133f1bb706779c75d9021d403cf
48461c0fe2686cb2321a17104183d0c3fd6488db
FEAT : Adding BitNet quantization method to HFQuantizer (#33410) * rebasing changes * fixing style * adding some doc to functions * remove bitblas * change dtype * fixing check_code_quality * fixing import order * adding doc to tree * Small update on BitLinear * adding some tests * sortin...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -179,6 +179,8 @@\n title: Optimum\n - local: quantization/torchao\n title: TorchAO\n+ - local: quantization/bitnet\n+ title: BitNet\n - local: quantization/compressed_tensors\n title: compressed-tensors\n - local: quantization/contr...
2024-10-09T15:51:41
vercel/next.js
1858fa966c485f2fc5a0cfe44a2eb3e43cae27ef
a234abfae6e208668b66f6238a51ff93c6a2b11c
Fix page url for edge routes in app dir (#40361) For edge routes in app dir, we passed the page name as url so that the url will be incorrect: * a non-dynamic route `/dashboard` will become `/dashboard/page` * a dynamic route `/dynamic/[id]` with url `/dyanmic/123` will still hit `/dynamic/page/[id]/page` Thi...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -763,7 +763,6 @@ export default class NextNodeServer extends BaseServer {\n params,\n page,\n appPaths: null,\n- isAppPath: false,\n })\n \n if (handledAsEdgeFunction) {\n@@ -913,7 +912,6 @@ ...
2022-09-08T21:57:56
golang/go
44d1a8523a50c30354e0b1ef70953567c26eed1a
8123bc90b85ef685f1c877346c2378651a42d529
[dev.typeparams] cmd/compile/internal/types2: fixes for all.bash This CL implements a number of minor fixes that were discovered in getting -G=3 working for running all.bash. 1. Field tags were handled incorrectly. If a struct type had some fields with tags, but later fields without tags, the trailing tag-less fields...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -799,10 +799,10 @@ func TestScopesInfo(t *testing.T) {\n \t\t\t\"file:\", \"func:\",\n \t\t}},\n \t\t{`package p15; func _(c chan int) { select{ case <-c: } }`, []string{\n-\t\t\t\"file:\", \"func:c\", \"select:\",\n+\t\t\t\"file:\", \"fu...
2021-01-09T03:28:24
nodejs/node
15e02ceb1e7522c27f586bad878cdddc613fcada
03ddd13d8a72190aa22194eb535e9cb683f4f815
test: http2 errors on req.close() PR-URL: https://github.com/nodejs/node/pull/18854 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-http2-client-rststream-before-connect.js", "patch": "@@ -16,26 +16,38 @@ server.on('stream', (stream) => {\n server.listen(0, common.mustCall(() => {\n const client = h2.connect(`http://localhost:${server.address().port}`);\n const req = client.request();\n- req.close(1);\...
2018-02-18T08:11:06
ollama/ollama
af31ccefc00ff7e98839dd0066c8ddb7a44a7ccb
fa393554b927f154145488c852297a2330cb5f13
fix data race in WriteGGUF (#10598) err in the go routine should not be shared with the outer scope
[ { "path": "fs/ggml/gguf.go", "patch": "@@ -569,7 +569,7 @@ func WriteGGUF(f *os.File, kv KV, ts []*Tensor) error {\n \t\tt := t\n \t\tw := io.NewOffsetWriter(f, offset+int64(t.Offset))\n \t\tg.Go(func() error {\n-\t\t\t_, err = t.WriteTo(w)\n+\t\t\t_, err := t.WriteTo(w)\n \t\t\treturn err\n \t\t})\n \t}", ...
2025-05-07T00:36:38
rust-lang/rust
598f8658744db0dc0215545d2193accd3a1ce8c8
9f336ce2eb0ba04de7f1ddd2e1b0958e7df15c42
Combine several test files into one This makes it a lot easier to add smaller regression tests related to "incorrectly placed" struct literals.
[ { "path": "tests/ui/parser/method-call-on-struct-literal-in-if-condition.rs", "patch": "@@ -1,13 +0,0 @@\n-pub struct Example { a: i32 }\n-\n-impl Example {\n- fn is_pos(&self) -> bool { self.a > 0 }\n-}\n-\n-fn one() -> i32 { 1 }\n-\n-fn main() {\n- if Example { a: one(), }.is_pos() { //~ ERROR struc...
2025-03-24T16:16:26
huggingface/transformers
48461c0fe2686cb2321a17104183d0c3fd6488db
4fb28703adc2b44ed66a44dd04740787010c5e11
Make `pipeline` able to load `processor` (#32514) * Refactor get_test_pipeline * Fixup * Fixing tests * Add processor loading in tests * Restructure processors loading * Add processor to the pipeline * Move model loading on tom of the test * Update `get_test_pipeline` * Fixup * Add class-bas...
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -28,7 +28,9 @@\n from ..models.auto.feature_extraction_auto import FEATURE_EXTRACTOR_MAPPING, AutoFeatureExtractor\n from ..models.auto.image_processing_auto import IMAGE_PROCESSOR_MAPPING, AutoImageProcessor\n from ..models.auto.modeling_auto...
2024-10-09T15:46:11
vercel/next.js
a234abfae6e208668b66f6238a51ff93c6a2b11c
ea33b84089c0570b7ae34bae3d9c47ab7612b596
docs: fix middleware path (#40340) Hello, Just update the docs to be aligned with the current middleware implementation 🙂 Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -31,7 +31,7 @@ To begin using Middleware, follow the steps below:\n npm install next@latest\n ```\n \n-2. Create a `middleware.ts` (or `.js`) file at the same level as your `pages` directory\n+2. Create a `middleware.ts` (or `.js`) file at the r...
2022-09-08T21:27:17
golang/go
1ce08541574f749947400a051bb40c8352743887
eb53a6c7cf80474628b03a1ae62afb1a84d10f03
[dev.typeparams] import stmt changes from dev.go2go Import logic for typechecking statements involving generics from the dev.go2go branch. Notably, range type checking was simplified in dev.go2go, resulting in the removal of the _InvalidChanRange error code. Change-Id: I84c2665226c2b9b74e85f7fb6df257b0a292e5d3 Revie...
[ { "path": "src/go/types/errorcodes.go", "patch": "@@ -1038,18 +1038,6 @@ const (\n \t// }\n \t_InvalidPostDecl\n \n-\t// _InvalidChanRange occurs when a send-only channel used in a range\n-\t// expression.\n-\t//\n-\t// Example:\n-\t// func sum(c chan<- int) {\n-\t// \ts := 0\n-\t// \tfor i := range c {...
2021-01-07T16:13:56