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
nodejs/node
992703f2b50f6b3483e9b930737d177b9e01256d
e53275d819fb21d4bb15a27a714f134551233cf9
src: prevent persistent handle resource leaks Replace v8::Persistent with node::Persistent, a specialization that resets the persistent handle on destruction. Prevents accidental resource leaks when forgetting to call .Reset() manually. I'm fairly confident this commit fixes a number of resource leaks that have gone...
[ { "path": "node.gyp", "patch": "@@ -371,9 +371,10 @@\n 'src/node_internals.h',\n 'src/node_javascript.h',\n 'src/node_mutex.h',\n- 'src/node_platform.h',\n 'src/node_perf.h',\n 'src/node_perf_common.h',\n+ 'src/node_persistent.h',\n+ 'src/node_pla...
2018-02-21T14:24:18
rust-lang/rust
9f336ce2eb0ba04de7f1ddd2e1b0958e7df15c42
82796dd8585c0c160fe2a50b12f77455a7e0f8d7
Remove now unreachable parse recovery code StructLiteralNeedingParens is no longer reachable always giving precedence to StructLiteralNotAllowedHere. As an aside: The former error struct shouldn't've existed in the first place. We should've just used the latter in this branch.
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -757,10 +757,6 @@ parse_struct_literal_body_without_path =\n struct literal body without path\n .suggestion = you might have forgotten to add the struct literal inside the block\n \n-parse_struct_literal_needing_parens =\n- invalid struc...
2025-03-23T23:12:53
ollama/ollama
4090aca97b768e093832a5b2ed101bb867168d5c
92ce438de06c6225ffc004600df7a1ec5a439f8e
server: send 405 instead of 404 for unallowed methods (#10275) Fixes: #5483
[ { "path": "server/routes.go", "patch": "@@ -1170,6 +1170,7 @@ func (s *Server) GenerateRoutes(rc *ollama.Registry) (http.Handler, error) {\n \tcorsConfig.AllowOrigins = envconfig.AllowedOrigins()\n \n \tr := gin.Default()\n+\tr.HandleMethodNotAllowed = true\n \tr.Use(\n \t\tcors.New(corsConfig),\n \t\tallow...
2025-05-06T21:45:37
huggingface/transformers
4fb28703adc2b44ed66a44dd04740787010c5e11
5ee52ae0bc01424a038b5bc7fcaef166dde2e314
Fix PIL dep for tests (#34028) Fix PIL dep for tess
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -92,6 +92,7 @@\n require_torch_tf32,\n require_torch_up_to_2_accelerators,\n require_torchdynamo,\n+ require_vision,\n require_wandb,\n slow,\n torch_device,\n@@ -3812,6 +3813,7 @@ def test_trainer_saves_tokenizer(self):\n ...
2024-10-09T14:45:06
vercel/next.js
ea33b84089c0570b7ae34bae3d9c47ab7612b596
a24872b4ab692137ecb815062ff15b3c2b4f9667
docs: fix typos (#40342) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before o...
[ { "path": "docs/going-to-production.md", "patch": "@@ -72,7 +72,7 @@ export async function getServerSideProps({ req, res }) {\n By default, `Cache-Control` headers will be set differently depending on how your page fetches data.\n \n - If the page uses `getServerSideProps` or `getInitialProps`, it will use ...
2022-09-08T20:38:26
nodejs/node
e53275d819fb21d4bb15a27a714f134551233cf9
1b83a9df054a0d5bac28fef96bd0598d86dae6d8
doc: fix minor grammar/typographical issues in onboarding.md PR-URL: https://github.com/nodejs/node/pull/18847 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Mo...
[ { "path": "doc/onboarding.md", "patch": "@@ -36,9 +36,9 @@ onboarding session.\n * git:\n * Make sure you have whitespace=fix: `git config --global --add\n apply.whitespace fix`\n- * Always continue to PR from your own github fork\n- * Branches in the nodejs/node repository are only for release li...
2018-02-18T04:06:42
huggingface/transformers
5ee52ae0bc01424a038b5bc7fcaef166dde2e314
295a90cb40468ddd607577448e674348cff55adc
Mllama: fix tests (#34000) * fix tests * don't need this * style
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -813,8 +813,7 @@ def _quantize(self, tensor, axis):\n if is_optimum_quanto_available():\n from optimum.quanto import quantize_weight\n \n- scale, zeropoint = self.optimizer(tensor, self.qtype, axis, self.q_group_size)\n...
2024-10-09T12:02:56
ollama/ollama
95e744beeb82f725579932336eeabc0de019cbf4
3b2d2c8326c245f0210a549777d0a77c2ccd92d1
discover: fix compiler warnings (#10572)
[ { "path": "discover/gpu_info.h", "patch": "@@ -27,12 +27,14 @@\n \n #endif\n \n+#ifndef LOG\n #define LOG(verbose, ...) \\\n do { \\\n if (verbose) { \\\n fprintf(stderr, __VA_ARGS__); \\\n } \\\n } while (0)\n+#endif\n \n #ifdef __cplusplus\n extern \"C\" {", "additions": 2, "dele...
2025-05-06T17:49:22
vercel/next.js
a24872b4ab692137ecb815062ff15b3c2b4f9667
c8d3fa6a77186ec7805261312b0ce406efd46d79
Fix flight manifest to include all chunks (#40365) When a client module is imported by both a module from an `app` entry and a module from `pages` entry, it is possible that it is included in the `pages` chunk eventually. The current check makes the manifest incomplete in that case. ## Bug - [ ] Related issues linke...
[ { "path": "packages/next/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -121,12 +121,6 @@ export class FlightManifestPlugin {\n id: ModuleId,\n mod: webpack.NormalModule\n ) {\n- // if appDir is enabled we shouldn't process chunks from\n- // the pages dir\...
2022-09-08T19:09:33
nodejs/node
d28edf97fa5cb863b5497cc3964c103f782d8b62
6934792eb34c75c16ac810951d0abadfe96238a9
doc: fix nits in tools/doc/README.md * Sync format schemes with the current doc state. * Lowercase primitive types. * Fix typos and unify the style. * Remove tautological info. PR-URL: https://github.com/nodejs/node/pull/18874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@...
[ { "path": "tools/doc/README.md", "patch": "@@ -1,107 +1,106 @@\n Here's how the node docs work.\n \n-1:1 relationship from `lib/<module>.js` to `doc/api/<module>.md`\n+1:1 relationship from `lib/<module>.js` to `doc/api/<module>.md`.\n \n Each type of heading has a description block.\n \n ```md\n-## module\...
2018-02-19T23:26:58
huggingface/transformers
cdee5285cade176631f4f2ed3193a0ff57132d8b
faa0f63b9375d8de18968b971ee342de566d4491
Fix Failed tests with mobile bert resize tokens embedding (#33950) * Fix Failed tests with mobile bert * Cast to the correct dtype * Code fixup * Fix padding_idx larger that embedding_size * Reduce covariance more. use 1e-7 instead of 1e-5 * Comment fix * Reduce covariance more. use 1e-9 instead of 1...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2439,17 +2439,24 @@ def _init_added_embeddings_weights_with_mean(\n mean_embeddings = torch.mean(old_embeddings_weight, axis=0)\n old_centered_embeddings = old_embeddings_weight - mean_embeddings\n covariance = old_centere...
2024-10-09T10:23:50
ollama/ollama
d931ee8f22d38a87d4ff1886ccf56c38697f3fa0
70736007976543a9f54bbdb9e484478ad3af21a0
create blobs in parallel (#10135) * default max term height * error on out of tree files
[ { "path": "cmd/cmd.go", "patch": "@@ -31,6 +31,7 @@ import (\n \t\"github.com/olekukonko/tablewriter\"\n \t\"github.com/spf13/cobra\"\n \t\"golang.org/x/crypto/ssh\"\n+\t\"golang.org/x/sync/errgroup\"\n \t\"golang.org/x/term\"\n \n \t\"github.com/ollama/ollama/api\"\n@@ -41,6 +42,7 @@ import (\n \t\"github....
2025-05-05T18:59:26
vercel/next.js
c6c09e78b20ec3b5e5e3b9f91fe77307d4517283
76a7be0039dc134ab14a71ade3dafdaaa80eadcf
Try out cram/prysk for CLI integration testing (vercel/turbo#1829) Add some `prysk`-based integration tests. They're minimal for now, but we can expand them as we work on CLI UX. This PR also fixes an incorrect error that was printed out from `turbo logout`, found via CLI test. These are not yet wired to CI. I'd li...
[ { "path": ".editorconfig", "patch": "@@ -9,6 +9,9 @@ indent_style = space\n insert_final_newline = true\n trim_trailing_whitespace = true\n \n+[*.t]\n+trim_trailing_whitespace = false\n+\n [Makefile]\n indent_style = tab\n ", "additions": 3, "deletions": 0, "language": "Unknown" } ]
2022-09-08T17:43:06
nodejs/node
1e57a8d1171558774c849e7a8e5d8b91b003ffab
808c05858a1f60d67b11dbca021fb418da01f2aa
test: http2 client ping errors PR-URL: https://github.com/nodejs/node/pull/18849 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-http2-ping.js", "patch": "@@ -71,12 +71,60 @@ server.listen(0, common.mustCall(() => {\n assert.deepStrictEqual(payload, ret);\n })));\n }\n+\n // Only max 2 pings at a time based on the maxOutstandingPings option\n assert(!client.ping(common.expectsEr...
2018-02-18T07:15:56
huggingface/transformers
698b36da72ae8377fb08ade92b131069898007c2
6151bc47ba414f408496de72147451bd9ddbf27a
🌐 [i18n-KO] Translated `modular_transformers.md` to Korean (#33772) * docs: ko: modular_transformers.md * feat: nmt draft * fix inline TOC * fix: manual edits * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.github.com> Co-authored-by...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -137,6 +137,8 @@\n title: 문제 해결\n - local: gguf\n title: GGUF 파일들과의 상호 운용성\n+ - local: modular_transformers\n+ title: transformers에서의 모듈성\n title: (번역중) 개발자 가이드\n - sections:\n - local: in_translation", "additions": 2, "deletion...
2024-10-09T01:30:41
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
ollama/ollama
70736007976543a9f54bbdb9e484478ad3af21a0
b1c40138dadfd32550ae03391bdee63ef5e2b8bb
ggml: Reduce log level of "key not found" Most of the time this is not an error.
[ { "path": "fs/ggml/ggml.go", "patch": "@@ -149,7 +149,7 @@ func keyValue[T valueTypes | arrayValueTypes](kv KV, key string, defaultValue ..\n \t\treturn val.(T)\n \t}\n \n-\tslog.Warn(\"key not found\", \"key\", key, \"default\", defaultValue[0])\n+\tslog.Debug(\"key not found\", \"key\", key, \"default\", ...
2025-05-05T17:37:16
vercel/next.js
ecaf59b3e6e57c20975d7bb7dbaadb3a912b0280
0a112ccb140271986217f38a022cf8f78c04f562
improve startup metric measurement (vercel/turbo#331) This fixes the `startup` benchmark metric to show the time until first render, instead of being equal to hydration. It also skips `hydration` for CSR bundlers since it's equal first render for them. It now correctly measures the initial SSR as `startup`, so CLI s...
[ { "path": "packages/next-swc/crates/next-dev/benches/bundlers.rs", "patch": "@@ -17,6 +17,11 @@ pub trait Bundler {\n fn react_version(&self) -> &str {\n \"^18.2.0\"\n }\n+ /// The initial HTML is enough to render the page even without JavaScript\n+ /// loaded\n+ fn has_server_rende...
2022-09-08T16:00:15
rust-lang/rust
8524a7c4b7faab823f7e03d012b365bb05b82654
7d49ae9731555937177d01e9fa39dbf22eb60399
Fix UWP reparse point check
[ { "path": "library/std/src/sys/fs/windows.rs", "patch": "@@ -547,7 +547,7 @@ impl File {\n ))?;\n attr.file_size = info.AllocationSize as u64;\n attr.number_of_links = Some(info.NumberOfLinks);\n- if attr.file_type().is_reparse_point() {\n+ if attr.a...
2025-03-25T10:31:05
huggingface/transformers
6151bc47ba414f408496de72147451bd9ddbf27a
d31d076b53edc9c8061976e255697672b42d4c79
🌐 [i18n-KO] Translated `image_processing_utils.md` to Korean (#33804) * docs: ko: image_processing_utils.md * feat: nmt draft * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -785,8 +785,8 @@\n title: (번역중) Utilities for Trainer\n - local: in_translation\n title: (번역중) Utilities for Generation\n- - local: in_translation\n- title: (번역중) Utilities for Image Processors\n+ - local: internal/image_proces...
2024-10-09T01:19:37
nodejs/node
2caa1f54582902a4feae9a4c7a2e30c6718f7005
469036add4e0e879de3e9307bca4d22a1d547793
doc: fix broken link in pull-requests.md PR-URL: https://github.com/nodejs/node/pull/18873 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "doc/guides/contributing/pull-requests.md", "patch": "@@ -660,4 +660,4 @@ you can take a look at the\n [guide for writing tests in Node.js]: ../writing-tests.md\n [https://ci.nodejs.org/]: https://ci.nodejs.org/\n [IRC in the #node-dev channel]: https://webchat.freenode.net?channels=node-dev&uio=d...
2018-02-19T23:02:38
ollama/ollama
b1c40138dadfd32550ae03391bdee63ef5e2b8bb
17466217e55091e4380b7b3fc7684a2476fdba57
win: lint fix (#10571)
[ { "path": "llm/llm_windows.go", "patch": "@@ -7,7 +7,7 @@ import (\n const (\n \tCREATE_DEFAULT_ERROR_MODE = 0x04000000\n \tABOVE_NORMAL_PRIORITY_CLASS = 0x00008000\n- CREATE_NO_WINDOW = 0x08000000\n+\tCREATE_NO_WINDOW = 0x08000000\n )\n \n var LlamaServerSysProcAttr = &syscall...
2025-05-05T18:08:12
rust-lang/rust
de8c404ed49e16588d6932b3367b6dd0ef1556a1
9c6cb5150f4c47c0673f2bc0bdd5ac1c654f0efb
Fix type error in lint description
[ { "path": "clippy_lints/src/casts/mod.rs", "patch": "@@ -71,7 +71,7 @@ declare_clippy_lint! {\n /// ### Example\n /// ```no_run\n /// let y: i8 = -1;\n- /// y as u128; // will return 18446744073709551615\n+ /// y as u64; // will return 18446744073709551615\n /// ```\n #[clippy::ver...
2025-03-25T08:42:06
golang/go
81cd99858d2ae99e7ac2785367ee5b97de9e6e25
822aeacd9ed0630f84552d3120a12ddaa65b23cc
[dev.typeparams] go/types: import expr changes from dev.go2go This change imports assignments.go, builtins.go, call.go, conversions.go, and expr.go from the dev.go2go branch. Changes from dev.go2go: - Update error positions and codes. - Fix some failing tests due to error message changes. - Fix a bug in exprIntern...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -26,7 +26,9 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \tcase constant_, variable, mapindex, value, commaok, commaerr:\n \t\t// ok\n \tdefault:\n-\t\tunreachable()\n+\t\t// we may get here because of other problems (issue...
2021-01-06T17:25:10
vercel/next.js
a2f012326e85187a42b8657b3c91c46b3da47447
24e49cb139920c8ce6a28d0dfe4875ed18becdf3
improve startup metric measurement (#331) This fixes the `startup` benchmark metric to show the time until first render, instead of being equal to hydration. It also skips `hydration` for CSR bundlers since it's equal first render for them. It now correctly measures the initial SSR as `startup`, so CLI start until p...
[ { "path": "crates/next-dev/benches/bundlers.rs", "patch": "@@ -17,6 +17,11 @@ pub trait Bundler {\n fn react_version(&self) -> &str {\n \"^18.2.0\"\n }\n+ /// The initial HTML is enough to render the page even without JavaScript\n+ /// loaded\n+ fn has_server_rendered_html(&self) ->...
2022-09-08T16:00:15
huggingface/transformers
d31d076b53edc9c8061976e255697672b42d4c79
109b1e7591e703e0634fdcadd61216440b421f4c
🌐 [i18n-KO] Translated output.md to Korean (#33607) * nmt draft * fix toctree * minor fix * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: boyunJang <gobook1234@naver.com> Co-authored-by: wony617 <49024958+Jwaminju@users....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -293,8 +293,8 @@\n - local: in_translation\n title: (번역중) Optimization\n - local: in_translation\n- title: (번역중) Model outputs\n- - local: in_translation\n+ title: 모델 출력\n+ - local: main_classes/output\n title: (번역중) P...
2024-10-09T01:19:21
nodejs/node
469036add4e0e879de3e9307bca4d22a1d547793
de0ed84f04d3ef2fd003d1b08886a86b1502b269
doc: fix typo in http2.md PR-URL: https://github.com/nodejs/node/pull/18872 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -1718,7 +1718,7 @@ changes:\n Http2ServerRequest class to use.\n Useful for extending the original `Http2ServerRequest`.\n **Default:** `Http2ServerRequest`\n- * `Http2ServerResponse` {htt2.Http2ServerResponse} Specifies the\n+ * `Http2ServerResponse`...
2018-02-19T21:26:45
ollama/ollama
1703d1472ed2ff257fe338ddf83e199316f8b5b7
913905028badc32a8283750c5342340113269865
server: fix panic when runner.Options is nil (#10566)
[ { "path": "server/sched.go", "patch": "@@ -691,11 +691,13 @@ func (runner *runnerRef) LogValue() slog.Value {\n \tattrs = append(attrs,\n \t\tslog.String(\"size\", format.HumanBytes2(runner.estimatedTotal)),\n \t\tslog.String(\"vram\", format.HumanBytes2(runner.estimatedVRAM)),\n-\t\tslog.Int(\"num_ctx\", r...
2025-05-05T16:01:33
huggingface/transformers
5809b43a62093d8cc799448af2adff27896d8c3b
c674f2e31340092eac203b9fd45281b94d145462
🌐 [i18n-KO] Translated `biogpt.md` to Korean (#33773) * docs: ko: biogpt.md * feat: nmt draft * fix: manual edits * fix: resolve suggestion Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr> --------- Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr>
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -334,8 +334,8 @@\n title: (번역중) BigBird\n - local: in_translation\n title: (번역중) BigBirdPegasus\n- - local: in_translation\n- title: (번역중) BioGpt\n+ - local: model_doc/biogpt\n+ title: BioGpt\n - local:...
2024-10-09T00:57:51
golang/go
c3b4c7093ac46431b6e15cf1979bd9a251a400da
59bfc18e3441d9cd0b1b2f302935403bbf52ac8b
cmd/internal/objfile: don't require runtime.symtab symbol for XCOFF For some reason (that I didn't look into), externally linked AIX binaries don't have runtime.symtab symbol. Since recent Go releases (Go 1.3 maybe?), that symbol is empty and not necessary anyway. Don't require it. Fixes #40972. Change-Id: I73a1f014...
[ { "path": "src/cmd/internal/objfile/xcoff.go", "patch": "@@ -94,9 +94,7 @@ func (f *xcoffFile) pcln() (textStart uint64, symtab, pclntab []byte, err error)\n \tif pclntab, err = loadXCOFFTable(f.xcoff, \"runtime.pclntab\", \"runtime.epclntab\"); err != nil {\n \t\treturn 0, nil, nil, err\n \t}\n-\tif symtab...
2020-12-23T22:33:18
vercel/next.js
0376534a29324ded4b52ad9a39d7fa1938bac1ae
56c5abd3de120551d65f6d43c385c9c460672f6f
docs: fix typo (#40354) <!-- 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: --> ## Bug - [ ] Related issues...
[ { "path": "docs/migrating/incremental-adoption.md", "patch": "@@ -92,4 +92,4 @@ Once your monorepo is set up, push changes to your Git repository as usual and y\n \n ## Conclusion\n \n-To learn more, read about [subpaths](/docs/api-reference/next.config.js/basepath.md) and [rewrites](/docs/api-reference/nex...
2022-09-08T15:44:58
nodejs/node
de0ed84f04d3ef2fd003d1b08886a86b1502b269
28f3ffba0fd732fb8faa49e02049dfb1ee5c5911
tls: tls_wrap causes debug assert in vector When using a debug build (on Windows specifically) the error case for tls_wrap causes an assert to fire because the index being passed is outside the bounds of the vector. The fix is to switch to iterators. PR-URL: https://github.com/nodejs/node/pull/18830 Reviewed-By: Ann...
[ { "path": "src/tls_wrap.cc", "patch": "@@ -491,8 +491,8 @@ bool TLSWrap::ClearIn() {\n // This can be skipped in the error case because no further writes\n // would succeed anyway.\n pending_cleartext_input_.insert(pending_cleartext_input_.end(),\n- &buffers[i]...
2018-02-17T00:00:23
huggingface/transformers
c674f2e31340092eac203b9fd45281b94d145462
c15d01fa1dcf2d442275a11bca782bef35596fa3
🌐 [i18n-KO] Translated `openai-gpt.md` to Korean (#33801) * docs: ko: openai-gpt.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.github.com> Co-authored-by: Chulhwa (Evan) Han <cjfghk5697@ajou.ac.kr> * fix: resolve suggest...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -398,8 +398,8 @@\n title: (번역중) Funnel Transformer\n - local: model_doc/gemma\n title: Gemma\n- - local: in_translation\n- title: (번역중) GPT\n+ - local: model_doc/openai-gpt\n+ title: GPT\n - local: in_t...
2024-10-09T00:57:33
rust-lang/rust
90c541d637c0857c6d5b1c3bf835e2f02f7175a9
f08d5c01e69436891ff1c181385d0e078a8482ec
ignore doctests only in specified targets add necessary lines fix ui test error
[ { "path": "src/librustdoc/html/markdown.rs", "patch": "@@ -1201,11 +1201,12 @@ impl LangString {\n seen_rust_tags = !seen_other_tags;\n }\n LangStringToken::LangToken(x)\n- if let Some(ignore) = x.strip_prefix(\"ignore-\"...
2025-03-24T04:56:45
ollama/ollama
913905028badc32a8283750c5342340113269865
7e5c8eee5c65bcf7c0d46d5fe3b084fd70d36015
all: fix cgo compiler warnings on windows (#10563)
[ { "path": "discover/gpu_info_cudart.c", "patch": "@@ -58,7 +58,7 @@ void cudart_init(char *cudart_lib_path, cudart_init_resp_t *resp) {\n LOG(resp->ch.verbose, \"cudaSetDevice err: %d\\n\", ret);\n UNLOAD_LIBRARY(resp->ch.handle);\n resp->ch.handle = NULL;\n- if (ret == CUDA_ERROR_INSUFFICIEN...
2025-05-05T15:02:39
golang/go
59bfc18e3441d9cd0b1b2f302935403bbf52ac8b
cd6f3a54e4aa1c608f27275cdbb23f8b2a839faa
cmd/go: add hint to read 'go help vcs' to GOVCS errors Fixes #43596 Change-Id: Iff925d077b5de64161e88c9471402bc7e8885fcd Reviewed-on: https://go-review.googlesource.com/c/go/+/282713 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewe...
[ { "path": "src/cmd/go/internal/modget/query.go", "patch": "@@ -281,14 +281,14 @@ func reportError(q *query, err error) {\n \t// TODO(bcmills): Use errors.As to unpack these errors instead of parsing\n \t// strings with regular expressions.\n \n-\tpatternRE := regexp.MustCompile(\"(?m)(?:[ \\t(\\\"`]|^)\" + ...
2021-01-08T21:12:46
vercel/next.js
75e5616ce4d20db7f8c58839b806527a03a6d119
5793301c609036b7845a909e8420e8c0e0778624
Update `onLoadingComplete` for `next/future/image` to receive reference to `<img>` (#40326) * fixes #18398 * fixes #38864 Co-authored-by: Steven <steven@ceriously.com>
[ { "path": "docs/api-reference/next/future/image.md", "patch": "@@ -7,11 +7,11 @@ description: Try the latest Image Optimization with the new `next/future/image`\n <details>\n <summary><b>Version History</b></summary>\n \n-| Version | Changes ...
2022-09-08T15:37:41
nodejs/node
30f89dfbf65840025f5c833457702f13aa38fe77
3d93f39190ec24284aee6acd0e0214862e651567
build: add node_lib_target_name to cctest deps Currently the cctest target depend on the node_core_target_name target. But it is the node_lib_target_name target that compiles the sources now which means that if a source file in src is updated the cctest executable will not be re-linked against it, but will remain unch...
[ { "path": "node.gyp", "patch": "@@ -921,7 +921,7 @@\n 'type': 'executable',\n \n 'dependencies': [\n- '<(node_core_target_name)',\n+ '<(node_lib_target_name)',\n 'rename_node_bin_win',\n 'deps/gtest/gtest.gyp:gtest',\n 'node_js2c#host',\n@@ -930,39 +930,6 @@...
2018-02-05T13:57:13
huggingface/transformers
c15d01fa1dcf2d442275a11bca782bef35596fa3
f0f80770252e7e938da6ccb9076408763e42f71b
🌐 [i18n-KO] Translated `file_utils.md` to Korean (#33803) * docs: ko: file_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.github.co...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -789,8 +789,8 @@\n title: (번역중) Utilities for Image Processors\n - local: internal/audio_utils\n title: 오디오 처리를 위한 유틸리티\n- - local: in_translation\n- title: (번역중) General Utilities\n+ - local: internal/file_utils\n+ title:...
2024-10-09T00:57:17
ollama/ollama
6a74bba7e7e19bf5f5aeacb039a1537afa3522a5
76ea735aafe8cd3165a105b70ca427dce9d7aec4
win: ensure ollama paths come first (#10549) For all search path env vars make sure our dirs are first to avoid potentially finding other incompatible libraries on the users system. Also fixes a minor build script glitch for windows rocm
[ { "path": "llm/server.go", "patch": "@@ -325,7 +325,9 @@ func NewLlamaServer(gpus discover.GpuInfoList, modelPath string, f *ggml.GGML, a\n \t\t\tpathEnv = \"LD_LIBRARY_PATH\"\n \t\t}\n \n-\t\tvar libraryPaths []string\n+\t\t// Note: we always put our dependency paths first\n+\t\t// since these are the exac...
2025-05-03T20:11:48
golang/go
6ee9b118a2a70371e038fb6bec4fe7989a3a2b2d
b241938e04ed7171897390fdaefd3d3017a16a0b
[dev.regabi] cmd/compile: remove fmt_test code; it has outlived its usefulness With the recent compiler rewrites and cleanups to gc/fmt.go, the "safety net" provided by fmt_test has become less important and the test itself has become a burden (often breaks because of small format changes elsewhere). Eventually, the ...
[ { "path": "src/cmd/compile/fmt_test.go", "patch": "@@ -1,615 +0,0 @@\n-// Copyright 2016 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-// This file implements TestFormats; a test that verifies\n-// format...
2021-01-08T22:04:50
vercel/next.js
5793301c609036b7845a909e8420e8c0e0778624
712d98d3d7ba3ca9849c964aa611e805291a7f7f
fix(lint): disable `react/no-unknown-property` (#40331) ~(PR https://github.com/jsx-eslint/eslint-plugin-react/pull/3377) introduced a change in `eslint-plugin-react@7.31.2` that will now show an error when unknown properties appear on elements. We can opt out of this by overriding the default.~ As discussed int...
[ { "path": "packages/eslint-config-next/index.js", "patch": "@@ -60,6 +60,7 @@ module.exports = {\n plugins: ['import', 'react', 'jsx-a11y'],\n rules: {\n 'import/no-anonymous-default-export': 'warn',\n+ 'react/no-unknown-property': 'off',\n 'react/react-in-jsx-scope': 'off',\n 'react/prop...
2022-09-08T15:21:36
nodejs/node
e91ea214115b9e41269415872717ce7a741b1d7a
12412ef43fb4aa8eef39defad949aa8d1fe6aa10
src: add nullptr check for session in DEBUG macro Currenlty when configuring --debug-http2 /test/parallel/test-http2-getpackedsettings.js will segment fault: $ out/Debug/node test/parallel/test-http2-getpackedsettings.js Segmentation fault: 11 This is happening because the settings is created with the Environment in...
[ { "path": "src/node_http2.h", "patch": "@@ -39,16 +39,20 @@ void inline debug_vfprintf(const char* format, ...) {\n #define DEBUG_HTTP2(...) debug_vfprintf(__VA_ARGS__);\n #define DEBUG_HTTP2SESSION(session, message) \\\n do { ...
2018-02-16T14:01:16
huggingface/transformers
f0f80770252e7e938da6ccb9076408763e42f71b
0d0ec1dbfba19af266ec41ab6bc1103edd1f2617
🌐 [i18n-KO] Translated `swin.md` to Korean (#33510) * ko: doc: model_doc/swin.md * feat: nmt draft * fix: manual edits * fix: manual edits * fix: manual edits * fix: manual edits * fix: manual edits * Update docs/source/ko/model_doc/swin.md Co-authored-by: Yijun Lee <119404328+yijun-lee@users....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -601,13 +601,13 @@\n title: (번역중) ResNet\n - local: in_translation\n title: (번역중) SegFormer\n- - local: in_translation\n- title: (번역중) Swin Transformer\n+ - local: model_doc/swin\n+ title: Swin Transformer\n ...
2024-10-09T00:57:03
ollama/ollama
76ea735aafe8cd3165a105b70ca427dce9d7aec4
dd1d4e99e7e8475d1669f566bb5c0ae30db419f1
sched: logging improvements (#10550) This enhances our logging in the scheduler. The initial "waiting for server" log no longer claims an initial error state (now "not responding" which better reflects the actual state). Runners now have slog wiring to report more details about the runner, including PID.
[ { "path": "llm/server.go", "patch": "@@ -44,6 +44,7 @@ type LlamaServer interface {\n \tEstimatedVRAM() uint64 // Total VRAM across all GPUs\n \tEstimatedTotal() uint64\n \tEstimatedVRAMByGPU(gpuID string) uint64\n+\tPid() int\n }\n \n // llmServer is an instance of the llama.cpp server\n@@ -520,6 +521,9 @@...
2025-05-03T19:01:56
huggingface/transformers
0d0ec1dbfba19af266ec41ab6bc1103edd1f2617
386401eca0b60f99c231c1f4e042935cf150432c
🌐 [i18n-KO] Translated `tokenization_utils.md` to Korean (#33813) * docs: ko: tokenization_utils.md * feat: nmt draft * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -773,10 +773,14 @@\n - sections:\n - local: in_translation\n title: (번역중) Custom Layers and Utilities\n+ - local: in_translation\n+ title: (번역중) Utilities for pipelines\n+ - local: internal/tokenization_utils\n+ title: 토크나이저를 ...
2024-10-09T00:56:30
golang/go
cd6f3a54e4aa1c608f27275cdbb23f8b2a839faa
6192b9875128c5f53a69b959d5a1abf0f10ae93f
cmd/go: revise 'go help' documentation for modules Module-related help pages now contain a brief summary and point to the reference documentation at golang.org/ref/mod for details. Help pages for commands like 'go get' still describe the basic usage and summarize flags but don't provide as much background detail. Fi...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -153,7 +153,10 @@\n // \t\tcreated with -buildmode=shared.\n // \t-mod mode\n // \t\tmodule download mode to use: readonly, vendor, or mod.\n-// \t\tSee 'go help modules' for more.\n+// \t\tBy default, if a vendor directory is present and the go version in go....
2021-01-08T16:35:35
nodejs/node
12412ef43fb4aa8eef39defad949aa8d1fe6aa10
472cde603ef60aafcff00a4d09743758dfd0d928
fs: fix potential segfault in async calls When the async uv_fs_* call errors out synchronously in AsyncDestCall, the after callbacks (e.g. AfterNoArgs) would delete the req_wrap in FSReqAfterScope, and AsyncDestCall would set those req_wrap to nullptr afterwards. But when it returns to the top-layer bindings, the bind...
[ { "path": "src/node_file.cc", "patch": "@@ -516,6 +516,7 @@ class fs_req_wrap {\n DISALLOW_COPY_AND_ASSIGN(fs_req_wrap);\n };\n \n+// Returns nullptr if the operation fails from the start.\n template <typename Func, typename... Args>\n inline FSReqBase* AsyncDestCall(Environment* env,\n FSReqBase* req...
2018-02-16T07:55:37
vercel/next.js
0a112ccb140271986217f38a022cf8f78c04f562
378adc7112fd147fe67e8e8ed86d52ce3ace7f47
Fix Next.js 11 React version (vercel/turbo#333)
[ { "path": "packages/next-swc/crates/next-dev/benches/bundlers.rs", "patch": "@@ -1,4 +1,5 @@\n use std::{\n+ fmt::Display,\n fs::{self, File},\n io::{self, BufRead, BufReader, Write},\n path::Path,\n@@ -7,13 +8,15 @@ use std::{\n \n use anyhow::{anyhow, Context, Result};\n use regex::Regex;\n...
2022-09-08T15:18:53
ollama/ollama
a6ef73f4f26a22cc605516113625a404bd064250
c2f5d6662ba696b94455eaaa298a797d56fdca5c
ggml: Fix race that resulted in "context canceled" when loading Successfully completing processing with an errgroup cancels the associated context. However, we also have a goroutine that is checking for cancelation of the context. As a result, there is a race where the goroutine can pick up the cancelation and report ...
[ { "path": "ml/backend/ggml/ggml.go", "patch": "@@ -341,6 +341,11 @@ func New(ctx context.Context, r *os.File, params ml.BackendParams) (ml.Backend,\n \n \t\t\tvar s uint64\n \t\t\tfor s < t.Size() {\n+\t\t\t\t// Stop if either the parent context has been canceled or if any of the other tensors returned an e...
2025-05-02T00:06:53
huggingface/transformers
386401eca0b60f99c231c1f4e042935cf150432c
db5f117b8a414ec23e12036baed67d36732f9ee4
🌐 [i18n-KO] Translated `main_classes/onnx.md` to Korean (#33601) * docs: ko: main_classes/onnx.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: SeongWooC...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -288,8 +288,8 @@\n title: (번역중) Models\n - local: in_translation\n title: (번역중) Text Generation\n- - local: in_translation\n- title: (번역중) ONNX\n+ - local: main_classes/onnx\n+ title: ONNX\n - local: in_translation\n ...
2024-10-09T00:15:46
nodejs/node
515634210593bbc143f962409ab29f8801e933d7
f242d4b250e50105fc2455813159ee790ac5a198
tools: custom eslint autofix for inspector-check.js 1. Adds fixer method 2. Extends test PR-URL: https://github.com/nodejs/node/pull/16646 Refs: https://github.com/nodejs/node/issues/16636 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell...
[ { "path": "test/parallel/test-eslint-inspector-check.js", "patch": "@@ -12,12 +12,18 @@ const message = 'Please add a skipIfInspectorDisabled() call to allow this ' +\n new RuleTester().run('inspector-check', rule, {\n valid: [\n 'foo;',\n- 'common.skipIfInspectorDisabled(); require(\"inspector\");...
2017-10-31T21:52:31
golang/go
6192b9875128c5f53a69b959d5a1abf0f10ae93f
25886cf4bd28be373afb80a4c068a785b43bdddf
cmd/go: make hints in error messages more consistent * All commands the user can run to fix the problem now appear alone on a separate line after a tab. * Removed -d from 'go get' commands. * Replaced 'go mod tidy' with 'go mod download $modpath' when a package might be provided by a module missing a sum. * Errors...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2655,12 +2655,12 @@ func TestBadCommandLines(t *testing.T) {\n \ttg.tempFile(\"src/@x/x.go\", \"package x\\n\")\n \ttg.setenv(\"GOPATH\", tg.path(\".\"))\n \ttg.runFail(\"build\", \"@x\")\n-\ttg.grepStderr(\"invalid input directory name \\\"@x\\\"|cannot use ...
2021-01-07T16:14:06
ollama/ollama
c2f5d6662ba696b94455eaaa298a797d56fdca5c
57fb759f3cb0716eeed5b59b047a7e141d1659d2
ollamarunner: Re-enable worst case graph preallocation. Worst case graph preallocation was disabled by a27462b "ollamarunner: Temporarily disable worst case graph preallocation" since it caused crashes with large batches when not using the GPU. This backports upstream llama.cpp commit f057808 "ggml: Don't assert fail...
[ { "path": "llama/patches/0018-ggml-Don-t-assert-fail-when-tensor-data-changes-1322.patch", "patch": "@@ -0,0 +1,38 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Jesse Gross <jesse@kernel.org>\n+Date: Thu, 1 May 2025 13:46:10 -0700\n+Subject: [PATCH] ggml: Don't assert f...
2025-05-02T18:24:19
vercel/next.js
24e49cb139920c8ce6a28d0dfe4875ed18becdf3
1a1e3a4c79e58e1d3a4f6ca66866695c2ce8185d
Fix Next.js 11 React version (#333)
[ { "path": "crates/next-dev/benches/bundlers.rs", "patch": "@@ -1,4 +1,5 @@\n use std::{\n+ fmt::Display,\n fs::{self, File},\n io::{self, BufRead, BufReader, Write},\n path::Path,\n@@ -7,13 +8,15 @@ use std::{\n \n use anyhow::{anyhow, Context, Result};\n use regex::Regex;\n-use tempfile::Tem...
2022-09-08T15:18:53
huggingface/transformers
db5f117b8a414ec23e12036baed67d36732f9ee4
cd9a3c49b8f39615ae3c5ad060838a764d8b707f
🌐 [i18n-KO] Translated `model_doc/deberta-v2.md` to Korean (#33968) * docs: ko: model_doc/deberta-v2.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 <...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -366,8 +366,8 @@\n title: DBRX\n - local: in_translation\n title: (번역중) DeBERTa\n- - local: in_translation\n- title: (번역중) DeBERTa-v2\n+ - local: model_doc/deberta-v2\n+ title: DeBERTa-v2\n - local: in_...
2024-10-09T00:15:33
golang/go
0aede1205bdac5d3b938476a6e682190e835bb26
934f9dc0efbae667c445684915676323b98b34d0
[dev.typeparams] cmd/compile/internal/types2: use syntax printer to print expressions The syntax package has a full-fledged node printer. Use that printer to create the expression strings needed in error messages, and remove the local (essentially) duplicate code for creating expression strings. Change-Id: I03673e5e7...
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -379,7 +379,7 @@ func (init *Initializer) String() string {\n \t\tbuf.WriteString(lhs.Name())\n \t}\n \tbuf.WriteString(\" = \")\n-\tWriteExpr(&buf, init.Rhs)\n+\tsyntax.Fprint(&buf, init.Rhs, syntax.ShortForm)\n \treturn buf.String()\n }\n ",...
2021-01-07T20:58:31
nodejs/node
f242d4b250e50105fc2455813159ee790ac5a198
7ca4ca8cc36f7bf293f0d6717068eabb289262a6
tools: auto fix custom crypto-check eslint rule 1. Fixer for crypto-check.js 2. Extends tests PR-URL: https://github.com/nodejs/node/pull/16647 Refs: https://github.com/nodejs/node/issues/16636 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Ruben Bridgewater <ruben@br...
[ { "path": "test/parallel/test-eslint-crypto-check.js", "patch": "@@ -15,20 +15,34 @@ new RuleTester().run('crypto-check', rule, {\n 'foo',\n 'crypto',\n `\n- if (!common.hasCrypto) {\n- common.skip();\n- }\n- require('crypto');\n+ if (!common.hasCrypto) {\n+ common....
2017-10-31T19:38:45
ollama/ollama
074bac844714b3a011d1cf6ebc40c169b10d1aef
8e8f2c6d67ff3ee758102f197bb1b347ed1e97bd
kvcache: Log batch size if we can't find a slot In some cases, we can't find a cache slot when using sliding window attention. It would be helpful in this (and other cases) to know what the batch size is. Bug #10127
[ { "path": "kvcache/causal.go", "patch": "@@ -239,7 +239,7 @@ func (c *Causal) findStartLoc() (int, error) {\n \t\t}\n \t}\n \n-\treturn 0, fmt.Errorf(\"%w (length: %v)\", ErrKvCacheFull, len(c.cells))\n+\treturn 0, fmt.Errorf(\"%w (cache: %v batch: %v)\", ErrKvCacheFull, len(c.cells), c.curBatchSize)\n }\n ...
2025-05-01T20:45:32
vercel/next.js
66834d5c153f5473859e5a499f5b0cf13d902a5a
2b9268a91171f76fb83b45b155b9f9bda3b348c4
Fix `image-component` example types (#40352)
[ { "path": "examples/image-component/pages/index.tsx", "patch": "@@ -5,7 +5,7 @@ import ViewSource from '../components/view-source'\n import vercel from '../public/vercel.png'\n import type { PropsWithChildren } from 'react'\n \n-const Code = (props: PropsWithChildren) => (\n+const Code = (props: PropsWithCh...
2022-09-08T15:09:46
huggingface/transformers
cd9a3c49b8f39615ae3c5ad060838a764d8b707f
d6d07f9c777a63015033c3d8794d7c107621ec52
🌐 [i18n-KO] Translated `model_doc/dbrx.md` to Korean (#33951) * docs: ko: model_doc/dbrx.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> * fix: resolve suggestions * fix: resolve suggestions --------- Co-authored-by: Seo...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -362,6 +362,8 @@\n title: (번역중) CPMANT\n - local: in_translation\n title: (번역중) CTRL\n+ - local: model_doc/dbrx\n+ title: DBRX\n - local: in_translation\n title: (번역중) DeBERTa\n - local: in_translatio...
2024-10-09T00:14:42
nodejs/node
ef7f5a11e8d859fa959552676f7f7f241a78c5c6
ea1a07656ee6dcbbde5de9f228ae075a9eeb6fad
doc: refactor manpage to use mdoc(7) macros Like man(7), mdoc(7) is a macro package for marking up computer manuals. The main difference is that mdoc is semantic rather than presentational, providing authors with a full DSL to abstract page markup from low-level Roff commands. By contrast, `man` is minimalist and leav...
[ { "path": "doc/node.1", "patch": "@@ -1,368 +1,380 @@\n-.TH NODE 1 2016 Node.js Node.js\n-\n-.\\\" This is a man page comment.\n-\n-.\\\" Man page syntax (actually roff syntax) is somewhat obscure, but the\n-.\\\" important part is is that .<letter> specifies <letter>'s syntax for that\n-.\\\" line, and \\f...
2018-02-03T13:16:50
golang/go
934f9dc0efbae667c445684915676323b98b34d0
5b9152de579a75962a48d5380abcc2d4deedbf28
[dev.typeparams] cmd/compile/internal/syntax: clean up node printing API Preparation for using the syntax printer as expression printer in types2. - Introduced Form to control printing format - Cleaned up/added String and ShortString convenience functions - Implemented ShortForm format which prints … for non-empty ...
[ { "path": "src/cmd/compile/internal/syntax/dumper.go", "patch": "@@ -26,7 +26,7 @@ func Fdump(w io.Writer, n Node) (err error) {\n \n \tdefer func() {\n \t\tif e := recover(); e != nil {\n-\t\t\terr = e.(localError).err // re-panics if it's not a localError\n+\t\t\terr = e.(writeError).err // re-panics if i...
2021-01-07T20:57:15
ollama/ollama
8e8f2c6d67ff3ee758102f197bb1b347ed1e97bd
938e8447e8b8e107047b5d30515c2e589d185d6d
ollamarunner: Fix memory leak when processing images The context (and therefore associated input tensors) was not being properly closed when images were being processed. We were trying to close them but in reality we were closing over an empty list, preventing anything from actually being freed. Fixes #10434
[ { "path": "runner/ollamarunner/runner.go", "patch": "@@ -34,14 +34,10 @@ import (\n \t_ \"github.com/ollama/ollama/model/models\"\n )\n \n-type contextList struct {\n-\tlist []ml.Context\n-}\n-\n type Sequence struct {\n \t// ctxs are used for allocating tensors that last the lifetime of the sequence, such ...
2025-05-01T18:34:02
huggingface/transformers
d6d07f9c777a63015033c3d8794d7c107621ec52
48e80284fa37e2ff8ec3ef83a74c567b3e7824f6
🌐 [i18n-KO] Translated `model_doc/cohere.md` to Korean (#33885) * docs: ko: model_doc/cohere.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.com> Co-authored-by: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com> * fix: resol...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -352,6 +352,8 @@\n title: (번역중) CANINE\n - local: in_translation\n title: (번역중) CodeGen\n+ - local: model_doc/cohere\n+ title: Cohere\n - local: in_translation\n title: (번역중) ConvBERT\n - local: in_tr...
2024-10-09T00:14:25
vercel/next.js
1aa341f635e0e47e31fd94c3d4504bbb51725c9d
45d68ae5096929a810b02463f21c8103e83eb75e
added type to clientPromise in with-mongodb/lib (#40339) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been acce...
[ { "path": "examples/with-mongodb/lib/mongodb.ts", "patch": "@@ -8,7 +8,7 @@ const uri = process.env.MONGODB_URI\n const options = {}\n \n let client\n-let clientPromise\n+let clientPromise: Promise<MongoClient>\n \n if (!process.env.MONGODB_URI) {\n throw new Error('Please add your Mongo URI to .env.local...
2022-09-08T12:44:38
golang/go
6598c65646dbb740a6668ffdaffec5627efc95e4
fefad1dc856d66c024a94d3421fc52ff326fe970
cmd/compile: fix exponential-time init-cycle reporting I have a real 7,000-line Go program (not so big) that took over two minutes to report a trivial init cycle. I thought the compiler was in an infinite loop but it was actually just very slow. CL 170062 rewrote init cycle reporting but replaced a linear-time algori...
[ { "path": "src/cmd/compile/internal/gc/initorder.go", "patch": "@@ -108,7 +108,7 @@ func initOrder(l []*Node) []*Node {\n \t\t\t\t\terrorexit()\n \t\t\t\t}\n \n-\t\t\t\tfindInitLoopAndExit(firstLHS(n), new([]*Node))\n+\t\t\t\tfindInitLoopAndExit(firstLHS(n), new([]*Node), make(map[*Node]bool))\n \t\t\t\tFat...
2021-01-07T16:24:26
rust-lang/rust
3f32a321bc0962cd3c700a5625dca4e4967918e4
2469ab195a558b3a09b5ef4319ea8a3f989b621f
Use `Option<Symbol>` in `ModuleKind::Def`. This way, `None` represents "crate root without a name" instead of `kw::Empty`. This changes makes it impossible to forget to handle the exceptional case.
[ { "path": "compiler/rustc_resolve/src/build_reduced_graph.rs", "patch": "@@ -131,7 +131,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {\n let expn_id = self.cstore().expn_that_defined_untracked(def_id, self.tcx.sess);\n return Some(self.new_module(\n parent,\n-...
2025-03-24T22:09:01
huggingface/transformers
48e80284fa37e2ff8ec3ef83a74c567b3e7824f6
adb14b93f42204384b77dfe13dbf2a37ee1a6045
🌐 [i18n-KO] Translated `model_doc/mistral.md` to Korean (#33648) * docs: ko: model_doc/mistral.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.norepl...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -448,6 +448,8 @@\n title: (번역중) MegatronBERT\n - local: in_translation\n title: (번역중) MegatronGPT2\n+ - local: model_doc/mistral\n+ title: Mistral\n - local: in_translation\n title: (번역중) mLUKE\n - lo...
2024-10-09T00:14:12
ollama/ollama
a7835c671615d71280ca7dba7264bd05a4f90915
ad3c7c9bda3b2db9a6887f65e3134c093333d3d5
fix: write gguf padding (#10510) * add gguf_test * fix padding padding was being added to offset but not to the running count
[ { "path": "fs/ggml/gguf.go", "patch": "@@ -531,11 +531,12 @@ func WriteGGUF(ws io.WriteSeeker, kv KV, ts []Tensor) error {\n \n \tvar s uint64\n \tfor _, t := range ts {\n-\t\tt.Offset = s + uint64(ggufPadding(int64(s), int64(alignment)))\n+\t\tt.Offset = s\n \t\tif err := ggufWriteTensorInfo(ws, t); err !=...
2025-05-01T00:59:31
vercel/next.js
220e144a6a9b164cba7162c2941363c620460953
a4d907a564e0f73adcaeaa684a00a3faefc5a678
[edge] fix URLSearchParams lacking data from rewrite (#40260) Given the change in #40076, when a middleware rewrites into an Edge API route and changes the querystring, the changed querystring does not appear in the incoming NextRequest object in the Edge API route ```ts // middleware.ts export function middleware(re...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -2049,9 +2049,7 @@ export default class NextNodeServer extends BaseServer {\n \n // For middleware to \"fetch\" we must always provide an absolute URL\n const isDataReq = !!params.query.__nextDataReq\n- const query = urlQueryToSearchPa...
2022-09-08T11:19:18
rust-lang/rust
2469ab195a558b3a09b5ef4319ea8a3f989b621f
bd61e0129f4ff393ad350f05442a9f1ac3ddbd44
Use `Option<Symbol>` in `panic_call`. Instead of `kw::Empty`. It makes it clearer that this is a name that is searched for and might not be found.
[ { "path": "compiler/rustc_lint/src/non_fmt_panic.rs", "patch": "@@ -7,7 +7,7 @@ use rustc_parse_format::{ParseMode, Parser, Piece};\n use rustc_session::lint::FutureIncompatibilityReason;\n use rustc_session::{declare_lint, declare_lint_pass};\n use rustc_span::edition::Edition;\n-use rustc_span::{InnerSpan...
2025-03-24T07:59:44
golang/go
fefad1dc856d66c024a94d3421fc52ff326fe970
6728118e0ae2658e758a64fe86e2e1a3aa55268c
test: fix timeout code for invoking compiler When running go tool compile, go tool is running compile as a subprocess. Killing go tool with Process.Kill leaves the subprocess behind. Send an interrupt signal first, which it can forward on to the compile subprocess. Also report the timeout in errorcheck -t. Change-Id...
[ { "path": "test/run.go", "patch": "@@ -467,6 +467,8 @@ func goGcflagsIsEmpty() bool {\n \treturn \"\" == os.Getenv(\"GO_GCFLAGS\")\n }\n \n+var errTimeout = errors.New(\"command exceeded time limit\")\n+\n // run runs a test.\n func (t *test) run() {\n \tstart := time.Now()\n@@ -642,16 +644,18 @@ func (t *t...
2021-01-07T16:22:42
ollama/ollama
ad3c7c9bda3b2db9a6887f65e3134c093333d3d5
415c8fcc3deee73e8a11822a962a87c7cb58d938
strip out thinking tags in message history for qwen3 & r1 (#10490) * strip out thinking tags in message history for qwen3 & r1 This is in advance of "proper" support where we'll make reasoning configurable and we'll parse out thinking/reasoning tags and provide them to the caller. These models expect there to be no t...
[ { "path": "server/routes.go", "patch": "@@ -18,6 +18,7 @@ import (\n \t\"os\"\n \t\"os/signal\"\n \t\"path/filepath\"\n+\t\"regexp\"\n \t\"slices\"\n \t\"strings\"\n \t\"syscall\"\n@@ -1512,6 +1513,7 @@ func (s *Server) ChatHandler(c *gin.Context) {\n \tif req.Messages[0].Role != \"system\" && m.System != \...
2025-04-30T20:57:45
rust-lang/rust
1a6266340e53e3f663b49f71a14461dafa47de47
aa8f0fd7163a2f23aa958faed30c9c2b77b934a5
Add a test with an empty crate name. This error was untested.
[ { "path": "tests/ui/attributes/crate-name-empty.rs", "patch": "@@ -0,0 +1,5 @@\n+// Ensure we reject `#![crate_name = \"\"]`.\n+\n+#![crate_name = \"\"] //~ ERROR crate name must not be empty\n+\n+fn main() {}", "additions": 5, "deletions": 0, "language": "Rust" }, { "path": "tests/ui/at...
2025-03-24T23:51:42
golang/go
0c5afc4fb7e3349ec4efdce6554f83554e3d087c
32afcc94363e15ee2ef0cffec962191a15e73094
testing/fstest,os: clarify racy behavior of TestFS The testing.TestFS function assumes that the file system it's testing doesn't change under it. Clarify this in the documentation and fix the use of os.TestDirFS that's currently susceptible to this race. Fixes #42637. Change-Id: Ia7792380726177f8953d150ee87381b66cb0...
[ { "path": "src/os/os_test.go", "patch": "@@ -2687,7 +2687,7 @@ func TestOpenFileKeepsPermissions(t *testing.T) {\n }\n \n func TestDirFS(t *testing.T) {\n-\tif err := fstest.TestFS(DirFS(\"./signal\"), \"signal.go\", \"internal/pty/pty.go\"); err != nil {\n+\tif err := fstest.TestFS(DirFS(\"./testdata/dirfs...
2021-01-07T22:50:14
ollama/ollama
415c8fcc3deee73e8a11822a962a87c7cb58d938
718eda1b3ec79b9b4a5f87ac8350d6ed7f63598b
Fix "Stopping..." scheduler hang (#10487) * Adjust initial scheduler refCount Ensure we only set the refCount on success * sched: fix lock order inversion deadlock Under certain race conditions, there was a scenario where the scheduler would get into a deadlock while trying to update free space information while a ...
[ { "path": "server/sched.go", "patch": "@@ -441,10 +441,9 @@ func (s *Scheduler) load(req *LlmRequest, f *ggml.GGML, gpus discover.GpuInfoLis\n \t\testimatedVRAM: llama.EstimatedVRAM(),\n \t\testimatedTotal: llama.EstimatedTotal(),\n \t\tloading: true,\n-\t\trefCount: 1,\n \t}\n \trunner.nu...
2025-04-30T18:26:52
nodejs/node
2fbe15b82c33fac4d09624b071e5f59862fa1dee
1bda746c1bf8f875cebb3a8948a57bbc75189240
doc: fix minor typos in GOVERNANCE.md PR-URL: https://github.com/nodejs/node/pull/18829 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com...
[ { "path": "GOVERNANCE.md", "patch": "@@ -38,7 +38,7 @@ responsibility for the change. In the case of pull requests proposed\n by an existing Collaborator, an additional Collaborator is required\n for sign-off.\n \n-If one or more Collaborators oppose a proposed change, then the change can not\n+If one or mo...
2018-02-17T00:18:09
golang/go
c6513bca5aeaa9f9b6fe552d60f5b6c700ce0772
304f769ffc68e64244266b3aadbf91e6738c0064
io/fs: minor corrections to Glob doc The documentation for Glob was copied from filepath.Glob, and needs a bit of tweaking: paths are not rooted at slash; the separator is always '/'. Fixes #43537 Change-Id: Id64daa137e2762b66a82a5b9e60bbe603f4e2f5c Reviewed-on: https://go-review.googlesource.com/c/go/+/282173 Trust...
[ { "path": "src/io/fs/glob.go", "patch": "@@ -22,7 +22,7 @@ type GlobFS interface {\n // Glob returns the names of all files matching pattern or nil\n // if there is no matching file. The syntax of patterns is the same\n // as in path.Match. The pattern may describe hierarchical names such as\n-// /usr/*/bin...
2021-01-07T00:30:41
ollama/ollama
7bec2724a56ad990d66b9ca05e2b47191955596c
a27462b7085c7ba794f3b8da1553f4f1caa08ed0
integration: fix embedding tests error handling (#10478) The cleanup routine from InitServerconnection should run in the defer of the test case to properly detect failures and report the server logs
[ { "path": "integration/embed_test.go", "patch": "@@ -34,13 +34,15 @@ func cosineSimilarity[V float32 | float64](v1, v2 []V) V {\n func TestAllMiniLMEmbeddings(t *testing.T) {\n \tctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)\n \tdefer cancel()\n+\tclient, _, cleanup := InitServerCo...
2025-04-29T18:57:54
rust-lang/rust
1b8b09a01d6b0acf24b070cd997bff6cb739dfec
523f413a738822d0312ea82ea69b21b6900af68a
search.js: fix whitespace
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -2798,7 +2798,7 @@ class DocSearch {\n \n // To be sure than it some items aren't considered as duplicate.\n obj.fullPath = res[2] + \"|\" + obj.ty\n- \n+\n if (du...
2025-03-25T00:11:55
huggingface/transformers
adb14b93f42204384b77dfe13dbf2a37ee1a6045
291e7078684aadec8c078428a6125c53f3b0e710
🌐 [i18n-KO] Translated `model_doc/llama3.md` to Korean (#33635) * docs: ko: model_doc/llama3.md * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: Chaewon Song <chaewon1019@ewhain.net> * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.github.c...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -424,6 +424,8 @@\n title: LLaMA\n - local: model_doc/llama2\n title: LLaMA2\n+ - local: model_doc/llama3\n+ title: LLaMA3\n - local: in_translation\n title: (번역중) Longformer\n - local: in_translation"...
2024-10-09T00:13:57
nodejs/node
1bda746c1bf8f875cebb3a8948a57bbc75189240
b404aa56c0e776c9722017ca020f9d04c7aa6de2
test: stdio pipe behavior tests Add two regression tests for stdio over pipes. test-stdio-pipe-access tests if accessing stdio pipe that is being read by another process does not deadlocks Node.js. This was reported in https://github.com/nodejs/node/issues/10836 and was fixed in v8.3.0. The deadlock would happen inte...
[ { "path": "test/parallel/test-stdio-pipe-access.js", "patch": "@@ -0,0 +1,35 @@\n+'use strict';\n+require('../common');\n+\n+// Test if Node handles acessing process.stdin if it is a redirected\n+// pipe without deadlocking\n+const { spawn, spawnSync } = require('child_process');\n+\n+const numTries = 5;\n+...
2018-02-07T09:33:51
vercel/next.js
62c7eff35435f346f56f9f107bead86a51c60bae
b86bf075639c0a899087831e731046e22af823b5
Revert "Revert "Refactor Server Router" (#40328)" (#40333) This unreverts https://github.com/vercel/next.js/pull/40328 as it wasn't the cause for https://github.com/vercel/next.js/issues/40241 like initially suspected and the actual fix has been included here as well with regression test. Fixes: https://github....
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -959,7 +959,11 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n \n // Toggle whether or not this is a Data request\n const isDataReq =\n- !!(query.__nextDataReq || req.headers['x-nextjs-data']) &&\...
2022-09-07T23:38:10
golang/go
b241938e04ed7171897390fdaefd3d3017a16a0b
cb05a0aa6a05cbef05587f02473dbd7f6740b933
[dev.regabi] cmd/compile: fix some methods error text Change-Id: Ie9b034efba30d66a869c5e991b60c76198fd330f Reviewed-on: https://go-review.googlesource.com/c/go/+/279444 Run-TryBot: Baokun Lee <bk@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cuon...
[ { "path": "src/cmd/compile/internal/reflectdata/alg.go", "patch": "@@ -42,8 +42,8 @@ func eqCanPanic(t *types.Type) bool {\n \t}\n }\n \n-// AlgType is like algtype1, except it returns the fixed-width AMEMxx variants\n-// instead of the general AMEM kind when possible.\n+// AlgType returns the fixed-width A...
2020-12-29T10:49:13
ollama/ollama
a27462b7085c7ba794f3b8da1553f4f1caa08ed0
6bf0b8193acadc5d595f320796d9876302ae0620
ollamarunner: Temporarily disable worst case graph preallocation When we later have a large batch running purely on a CPU, this results the error: GGML_ASSERT(talloc->buffer_id >= 0) Disabling this means that we will incrementally reallocate memory as the graph grows. Fixes #10410
[ { "path": "runner/ollamarunner/runner.go", "patch": "@@ -723,7 +723,9 @@ func (m *multiLPath) String() string {\n \treturn strings.Join(*m, \", \")\n }\n \n-func (s *Server) reserveWorstCaseGraph() error {\n+// TODO(jessegross): This is causing tensor allocation failures with large batches when not offloade...
2025-04-29T17:48:39
huggingface/transformers
291e7078684aadec8c078428a6125c53f3b0e710
dd43dafa39778194b358193b46453147c17a97a2
🌐 [i18n-KO] Translated `model_doc/paligemma.md` to Korean (#33612) * docs: ko: model_doc/paligemma.md * feat: nmt draft * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> ...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -711,6 +711,8 @@\n title: (번역중) OneFormer\n - local: in_translation\n title: (번역중) OWL-ViT\n+ - local: model_doc/paligemma\n+ title: PaliGemma\n - local: in_translation\n title: (번역중) Perceiver\n - lo...
2024-10-09T00:13:25
nodejs/node
38f04d4da179dd3610ee07c2441601cdb2436a6a
513d9397202b46fb10da41d88ddb747417f8b870
tools, test: fix prof polyfill readline `node --prof foo.js` may not print the full profile log file, leaving the last line broken (for example `tick,`. When that happens, `readline` will be stuck in an infinite loop. This patch fixes it. Also introduced `common.isCPPSymbolsNotMapped` to avoid duplicated code on tick...
[ { "path": "lib/internal/v8_prof_polyfill.js", "patch": "@@ -96,6 +96,13 @@ function readline() {\n if (line.length === 0) {\n return '';\n }\n+ if (bytes === 0) {\n+ process.emitWarning(`Profile file ${logFile} is broken`, {\n+ code: 'BROKEN_PROFILE_FILE',\n+ detail: `${J...
2018-02-11T03:50:31
vercel/next.js
a9b9e007033a3e2618352d3e0516d9870a70069b
d5e6eb1ef221ddc8d27de11792595c452c4303c2
fix(switchable-runtime): Make it possible to switch between edge and server runtime in dev (#39327) Makes it possible to switch between edge/server runtime in dev without breaking the server. Fixes slack: [1](https://vercel.slack.com/archives/CGU8HUTUH/p1659082535540549) [2](https://vercel.slack.com/archives/C02...
[ { "path": "packages/next/build/webpack/plugins/middleware-plugin.ts", "patch": "@@ -46,12 +46,6 @@ interface EntryMetadata {\n }\n \n const NAME = 'MiddlewarePlugin'\n-const middlewareManifest: MiddlewareManifest = {\n- sortedMiddleware: [],\n- middleware: {},\n- functions: {},\n- version: 2,\n-}\n \n /...
2022-09-07T20:42:32
rust-lang/rust
1c6d764b0ba92df8afe4c7fbd05c6f5d8c621882
14fc81b85fb31cfbc7dc5f33e0d9fd8dad36d997
reword RISC-V feature documentation As the version 20240411 of the RISC-V ISA Manual changed wording to describe many of the standard extensions, this commit largely follows this scheme in general. In many cases, words "Standard Extension" are replaced with "Extension" following the latest ratified ISA Manual. Some ...
[ { "path": "library/stdarch/crates/std_detect/src/detect/arch/riscv.rs", "patch": "@@ -105,116 +105,116 @@ features! {\n \n @FEATURE: #[unstable(feature = \"stdarch_riscv_feature_detection\", issue = \"111192\")] zicsr: \"zicsr\";\n without cfg check: true;\n- /// \"Zicsr\", Control and Status Reg...
2025-03-21T03:48:43
golang/go
304f769ffc68e64244266b3aadbf91e6738c0064
ae9771713383c1ee01a544cd50cfdbc22841380a
cmd/compile: don't short-circuit copies whose source is volatile Current optimization: When we copy a->b and then b->c, we might as well copy a->c instead of b->c (then b might be dead and go away). *Except* if a is a volatile location (might be clobbered by a call). In that case, we really do want to copy a immediat...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -2512,7 +2512,7 @@\n (Move {t1} [s] dst tmp1 midmem:(Move {t2} [s] tmp2 src _))\n \t&& t1.Compare(t2) == types.CMPeq\n \t&& isSamePtr(tmp1, tmp2)\n-\t&& isStackPtr(src)\n+\t&& isStackPtr(src) && !isVolatile(src)\n \t&& disjoint(src, s,...
2021-01-07T22:57:53
ollama/ollama
6bf0b8193acadc5d595f320796d9876302ae0620
db428adbb81413d8be3933eb0ec2256ab36880ce
readme: fix typos (#10399)
[ { "path": "README.md", "patch": "@@ -285,7 +285,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [Bionic GPT](https://github.com/bionic-gpt/bionic-gpt)\n - [HTML UI](https://github.com/rtcfirefly/ollama-ui)\n - [Saddle](https://github.com/jikkuatwork/saddle)\n-- [TagSpaces](https://www...
2025-04-29T17:30:44
nodejs/node
1fd69872e6c4d2dd8127560ae078b4cbf8b7badb
6ab288f3b817197631f23dd858b1b622d80dab27
test: add common.skipIfEslintMissing We've added a number of tests that hook into ESLint which can error when running the test suite with the distributed tarball. This PR adds a new test helper `common.skipIfEslintMissing` and will skip remaining tests in a file when `ESLint` is not available at `tools/node_modules/es...
[ { "path": "test/common/README.md", "patch": "@@ -353,6 +353,11 @@ Path to the 'root' directory. either `/` or `c:\\\\` (windows)\n \n Logs '1..0 # Skipped: ' + `msg` and exits with exit code `0`.\n \n+### skipIfEslintMissing()\n+\n+Skip the rest of the tests in the current file when `ESLint` is not availabl...
2018-02-15T23:47:10
rust-lang/rust
14fc81b85fb31cfbc7dc5f33e0d9fd8dad36d997
5feb3c989e8da5850b299427d9d072ff93b7c902
reorder all RISC-V features for maintenance All RISC-V Features are reordered for better maintainability. The author has a plan to add many RISC-V ratified extensions (mainly discoverable from Linux) and this is a part of preparation. Sections are divided as follows: * Base ISAs * "I"-related * Extensions ...
[ { "path": "library/stdarch/crates/std_detect/src/detect/arch/riscv.rs", "patch": "@@ -89,22 +89,20 @@ features! {\n ///\n /// [ISA manual]: https://github.com/riscv/riscv-isa-manual/\n #[stable(feature = \"riscv_ratified\", since = \"1.78.0\")]\n+\n @FEATURE: #[unstable(feature = \"stdarch_r...
2025-03-21T03:48:43
huggingface/transformers
dd43dafa39778194b358193b46453147c17a97a2
acde6c7d9d753531c7a8b4aa211115688e3b6851
🌐 [i18n-KO] Translated `model_doc/clip.md` to Korean (#33610) * docs: ko: model_doc/clip.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Ahnjj_DEV <ahnjj.dev@gmail.com> * fix: resolve suggestions Co-authored-by: HyeokJun SHIN <96534680+jun048098@users.noreply.git...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -675,8 +675,8 @@\n title: Chameleon\n - local: in_translation\n title: (번역중) Chinese-CLIP\n- - local: in_translation\n- title: (번역중) CLIP\n+ - local: model_doc/clip\n+ title: CLIP\n - local: in_translat...
2024-10-09T00:13:07
vercel/next.js
35253e1a938eb773310a7a28d8ab3f3be8462b08
084ad964a0ed9af5c7594f40b73ca77ed1b460be
fix(switchable-runtime): make dev server not break when wrong runtime config is exported (#40312) Currently the DEV server can't recover if you export an invalid runtime config. It ends up in a state where it stops to work but nothing is printed to the terminal. It now prints an error but keeps working. When buil...
[ { "path": "packages/next/build/analysis/get-page-static-info.ts", "patch": "@@ -239,21 +239,22 @@ export async function getPageStaticInfo(params: {\n }\n \n if (\n- typeof config.runtime !== 'string' &&\n- typeof config.runtime !== 'undefined'\n+ typeof config.runtime !== 'undefined' ...
2022-09-07T20:12:13
golang/go
ae9771713383c1ee01a544cd50cfdbc22841380a
a9ccd2d79574eead8c20d2bca4562cf2fd412787
runtime,runtime/metrics: use explicit histogram boundaries This change modifies the semantics of runtime/metrics.Float64Histogram.Buckets to remove implicit buckets to that extend to positive and negative infinity and instead defines all bucket boundaries as explicitly listed. Bucket boundaries remain the same as bef...
[ { "path": "src/runtime/histogram.go", "patch": "@@ -7,6 +7,7 @@ package runtime\n import (\n \t\"runtime/internal/atomic\"\n \t\"runtime/internal/sys\"\n+\t\"unsafe\"\n )\n \n const (\n@@ -69,7 +70,13 @@ const (\n // for concurrent use. It is also safe to read all the values\n // atomically.\n type timeHist...
2021-01-06T23:05:22
ollama/ollama
6ed88985903be474ecd59992f7191c2f0fa87e36
5cfc1c39f3d5822b0c0906f863f6df45c141c33b
ggml: fix crash for array head counts If it's an array, it uses the max value in the array If array values for head counts becomes more popular, we can consider a more invasive change like #10225 to calculate more accurate estimates. Fixes: #9984
[ { "path": "fs/ggml/ggml.go", "patch": "@@ -33,7 +33,8 @@ func (kv KV) Kind() string {\n }\n \n func (kv KV) ParameterCount() uint64 {\n-\treturn keyValue(kv, \"general.parameter_count\", uint64(0))\n+\tval, _ := keyValue(kv, \"general.parameter_count\", uint64(0))\n+\treturn val\n }\n \n func (kv KV) FileTy...
2025-04-25T23:16:15
nodejs/node
6ab288f3b817197631f23dd858b1b622d80dab27
197258bda7a9cf133ed4ff155cfd94c22f9e9510
test: fix warnings in addon tests The legacy MakeCallback deprecation was resulting in compile time warnings in adddon tests. Fix them. Ref: https://github.com/nodejs/node/pull/18632 PR-URL: https://github.com/nodejs/node/pull/18810 Refs: https://github.com/nodejs/node/pull/18632 Reviewed-By: Colin Ihrig <cjihrig@gm...
[ { "path": "test/addons/async-hello-world/binding.cc", "patch": "@@ -15,6 +15,7 @@ struct async_req {\n int output;\n v8::Isolate* isolate;\n v8::Persistent<v8::Function> callback;\n+ node::async_context context;\n };\n \n void DoAsync(uv_work_t* r) {\n@@ -47,14 +48,16 @@ void AfterAsync(uv_work_t* r)...
2018-02-16T02:39:49
rust-lang/rust
3245e7b069b52d16e82065f05c7c968fab7b3f2b
7f141985ff337926639db092b2ecb5b05a763cd7
search.js: fix return type of unifyFunctionTypes
[ { "path": "src/librustdoc/html/static/js/search.js", "patch": "@@ -3483,8 +3483,7 @@ class DocSearch {\n }\n }\n }\n- // @ts-expect-error\n- return false;\n+ return null;\n }\n \n ...
2025-03-24T23:27:42