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
vercel/next.js
7ec30ff0c5d0de2f3821d21f5c5293d9ba3df397
00749a70b89d5c9fc04f40a6afb3241b4e12f782
fix typo in js runtime code
[ { "path": "crates/turbopack-ecmascript/src/chunk/mod.rs", "patch": "@@ -257,7 +257,7 @@ impl Asset for EcmascriptChunk {\n var runtime = { chunks, modules, cache, getModule };\n function op([id, chunkModules, ...run]) {\n chunks.add(id);\n- if(socket) socket.send(JSON....
2022-07-19T12:34:21
rust-lang/rust
a508206f4e39e28274f77e6f1eb6eac1bbb27191
8148fa9324c274ae4be0e8f62a2d42adb8a371ff
internal: don't panic when the crate graph isn't ready #19351
[ { "path": "src/tools/rust-analyzer/crates/base-db/src/lib.rs", "patch": "@@ -212,22 +212,21 @@ pub trait RootQueryDb: SourceDatabase + salsa::Database {\n \n /// Returns the crates in topological order.\n ///\n- /// **Warning**: do not use this query in analysis! It kills incrementality across cr...
2025-03-13T17:38:29
ollama/ollama
d290e87513664be8ca3120348614d124991ccb86
987dbab0b063653b2be71060449c8add7b76cc6e
add suffix support to generate endpoint this change is triggered by the presence of "suffix", particularly useful for code completion tasks
[ { "path": "api/types.go", "patch": "@@ -47,6 +47,9 @@ type GenerateRequest struct {\n \t// Prompt is the textual prompt to send to the model.\n \tPrompt string `json:\"prompt\"`\n \n+\t// Suffix is the text that comes after the inserted text.\n+\tSuffix string `json:\"suffix\"`\n+\n \t// System overrides th...
2024-06-21T02:13:36
nodejs/node
416c0ec95267b4dd9d442bd624f5a7f64be76f2e
d1d6b54b698f964ae030414472db34ea45aecb39
repl: show lexically scoped vars in tab completion Use the V8 inspector protocol, if available, to query the list of lexically scoped variables (defined with `let`, `const` or `class`). PR-URL: https://github.com/nodejs/node/pull/16591 Fixes: https://github.com/nodejs/node/issues/983 Reviewed-By: Timothy Gu <timothyg...
[ { "path": "lib/internal/util/inspector.js", "patch": "@@ -0,0 +1,25 @@\n+'use strict';\n+\n+const hasInspector = process.config.variables.v8_enable_inspector === 1;\n+const inspector = hasInspector ? require('inspector') : undefined;\n+\n+let session;\n+\n+function sendInspectorCommand(cb, onError) {\n+ if...
2017-10-29T17:19:24
huggingface/transformers
f5cdbf6e546784639c2d8f72420198138d2a2a13
78566dbdf0d3795e40bd34e968f279dd90ac78fa
Fix link to autoclass_tutorial.md in i18n.md (#32501)
[ { "path": ".github/ISSUE_TEMPLATE/i18n.md", "patch": "@@ -34,7 +34,7 @@ Some notes:\n \n ## Tutorial section\n - [ ] [pipeline_tutorial.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/pipeline_tutorial.md)\n-- [ ] [autoclass_tutorial.md](https://github.com/huggingface/transformers/...
2024-08-07T23:09:52
rust-lang/rust
2c76bf743150e6a3d3d1b2ed9f8c4b967c1804e6
93257e2d20809d82d1bc0fcc1942480d1a66d7cd
Remove an outdated line from a test comment They *used* to not work, however this was fixed in the PR that added the test. I forgot to remove this line or possibly lost its removal while rebasing.
[ { "path": "tests/ui/cast/ptr-to-trait-obj-wrap.rs", "patch": "@@ -2,7 +2,6 @@\n // work. Note that the metadata doesn't change when a DST is wrapped in a\n // structure, so these casts *are* fine.\n //\n-// `unwrap` and `unwrap_nested` currently don't work due to a compiler limitation.\n //@ check-pass\n \n...
2025-03-13T16:54:40
ollama/ollama
987dbab0b063653b2be71060449c8add7b76cc6e
a8388beb94bff464d742aaf6d3b94b2264009b86
OpenAI: /v1/embeddings compatibility (#5285) * OpenAI v1 models * Empty List Testing * Add back envconfig * v1/models docs * Remove Docs * OpenAI batch embed compatibility * merge conflicts * integrate with api/embed * ep * merge conflicts * request tests * rm resp test * merge conf...
[ { "path": "openai/openai.go", "patch": "@@ -61,6 +61,11 @@ type ResponseFormat struct {\n \tType string `json:\"type\"`\n }\n \n+type EmbedRequest struct {\n+\tInput any `json:\"input\"`\n+\tModel string `json:\"model\"`\n+}\n+\n type ChatCompletionRequest struct {\n \tModel string `j...
2024-07-16T20:36:08
vercel/next.js
bae0482b19d629f9d2b94a9bd06afe9109b30e51
5d4ac47f7ab04582ba37cec12c224b5a6751d588
Fix postcss deploy e2e test (#38782)
[ { "path": "test/e2e/postcss-config-cjs/index.test.ts", "patch": "@@ -28,7 +28,7 @@ describe('postcss-config-cjs', () => {\n it('works with postcss.config.cjs files', async () => {\n let browser\n try {\n- browser = await webdriver(next.appPort, '/')\n+ browser = await webdriver(next.url,...
2022-07-19T01:21:35
nodejs/node
d1d6b54b698f964ae030414472db34ea45aecb39
d50e1a291694ee96890c1734e7ed9b0295d5262c
deps: cherry-pick 50f7455 from upstream V8 Original commit message: [inspector] added Runtime.globalLexicalScopeNames method The method returns names for all available top-level scope variables in giving context. R=dgozman@chromium.org,jgruber@chromium.org Bug: chromium:681333 Cq-Include-Tr...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n # Enable disassembler for `--print-code...
2017-12-21T07:08:25
golang/go
26b66fd60b258d323d7b8df2c489d5bd292c0809
eb3086e5a8958723ae696ea48d4cc7981c6779fa
[dev.regabi] cmd/compile: introduce cmd/compile/internal/base [generated] Move Flag, Debug, Ctxt, Exit, and error messages to new package cmd/compile/internal/base. These are the core functionality that everything in gc uses and which otherwise prevent splitting any other code out of gc into different packages. A mi...
[ { "path": "src/cmd/compile/internal/amd64/ggen.go", "patch": "@@ -5,6 +5,7 @@\n package amd64\n \n import (\n+\t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/gc\"\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/obj/x86\"\n@@ -64,7 +65,7 @@ func zerorange(pp *gc.Progs, p *obj.Prog, off, cnt int64, sta...
2020-11-20T01:49:23
huggingface/transformers
78566dbdf0d3795e40bd34e968f279dd90ac78fa
543df489147412efb20575c3c2a3fb69a18ac107
🌐 [i18n-KO] Translated `chat_templating.md` to Korean (#32362) * docs: ko: chat_templating.md * feat: nmt draft * fix: manual edits * Update docs/source/ko/chat_templating.md Co-authored-by: Sungmin Oh <fabxoe.kor@gmail.com> * Update docs/source/ko/chat_templating.md Co-authored-by: Sungmin Oh <fabx...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -115,8 +115,8 @@\n title: 모델별 API 사용하기\n - local: custom_models\n title: 사용자 정의 모델 공유하기\n- - local: in_translation\n- title: (번역중) Templates for chat models\n+ - local: chat_templating\n+ title: 챗봇 템플릿 익히기\n - local: in_translation\n ...
2024-08-07T18:25:19
nodejs/node
a3497b3e92a43905baaea38839bae0282d7ad535
439c18578bde4ff6380ca5ccf26a43996a6e1d32
net: remove ADDRCONFIG DNS hint on Windows On Windows setting ADDRCONFIG causes localhost resolution to fail if there are no network connections. This removes that flag on Windows. Fixes: https://github.com/nodejs/node/issues/17641 PR-URL: https://github.com/nodejs/node/pull/17662 Reviewed-By: Ben Noordhuis <info@bno...
[ { "path": "lib/net.js", "patch": "@@ -1107,7 +1107,10 @@ function lookupAndConnect(self, options) {\n hints: options.hints || 0\n };\n \n- if (dnsopts.family !== 4 && dnsopts.family !== 6 && dnsopts.hints === 0) {\n+ if (process.platform !== 'win32' &&\n+ dnsopts.family !== 4 &&\n+ dnsopts...
2017-12-13T20:10:38
vercel/next.js
5d4ac47f7ab04582ba37cec12c224b5a6751d588
a2554c09a40799804e0ad7db3afc7cc32d6d0c97
Improve response body in Middleware error page. (#38537) * Improve respond body in Middleware error page. * Apply suggestions from code review Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "errors/returning-response-body-in-middleware.md", "patch": "@@ -1,86 +1,65 @@\n-# Returning response body in middleware\n+# Returning response body in Middleware\n \n #### Why This Error Occurred\n \n-Your [`middleware`](https://nextjs.org/docs/advanced-features/middleware) function returns a res...
2022-07-19T01:20:23
golang/go
eb3086e5a8958723ae696ea48d4cc7981c6779fa
3c240f5d17e4ad3ddd342645b63fe20ecbb7fcae
[dev.regabi] cmd/compile: finish cleanup of Debug parsing Now that the debug settings are in a struct, use struct tags to set the usage messages and use reflection to populate debugtab, much like we did for the Flag struct. Change-Id: Id2ba30c30a9158c062527715a68bf4dd94679457 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/cmd/compile/internal/gc/debug.go", "patch": "@@ -2,149 +2,176 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n+// Debug arguments, set by -d flag.\n+\n package gc\n \n import (\n \t\"fmt\"\n \t\"log\"\n \t\"os\"\n+\t\"reflect\...
2020-11-16T06:44:47
huggingface/transformers
543df489147412efb20575c3c2a3fb69a18ac107
73a59a2fcbc166e15c9751920435d535bcc7dce6
Docs: Fixed WhisperModel.forward’s docstring link (#32498) Fixed WhisperModel.forward’s docstring link.
[ { "path": "docs/source/en/testing.md", "patch": "@@ -191,7 +191,7 @@ RUN_SLOW=1 pytest -m accelerate_tests tests/models/opt/test_modeling_opt.py\n ### Run documentation tests\n \n In order to test whether the documentation examples are correct, you should check that the `doctests` are passing.\n-As an examp...
2024-08-07T18:01:33
ollama/ollama
5afbb60fc452965a4a53f1e46816ea41298269c6
64039df6d72323b9d56b59aa0cad061962724d0d
fix unmarshal type errors
[ { "path": "server/model.go", "patch": "@@ -327,7 +327,8 @@ func (m *Model) parseToolCalls(s string) ([]api.ToolCall, bool) {\n \n \tvar kv map[string]string\n \t// execute the subtree with placeholders to identify the keys\n-\tif err := json.Unmarshal(b.Bytes(), &kv); err != nil {\n+\t// trim any commands t...
2024-07-16T16:38:46
nodejs/node
439c18578bde4ff6380ca5ccf26a43996a6e1d32
353cc3d35af010e0593ef9977d9b451a5c295965
util: fix custom inspect description Using a custom inspect function on the inspected object is deprecated. Remove the reference from the option description to make sure the user will read about the deprecation in the more detailed description. PR-URL: https://github.com/nodejs/node/pull/17576 Reviewed-By: Anna Henni...
[ { "path": "doc/api/util.md", "patch": "@@ -351,8 +351,7 @@ changes:\n codes. Defaults to `false`. Colors are customizable, see\n [Customizing `util.inspect` colors][].\n * `customInspect` {boolean} If `false`, then custom `inspect(depth, opts)`\n- functions exported on the `object` being inspec...
2017-12-09T07:34:16
huggingface/transformers
73a59a2fcbc166e15c9751920435d535bcc7dce6
cba7bcf87b1aeda9dc9396f326982f6dd3345f15
Fix references to model google mt5 small (#32497)
[ { "path": "src/transformers/models/mt5/modeling_mt5.py", "patch": "@@ -1435,7 +1435,7 @@ class PreTrainedModel\n \n @add_start_docstrings_to_model_forward(MT5_INPUTS_DOCSTRING)\n @replace_return_docstrings(output_type=Seq2SeqModelOutput, config_class=_CONFIG_FOR_DOC)\n- # Copied from transformers...
2024-08-07T16:57:20
golang/go
3c240f5d17e4ad3ddd342645b63fe20ecbb7fcae
756661c82a2ffa285c16f36d5a5290e057fa75bd
[dev.regabi] cmd/compile: clean up debug flag (-d) handling [generated] The debug table is not as haphazard as flags, but there are still a few mismatches between command-line names and variable names. This CL moves them all into a consistent home (var Debug, like var Flag). Code updated automatically using the rf co...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -1164,7 +1164,7 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\tif logopt.Enabled() {\n \t\t\tlogopt.LogOpt(v.Pos, \"nilcheck\", \"genssa\", v.Block.Func.Name)\n \t\t}\n-\t\tif gc.Debug_checknil != 0 && v.Pos.Line() > 1 { // v.Pos....
2020-11-16T06:17:25
ollama/ollama
7ac6d462ecb9a26591b5f7457bea32c1cd63541f
8288ec8824f76e05d77ca76a6a822cd0ac76d68b
server: return empty slice on empty `/api/embed` request (#5713) * server: return empty slice on empty `/api/embed` request * fix tests
[ { "path": "api/types.go", "patch": "@@ -206,7 +206,7 @@ type EmbedRequest struct {\n // EmbedResponse is the response from [Client.Embed].\n type EmbedResponse struct {\n \tModel string `json:\"model\"`\n-\tEmbeddings [][]float32 `json:\"embeddings,omitempty\"`\n+\tEmbeddings [][]float32 `json:\"e...
2024-07-16T00:39:44
vercel/next.js
099e5c7c4b0e8c169394aecbc3fcf27697968e0d
7dd4fa9d115330cec757bca324a10225cd72ec2f
next-dev: Fix watching relative directories Fixes vercel/turbo#107
[ { "path": "packages/next-swc/crates/next-dev/src/main.rs", "patch": "@@ -52,7 +52,9 @@ async fn main() {\n \n let dir = args\n .dir\n- .unwrap_or_else(|| current_dir().unwrap())\n+ .map(|dir| dir.canonicalize())\n+ .unwrap_or_else(|| current_dir())\n+ .unwrap()\n ...
2022-07-18T21:56:26
nodejs/node
353cc3d35af010e0593ef9977d9b451a5c295965
c2203cb4dd240a6644177f04d0b40f40090b4c33
util: rename util.inspect argument util.inspect can actually receive any property and the description was wrong so far. This fixes it by renaming the argument to value and also updating the description. PR-URL: https://github.com/nodejs/node/pull/17576 Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "lib/util.js", "patch": "@@ -263,14 +263,14 @@ function debuglog(set) {\n }\n \n /**\n- * Echos the value of a value. Tries to print the value out\n+ * Echos the value of any input. Tries to print the value out\n * in the best way possible given the different types.\n *\n- * @param {Object} obj ...
2017-12-09T07:33:00
huggingface/transformers
cba7bcf87b1aeda9dc9396f326982f6dd3345f15
fa59fd87dd5fac3576053b39c2d51bfd892cfae1
🌐 [i18n-KO] Translated `image_feature_extraction.md` to Korean (#32239) * docs: ko: tasks/images_feature_extraction.md * feat: nmt draft * fix: manual edits * fix: manual edits * fix: manual edits * fix: manual edits * feat: manual edits * Update docs/source/ko/tasks/image_feature_extraction.md ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -75,8 +75,8 @@\n title: 단일 영상 기반 깊이 추정\n - local: tasks/image_to_image\n title: Image-to-Image\n- - local: in_translation\n- title: (번역중) Image Feature Extraction\n+ - local: tasks/image_feature_extraction\n+ ...
2024-08-07T16:56:23
golang/go
b9365488f017ba88540f21927a69e34351941db1
df68e01b6860e585033156e84f8f9716d2f41a28
cmd/internal/objabi: assume GOARM=7 on Android CL 34641 changed the Go runtime to assume GOARM=7 support on Android. This change completes that by assuming GOARM=7 in the toolchain, fixing the gotcha of inexplicably slow performance on non-arm64 Android devices. There is already code in cmd/dist to force GOARM to 7 o...
[ { "path": "src/cmd/dist/util.go", "patch": "@@ -383,12 +383,6 @@ func xsamefile(f1, f2 string) bool {\n }\n \n func xgetgoarm() string {\n-\tif goos == \"android\" {\n-\t\t// Assume all android devices have VFPv3.\n-\t\t// These ports are also mostly cross-compiled, so it makes little\n-\t\t// sense to auto...
2020-11-24T16:48:38
ollama/ollama
b9f5e16c8025f115abde34ff047023f4d6e34af5
e9f7f3602961d2b0beaff27144ec89301c2173ca
Introduce `/api/embed` endpoint supporting batch embedding (#5127) * Initial Batch Embedding * Revert "Initial Batch Embedding" This reverts commit c22d54895a280b54c727279d85a5fc94defb5a29. * Initial Draft * mock up notes * api/embed draft * add server function * check normalization * clean up ...
[ { "path": "api/client.go", "patch": "@@ -347,7 +347,16 @@ func (c *Client) Heartbeat(ctx context.Context) error {\n \treturn nil\n }\n \n-// Embeddings generates embeddings from a model.\n+// Embed generates embeddings from a model.\n+func (c *Client) Embed(ctx context.Context, req *EmbedRequest) (*EmbedRes...
2024-07-15T19:14:24
huggingface/transformers
fa59fd87dd5fac3576053b39c2d51bfd892cfae1
fcc4f2ae8f02c3d2791f0eb353510775611d8dcb
🌐 [i18n-KO] Translated `quantization/quanto.md` to Korean (#32281) * docs: ko: quantization/quanto.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: SeungYoun Lee <84276596+win2dvp21@users.noreply.github.com> Co-authored-by: Minki Kim <100768622+1kmmk1@users.noreply.github.com> Co-authored-by...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -149,8 +149,8 @@\n title: (번역중) AWQ\n - local: in_translation\n title: (번역중) AQLM\n- - local: in_translation\n- title: (번역중) Quanto\n+ - local: quantization/quanto\n+ title: Quanto\n - local: in_translation\n title: (번역중) EETQ\n ...
2024-08-07T16:52:57
vercel/next.js
331390e60732e83a872a0ae274117cfef8c12f92
047b158cfe06ef86c45c7b785e8b24a931d289a5
next-dev: Fix watching relative directories Fixes #107
[ { "path": "crates/next-dev/src/main.rs", "patch": "@@ -52,7 +52,9 @@ async fn main() {\n \n let dir = args\n .dir\n- .unwrap_or_else(|| current_dir().unwrap())\n+ .map(|dir| dir.canonicalize())\n+ .unwrap_or_else(|| current_dir())\n+ .unwrap()\n .to_str()\n ...
2022-07-18T21:56:26
nodejs/node
d6b1b84ca0b6465e1517d5e8380953426ace0f49
0298f4480e6792b507d9fe8cfca2b182b85e1d7b
test: fix typo in test-inspector-cluster-port-clash.js PR-URL: https://github.com/nodejs/node/pull/17782 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Revie...
[ { "path": "test/known_issues/test-inspector-cluster-port-clash.js", "patch": "@@ -23,7 +23,7 @@ if (process.config.variables.v8_enable_inspector === 0) {\n const cluster = require('cluster');\n const net = require('net');\n \n-common.crashOnUnhandleRejection();\n+common.crashOnUnhandledRejection();\n \n con...
2017-12-20T06:16:33
golang/go
df68e01b6860e585033156e84f8f9716d2f41a28
1d3baf20dcac2d9ad88634ac3fe75e9f6d966971
runtime: check channel's elemsize before calling race detector When c.elemsize==0 we call raceacquire() and racerelease() as opposed to calling racereleaseacquire() The reason for this change is that, when elemsize==0, we don't allocate a full buffer for the channel. Instead of individual buffer entries, the race de...
[ { "path": "src/runtime/chan.go", "patch": "@@ -215,7 +215,7 @@ func chansend(c *hchan, ep unsafe.Pointer, block bool, callerpc uintptr) bool {\n \t\t// Space is available in the channel buffer. Enqueue the element to send.\n \t\tqp := chanbuf(c, c.sendx)\n \t\tif raceenabled {\n-\t\t\tracereleaseacquire(qp)...
2020-11-20T20:23:45
ollama/ollama
e9f7f3602961d2b0beaff27144ec89301c2173ca
057d31861e3514b60a7eedf694899067b72bd2fa
Support image input for OpenAI chat compatibility (#5208) * OpenAI v1 models * Refactor Writers * Add Test Co-Authored-By: Attila Kerekes * Credit Co-Author Co-Authored-By: Attila Kerekes <439392+keriati@users.noreply.github.com> * Empty List Testing * Use Namespace for Ownedby * Update Test ...
[ { "path": "openai/openai.go", "patch": "@@ -3,11 +3,13 @@ package openai\n \n import (\n \t\"bytes\"\n+\t\"encoding/base64\"\n \t\"encoding/json\"\n \t\"fmt\"\n \t\"io\"\n \t\"math/rand\"\n \t\"net/http\"\n+\t\"strings\"\n \t\"time\"\n \n \t\"github.com/gin-gonic/gin\"\n@@ -28,7 +30,7 @@ type ErrorResponse ...
2024-07-14T05:07:45
vercel/next.js
02462e5d5c0bdafa30e4ce0e5de645541f580e25
bc9a4da4dbdd29bcb1e37fee3ccf449f65c49dac
fix(next/swc): let async wasm binding coerce to sync correctly (#38780) ## Bug Minor fix to wasm binding to correctlly coerece async interface to return promise, even though it calls sync interface internally. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpfu...
[ { "path": "packages/next/build/swc/index.js", "patch": "@@ -137,23 +137,28 @@ async function loadWasm(importPath = '') {\n bindings = await bindings.default()\n }\n Log.info('Using experimental wasm build of next-swc')\n+\n+ // Note wasm binary does not support async intefaces yet, ...
2022-07-18T21:47:24
nodejs/node
0eab49523d75235cbd14047da5b74467596ae590
1d6b729cea909769ac0bcb3aa68f5fe567c4ffb7
benchmark: refactor console benchmark Fix and refactor the console benchmark. It did not test console so it got renamed and mainly tests the different ways of passing arguments through. PR-URL: https://github.com/nodejs/node/pull/17707 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnel...
[ { "path": "benchmark/misc/arguments.js", "patch": "@@ -0,0 +1,59 @@\n+'use strict';\n+\n+const { createBenchmark } = require('../common.js');\n+const { format } = require('util');\n+\n+const methods = [\n+ 'restAndSpread',\n+ 'argumentsAndApply',\n+ 'restAndApply',\n+ 'predefined'\n+];\n+\n+const bench ...
2017-12-16T03:33:56
huggingface/transformers
fcc4f2ae8f02c3d2791f0eb353510775611d8dcb
1124d95dbb1a3512d3e80791d73d0f541d1d7e9f
🌐 [i18n-KO] Translated `prompting.md` to Korean (#32294) * docs: ko: tasks/prompting.md * feat: nmt-draft * fix: update translation in prompting.md * fix: update toctree.yml * fix: manual edits * fix: toctree edits * fix: resolve suggestions Co-authored-by: boyunJang <gobook1234@naver.com> Co-au...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -102,9 +102,9 @@\n sections:\n - local: tasks/idefics\n title: IDEFICS를 이용한 이미지 작업\n- - local: in_translation\n- title: (번역중) LLM prompting guide\n- title: (번역중) 프롬프팅\n+ - local: tasks/prompting\n+ title: 대규모 언어 모델 프롬프팅 가...
2024-08-07T16:44:31
golang/go
259fd8adbb15f2a44433c7b8b40a35e97992b345
18573aea3cc5098c5c27e357e15c507a05de5599
[dev.regabi] cmd/compile: fix reporting of overflow In the previous CL, I had incorrectly removed one of the error messages from issue20232.go, because I thought go/constant was just handling it. But actually the compiler was panicking in nodlit, because it didn't handle constant.Unknown. So this CL makes it leave n.T...
[ { "path": "src/cmd/compile/internal/gc/const.go", "patch": "@@ -718,11 +718,14 @@ func square(x constant.Value) constant.Value {\n }\n \n // For matching historical \"constant OP overflow\" error messages.\n+// TODO(mdempsky): Replace with error messages like go/types uses.\n var overflowNames = [...]string...
2020-11-25T05:56:47
ollama/ollama
1ed0aa8feab58a5cbdf2d79fdb718e3a5cc03525
ef98803d63a4e4c56853688343f011256ced130d
server: fix `context`, `load_duration` and `total_duration` fields (#5676) * server: fix `contet`, `load_duration` and `total_duration` fields * Update server/routes.go
[ { "path": "server/routes.go", "patch": "@@ -102,6 +102,7 @@ func (s *Server) scheduleRunner(ctx context.Context, name string, caps []Capabil\n }\n \n func (s *Server) GenerateHandler(c *gin.Context) {\n+\tcheckpointStart := time.Now()\n \tvar req api.GenerateRequest\n \tif err := c.ShouldBindJSON(&req); err...
2024-07-13T16:25:31
vercel/next.js
bc9a4da4dbdd29bcb1e37fee3ccf449f65c49dac
de7aa2d6e486c40b8be95a1327639cbed75a8782
chore: update `with-service-worker` example (#38670) Fixes #38613 Given `navigator.serviceWorker` [has ~96% support in browsers](https://caniuse.com/?search=navigator.serviceWorker), also removed the check for `"serviceWorker" in navigator`. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integratio...
[ { "path": "examples/with-service-worker/next-env.d.ts", "patch": "@@ -0,0 +1,5 @@\n+/// <reference types=\"next\" />\n+/// <reference types=\"next/image-types/global\" />\n+\n+// NOTE: This file should not be edited\n+// see https://nextjs.org/docs/basic-features/typescript for more information.", "addi...
2022-07-18T20:01:49
nodejs/node
5198a5359b3aa47a7a43686fdd86c7202ebac3b2
a38941c5e7227795f4d3d6b0f5ada3d23f041cd5
console: make error handling engine agnostic Calling write could throw a maximum call stack size error. To make sure this is not specific to a single engine (version), lazily populate the correct error message by producing such a error on demand. PR-URL: https://github.com/nodejs/node/pull/17707 Reviewed-By: Luigi Pi...
[ { "path": "lib/console.js", "patch": "@@ -28,6 +28,8 @@ const kCounts = Symbol('counts');\n // Track amount of indentation required via `console.group()`.\n const kGroupIndent = Symbol('groupIndent');\n \n+let MAX_STACK_MESSAGE;\n+\n function Console(stdout, stderr, ignoreErrors = true) {\n if (!(this ins...
2017-12-16T03:25:17
huggingface/transformers
1124d95dbb1a3512d3e80791d73d0f541d1d7e9f
b7fb393f683e763e324a6fff9d028e954f416f73
🌐 [i18n-KO] Translated `gptq.md` to Korean (#32293) * fix: manual edits * fix: manual edits2 * fix: delete files * fix: resolve suggestions Co-authored-by: Sungmin Oh <fabxoe.kor@gmail.com> Co-authored-by: SeungYoun Lee <84276596+win2dvp21@users.noreply.github.com> Co-authored-by: 김준재 <55151385+junejae@...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -143,8 +143,8 @@\n title: (번역중) Getting started\n - local: in_translation\n title: (번역중) bitsandbytes\n- - local: in_translation\n- title: (번역중) GPTQ\n+ - local: quantization/gptq\n+ title: GPTQ\n - local: in_translation\n title: ...
2024-08-07T16:19:35
rust-lang/rust
6f214c5bb3959dc8a646fac0dafdcaeaf7e025f8
961351c76c812e3aeb65bfb542742500a6436aed
Fix pluralization of tests
[ { "path": "src/ci/citool/src/merge_report.rs", "patch": "@@ -242,7 +242,7 @@ fn report_test_changes(mut diffs: Vec<AggregatedTestDiffs>) {\n println!(\" - {}: {}\", test.name, format_diff(&outcome_diff));\n }\n if extra_tests > 0 {\n- println!(\" - (and {extra_tests}...
2025-03-13T12:14:14
vercel/next.js
4e3716d1007b68c3c9473f43bce3ac11698ccd70
f004868706b1aafc8085ade11fee5a08bc920a12
chore(examples): require `WORDPRESS_API_URL` to include `/graphql` (#38764) Fixes #38749 Since we are calling it `API_URL`, it sounds more correct to require including the `/graphql` rather than making `WORDPRESS_API_URL` be just the root domain in https://github.com/vercel/next.js/blob/54f87245dc8a181759a3c8065a35c7...
[ { "path": "examples/cms-wordpress/lib/api.js", "patch": "@@ -10,7 +10,7 @@ async function fetchAPI(query = '', { variables } = {}) {\n }\n \n // WPGraphQL Plugin must be enabled\n- const res = await fetch(`${API_URL}/graphql`, {\n+ const res = await fetch(API_URL, {\n headers,\n method: 'POST'...
2022-07-18T18:11:33
ollama/ollama
22c5451fc28b20dd83a389c49d9caf6a1e50a9e3
23ebbaa46ead40c44c20b707b0e53d954ea51dc5
fix system prompt (#5662) * fix system prompt * execute template when hitting previous roles * fix tests --------- Co-authored-by: jmorganca <jmorganca@gmail.com>
[ { "path": "server/prompt.go", "patch": "@@ -4,7 +4,6 @@ import (\n \t\"bytes\"\n \t\"context\"\n \t\"log/slog\"\n-\t\"slices\"\n \n \t\"github.com/ollama/ollama/api\"\n \t\"github.com/ollama/ollama/llm\"\n@@ -17,26 +16,18 @@ type tokenizeFunc func(context.Context, string) ([]int, error)\n // chatPrompt trun...
2024-07-13T04:04:44
nodejs/node
0784b0440c05464f79b857f7d8698fcc953d3fb3
f3f1a9349afaee9a05dce8df0836dd4355836391
async_hooks: separate missing from default context When context is missing the executionAsyncId will be zero. For the default triggerAsyncId the zero value was used to default to the executionAsyncId. While this was not technically wrong because the functions are different themself, it poorly separated the two concept...
[ { "path": "lib/internal/async_hooks.js", "patch": "@@ -252,9 +252,9 @@ function getDefaultTriggerAsyncId() {\n var defaultTriggerAsyncId = async_id_fields[kDefaultTriggerAsyncId];\n // Reset value after it's been called so the next constructor doesn't\n // inherit it by accident.\n- async_id_fields[k...
2017-11-22T14:41:18
huggingface/transformers
b6401030def6e47a64ff99dc073024ddf5ad4707
e0d82534cc95b582ab072c1bbc060852ba7f9d51
fix broken link in docs (#32491) `https://huggingface.co/docs/transformers/en/main_classes/pipelines#transformers.TextGenerationPipeline.__call__` `generate_kwargs (dict, optional) — Additional keyword arguments to pass along to the generate method of the model (see the generate method corresponding to your framewo...
[ { "path": "src/transformers/pipelines/text_generation.py", "patch": "@@ -239,7 +239,7 @@ def __call__(self, text_inputs, **kwargs):\n truncate a lot of the prompt and not suitable when generation exceed the model capacity)\n generate_kwargs (`dict`, *optional*):\n ...
2024-08-07T14:14:03
golang/go
18573aea3cc5098c5c27e357e15c507a05de5599
6e583d65abd2b044997430984c43b80cad398cc1
[dev.regabi] cmd/compile: clean up flag handling [generated] The flag values have grown fairly haphazard, with no organization or even common naming convention. This CL moves all flag values into the Flag struct (formerly misnamed Debug), except for a few that live in Ctxt fields instead. This CL is entirely automate...
[ { "path": "src/cmd/compile/internal/gc/alg.go", "patch": "@@ -282,7 +282,7 @@ func genhash(t *types.Type) *obj.LSym {\n \t}\n \n \tsym := typesymprefix(\".hash\", t)\n-\tif Debug.r != 0 {\n+\tif Flag.LowerR != 0 {\n \t\tfmt.Printf(\"genhash %v %v %v\\n\", closure, sym, t)\n \t}\n \n@@ -374,7 +374,7 @@ func ...
2020-11-16T05:59:30
ollama/ollama
10e768826c7d5a8f7d7fab13832299a466a01f87
c4cf8ad55966cc61c73f119ab9cbfaf57264fc81
fix: quant err message (#5616)
[ { "path": "llm/llm.go", "patch": "@@ -33,7 +33,7 @@ func Quantize(infile, outfile string, ftype fileType) error {\n \tparams.ftype = ftype.Value()\n \n \tif rc := C.llama_model_quantize(cinfile, coutfile, &params); rc != 0 {\n-\t\treturn fmt.Errorf(\"llama_model_quantize: %d\", rc)\n+\t\treturn fmt.Errorf(\...
2024-07-12T00:24:29
huggingface/transformers
c54a6f994a2df8aba4fa9fe6d7c793174a69a595
46d09af4fc62db59cb836099d17a2c6102b39835
Fix typo in tokenization_utils_base.py (#32484)
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1600,7 +1600,7 @@ def __init__(self, **kwargs):\n if \"clean_up_tokenization_spaces\" not in kwargs:\n warnings.warn(\n \"`clean_up_tokenization_spaces` was not set. It will be set to `True` by default...
2024-08-07T09:29:44
nodejs/node
fe257ac2078676012ed6d188e63e50827fe69d27
da5c7d68cdceaa70411ffab6bee16e200a703aa9
doc: improve .throws RegExp info It was not clear why the error name is actually also tested for when using a regular expression. This is now clarified. PR-URL: https://github.com/nodejs/node/pull/17585 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matt...
[ { "path": "doc/api/assert.md", "patch": "@@ -740,12 +740,15 @@ assert.throws(\n \n Validate error message using [`RegExp`][]:\n \n+Using a regular expression runs `.toString` on the error object, and will\n+therefore also include the error name.\n+\n ```js\n assert.throws(\n () => {\n throw new Error(...
2017-12-11T07:04:17
vercel/next.js
f134e1104c0fdf4d50e41bb5abed92ff8feaabe0
68e0b892322dcefbac133241fa260ea861a8c893
fixup paths
[ { "path": "packages/next-swc/crates/next-dev/src/main.rs", "patch": "@@ -65,7 +65,7 @@ async fn main() {\n .run_once(async move {\n let disk_fs = DiskFileSystemVc::new(\"project\".to_string(), dir);\n let fs = disk_fs.into();\n- let root = FileSystemPathVc::new(fs,...
2022-07-18T16:11:13
golang/go
750b3729dcb1e0aac239bc69959355ec2242111d
1308f118974fab4bd08d04a6a982db6dde6f9e52
go/constant: MakeFloat64(0) must return a value of Float kind Fixes #42641. Change-Id: I10fdc7c90054b37ab5b303999015262691c12927 Reviewed-on: https://go-review.googlesource.com/c/go/+/273126 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
[ { "path": "src/go/constant/value.go", "patch": "@@ -370,16 +370,13 @@ func MakeUint64(x uint64) Value {\n }\n \n // MakeFloat64 returns the Float value for x.\n+// If x is -0.0, the result is 0.0.\n // If x is not finite, the result is an Unknown.\n func MakeFloat64(x float64) Value {\n \tif math.IsInf(x, 0...
2020-11-25T04:28:20
huggingface/transformers
7ad784ae9da9b8ce61ba734199fb258d8d95460f
a30c865f991dfec9452cc64bd9a97bfbb96be036
Gemma2: add cache warning (#32279) * gemma2 fallback to dynamic cache * Update src/transformers/models/gemma2/modeling_gemma2.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/models/gemma2/modeling_gemma2.py Co-authored-by: Arthur <48595927+ArthurZucker@users.no...
[ { "path": "docs/source/en/internal/generation_utils.md", "patch": "@@ -398,6 +398,7 @@ A [`Constraint`] can be used to force the generation to include specific tokens\n \n [[autodoc]] HybridCache\n - update\n+ - get_seq_length\n - reset\n \n [[autodoc]] SlidingWindowCache", "additions": 1, ...
2024-08-07T05:03:05
ollama/ollama
791650ddef9eb11e011506dbd5d22ed6bfcb6a10
efbf41ed8151098b942c142e2522b9ab8364f97a
sched: only error when over-allocating system memory (#5626)
[ { "path": "llm/server.go", "patch": "@@ -122,6 +122,15 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\t}\n \t}\n \n+\t// On linux, over-allocating CPU memory will almost always result in an error\n+\tif runtime.GOOS == \"linux\" {\n+\t\tsystemMemoryRequired := estim...
2024-07-11T07:53:12
nodejs/node
da5c7d68cdceaa70411ffab6bee16e200a703aa9
dc2e266647cec8ba3e6f61d6da90001fa8c5649f
assert: improve assert.throws Throw a TypeError in case a error message is provided in the second argument and a third argument is present as well. This is clearly a mistake and should not be done. PR-URL: https://github.com/nodejs/node/pull/17585 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruen...
[ { "path": "doc/api/assert.md", "patch": "@@ -767,17 +767,42 @@ assert.throws(\n \n Note that `error` can not be a string. If a string is provided as the second\n argument, then `error` is assumed to be omitted and the string will be used for\n-`message` instead. This can lead to easy-to-miss mistakes:\n+`me...
2017-12-09T23:47:49
vercel/next.js
9e7c4699617fbabb6d2ddfc711adb73d4da3e5d5
93bfae15e8028a8829b2f93097b290bf2f9ec149
fixup paths
[ { "path": "crates/next-dev/src/main.rs", "patch": "@@ -65,7 +65,7 @@ async fn main() {\n .run_once(async move {\n let disk_fs = DiskFileSystemVc::new(\"project\".to_string(), dir);\n let fs = disk_fs.into();\n- let root = FileSystemPathVc::new(fs, \"src\");\n+ ...
2022-07-18T16:11:13
golang/go
9262909764ea63285805c87f8d41837a532fda62
9e0e43d84d1bb653a74ccc7f90a80dfa9c665fbf
[dev.regabi] cmd/compile: rewrite problematic use of Node fields For the upcoming rewrite to access methods, a few direct accesses are problematic for the automated tool, most notably direct copies or use of Node structs as opposed to pointers. Fix these manually. Passes toolstash -cmp. Change-Id: I8bdbb33216737c09...
[ { "path": "src/cmd/compile/internal/gc/esc.go", "patch": "@@ -53,8 +53,8 @@ func funcSym(fn *Node) *types.Sym {\n // Walk hasn't generated (goto|label).Left.Sym.Label yet, so we'll cheat\n // and set it to one of the following two. Then in esc we'll clear it again.\n var (\n-\tlooping Node\n-\tnonlooping...
2020-11-22T17:09:08
ollama/ollama
73e2c8f68fe075ea159a20bbf778c0cf801316ad
2d1e3c32291239137fe7763431fc094dc809da28
Fix context exhaustion integration test for small gpus On the smaller GPUs, the initial model load of llama2 took over 30s (the default timeout for the DoGenerate helper)
[ { "path": "integration/context_test.go", "patch": "@@ -12,7 +12,7 @@ import (\n \n func TestContextExhaustion(t *testing.T) {\n \t// Longer needed for small footprint GPUs\n-\tctx, cancel := context.WithTimeout(context.Background(), 6*time.Minute)\n+\tctx, cancel := context.WithTimeout(context.Background(),...
2024-07-09T22:28:25
vercel/next.js
7e5cb510c4155572d0b251db34845d34fd078480
54f87245dc8a181759a3c8065a35c7fbb1d1d329
Fix CSSM loader applying for both pages and app (#38761) ## Bug x-ref: #38691 * Previous configured loader.issue results into a single function and will bail during next build, tune the rule set conditions to make it work for both pages and app dir * prefer to use `mod.resourceResolveData?.path` instead of `mod.user...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -22,7 +22,7 @@ const regexCssModules = /\\.module\\.css$/\n const regexSassGlobal = /(?<!\\.module)\\.(scss|sass)$/\n const regexSassModules = /\\.module\\.(scss|sass)$/\n // Also match the virtual client entry which doesn't ha...
2022-07-18T15:27:48
nodejs/node
dc2e266647cec8ba3e6f61d6da90001fa8c5649f
d9171fef3fb1415344641b0ce82c5f4bc53936fc
test: refactor common.expectsError A combination of try catch and common.expectsError is not necessary as the latter already does everything on its own. PR-URL: https://github.com/nodejs/node/pull/17703 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-assert.js", "patch": "@@ -476,33 +476,21 @@ common.expectsError(\n }\n );\n \n-{\n- let threw = false;\n- try {\n- assert.doesNotThrow(makeBlock(thrower, Error), 'user message');\n- } catch (e) {\n- threw = true;\n- common.expectsError({\n- code: 'ERR_ASSERTI...
2017-12-15T23:10:35
golang/go
4a6b4fd13965fe8428c9177bdd824a48dff553c0
484449c6416662c5453257c641d015c1fca681ea
[dev.regabi] add FatalfAt and fix Fatalf docs I've wanted a FatalfAt function for a while, but under the old "-l" suffix naming convention it would have been called "Fatalfl", which is just atrocious. Change-Id: If87f692ecdff478769426d4b054ac396e5c1e42e Reviewed-on: https://go-review.googlesource.com/c/go/+/273013 Tr...
[ { "path": "src/cmd/compile/internal/gc/print.go", "patch": "@@ -177,23 +177,39 @@ func Warnl(pos src.XPos, format string, args ...interface{}) {\n \t}\n }\n \n-// Fatal reports a fatal error - an internal problem - at the current line and exits.\n-// If other errors have already been printed, then Fatal jus...
2020-11-24T23:52:13
huggingface/transformers
a30c865f991dfec9452cc64bd9a97bfbb96be036
6af0854efa3693e0b38c936707966685ec3d0ae8
Cache: new Cache format in decoder-only models (#31421) * draft bart with new cache * add cache for decoder-only models * revert utils * modify docstring * revert bart * minor fixes * fix copies (not related) * revert tests * remove enc-dec related code * remove bloom * remove opt (enc-de...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1016,7 +1016,9 @@ def __init__(self, config: PretrainedConfig, max_batch_size: int, max_cache_len:\n \n self.dtype = dtype if dtype is not None else torch.float32\n self.num_key_value_heads = (\n- config.num_attention_head...
2024-08-07T05:02:16
ollama/ollama
4918fae535cb3d146100bacc0eff67a8579a8a7f
0aff67877ed01adc00056742c9a88143eeabf0c5
OpenAI v1/completions: allow stop token list (#5551) * stop token parsing fix * add stop test
[ { "path": "openai/openai.go", "patch": "@@ -338,12 +338,16 @@ func fromCompleteRequest(r CompletionRequest) (api.GenerateRequest, error) {\n \tswitch stop := r.Stop.(type) {\n \tcase string:\n \t\toptions[\"stop\"] = []string{stop}\n-\tcase []string:\n-\t\toptions[\"stop\"] = stop\n-\tdefault:\n-\t\tif r.St...
2024-07-09T21:01:26
vercel/next.js
3402894d05284cf9726d5f2efd3c21808c757f78
f09c0e9b5c28fd847d322bbaa4ed6358a8ebc29c
fixes for the demo
[ { "path": "crates/turbopack-core/src/resolve/mod.rs", "patch": "@@ -60,7 +60,7 @@ pub enum ResolveResult {\n Nested(Vec<AssetReferenceVc>),\n Single(AssetVc, Vec<AssetReferenceVc>),\n Keyed(HashMap<String, AssetVc>, Vec<AssetReferenceVc>),\n- Alternatives(HashSet<AssetVc>, Vec<AssetReferenceV...
2022-07-14T16:29:39
nodejs/node
d9171fef3fb1415344641b0ce82c5f4bc53936fc
85d5885f521ad5ad7a46228fbfb89fd28429f597
assert: fix throws and doesNotThrow stack frames The stack frames from .throws and .doesNotThrow got included even though that was not intended. PR-URL: https://github.com/nodejs/node/pull/17703 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/assert.js", "patch": "@@ -242,7 +242,7 @@ function innerThrows(shouldThrow, block, expected, message) {\n expected,\n operator: 'throws',\n message: `Missing expected exception${details}`,\n- stackStartFn: innerThrows\n+ stackStartFn: assert.throws\n ...
2017-12-15T23:09:12
huggingface/transformers
6af0854efa3693e0b38c936707966685ec3d0ae8
3b193c7bae7d75bee81cd8758778af6d23fc11e4
🌐 [i18n-KO] Translated `image_to_image.md` to Korean (#32327) * docs: ko: tasks/image_to_image.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Jihun Lim <31366038+heuristicwave@users.noreply.github.com> Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.github...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -73,8 +73,8 @@\n title: 제로샷(zero-shot) 이미지 분류\n - local: tasks/monocular_depth_estimation\n title: 단일 영상 기반 깊이 추정\n- - local: in_translation\n- title: (번역중) Image-to-Image\n+ - local: tasks/image_to_image\n+ ...
2024-08-06T18:59:44
golang/go
1308f118974fab4bd08d04a6a982db6dde6f9e52
f6dcc975f7207340ad11d9296c42e7730ecf1f9f
cmd/link: add relocation type R_AARCH64_LDST16_ABS_LO12_NC for arm64 The linker already has R_AARCH64_LDST{8,32,64,128}_ABS_LO12_NC, some cgo tests require R_AARCH64_LDST16_ABS_LO12_NC, this CL adds this relocation type. Fixes #42660 Change-Id: I9a5120cd872f5095c61175cb602427c6ab3225cc Reviewed-on: https://go-revie...
[ { "path": "src/cmd/internal/objabi/reloctype.go", "patch": "@@ -156,6 +156,9 @@ const (\n \t// R_ARM64_LDST8 sets a LD/ST immediate value to bits [11:0] of a local address.\n \tR_ARM64_LDST8\n \n+\t// R_ARM64_LDST16 sets a LD/ST immediate value to bits [11:1] of a local address.\n+\tR_ARM64_LDST16\n+\n \t//...
2020-11-18T04:00:57
huggingface/transformers
3b193c7bae7d75bee81cd8758778af6d23fc11e4
5301b981d7c245883bab42ebf1a9a4347caaa400
🌐 [i18n-KO] Translated `idefics.md` to Korean (#32258) * docs: ko: tasks/idefics.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> Co-authored-by: Harheem Kim <49297157+harheem@users.noreply.github.com> Co-authored-by: timdalxx <487...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -100,8 +100,8 @@\n title: 생성\n - isExpanded: false\n sections:\n- - local: in_translation\n- title: (번역중) Image tasks with IDEFICS\n+ - local: tasks/idefics\n+ title: IDEFICS를 이용한 이미지 작업\n - local: in_translation\n tit...
2024-08-06T18:58:21
nodejs/node
6bb522bab43702eb3a7e21218ae303a021518fef
e46728684ba9e5786e2c815f8582bbd9e782969f
doc: fix typo in README.md PR-URL: https://github.com/nodejs/node/pull/17729 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihri...
[ { "path": "README.md", "patch": "@@ -185,7 +185,7 @@ or availability of the Node.js application or its system for which the attacker\n does not already have the capability.\n \n To illustrate the point, here are some examples of past issues and what the\n-Security Reponse Team thinks of them. When in doubt,...
2017-12-18T07:29:39
golang/go
f6dcc975f7207340ad11d9296c42e7730ecf1f9f
e8de596f04d0ea7fb6fb68b036760bf088a9c6c2
go/constant: make constant.Make produce "smallest" const representation Fixes #42640. Change-Id: I22b8142b0a47a0f957d1bda28cdfdbb8388cffc4 Reviewed-on: https://go-review.googlesource.com/c/go/+/273086 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
[ { "path": "src/go/constant/value.go", "patch": "@@ -594,11 +594,11 @@ func Make(x interface{}) Value {\n \tcase int64:\n \t\treturn int64Val(x)\n \tcase *big.Int:\n-\t\treturn intVal{x}\n+\t\treturn makeInt(x)\n \tcase *big.Rat:\n-\t\treturn ratVal{x}\n+\t\treturn makeRat(x)\n \tcase *big.Float:\n-\t\tretur...
2020-11-25T01:26:22
vercel/next.js
f09c0e9b5c28fd847d322bbaa4ed6358a8ebc29c
c0668678631d372bf3e5fb60da7f253f3254e464
fix visualization
[ { "path": "crates/turbo-tasks-memory/src/viz.rs", "patch": "@@ -355,7 +355,7 @@ fn get_task_label(ty: &TaskType, stats: &TaskStats, max_values: &MaxValues) -> S\n fn as_color(n: u8) -> String {\n // interpolate #fff -> #ff0 -> #f00\n if n >= 64 {\n- format!(\"#ff{:0>2x}00\", u8::MAX - (n - 64...
2022-07-14T16:29:26
huggingface/transformers
5301b981d7c245883bab42ebf1a9a4347caaa400
ac2707e8eeba75a36f17da3888473ce34f2b6785
🌐 [i18n-KO] Translated `mask_generation.md` to Korean (#32257) * docs: ko: tasks/mask_generation.md * feat: nmt draft * fix : toc local * fix : manual edits * fix : ko-toctree * fix: resolve suggestions Co-authored-by: boyunJang <gobook1234@naver.com> Co-authored-by: Chaewon Song <chaewon1019@ewhai...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -77,8 +77,8 @@\n title: (번역중) Image-to-Image\n - local: in_translation\n title: (번역중) Image Feature Extraction\n- - local: in_translation\n- title: (번역중) Mask Generation\n+ - local: tasks/mask_generation\n+ t...
2024-08-06T18:36:14
nodejs/node
e46728684ba9e5786e2c815f8582bbd9e782969f
ef8acccfde4f4916b62deb8f15a5930a2bdac546
doc: fix typo in child_process.md PR-URL: https://github.com/nodejs/node/pull/17727 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daniel Bevenius <daniel....
[ { "path": "doc/api/child_process.md", "patch": "@@ -980,7 +980,7 @@ added: v0.1.90\n \n * `signal` {string}\n \n-The `subprocess.kill()` methods sends a signal to the child process. If no\n+The `subprocess.kill()` method sends a signal to the child process. If no\n argument is given, the process will be sen...
2017-12-18T04:23:19
vercel/next.js
c0668678631d372bf3e5fb60da7f253f3254e464
be5ba3e9e913a38a3b0e1ad834ab0455e30611ff
fixes
[ { "path": "crates/turbopack-ecmascript/src/parse.rs", "patch": "@@ -17,6 +17,7 @@ use swc_common::{\n use swc_ecma_ast::{EsVersion, Program};\n use swc_ecma_parser::{lexer::Lexer, EsConfig, Parser, Syntax, TsConfig};\n use swc_ecma_transforms_base::resolver;\n+use swc_ecma_transforms_react::jsx;\n use swc_e...
2022-07-14T14:28:29
golang/go
7d72951229a4d55c5643d0ec7d7f7653d6efda3d
6826287c6b1ff2e3f23611472a9d81ac5e3aa89a
[dev.regabi] cmd/compile: replace Val with go/constant.Value This replaces the compiler's legacy constant representation with go/constant, which is used by go/types. This should ease integrating with the new go/types-based type checker in the future. Performance difference is mixed, but there's still room for improve...
[ { "path": "src/cmd/compile/fmtmap_test.go", "patch": "@@ -22,8 +22,6 @@ package main_test\n var knownFormats = map[string]string{\n \t\"*bytes.Buffer %s\": \"\",\n \t\"*cmd/compile/internal/gc.EscLocation %v\": \"\",\n-\t\"*cmd/compile/internal/gc.Mpflt %v\": ...
2020-11-14T07:36:48
huggingface/transformers
ac2707e8eeba75a36f17da3888473ce34f2b6785
4fdc7020b227ab606a9b68470a798824232c17ca
Revert "fixes to properly shard FSDP across cpu and meta for cpu_effcient_loading for prequantized 4bit (#32276)" (#32477) * Revert "fixes to properly shard FSDP across cpu and meta for cpu_efficient_loading for prequantized 4bit (#32276)" This reverts commit 62c60a30181a65e1a3a7f19c3055a240a6a21335. We uncovere...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -933,8 +933,6 @@ 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 # For backwa...
2024-08-06T18:28:59
ollama/ollama
e4ff73297db2f53f1ea4b603df5670c5bde6a944
53da2c69654769c0c086af695722e1d9b9ee6ecc
server: fix model reloads when setting `OLLAMA_NUM_PARALLEL` (#5560) * server: fix unneeded model reloads when setting `OLLAMA_NUM_PARALLEL` * remove whitespace change * undo some changes
[ { "path": "server/sched.go", "patch": "@@ -133,10 +133,6 @@ func (s *Scheduler) processPending(ctx context.Context) {\n \t\t\t\tnumParallel = 1\n \t\t\t\tslog.Warn(\"multimodal models don't support parallel requests yet\")\n \t\t\t}\n-\t\t\t// Keep NumCtx and numParallel in sync\n-\t\t\tif numParallel > 1 {...
2024-07-09T05:32:15
nodejs/node
94e29510d93811ff0792260a6c2ec3f72f43558c
400e73a9d084b5478ebcaeb89459048435d7d235
n-api: fix memory leak in napi_async_destroy() PR-URL: https://github.com/nodejs/node/pull/17714 Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <j...
[ { "path": "src/node_api.cc", "patch": "@@ -2770,6 +2770,8 @@ napi_status napi_async_destroy(napi_env env,\n reinterpret_cast<node::async_context*>(async_context);\n node::EmitAsyncDestroy(isolate, *node_async_context);\n \n+ delete node_async_context;\n+\n return napi_clear_last_error(env);\n }\n...
2017-12-17T10:22:46
huggingface/transformers
4fdc7020b227ab606a9b68470a798824232c17ca
26a9443dae41737e665910fbb617173e17a0cd18
`is_torchdynamo_compiling` -- cast a wide exception net (#32476) * cast a wide net * make fix-copies with a few manual changes * add copied from
[ { "path": "src/transformers/models/nemotron/modeling_nemotron.py", "patch": "@@ -53,6 +53,60 @@\n _CONFIG_FOR_DOC = \"NemotronConfig\"\n \n \n+# Copied from transformers.models.llama.modeling_llama._prepare_4d_causal_attention_mask_with_cache_position\n+def _prepare_4d_causal_attention_mask_with_cache_posit...
2024-08-06T18:12:58
golang/go
e8de596f04d0ea7fb6fb68b036760bf088a9c6c2
ba2adc21e8c416c47dec5fbce76286758f15b177
runtime: use inlined function name for traceback elision Currently, gentraceback decides which frames to print or elide when unwinding inlined frames using only the name of the outermost function. If the outermost function should be elided, then inlined functions will also be elided, even if they shouldn't be. This h...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -254,6 +254,24 @@ func TestCgoCrashTraceback(t *testing.T) {\n \t}\n }\n \n+func TestCgoCrashTracebackGo(t *testing.T) {\n+\tt.Parallel()\n+\tswitch platform := runtime.GOOS + \"/\" + runtime.GOARCH; platform {\n+\tcase \"darwin/amd64\":\n+\tcase \"lin...
2020-11-20T22:32:46
ollama/ollama
b44320db1302baea88e2f318d984218c68faa5f1
53da2c69654769c0c086af695722e1d9b9ee6ecc
Bundle missing CRT libraries Some users are experienging runner startup errors due to not having these msvc redist libraries on their host
[ { "path": "scripts/build_windows.ps1", "patch": "@@ -107,9 +107,12 @@ function gatherDependencies() {\n \n # TODO - this varies based on host build system and MSVC version - drive from dumpbin output\n # currently works for Win11 + MSVC 2019 + Cuda V11\n- cp \"${env:VCToolsRedistDir}\\x64\\Micros...
2024-07-09T01:24:21
nodejs/node
934490b3f6e7368b5786f43964cf8001208f4e04
f2e31eb67f696648de845f18624facf3d62d2ed2
doc: fix fs.existsSync description Also works on directories. PR-URL: https://github.com/nodejs/node/pull/17702 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -1099,7 +1099,7 @@ changes:\n * `path` {string|Buffer|URL}\n \n Synchronous version of [`fs.exists()`][].\n-Returns `true` if the file exists, `false` otherwise.\n+Returns `true` if the path exists, `false` otherwise.\n \n Note that `fs.exists()` is deprecated, but `f...
2017-12-15T21:50:08
vercel/next.js
1b0242ffd3fd781488e58e3a8e28728e74ea9c8f
1868a4c1ebbdc4af6e4d54b64d72f5e6ca58f7d5
Remove futures dep and fix await points
[ { "path": "crates/turbopack-static/Cargo.toml", "patch": "@@ -22,7 +22,6 @@ turbo-tasks-fs = { path = \"../turbo-tasks-fs\" }\n \n serde = \"1.0.136\"\n md4 = \"0.10.1\"\n-futures = \"0.3.21\"\n \n [build-dependencies]\n turbo-tasks-build = { path = \"../turbo-tasks-build\" }", "additions": 0, "dele...
2022-07-18T08:11:38
golang/go
ba2adc21e8c416c47dec5fbce76286758f15b177
65dcd15c720585958908668fb17c47bc620a9923
runtime/testdata/testprogcgo: refactor CrashTraceback This moves the C part of the CrashTraceback test into its own file in preparation for adding a test that transitions back into Go. Change-Id: I9560dcfd80bf8a1d30809fd360f958f5261ebb01 Reviewed-on: https://go-review.googlesource.com/c/go/+/272130 Trust: Austin Clem...
[ { "path": "src/runtime/testdata/testprogcgo/traceback.go", "patch": "@@ -11,58 +11,10 @@ package main\n /*\n #cgo CFLAGS: -g -O0\n \n-#include <stdint.h>\n-\n-char *p;\n-\n-static int f3(void) {\n-\t*p = 0;\n-\treturn 0;\n-}\n-\n-static int f2(void) {\n-\treturn f3();\n-}\n-\n-static int f1(void) {\n-\tretu...
2020-11-20T22:09:23
huggingface/transformers
80b90e7b2f7466ffb1d9036986e0699880d34284
3d8bd11942cec26851c80c01aa5e8403542ca50b
Add codestral mamba2 (#32080) * add new model like * draft cuda forward - mismatched keys (sharding on conv1) * match keys successfully * fix split * get generation/forward running (wrong gens, norm?) * :update * some refactoring * fixes * works up until copy to cache * fix * update * ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -438,6 +438,8 @@\n title: MADLAD-400\n - local: model_doc/mamba\n title: Mamba\n+ - local: model_doc/mamba2\n+ title: mamba2\n - local: model_doc/marian\n title: MarianMT\n - local: model_doc/markuplm...
2024-08-06T14:39:52
nodejs/node
68c63a9fa362138bed852714862ac37b85c06adb
36ffa21af248c4f3d188d48e06c21e7ec8abe58d
test: add test for postmortem metadata validation This commit adds a test to validate postmortem debugging metadata. When this test runs, it can check for the presence of metadata constants used by tools such as llnode and mdb and report if any have accidentally been removed. PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -5,6 +5,8 @@ prefix parallel\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n+# Postmortem debugging data is prone to accidental removal during V8 updates.\n+test-postmortem-metadata: PASS,FLAKY\...
2017-12-14T17:41:24
rust-lang/rust
21ee875b4c619141af7347cff9853c7a71131bcf
7bcf2506f7d5560d81cc3998953b1cd0f8019efd
remove fixme
[ { "path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints/closure_ret.rs", "patch": "@@ -48,7 +48,6 @@ pub(super) fn hints(\n if arrow.is_none() {\n label.prepend_str(\" -> \");\n }\n- // FIXME?: We could provide text edit to insert braces for closures with non-block body.\n let t...
2025-03-13T09:53:34
huggingface/transformers
3d8bd11942cec26851c80c01aa5e8403542ca50b
6a03942db7c577f9db340270024ab86ba54f7f21
Generate: fix end to end compilation (#32465)
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1024,19 +1024,22 @@ def __init__(self, config: PretrainedConfig, max_batch_size: int, max_cache_len:\n # Note: There will be significant perf decrease if switching to use 5D tensors instead.\n cache_shape = (max_batch_size, self.num_...
2024-08-06T14:06:47
ollama/ollama
0e09c380fcae8b81db3c3447d70d721cfad00dbd
0ee87615c74c69d8fbc3cad8f3ea5a2364b1a876
llm: print caching notices in debug only (#5533)
[ { "path": "llm/ext_server/server.cpp", "patch": "@@ -1413,7 +1413,7 @@ struct llama_server_context\n return get_slot(-1);\n }\n \n- LOG_INFO(\"slot with common prefix found\", {{\n+ LOG_DEBUG(\"slot with common prefix found\", {{\n \"slot_id\", slot->id,\n ...
2024-07-07T16:38:04
rust-lang/rust
36ff87e90e7f39cffb508292a63792cc0dcfbd6e
0e76f8b7e02b1ddd349dde1501f73426a4e764cf
EUV: fix place of deref pattern's interior's scrutinee The place previously used here was that of the temporary holding the reference returned by `Deref::deref` or `DerefMut::deref_mut`. However, since the inner pattern of `deref!(inner)` expects the deref-target type itself, this would ICE when that type was inspecte...
[ { "path": "compiler/rustc_hir_typeck/src/expr_use_visitor.rs", "patch": "@@ -1840,7 +1840,8 @@ impl<'tcx, Cx: TypeInformationCtxt<'tcx>, D: Delegate<'tcx>> ExprUseVisitor<'tcx\n let ty = self.pat_ty_adjusted(subpat)?;\n let ty = Ty::new_ref(self.cx.tcx(), re_erased, ty, mutab...
2025-03-13T06:08:37
ollama/ollama
0ee87615c74c69d8fbc3cad8f3ea5a2364b1a876
f8241bfba384cf8c888847dc44b73d7f43a42d82
sched: don't error if paging to disk on Windows and macOS (#5523)
[ { "path": "server/sched.go", "patch": "@@ -197,25 +197,36 @@ func (s *Scheduler) processPending(ctx context.Context) {\n \t\t\t\t\t\tbreak\n \t\t\t\t\t}\n \n-\t\t\t\t\t// Block attempting to load a model larger than system memory + GPU memory\n \t\t\t\t\testimate := llm.EstimateGPULayers(gpus, ggml, pending...
2024-07-07T02:01:52
huggingface/transformers
6a03942db7c577f9db340270024ab86ba54f7f21
36fd35e1cf48b4a889725d329b1a29c1921ac36f
Add Nemotron HF Support (#31699) * Add nemotron support * fix inference * add unit test * add layernorm1p as a class to avoid meta device mismatch * test fixed * Add copied_from statements * remove pretraining_tp args * remove nemotronlayernorm * force LN computation done in FP32 * remove ne...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -468,6 +468,8 @@\n title: MT5\n - local: model_doc/mvp\n title: MVP\n+ - local: model_doc/nemotron\n+ title: Nemotron\n - local: model_doc/nezha\n title: NEZHA\n - local: model_doc/nllb", "additio...
2024-08-06T13:42:05
golang/go
0fb733b7f79001092897282749bf5942953b0675
b56762129e97b15587c15d85e18e2d719528657a
[dev.typeparams] go/parser: support the ParseTypeParams mode Support is added for parsing type parameters only if the ParseTypeParams mode is set, otherwise emitting syntax errors for source code that is invalid without type parameters. Rather than have large conditional blocks switching between legacy parser logic a...
[ { "path": "src/go/parser/error_test.go", "patch": "@@ -150,7 +150,7 @@ func compareErrors(t *testing.T, fset *token.FileSet, expected map[token.Pos]str\n \t}\n }\n \n-func checkErrors(t *testing.T, filename string, input interface{}, mode Mode) {\n+func checkErrors(t *testing.T, filename string, input inter...
2020-11-18T20:02:58
ollama/ollama
2cc854f8cb5b9670fc53134f8104569c60d535be
5304b765b2bf934070e06412f6617b97a56ae3d2
llm: fix missing dylibs by restoring old build behavior on Linux and macOS (#5511) * Revert "fix cmake build (#5505)" This reverts commit 4fd5f3526a116d05cd74cfcc7217d4e6326e1bea. * llm: fix missing dylibs by restoring old build behavior * crlf -> lf
[ { "path": "llm/ext_server/CMakeLists.txt", "patch": "@@ -1,17 +1,13 @@\n-\n-set(TARGET ollama_llama_server)\n-option(LLAMA_SERVER_VERBOSE \"Build verbose logging option for Server\" ON)\n-include_directories(${CMAKE_CURRENT_SOURCE_DIR})\n-add_executable(${TARGET} server.cpp utils.hpp json.hpp httplib.h)\n-t...
2024-07-06T01:48:31
huggingface/transformers
36fd35e1cf48b4a889725d329b1a29c1921ac36f
438d06c95acdee6c94f6ba144263f763c2d338a0
Dependencies: fix typo (#32389) deps_2
[ { "path": "docker/consistency.dockerfile", "patch": "@@ -8,7 +8,7 @@ RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools\n RUN uv pip install --no-cache-dir --upgrade 'torch' --index-url https://download.pytorch.org/whl/cpu\n # tensorflow pin matching setup.py\n RUN uv pip insta...
2024-08-06T11:36:33
golang/go
015423a15bcfae148d5121bcf4ba5b50d0847cd0
c767d73227704ba4e22e366e89d1885f52d4b6cc
[dev.regabi] strconv: add to bootstrap packages go/constant relies on strconv for parsing Go literals, while older versions of strconv either lack recent Go language features (e.g., Go 1.13's new numeric literals) or have errors (e.g., mishandling of carriage returns in raw string literals prior to Go 1.8). This requ...
[ { "path": "src/cmd/compile/internal/gc/dep_test.go", "patch": "@@ -18,7 +18,7 @@ func TestDeps(t *testing.T) {\n \t}\n \tfor _, dep := range strings.Fields(strings.Trim(string(out), \"[]\")) {\n \t\tswitch dep {\n-\t\tcase \"go/build\", \"go/token\":\n+\t\tcase \"go/build\", \"go/scanner\":\n \t\t\tt.Errorf...
2020-11-24T05:48:38
nodejs/node
0a28f94df6e23f7669fd0fa9e52f7174175f78c4
97cee727d512956d29a94b6e260def80f7f3be29
test: Use countdown in test file Fixes: https://github.com/nodejs/node/issues/17169 PR-URL: https://github.com/nodejs/node/pull/17646 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <rub...
[ { "path": "test/parallel/test-http-pipeline-regr-3332.js", "patch": "@@ -1,40 +1,27 @@\n 'use strict';\n require('../common');\n-const assert = require('assert');\n const http = require('http');\n const net = require('net');\n+const Countdown = require('../common/countdown');\n \n const big = Buffer.alloc(1...
2017-12-13T09:23:03
vercel/next.js
653d5e71487c47869517a373683c9c852b0518d9
67e10a7052d735bb7171432d824346f02e4009e1
Fix missing client entry matcher and simplify imports path (#38691) ### Changes #### Add missing virtual client entry matcher for css modules client entry module has no file path, add the missing file matcher for client css modules loader #### Use relative paths for imports in client entry to avoid module resolving ...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -21,6 +21,8 @@ const regexCssModules = /\\.module\\.css$/\n // RegExps for Syntactically Awesome Style Sheets\n const regexSassGlobal = /(?<!\\.module)\\.(scss|sass)$/\n const regexSassModules = /\\.module\\.(scss|sass)$/\n+// ...
2022-07-16T22:49:28
huggingface/transformers
438d06c95acdee6c94f6ba144263f763c2d338a0
fb66ef814779bcb04ab67a16ccb854c7c7b20100
Fix get large model config for Switch Transformer encoder only tester (#32438)
[ { "path": "tests/models/switch_transformers/test_modeling_switch_transformers.py", "patch": "@@ -770,7 +770,7 @@ def __init__(\n self.is_training = is_training\n \n def get_large_model_config(self):\n- return SwitchTransformersConfig.from_pretrained(\"switch_base_8\")\n+ return Swi...
2024-08-06T10:48:32
rust-lang/rust
231627b138b83c5ba388ff31e928d47b14397aa8
0e76f8b7e02b1ddd349dde1501f73426a4e764cf
update error message [`compile-pass` has since been renamed to `build-pass`](https://github.com/rust-lang/rust/issues/62277)
[ { "path": "src/tools/compiletest/src/runtest/incremental.rs", "patch": "@@ -65,7 +65,7 @@ impl TestCx<'_> {\n \n // FIXME(#41968): Move this check to tidy?\n if !errors::load_errors(&self.testpaths.file, self.revision).is_empty() {\n- self.fatal(\"compile-pass tests with expected ...
2025-03-13T02:48:46
ollama/ollama
4fd5f3526a116d05cd74cfcc7217d4e6326e1bea
842f85f758db6d0af8e380b45daeb6bc861e4255
fix cmake build (#5505)
[ { "path": "llm/ext_server/CMakeLists.txt", "patch": "@@ -1,14 +1,17 @@\n-\r\n-set(TARGET ollama_llama_server)\r\n-option(LLAMA_SERVER_VERBOSE \"Build verbose logging option for Server\" ON)\r\n-include_directories(${CMAKE_CURRENT_SOURCE_DIR})\r\n-add_executable(${TARGET} server.cpp utils.hpp json.hpp httpli...
2024-07-05T23:07:01
nodejs/node
3db136a74a34d610a0bea26f7da46ea2f33d96db
efffcc262c77a58ad3c75787497df46863d1b7a6
doc: change "Node.js style cb" to "error-first cb" Change the awkward "Node.js style callback" phrasing to the more informative "error-first callback." PR-URL: https://github.com/nodejs/node/pull/17638 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jon...
[ { "path": "doc/api/errors.md", "patch": "@@ -128,35 +128,36 @@ they are thrown *after* the calling code has already exited.\n Developers must refer to the documentation for each method to determine\n exactly how errors raised by those methods are propagated.\n \n-### Node.js style callbacks\n+### Error-firs...
2017-12-12T23:46:25
golang/go
357c576878137c8840b702c64167470f1669f064
5fd949e4bd18ec2068e614c17be0a74969dc13b8
[dev.regabi] cmd/compile: clean up error API Prepare for factoring the error API out of this package by cleaning it up. The doc comments use the intended new names, which will be introduced in the next CL. Change-Id: Ie4c8d4262422da32a9a9f750fda42c225b6b42a8 Reviewed-on: https://go-review.googlesource.com/c/go/+/2722...
[ { "path": "src/_rex.20201123151057", "patch": "@@ -0,0 +1 @@\n+", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "src/cmd/compile/internal/gc/dcl.go", "patch": "@@ -19,9 +19,6 @@ var externdcl []*Node\n \n func testdclstack() {\n \tif !types.IsDclstackValid() {\n-...
2020-11-16T16:08:38