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 |
|---|---|---|---|---|---|
golang/go | ca5774a5a533ce26ed64010fcc98f258e5bb0cc1 | d047c91a6c0f22af00d1c1e770a9d85201392656 | embed: treat uninitialized FS as empty
As described in the FS documentation.
This prevents http.FS and other clients from panicking when the
go:embed directive is missing.
For #43682
Related #43698
Change-Id: Iecf26d229a099e55d24670c3119cd6c6d17ecc6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/283852
Run... | [
{
"path": "src/embed/embed.go",
"patch": "@@ -244,6 +244,9 @@ func (f FS) lookup(name string) *file {\n \tif name == \".\" {\n \t\treturn dotFile\n \t}\n+\tif f.files == nil {\n+\t\treturn nil\n+\t}\n \n \t// Binary search to find where name would be in the list,\n \t// and then check if name is at that pos... | 2021-01-14T18:04:17 |
vercel/next.js | 86f1831b06d0f531a568b8bc0ff0db8285e2c63f | cf1eadb5ac84d29899fb117f5fd890ffcd5f7d9f | fix compare action (vercel/turbo#373) | [
{
"path": "packages/next-swc/crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -56,17 +56,20 @@ impl Bundler for Turbopack {\n }\n \n fn start_server(&self, test_dir: &Path) -> Result<(Child, String)> {\n- let mut proc = Command::new(std::env!(\"CARGO_BIN_EXE_next-dev\"))\n- ... | 2022-09-16T06:06:54 |
nodejs/node | 77b42e34de519d211f7b68330781af67be76fd35 | 46164ba2126095d4a788062003e3096699565efe | fs: throw mkdirSync errors in JS
PR-URL: https://github.com/nodejs/node/pull/18871
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "lib/fs.js",
"patch": "@@ -799,7 +799,9 @@ fs.mkdirSync = function(path, mode) {\n validatePath(path);\n mode = modeNum(mode, 0o777);\n validateUint32(mode, 'mode');\n- return binding.mkdir(pathModule.toNamespacedPath(path), mode);\n+ const ctx = { path };\n+ binding.mkdir(pathModule.toNa... | 2018-02-03T13:49:32 |
rust-lang/rust | 908504ec2865186b2e2963e07d24b8849ba828e1 | f16195382c93e2aac65028618a6d506501229632 | ExprUseVisitor: use tracing::instrument as appropriate
Replace debug! calls that output a worse version of what #[instrument]
does. | [
{
"path": "compiler/rustc_hir_typeck/src/expr_use_visitor.rs",
"patch": "@@ -28,7 +28,7 @@ use rustc_middle::ty::{\n use rustc_middle::{bug, span_bug};\n use rustc_span::{ErrorGuaranteed, Span};\n use rustc_trait_selection::infer::InferCtxtExt;\n-use tracing::{debug, trace};\n+use tracing::{debug, instrumen... | 2025-03-26T15:22:26 |
huggingface/transformers | 23874f59486ccd79bf224ab7b42bc9052c63f1df | dd4216b766470b90c9492eec8a3af1a203a12c67 | Idefics: enable generation tests (#34062)
* add idefics
* conflicts after merging main
* enable tests but need to fix some
* fix tests
* no print
* fix/skip some slow tests
* continue not skip
* rebasing broken smth, this is the fix | [
{
"path": "src/transformers/generation/candidate_generator.py",
"patch": "@@ -726,14 +726,23 @@ def _prepare_attention_mask(model_kwargs: Dict[str, Any], new_length: int, is_en\n elif mask_length_diff > 0:\n model_kwargs[mask_key] = torch.cat([mask, mask.new_ones((mask.shape[0], mask_length_diff... | 2024-10-15T09:17:14 |
golang/go | 5a8fbb0d2d339fa87a02c0794f5a92c1ce121631 | 682a1d2176b02337460aeede0ff9e49429525195 | os: do not close syscall.Stdin in TestReadStdin
By calling NewConsoleFile on syscall.Stdin, we wind up closing it when
the function returns, which causes errors when all the tests are run in
a loop. To fix this, we instead create a duplicate handle of stdin.
Fixes #43720.
Change-Id: Ie6426e6306c7e1e39601794f4ff48bbf... | [
{
"path": "src/os/os_windows_test.go",
"patch": "@@ -692,7 +692,16 @@ func TestReadStdin(t *testing.T) {\n \t\tpoll.ReadConsole = old\n \t}()\n \n-\ttestConsole := os.NewConsoleFile(syscall.Stdin, \"test\")\n+\tp, err := syscall.GetCurrentProcess()\n+\tif err != nil {\n+\t\tt.Fatalf(\"Unable to get handle t... | 2021-01-18T12:31:28 |
rust-lang/rust | aab12930f5b71489f4c27db9d45897a2563a407e | 376c88ee6fb910fa32ac8966788e9b8e3569a74b | ExprUseVisitor: error -> bug in helper names
A name like "report_error" suggests that the error in question might be
user facing. Use "bug" to make it clear that the error in question will
be an ICE. | [
{
"path": "compiler/rustc_hir_typeck/src/expr_use_visitor.rs",
"patch": "@@ -160,7 +160,7 @@ pub trait TypeInformationCtxt<'tcx> {\n \n fn try_structurally_resolve_type(&self, span: Span, ty: Ty<'tcx>) -> Ty<'tcx>;\n \n- fn report_error(&self, span: Span, msg: impl ToString) -> Self::Error;\n+ fn ... | 2025-02-26T02:49:46 |
nodejs/node | 46164ba2126095d4a788062003e3096699565efe | 29be1e5f8426b8f58a390847aa94c1f9a6d103f4 | fs: throw rmdirSync errors in JS
PR-URL: https://github.com/nodejs/node/pull/18871
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "lib/fs.js",
"patch": "@@ -748,7 +748,9 @@ fs.rmdir = function(path, callback) {\n fs.rmdirSync = function(path) {\n path = getPathFromURL(path);\n validatePath(path);\n- return binding.rmdir(pathModule.toNamespacedPath(path));\n+ const ctx = { path };\n+ binding.rmdir(pathModule.toNamespac... | 2018-02-03T13:39:43 |
vercel/next.js | 1649288375f932b470c8d4f5b5e72b1cea117e7d | 3f96cdc64140a2952d59be861dc4c73bbe9953cb | fix compare action (#373) | [
{
"path": "crates/next-dev/benches/bundlers/turbopack.rs",
"patch": "@@ -56,17 +56,20 @@ impl Bundler for Turbopack {\n }\n \n fn start_server(&self, test_dir: &Path) -> Result<(Child, String)> {\n- let mut proc = Command::new(std::env!(\"CARGO_BIN_EXE_next-dev\"))\n- .args([\n- ... | 2022-09-16T06:06:54 |
ollama/ollama | 6bda1d24798e40fc9ea1419c6ce22c6cdcc9dfe2 | 9e125d884cf995dfae7fcd74690d525e4326a517 | tools: fix parsing tool calls without any parameters (#11101)
Fixes issue where tool calls that don't expect any parameters were
not being parsed. This also fixes two additional issues: one where
2+ tool calls would not be correctly parsed, and cases where tool calls
with invalid parameters would still get parsed | [
{
"path": "tools/tools.go",
"patch": "@@ -18,9 +18,8 @@ const (\n )\n \n type Parser struct {\n-\ttag string\n-\tnames []string\n-\tproperties []string\n+\ttag string\n+\ttools []api.Tool\n \n \tstate toolsState\n \tbuffer []byte\n@@ -34,15 +33,10 @@ func NewParser(tmpl *template.Template, to... | 2025-06-17T17:51:43 |
huggingface/transformers | 013d3ac2b5924058c78f4df943339b403714ef9a | cb5ca3265fc7aa4d003c160fe1e344a401066b8b | Fixed error message in mllama (#34106) | [
{
"path": "src/transformers/models/mllama/processing_mllama.py",
"patch": "@@ -302,7 +302,7 @@ def __call__(\n raise ValueError(\"No image were provided, but there are image tokens in the prompt\")\n else:\n raise ValueError(\n- ... | 2024-10-14T08:30:35 |
golang/go | 6113db0bb47706b8b5f65b67b87f8277432ca4d2 | 4c835f9169e2b1f98a9755724d1f46bf50566003 | [dev.regabi] cmd/compile: convert OPANIC argument to interface{} during typecheck
Currently, typecheck leaves arguments to OPANIC as their original
type. This CL changes it to insert implicit OCONVIFACE operations to
convert arguments to `interface{}` like how any other function call
would be handled.
No immediate be... | [
{
"path": "src/cmd/compile/internal/inline/inl.go",
"patch": "@@ -346,6 +346,13 @@ func (v *hairyVisitor) doNode(n ir.Node) error {\n \t\tv.budget -= v.extraCallCost\n \n \tcase ir.OPANIC:\n+\t\tn := n.(*ir.UnaryExpr)\n+\t\tif n.X.Op() == ir.OCONVIFACE && n.X.(*ir.ConvExpr).Implicit() {\n+\t\t\t// Hack to k... | 2021-01-18T00:14:48 |
nodejs/node | 0bff955b6d9e1d3f5b1c0b1b71e68f7c0da33de7 | c3eb3efa315382d1073d6a126f4d888cf3e121ec | build: fix lint-md-build dependency
PR-URL: https://github.com/nodejs/node/pull/18981
Fixes: https://github.com/nodejs/node/issues/18978
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <ja... | [
{
"path": "Makefile",
"patch": "@@ -1056,15 +1056,18 @@ lint-md-clean:\n \t$(RM) -r tools/remark-preset-lint-node/node_modules\n \t$(RM) tools/.*mdlintstamp\n \n-.PHONY: lint-md-build\n-lint-md-build:\n-\t@if [ ! -d tools/remark-cli/node_modules ]; then \\\n-\t\techo \"Markdown linter: installing remark-cli... | 2018-02-24T19:07:56 |
vercel/next.js | 755661144979db84e44caa5bb66b62e350f8a107 | 40b2d1382dcfd3c7dcb4549fc55e3fe8b8fd3675 | fix(next/router): Prevent query delete in routing when next.config basePath option is truthy (#40566)
## Bug
- [x] Related issues linked using `fixes #number`
- fixes
- #38528
- #40432
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
Hi, it is my fi... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -1552,7 +1552,11 @@ export default class Router implements BaseRouter {\n query = Object.assign({}, routeInfo.query || {}, query)\n }\n \n- if (routeMatch && pathname !== parsed.pathname) {\n+ const cleanedPa... | 2022-09-15T22:56:53 |
huggingface/transformers | cb5ca3265fc7aa4d003c160fe1e344a401066b8b | 4c439173df979b78d9675332a7abad4336ccf844 | Add GGUF for starcoder2 (#34094)
* add starcoder2 arch support for gguf
* fix q6 test | [
{
"path": "docs/source/en/gguf.md",
"patch": "@@ -84,6 +84,7 @@ For now the supported model architectures are the architectures that have been v\n - Falcon\n - StableLM\n - GPT2\n+- Starcoder2\n \n ## Example usage\n ",
"additions": 1,
"deletions": 0,
"language": "Markdown"
},
{
"path": ... | 2024-10-14T08:22:49 |
ollama/ollama | a6fbfc880c3de9b57e341db374907e2fedda9fa6 | 502028968ddca04bd19c0859a73fb4e0cbeac3e1 | gguf: fix write order (#11068)
* ggml: test write gguf order
* ggml: fix write tensor order | [
{
"path": "fs/ggml/gguf.go",
"patch": "@@ -527,23 +527,17 @@ func WriteGGUF(f *os.File, kv KV, ts []*Tensor) error {\n \t\treturn err\n \t}\n \n-\tkeys := slices.Collect(maps.Keys(kv))\n-\tslices.Sort(keys)\n-\n-\tfor _, key := range keys {\n+\tfor _, key := range slices.Sorted(maps.Keys(kv)) {\n \t\tif err... | 2025-06-16T17:42:32 |
golang/go | 4c835f9169e2b1f98a9755724d1f46bf50566003 | 0ffa1ead6e281932697154d4ea45413b2ba8fa53 | [dev.regabi] cmd/compile: use LinksymOffsetExpr in TypePtr/ItabAddr
Passes toolstash -cmp.
Fixes #43737
Change-Id: I2d5228c0213b5f8742e3cea6fac9bc985b19d78c
Reviewed-on: https://go-review.googlesource.com/c/go/+/284122
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Tru... | [
{
"path": "src/cmd/compile/internal/reflectdata/reflect.go",
"patch": "@@ -836,39 +836,22 @@ func TypeLinksym(t *types.Type) *obj.LSym {\n }\n \n func TypePtr(t *types.Type) *ir.AddrExpr {\n-\ts := TypeSym(t)\n-\tif s.Def == nil {\n-\t\tn := ir.NewNameAt(src.NoXPos, s)\n-\t\tn.SetType(types.Types[types.TUIN... | 2021-01-18T02:42:53 |
nodejs/node | c3eb3efa315382d1073d6a126f4d888cf3e121ec | e9f2cecf1a14285574f9b6104dd690ef92495d74 | fs: fix functions executed in wrong context
The callback should run in the global scope and not in the FSReqWrap
context.
PR-URL: https://github.com/nodejs/node/pull/18668
Refs: https://github.com/nodejs/node/pull/12562
Refs: https://github.com/nodejs/node/pull/12976
Reviewed-By: Matteo Collina <matteo.collina@gmail.... | [
{
"path": "lib/fs.js",
"patch": "@@ -737,7 +737,7 @@ fs.ftruncateSync = function(fd, len = 0) {\n };\n \n fs.rmdir = function(path, callback) {\n- callback = maybeCallback(callback);\n+ callback = makeCallback(callback);\n path = getPathFromURL(path);\n validatePath(path);\n const req = new FSReqWra... | 2018-02-09T15:31:26 |
huggingface/transformers | 4c439173df979b78d9675332a7abad4336ccf844 | 7434c0ed21a154136b0145b0245ae9058005abac | Fix a typo (#34148)
Correct a typo
"If you want you tokenizer..."->"If you want your tokenizer...." | [
{
"path": "src/transformers/models/llama/convert_llama_weights_to_hf.py",
"patch": "@@ -54,7 +54,7 @@\n Important note: you need to be able to host the whole model in RAM to execute this script (even if the biggest versions\n come in several checkpoints they each contain a part of each weight of the model, ... | 2024-10-14T08:15:25 |
vercel/next.js | 33a6dca74727bf4c4954b0c1e38d016dc382b74c | a8e54e79d41a5e710c56d0c8b0f51dcd57ea0311 | Mask Flight Parameters from Middleware (#39939)
This masks flight parameters from middleware so it doesn't interfere with RSC or routing.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implemen... | [
{
"path": "packages/next/client/components/app-router.client.tsx",
"patch": "@@ -202,28 +202,32 @@ export default function AppRouter({\n }\n \n prefetched.add(href)\n-\n const url = new URL(href, location.origin)\n- // TODO-APP: handle case where history.state is not the new r... | 2022-09-15T14:53:51 |
ollama/ollama | 82ad1dbc07dc2db39c6f502eb148ff3ce00d96b8 | feeabdadd2b272b40747f3e7e74957c40ba2800c | mac: handle "keep" named apps (#11031)
When a user elects to keep the existing app, the
new Ollama is named `Ollama 2.app`
This fixes the app startup flow to handle this naming pattern. | [
{
"path": "cmd/start_darwin.go",
"patch": "@@ -5,7 +5,7 @@ import (\n \t\"errors\"\n \t\"os\"\n \t\"os/exec\"\n-\t\"strings\"\n+\t\"regexp\"\n \n \t\"github.com/ollama/ollama/api\"\n )\n@@ -19,11 +19,12 @@ func startApp(ctx context.Context, client *api.Client) error {\n \tif err != nil {\n \t\treturn err\n ... | 2025-06-09T23:29:57 |
golang/go | e3027c6828230d01089afec0ab958040ba326abc | 59ff93fe645320c7d6a434ea7794546e89b12d45 | [dev.regabi] cmd/compile: fix linux-amd64-noopt builder
CL 284223 tightened down the allowed expressions in mayCall, but
evidently a little too tight. The linux-amd64-noopt builder does in
fact see expressions with non-empty Init lists in arguments list.
Since I believe these can only appear on the RHS of LogicalExpr... | [
{
"path": "src/cmd/compile/internal/walk/walk.go",
"patch": "@@ -305,6 +305,14 @@ func mayCall(n ir.Node) bool {\n \t\t\t// before we start marshaling args for a call. See issue 16760.\n \t\t\treturn true\n \n+\t\tcase ir.OANDAND, ir.OOROR:\n+\t\t\tn := n.(*ir.LogicalExpr)\n+\t\t\t// The RHS expression may ... | 2021-01-17T06:27:23 |
huggingface/transformers | 7434c0ed21a154136b0145b0245ae9058005abac | 37ea04013b34b39c01b51aeaacd8d56f2c62a7eb | Mistral-related models for QnA (#34045)
* mistral qna start
* mixtral qna
* oops
* qwen2 qna
* qwen2moe qna
* add missing input embed methods
* add copied to all methods, can't directly from llama due to the prefix
* make top level copied from | [
{
"path": "docs/source/en/model_doc/mistral.md",
"patch": "@@ -208,6 +208,11 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n [[autodoc]] MistralForTokenClassification\n - forward\n \n+## MistralForQuestionAnswering\n+\n+[[autodoc]] MistralForQuestionAnswering\n+- forw... | 2024-10-14T06:53:32 |
ollama/ollama | 2ae65ae471c9d51d343f401da16c05b98b99a842 | a3b6886b7da0339e63ebf41e6ba5c6b06438a123 | win: handle more than 2048 processes (#10997)
Fix an array out of bounds crash | [
{
"path": "cmd/start_windows.go",
"patch": "@@ -74,7 +74,16 @@ func isProcRunning(procName string) []uint32 {\n \t\tslog.Debug(\"failed to check for running installers\", \"error\", err)\n \t\treturn nil\n \t}\n-\tpids = pids[:ret]\n+\tif ret > uint32(len(pids)) {\n+\t\tpids = make([]uint32, ret+10)\n+\t\ti... | 2025-06-06T21:06:09 |
vercel/next.js | 5c41a3f71eed3f72f07d62278def34108b529abe | 7846fb51e6b2f6ef5fe3c5af3333833bbdda3cee | Add source map support to ecmascript (#348)
Adds an optional `source_map` method to the `Asset` trait, which will be used to provide debugging maps. We expect that the source map will be requested from the base asset's path appended with a `.map`, eg `foo.js` -> `foo.js.map` are paired.
I've chosen to implement the... | [
{
"path": "crates/turbo-tasks-fs/src/lib.rs",
"patch": "@@ -528,6 +528,11 @@ impl FileSystemPath {\n Some(result.join(\"/\"))\n }\n \n+ /// Returns the final component of the FileSystemPath, if there is one.\n+ pub fn file_name(&self) -> Option<&str> {\n+ self.path.rsplit('/').next(... | 2022-09-15T13:57:58 |
golang/go | 6de9423445840351a4cc7b17d732f0b5e922ef1a | a956a0e909e1d60c8d55339e5e591a9d1db885c4 | [dev.regabi] cmd/compile: cleanup OAS2FUNC ordering
Currently, to ensure OAS2FUNC results are assigned in the correct
order, they're always assigned to temporary variables. However, these
temporary variables are typed based on the destination type, which may
require an interface conversion. This means walk may have to... | [
{
"path": "src/cmd/compile/internal/walk/assign.go",
"patch": "@@ -268,7 +268,7 @@ func ascompatet(nl ir.Nodes, nr *types.Type) []ir.Node {\n \t\tbase.Fatalf(\"ascompatet: assignment count mismatch: %d = %d\", len(nl), nr.NumFields())\n \t}\n \n-\tvar nn, mm ir.Nodes\n+\tvar nn ir.Nodes\n \tfor i, l := rang... | 2021-01-16T11:27:17 |
rust-lang/rust | b04e5b496323a8e0a7e4028bfb6252f348c10329 | 6e8abb5ec65ac50f934df6cf0e8f248dc8e8805e | Collect items referenced from var_debug_info
The collection is limited to full debuginfo builds to match behavior of
FunctionCx::compute_per_local_var_debug_info. | [
{
"path": "compiler/rustc_monomorphize/src/collector.rs",
"patch": "@@ -231,7 +231,7 @@ use rustc_middle::ty::{\n use rustc_middle::util::Providers;\n use rustc_middle::{bug, span_bug};\n use rustc_session::Limit;\n-use rustc_session::config::EntryFnType;\n+use rustc_session::config::{DebugInfo, EntryFnType... | 2025-03-26T09:42:38 |
huggingface/transformers | 37ea04013b34b39c01b51aeaacd8d56f2c62a7eb | 617b21273a349bd3a94e2b3bfb83f8089f45749b | Generate: Fix modern llm `generate` calls with `synced_gpus` (#34095) | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -379,9 +379,10 @@ def prepare_inputs_for_generation(\n # If we have cache: let's slice `input_ids` through `cache_position`, to keep only the unprocessed tokens\n # Exception 1: when passing input_embeds, input_ids may be missing... | 2024-10-12T15:45:52 |
ollama/ollama | c6a6d7294dd50b9216918fe72fd92bc4ae572ac0 | 2cf007c9d120583ee9ad7ad39b276f2ff81eeb62 | docs: fix typo in development.md (#10998) | [
{
"path": "docs/development.md",
"patch": "@@ -118,7 +118,7 @@ To run tests, use `go test`:\n go test ./...\n ```\n \n-> NOTE: In rare cirumstances, you may nedd to change a package using the new\n+> NOTE: In rare cirumstances, you may need to change a package using the new\n > \"synctest\" package in go1.2... | 2025-06-06T16:07:29 |
vercel/next.js | a8e54e79d41a5e710c56d0c8b0f51dcd57ea0311 | 57be012e067875fa97e56cdb7860a5a2f65f4dc5 | Add missing feature in next-swc (#40550)
`shake_exports` relies on `ecma_transforms_optimization`, otherwise this will be thrown if running tests:
```
error[E0433]: failed to resolve: could not find `optimization` in `transforms`
--> crates/core/src/shake_exports.rs:7:23
|
7 | ecma::transforms::optimization::s... | [
{
"path": "packages/next-swc/crates/core/Cargo.toml",
"patch": "@@ -40,6 +40,7 @@ swc_core = { version = \"0.23.24\", features = [\n \"__ecma_transforms\",\n \"ecma_transforms_react\",\n \"ecma_transforms_typescript\",\n+ \"ecma_transforms_optimization\",\n \"ecma_parser\",\n \"ecma_parser_typesc... | 2022-09-15T12:58:01 |
huggingface/transformers | 617b21273a349bd3a94e2b3bfb83f8089f45749b | 144852fb6bbe584e9ff7d13511180aec42e1b366 | fix(ci): benchmarks dashboard was failing due to missing quotations (#34100) | [
{
"path": "benchmark/grafana_dashboard.json",
"patch": "@@ -148,7 +148,7 @@\n \"editorMode\": \"code\",\n \"format\": \"table\",\n \"rawQuery\": true,\n- \"rawSql\": \"SELECT commit_id as commit_id, commit_message, gpu_name FROM benchmarks WHERE branch = ${branch};\",\... | 2024-10-11T17:52:06 |
rust-lang/rust | a8bfafe92962e6dcd1776ac2d2eb2e85072001df | 939d5f93eb62f3237f4b35fbaba1226b3340b3e6 | chore: fix some comments
Signed-off-by: todaymoon <csgcgl@foxmail.com> | [
{
"path": "clippy_lints/src/operators/identity_op.rs",
"patch": "@@ -103,7 +103,7 @@ enum Parens {\n ///\n /// e.g. `-(x + y + 0)` cannot be reduced to `-x + y`, as the behavior changes silently.\n /// e.g. `1u64 + ((x + y + 0i32) as u64)` cannot be reduced to `1u64 + x + y as u64`, since\n-/// the the cast... | 2025-03-26T07:36:08 |
golang/go | a956a0e909e1d60c8d55339e5e591a9d1db885c4 | ab3b67abfd9bff30fc001c966ab121bacff3de9b | [dev.regabi] cmd/compile, runtime: fix up comments/error messages from recent renames
Went in a semi-automated way through the clearest renames of functions,
and updated comments and error messages where it made sense.
Change-Id: Ied8e152b562b705da7f52f715991a77dab60da35
Reviewed-on: https://go-review.googlesource.co... | [
{
"path": "src/cmd/asm/internal/asm/parse.go",
"patch": "@@ -305,7 +305,7 @@ func (p *Parser) pseudo(word string, operands [][]lex.Token) bool {\n // references and writes symabis information to w.\n //\n // The symabis format is documented at\n-// cmd/compile/internal/gc.readSymABIs.\n+// cmd/compile/inter... | 2021-01-15T22:12:35 |
ollama/ollama | f15ffc432061e3d96b3412219a3a0f673b579a12 | 5f57b0ef4268a6bd9e8043d54c351a608a7e1bca | llm: Make "POST predict" error message more informative
"POST predict" basically means that the runner has crashed, which
can have many reasons. However, many people think this is a specific
error and either report only this message or group together unrelated
bugs. This replaces it with a more friendly and helpful me... | [
{
"path": "llm/server.go",
"patch": "@@ -797,7 +797,8 @@ func (s *llmServer) Completion(ctx context.Context, req CompletionRequest, fn fu\n \n \tres, err := http.DefaultClient.Do(serverReq)\n \tif err != nil {\n-\t\treturn fmt.Errorf(\"POST predict: %v\", err)\n+\t\tslog.Error(\"post predict\", \"error\", e... | 2025-05-14T00:26:46 |
nodejs/node | dbe645f11460a8985f5f6e07f9ed829bee43e101 | fcebb16478b6bb1c997958806f65df7f0e2230ac | http2: fix condition where data is lost
PR-URL: https://github.com/nodejs/node/pull/18895
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -307,8 +307,23 @@ function onStreamClose(code) {\n \n if (state.fd !== undefined)\n tryClose(state.fd);\n- stream.push(null);\n- stream[kMaybeDestroy](null, code);\n+\n+ // Defer destroy we actually emit end.\n+ if (stream._readableState.endEmit... | 2018-02-19T23:42:48 |
huggingface/transformers | 144852fb6bbe584e9ff7d13511180aec42e1b366 | 80bee7b11444a698894b114a923710ab8a772d30 | refactor: benchmarks (#33896)
* refactor: benchmarks
Based on a discussion with @LysandreJik & @ArthurZucker, the goal of
this PR is to improve transformers' benchmark system.
This is a WIP, for the moment the infrastructure required to make things
work is not ready. Will update the PR description when it is t... | [
{
"path": ".github/workflows/benchmark.yml",
"patch": "@@ -1,43 +1,72 @@\n name: Self-hosted runner (benchmark)\r\n \r\n on:\r\n- schedule:\r\n- - cron: \"17 2 * * *\"\r\n- workflow_call:\r\n+ push:\r\n+ branches: [main]\r\n+ pull_request:\r\n+ types: [ opened, labeled, reopened, synchronize ]\... | 2024-10-11T16:03:29 |
golang/go | 682a1d2176b02337460aeede0ff9e49429525195 | 9f83418b83a43029ce8801ef10162dd94fdba81d | runtime: detect errors in DuplicateHandle
These functions rely on DuplicateHandle succeeding, but they don't check
the return value, which might be masking subtle bugs that cause other
problems down the line.
Updates #43720.
Change-Id: I77f0e6645affa534777ffc173144a52e4afa5f81
Reviewed-on: https://go-review.googleso... | [
{
"path": "src/runtime/os_windows.go",
"patch": "@@ -893,7 +893,10 @@ func sigblock(exiting bool) {\n // Called on the new thread, cannot allocate memory.\n func minit() {\n \tvar thandle uintptr\n-\tstdcall7(_DuplicateHandle, currentProcess, currentThread, currentProcess, uintptr(unsafe.Pointer(&thandle)),... | 2021-01-15T15:29:00 |
ollama/ollama | 5f57b0ef4268a6bd9e8043d54c351a608a7e1bca | aa25aff10d1ccc6dd4e85952678d63946bdf89dc | add thinking support to the api and cli (#10584)
- Both `/api/generate` and `/api/chat` now accept a `"think"`
option that allows specifying whether thinking mode should be on or
not
- Templates get passed this new option so, e.g., qwen3's template can
put `/think` or `/no_think` in the system prompt depending ... | [
{
"path": "api/types.go",
"patch": "@@ -83,6 +83,12 @@ type GenerateRequest struct {\n \t// Options lists model-specific options. For example, temperature can be\n \t// set through this field, if the model supports it.\n \tOptions map[string]any `json:\"options\"`\n+\n+\t// Think controls whether thinking/r... | 2025-05-29T02:38:52 |
huggingface/transformers | fd70464fa74c101ab3bc60e0c3db7d5e3b75fe90 | 3a24ba82ad570e58e100b3739babddd7eaad419e | Fix flaky tests (#34069)
* fix mllama only
* allow image token index | [
{
"path": "src/transformers/models/mllama/modeling_mllama.py",
"patch": "@@ -2214,7 +2214,7 @@ def prepare_inputs_for_generation(\n \n # If we're in pre-fill or cacheless decoding step, then we need pixel_values and aspect ratios\n # to compute image hidden states, otherwise they are cached ... | 2024-10-11T13:41:46 |
nodejs/node | fcebb16478b6bb1c997958806f65df7f0e2230ac | 646e67e1dca9df6ca8e81dcbfa683d2623110c85 | doc: fix/add link to Android info
We have two notes in API docs about Android support:
the first has no links, the second links to the table of supported OSs
where Android is not mentioned which may be confusing.
This PR makes both notes link to dedicated Android part of BUILDING.md.
PR-URL: https://github.com/nodej... | [
{
"path": "doc/api/os.md",
"patch": "@@ -322,7 +322,7 @@ Equivalent to [`process.platform`][].\n \n The value `'android'` may also be returned if the Node.js is built on the\n Android operating system. However, Android support in Node.js is considered\n-to be experimental at this time.\n+[to be experimental... | 2018-02-26T15:06:13 |
golang/go | 8e0584c327e429bd010edb28fb9fea6f68a4cccc | d45df5de32e555a0386b7e473d30516d744df70a | [dev.fuzz] internal/fuzz: handle SIGINT races gracefully
A worker process may be terminated by SIGINT if it doesn't install the
signal handler before SIGINT is delivered. That's likely when TestMain
or the fuzz target setup take a long time. The coordinator now ignores
these errors.
Also, when testdeps.TestDeps.Coord... | [
{
"path": "src/internal/fuzz/sys_posix.go",
"patch": "@@ -73,3 +73,14 @@ func getWorkerComm() (comm workerComm, err error) {\n \t}\n \treturn workerComm{fuzzIn: fuzzIn, fuzzOut: fuzzOut, mem: mem}, nil\n }\n+\n+// isInterruptError returns whether an error was returned by a process that\n+// was terminated b... | 2021-01-15T19:43:25 |
ollama/ollama | eda472df1bd420517ca05c59ba0096e8b518fb69 | f18e0cb5508450bd14db5ec8015709d2c4ab820f | server: add hint to the error message when model path access fails (#10843) | [
{
"path": "server/modelpath.go",
"patch": "@@ -116,7 +116,7 @@ func (mp ModelPath) BaseURL() *url.URL {\n func GetManifestPath() (string, error) {\n \tpath := filepath.Join(envconfig.Models(), \"manifests\")\n \tif err := os.MkdirAll(path, 0o755); err != nil {\n-\t\treturn \"\", err\n+\t\treturn \"\", fmt.E... | 2025-05-24T20:17:04 |
huggingface/transformers | 3a24ba82ad570e58e100b3739babddd7eaad419e | 7b06473b8f6b7c440c65459f3dc0a2f2454c91e7 | Fix NaNs in cost_matrix for mask2former (#34074)
Fix NaNs in cost_matrix
Sometimes that happens :( | [
{
"path": "src/transformers/models/mask2former/modeling_mask2former.py",
"patch": "@@ -474,6 +474,7 @@ def forward(\n # eliminate infinite values in cost_matrix to avoid the error ``ValueError: cost matrix is infeasible``\n cost_matrix = torch.minimum(cost_matrix, torch.tensor(1e10))... | 2024-10-11T13:35:55 |
nodejs/node | 1bb92ce04fdf516742f6462d5b26dabc558183a6 | 1460b31bd3a9699bed9b715f0e8c1edb4fd0aa44 | doc: mention git-node in the collaborator guide
PR-URL: https://github.com/nodejs/node/pull/18960
Fixes: https://github.com/nodejs/node/issues/18197
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse... | [
{
"path": "COLLABORATOR_GUIDE.md",
"patch": "@@ -21,6 +21,7 @@\n - [Deprecations](#deprecations)\n - [Involving the TSC](#involving-the-tsc)\n * [Landing Pull Requests](#landing-pull-requests)\n+ - [Using `git-node`](#using-git-node)\n - [Technical HOWTO](#technical-howto)\n - [Troubleshooting](#tr... | 2018-02-23T13:53:35 |
vercel/next.js | e9be91cdbd474cab9e5c622946cb6b81ead01a9a | cf8bca72346a8f38a6cefe4a5c3ae974de498a57 | change panic to error (#361)
During incremental build this state might temporarily occur. Converting this to an error, removed the error message printing from the console. | [
{
"path": "crates/turbopack-core/src/issue/mod.rs",
"patch": "@@ -4,7 +4,7 @@ pub mod resolve;\n \n use std::{cmp::Ordering, fmt::Display};\n \n-use anyhow::Result;\n+use anyhow::{bail, Result};\n use serde::{Deserialize, Serialize};\n use turbo_tasks::{\n emit,\n@@ -148,7 +148,9 @@ impl IssueProcessing... | 2022-09-14T23:04:46 |
golang/go | ec9470162f26819abd7b7bb86dd36cfe87f7f5bc | 54198b04dbdf424d8aec922c1f8870ce0e9b7332 | cmd/compile: allow embed into any string or byte slice type
The current implementation requires saying "string" or "[]byte"
and disallows aliases, defined types, and even "[]uint8".
This was not 100% intended and mostly just fell out of when
the checks were being done in the implementation (too early,
before typecheck... | [
{
"path": "src/cmd/compile/internal/gc/embed.go",
"patch": "@@ -47,9 +47,7 @@ const (\n \tembedFiles\n )\n \n-var numLocalEmbed int\n-\n-func varEmbed(p *noder, names []*Node, typ *Node, exprs []*Node, embeds []PragmaEmbed) (newExprs []*Node) {\n+func varEmbed(p *noder, names []*Node, typ *Node, exprs []*No... | 2021-01-08T19:27:00 |
huggingface/transformers | 1c66be80624c05e8a381990378f994ebedd9128f | 409dd2d19cd9316f2eb1226773c7d05bbdc8b7a2 | Fix PushToHubMixin when pusing to a PR revision (#34090) | [
{
"path": "src/transformers/utils/hub.py",
"patch": "@@ -802,7 +802,7 @@ def _upload_modified_files(\n CommitOperationAdd(path_or_fileobj=os.path.join(working_dir, file), path_in_repo=file)\n )\n \n- if revision is not None:\n+ if revision is not None and no... | 2024-10-11T13:06:15 |
ollama/ollama | 1f371ea92f7ebe4edd208b6732753473b2c4d0cd | 73d6a82cce18f84ff5c67148783224cf25b30b32 | ml: Panic rather than return error on tensor allocation failure
FromFloatSlice and FromIntSlice return an error if the shape doesn't
match the passed data or if memory can't be allocated. Since these
are inputs, the memory being allocated is system memory rather than VRAM.
In many cases, the caller can't really handl... | [
{
"path": "kvcache/causal.go",
"patch": "@@ -211,10 +211,9 @@ func (c *Causal) StartForward(ctx ml.Context, batch input.Batch, reserve bool) e\n \t\tc.curCellRange.max = len(c.cells) - 1\n \t}\n \n-\tvar err error\n-\tc.curMask, err = c.buildMask(ctx)\n+\tc.curMask = c.buildMask(ctx)\n \n-\treturn err\n+\tr... | 2025-05-19T17:43:56 |
nodejs/node | 65ca369c070cefcaf6300a234de6448f3015e8e8 | 8b518edf114446eedc3f0f828e78d9eae6f74af2 | doc: add process.debugPort to doc/api/process.md
Fixes: https://github.com/nodejs/node/issues/18639
PR-URL: https://github.com/nodejs/node/pull/18716
Refs: https://github.com/nodejs/node/issues/18639
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snel... | [
{
"path": "doc/api/process.md",
"patch": "@@ -621,7 +621,17 @@ process.\n ```js\n console.log(`Current directory: ${process.cwd()}`);\n ```\n+## process.debugPort\n+<!-- YAML\n+added: v0.7.2\n+-->\n+* {number}\n \n+The port used by Node.js's debugger when enabled.\n+\n+```js\n+process.debugPort = 5858;\n+``... | 2018-02-11T19:21:09 |
vercel/next.js | 01b1e6b52b7a17ff76f50a6df3b1739737a29172 | 385e3f038016eee6085afe9b445f403a2cff66a5 | fix(#40025): run `next/script` beforeInteractive test in both dev & prod (#40541)
Ref: #40002 #40026 #40191
Fixes #40025
This is the final step of fixing #40025. The PR migrates the rest of the
`next/script` test cases to run in both dev (strict mode) and
production, confirming that the `next/script` component i... | [
{
"path": "test/integration/script-loader/test/index.test.js",
"patch": "@@ -94,74 +94,72 @@ const runTests = (isDev = false) => {\n }\n })\n \n- if (!isDev) {\n- it('priority beforeInteractive', async () => {\n- const html = await renderViaHTTP(appPort, '/page1')\n- const $ = cheerio.lo... | 2022-09-14T17:00:40 |
golang/go | 54198b04dbdf424d8aec922c1f8870ce0e9b7332 | b386c735e7582d08a938ce2bc582f931946854b4 | cmd/compile: disallow embed of var inside func
Allowing embedding into []byte inside a func creates an
unfortunate problem: either all calls start with the same
underlying data and can see each other's changes to the
underlying data (surprising and racy!) or all calls start
by making their own copy of the underlying d... | [
{
"path": "src/cmd/compile/internal/gc/embed.go",
"patch": "@@ -133,13 +133,8 @@ func varEmbed(p *noder, names []*Node, typ *Node, exprs []*Node, embeds []Pragma\n \n \tv := names[0]\n \tif dclcontext != PEXTERN {\n-\t\tnumLocalEmbed++\n-\t\tv = newnamel(v.Pos, lookupN(\"embed.\", numLocalEmbed))\n-\t\tv.Sy... | 2021-01-08T20:35:19 |
huggingface/transformers | 409dd2d19cd9316f2eb1226773c7d05bbdc8b7a2 | 9dca0c91169b298ddf3a748d313e86ebb62cd4b8 | Fix failing conversion (#34010)
* Fix
* Tests
* Typo
* Typo | [
{
"path": "src/transformers/safetensors_conversion.py",
"patch": "@@ -1,5 +1,3 @@\n-import json\n-import uuid\n from typing import Optional\n \n import requests\n@@ -26,37 +24,33 @@ def spawn_conversion(token: str, private: bool, model_id: str):\n logger.info(\"Attempting to convert .bin model on the fl... | 2024-10-11T12:59:23 |
ollama/ollama | 73d6a82cce18f84ff5c67148783224cf25b30b32 | 6db8a3771c29d070ef165cca0d7e8dbda3fc341e | ollamarunner: Memory usage reporting
This provides granular information about the backend memory allocations
required by the runner:
- Per backend
- Per layer
- Weights, cache and graph
- Allocation status
This can be used for debugging and validating memory estimates. | [
{
"path": "kvcache/causal_test.go",
"patch": "@@ -508,7 +508,7 @@ func (c *testContext) Forward(...ml.Tensor) ml.Context { return c }\n \n func (c *testContext) Compute(...ml.Tensor) {}\n \n-func (c *testContext) Reserve() error { return nil }\n+func (c *testContext) Reserve() {}\n \n func (c *testContext) ... | 2025-04-17T18:00:25 |
nodejs/node | da886d9a4cd923bd5fc33eff7df22ff7d855a00b | 15e41a9951c425913c43073ba5f6af04c0867715 | zlib: improve zlib errors
- Use assert to check mode in the Zlib constructor since it should
only be passed by us.
- Introduce checkRangesOrGetDefault() and checkFiniteNumber()
to simplify type and range checking for numeric arguments
- Instead of `ERR_INVALID_OPT_VALUE`, throw `ERR_OUT_OF_RANGE` and
`ERR_INVALI... | [
{
"path": "lib/zlib.js",
"patch": "@@ -156,6 +156,52 @@ function flushCallback(level, strategy, callback) {\n }\n }\n \n+// 1. Returns false for undefined and NaN\n+// 2. Returns true for finite numbers\n+// 3. Throws ERR_INVALID_ARG_TYPE for non-numbers\n+// 4. Throws ERR_OUT_OF_RANGE for infinite number... | 2018-02-08T16:26:59 |
vercel/next.js | ed3cb83c8ad8ce18bc711f9977057ba1839b98e0 | 155a4d5efc5c41c31da70b8ea5e70e785947eaca | next/script: make `onLoad` concurrent rendering resilient (#40191)
Another step toward fixing #40025.
Multiple `next/script` components with the same `src` may exist in the
Next.js app. So the `loadScript` function will always attach the
`onLoad` handler to the `loadingPromise` every time it executes.
However,... | [
{
"path": "packages/next/client/script.tsx",
"patch": "@@ -52,7 +52,8 @@ const loadScript = (props: ScriptProps): void => {\n // Contents of this script are already loading/loaded\n if (ScriptCache.has(src)) {\n LoadCache.add(cacheKey)\n- // Execute onLoad since the script loading has begun\n+ ... | 2022-09-14T00:48:06 |
huggingface/transformers | 9dca0c91169b298ddf3a748d313e86ebb62cd4b8 | f052e94bcce9f4385aceef51884707256139581a | Fix DAC slow tests (#34088)
* Fix DAC slow tests and fix decode
* [run-slow] dac | [
{
"path": "src/transformers/models/dac/modeling_dac.py",
"patch": "@@ -641,14 +641,14 @@ def encode(\n @replace_return_docstrings(output_type=DacDecoderOutput, config_class=_CONFIG_FOR_DOC)\n def decode(\n self,\n- quantized_representation: Optional[torch.Tensor],\n+ quantized_... | 2024-10-11T12:43:03 |
golang/go | b386c735e7582d08a938ce2bc582f931946854b4 | bb5075a5259baeaa75f09db64c3860c5876a00fd | cmd/go: fix go generate docs
The docs were never updated for the change to the placement
of the DO NOT EDIT line.
Also, the description of the DO NOT EDIT line interrupted the
description of the //go:generate line, which made for some
confusing references in the text that followed. Move it lower.
Fixes #41196.
Chan... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -495,15 +495,6 @@\n // (gofmt), a fully qualified path (/usr/you/bin/mytool), or a\n // command alias, described below.\n //\n-// To convey to humans and machine tools that code is generated,\n-// generated source should have a line that matches the following\... | 2021-01-13T19:40:07 |
ollama/ollama | d950ff12c09c07a1cda7242373071fb9e7af9ddc | adff143bcda0c7ab4ca3a85dc3db5a81552368c7 | sched: fix runner leak during reloading unload (#10819)
When the same model is being reloaded rapidly with client connections
being canceled before the model finishes loading, the queued unload
event could cause a leak of runners by deleting a different runner from
the loaded list. | [
{
"path": "server/sched.go",
"patch": "@@ -387,6 +387,17 @@ func (s *Scheduler) processCompleted(ctx context.Context) {\n \t\t\t\ts.loadedMu.Unlock()\n \t\t\t\trunner.refMu.Unlock()\n \t\t\t\tslog.Debug(\"duplicate expired event, ignoring\", \"runner\", runner)\n+\t\t\t} else if runner.pid != runnerToUnload... | 2025-05-22T21:31:36 |
huggingface/transformers | f052e94bcce9f4385aceef51884707256139581a | e878eaa9fc4da9cec1c74ae962e89092b6832db8 | Fix flax failures (#33912)
* Few fixes here and there
* Remove typos
* Remove typos | [
{
"path": "docs/source/en/main_classes/executorch.md",
"patch": "@@ -27,7 +27,7 @@ ExecuTorch introduces well defined entry points to perform model, device, and/or\n \n An integration point is being developed to ensure that 🤗 Transformers can be exported using `torch.export`. The goal of this integration i... | 2024-10-11T12:38:35 |
vercel/next.js | eadaca780b57a561e13200078d5b0626e69af633 | 69d0e6082caa5b3130c9b0b28de9efd2ec7e5773 | Add additional tests for prefetch and trailingSlash (#40517)
Adds some of the tests we didn't have yet for app.
<!--
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 ... | [
{
"path": "test/e2e/app-dir/app-prefetch/app/dashboard/layout.server.js",
"patch": "@@ -1,5 +1,5 @@\n export async function getServerSideProps() {\n- await new Promise((resolve) => setTimeout(resolve, 2000))\n+ await new Promise((resolve) => setTimeout(resolve, 400))\n return {\n props: {\n me... | 2022-09-13T23:01:43 |
nodejs/node | a29089d7c866955616c0e363843017e9b9b2a736 | 3a191229418dcc0e21956847993b1702c88a923b | doc: add new documentation lint rule
Add 80 characters limit to docs.
Change docs to fit 80 characters per row.
PR-URL: https://github.com/nodejs/node/pull/18726
Fixes: https://github.com/nodejs/node/issues/18703
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.c... | [
{
"path": "BUILDING.md",
"patch": "@@ -34,8 +34,8 @@ Support is divided into three tiers:\n ### Supported platforms\n \n The community does not build or test against end-of-life distributions (EoL).\n-Thus we do not recommend that you use Node on end-of-life or unsupported platforms\n-in production.\n+Thus ... | 2018-02-12T07:31:55 |
golang/go | 502198c8dc325eb60ff7afb74358b3beffd9831c | 82c3f0a358ed449ffcdd5b419728721b314d7a91 | [dev.typeparams] cmd/compile/internal/types2: consistently report nil type as "untyped nil"
This fixes an inconsistency where the type for nil in code such as
var x unsafe.Pointer = nil
and in conversions of the form
T(nil)
(where T is a pointer, function, slice, map, channel, interface, or
unsafe.Pointer) was r... | [
{
"path": "src/cmd/compile/internal/types2/api_test.go",
"patch": "@@ -182,6 +182,9 @@ func TestValuesInfo(t *testing.T) {\n }\n \n func TestTypesInfo(t *testing.T) {\n+\t// Test sources that are not expected to typecheck must start with the broken prefix.\n+\tconst broken = \"package broken_\"\n+\n \tvar t... | 2021-01-15T01:34:38 |
ollama/ollama | adff143bcda0c7ab4ca3a85dc3db5a81552368c7 | fbe6ae285a23baddb14c5bbce26d4fcb837503e4 | fix: mllama quality (#10807)
* fix mllama convert
- transform attn_gate and ffn_gate
- swap attention heads for vision models
* fix mllama
the mlp gate which was applied in the wrong place | [
{
"path": "convert/convert_mllama.go",
"patch": "@@ -94,7 +94,9 @@ func (m *mllamaModel) Tensors(ts []Tensor) []*ggml.Tensor {\n \tvar out []*ggml.Tensor\n \tvar text []Tensor\n \tfor _, t := range ts {\n-\t\tif t.Name() == \"v.position_embd.gate\" {\n+\t\tif !strings.HasPrefix(t.Name(), \"v.\") && !strings... | 2025-05-22T18:30:49 |
rust-lang/rust | a475f5d18169c5333a97d9a5583be61f249b8f22 | 6e8abb5ec65ac50f934df6cf0e8f248dc8e8805e | Fix typo in error message | [
{
"path": "library/std/src/sys/net/connection/xous/tcpstream.rs",
"patch": "@@ -324,7 +324,7 @@ impl TcpStream {\n }\n Ok(SocketAddr::V6(SocketAddrV6::new(new_addr.into(), self.local_port, 0, 0)))\n }\n- _ => Err(io::const_error!(io::ErrorKind::InvalidI... | 2025-03-16T23:47:26 |
huggingface/transformers | 4b9bfd32f001ca6b4ddcb544276b9ed46be256ae | be9aeba5812cdcf9a47248b4ef05184cab6db200 | Update SSH workflow file (#34084)
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/ssh-runner.yml",
"patch": "@@ -26,9 +26,38 @@ env:\n RUN_PT_TF_CROSS_TESTS: 1\n \n jobs:\n+ get_runner:\n+ name: \"Get runner to use\"\n+ runs-on: ubuntu-22.04\n+ outputs:\n+ RUNNER: ${{ steps.set_runner.outputs.RUNNER }}\n+ steps:\n+ - name: Get runner ... | 2024-10-11T08:53:12 |
vercel/next.js | 69d0e6082caa5b3130c9b0b28de9efd2ec7e5773 | a4ff04124290081939452167d84ada0d69cce0a2 | Passing down original sourcemap for flight client loader (#40508)
Consume the original sourcemap in flight client loader if there's any, to avoid source map is generated based on the module proxy which make debugging hard
Testing with adding `debugger` in layout router, screenshot:
<img width="400" alt="image" src="... | [
{
"path": "packages/next/build/webpack/loaders/next-flight-client-loader/index.ts",
"patch": "@@ -16,12 +16,14 @@ function containsPath(parent: string, child: string) {\n \n export default async function transformSource(\n this: any,\n- source: string\n-): Promise<string> {\n+ source: string,\n+ map: a... | 2022-09-13T21:42:09 |
nodejs/node | 54cb3c5759919745c25554daffc613dbee230d37 | 0329643b0fc891e1c5ada1a2033d7a051418812a | doc: update description of 'clientError' event
Default behavior is to send a '400 Bad Request' response if the socket
is writable.
PR-URL: https://github.com/nodejs/node/pull/18885
Refs: https://github.com/nodejs/node/pull/15324
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridge... | [
{
"path": "doc/api/http.md",
"patch": "@@ -784,10 +784,11 @@ changes:\n \n If a client connection emits an `'error'` event, it will be forwarded here.\n Listener of this event is responsible for closing/destroying the underlying\n-socket. For example, one may wish to more gracefully close the socket with an... | 2018-02-20T17:33:05 |
golang/go | bb5075a5259baeaa75f09db64c3860c5876a00fd | 1deae0b59747ea87d0ef02b6dfdfbbdf5e7bcee8 | syscall: remove RtlGenRandom and move it into internal/syscall
There's on need to expose this to the frozen syscall package, and it
also doesn't need to be unsafe. So we move it into internal/syscall and
have the generator make a safer function signature.
Fixes #43704.
Change-Id: Iccae69dc273a0aa97ee6846eb537f1dc141... | [
{
"path": "api/go1.16.txt",
"patch": "@@ -430,10 +430,8 @@ pkg syscall (linux-arm-cgo), func AllThreadsSyscall(uintptr, uintptr, uintptr, u\n pkg syscall (linux-arm-cgo), func AllThreadsSyscall6(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, Errno)\n pkg syscall (linux-arm... | 2021-01-14T23:04:10 |
ollama/ollama | 61aeaf7e813bf307f1b28480c7ee2aed639b28f7 | 7359b0270767d1ebda33598d738a4263a4238b3a | remove support for multiple ggufs in a single file (#10722)
* remove support for multiple ggufs in a single file
this was an attempt to make it easier to import multimodal models into
ollama. this was rarely used and error prone so remove it
* fix: create fused model from blob | [
{
"path": "server/create.go",
"patch": "@@ -501,48 +501,27 @@ func ggufLayers(digest string, fn func(resp api.ProgressResponse)) ([]*layerGGML\n \t\treturn nil, errOnlyGGUFSupported\n \t}\n \n-\tstat, err := blob.Stat()\n+\tf, err := ggml.Decode(blob, -1)\n \tif err != nil {\n \t\treturn nil, err\n \t}\n \n... | 2025-05-21T20:55:31 |
huggingface/transformers | be9aeba5812cdcf9a47248b4ef05184cab6db200 | 7d97cca8dde8b1d5a21a4df56c340cfe3cdd9fb4 | Idefics: fix position ids (#33907)
* fix position ids
* fix labels also
* fix copies
* oops, not that one
* dont deprecate | [
{
"path": "src/transformers/models/idefics/modeling_idefics.py",
"patch": "@@ -183,51 +183,6 @@ def expand_inputs_for_generation(\n return input_ids, model_kwargs\n \n \n-def prepare_inputs_for_generation(input_ids, past_key_values=None, **kwargs):\n- token_type_ids = kwargs.get(\"token_type_ids\", N... | 2024-10-11T08:28:34 |
vercel/next.js | a4ff04124290081939452167d84ada0d69cce0a2 | 3cf7a30df92d8885daaec215c16fc2f22e8efc29 | fix(cli): tune filter for extracting example `.tar` (#40513)
As pointed out in
https://github.com/vercel/next.js/issues/40389#issuecomment-1243039792,
the `filter` matched more files than necessary and merged different
example directories together. This change makes the filter match the
example directory name prec... | [
{
"path": "packages/create-next-app/helpers/examples.ts",
"patch": "@@ -122,7 +122,7 @@ export async function downloadAndExtractExample(root: string, name: string) {\n file: tempFile,\n cwd: root,\n strip: 3,\n- filter: (p) => p.includes(`next.js-canary/examples/${name}`),\n+ filter: (p) =... | 2022-09-13T20:51:44 |
nodejs/node | 0329643b0fc891e1c5ada1a2033d7a051418812a | fecc64d6dc905ce1fcc9c8635c653e4a69a2bfc0 | doc: fix link in onboarding.md
Remove link to the outdated members team
PR-URL: https://github.com/nodejs/node/pull/18878
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com> | [
{
"path": "doc/onboarding.md",
"patch": "@@ -15,12 +15,10 @@ onboarding session.\n ## Fifteen minutes before the onboarding session\n \n * Prior to the onboarding session, add the new Collaborator to\n- [the Collaborators team](https://github.com/orgs/nodejs/teams/collaborators),\n- and to [the Members te... | 2018-02-20T05:55:35 |
golang/go | 1deae0b59747ea87d0ef02b6dfdfbbdf5e7bcee8 | ff196c3e84b7e8d47285a0833d0458db3286f8ec | os: invoke processKiller synchronously in testKillProcess
Previously, testKillProcess needlessly invoked processKiller in a
separate goroutine and failed to wait for that goroutine to complete,
causing the calls to t.Fatalf in that goroutine to potentially occur
after the test function had already returned.
Fixes #43... | [
{
"path": "src/os/os_test.go",
"patch": "@@ -2298,21 +2298,23 @@ func TestLongPath(t *testing.T) {\n \n func testKillProcess(t *testing.T, processKiller func(p *Process)) {\n \ttestenv.MustHaveExec(t)\n+\tt.Parallel()\n \n \t// Re-exec the test binary itself to emulate \"sleep 1\".\n \tcmd := osexec.Command... | 2021-01-15T15:16:25 |
ollama/ollama | 7359b0270767d1ebda33598d738a4263a4238b3a | c890011322fbdd325ef9f16e425fe1f5213a24fe | win: detect background upgrade in progress (#10785)
Give the user a helpful error instead of showing
connection refused errors. | [
{
"path": "cmd/cmd.go",
"patch": "@@ -1236,11 +1236,11 @@ func checkServerHeartbeat(cmd *cobra.Command, _ []string) error {\n \t\treturn err\n \t}\n \tif err := client.Heartbeat(cmd.Context()); err != nil {\n-\t\tif !strings.Contains(err.Error(), \" refused\") {\n+\t\tif !(strings.Contains(err.Error(), \" r... | 2025-05-21T17:46:56 |
huggingface/transformers | 70b07d97cf2c5f61fff55700b65528a1b6845cd2 | 24b82f3cd56d5eeb26e649207aac3ce8a7d75bdc | Default `synced_gpus` to `True` when using `FullyShardedDataParallel` (#33483)
* Default synced_gpus to True when using FullyShardedDataParallel
Fixes #30228
Related:
* https://github.com/pytorch/pytorch/issues/100069
* https://github.com/pytorch/pytorch/issues/123962
Similar to DeepSpeed ZeRO Stage 3, wh... | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -35,6 +35,7 @@\n )\n from ..configuration_utils import PretrainedConfig\n from ..integrations.deepspeed import is_deepspeed_zero3_enabled\n+from ..integrations.fsdp import is_fsdp_managed_module\n from ..modeling_outputs import CausalLMOutputWit... | 2024-10-10T18:09:04 |
vercel/next.js | 260ea550e07a753310c2ec998ad367d2461595b6 | 814144af7f3a6e760634896924692a29b8bc3ee4 | Added comments to middleware-matcher example (#40273)
## 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 accepte... | [
{
"path": "examples/middleware-matcher/middleware.js",
"patch": "@@ -11,5 +11,8 @@ export default function middleware(req) {\n }\n \n export const config = {\n- matcher: ['/public/disclaimer', '/((?!public|static).*)'],\n+ matcher: [\n+ '/disclaimer', // match a single, specific page\n+ '/((?!public... | 2022-09-13T12:21:05 |
nodejs/node | fecc64d6dc905ce1fcc9c8635c653e4a69a2bfc0 | 0a262803882adcdcd8dad8a80153e434206290fa | test: fix test-http-connect
Fixes: https://github.com/nodejs/node/issues/18940
PR-URL: https://github.com/nodejs/node/pull/18941
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-http-connect.js",
"patch": "@@ -34,7 +34,7 @@ server.on('connect', common.mustCall((req, socket, firstBodyChunk) => {\n assert.strictEqual(socket.listeners('close').length, 0);\n assert.strictEqual(socket.listeners('drain').length, 0);\n assert.strictEqual(socket.listener... | 2018-02-22T17:25:46 |
golang/go | d45df5de32e555a0386b7e473d30516d744df70a | cc7f8c305501399c78d894b7ba7bd3ea428b250e | [dev.fuzz] cmd/go/testdata: fix flaky test
Change-Id: I7702aa12a1ed9bb0645af774dd584e661d7c8fa5
Reviewed-on: https://go-review.googlesource.com/c/go/+/284193
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutator.txt",
"patch": "@@ -14,7 +14,7 @@ go run check_logs.go fuzz fuzz.worker\n ! go test -v -fuzz=Fuzz -parallel=1 -fuzztime=30s mutator_test.go\n ! stdout ok\n stdout FAIL\n-stdout 'mutator found enough edge cases'\n+stdout 'mutator found enough unique mut... | 2021-01-15T16:26:34 |
ollama/ollama | e0ed984cde1f6191e38ac2d7f4415ffd619a631f | 139f84cf21f8d8107f69c1404f17a8840c6d67d0 | feat: qwen3 dense and sparse models (#10708)
* feat: qwen3 dense
* feat: qwen3moe
* fix llama4 moe | [
{
"path": "ml/backend.go",
"patch": "@@ -128,6 +128,8 @@ type Tensor interface {\n \tNeg(ctx Context) Tensor\n \tAdd(ctx Context, t2 Tensor) Tensor\n \tMul(ctx Context, t2 Tensor) Tensor\n+\tDiv(ctx Context, t2 Tensor) Tensor\n+\n \tMulmat(ctx Context, t2 Tensor) Tensor\n \tMulmatFullPrec(ctx Context, t2 Te... | 2025-05-21T17:21:07 |
huggingface/transformers | 24b82f3cd56d5eeb26e649207aac3ce8a7d75bdc | 211f1d93db2bc1a2f5bbbe48aa7f1ab99184973e | Small Fix to modular converter (#34051)
* small_fix
* supporting both src/tranformers and examples/
* make style | [
{
"path": "utils/modular_model_converter.py",
"patch": "@@ -1088,8 +1088,9 @@ def convert_modular_file(modular_file, old_model_name=None, new_model_name=None,\n if node != {}:\n # Get relative path starting from src/transformers/\n relative_path = re.search(\n- ... | 2024-10-10T16:43:27 |
vercel/next.js | 814144af7f3a6e760634896924692a29b8bc3ee4 | 629c7f584ebbb8d651441e111c1a5919d4248e73 | update(examples): Emotion modules (#40242)
## 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 imple... | [
{
"path": "examples/with-emotion-swc/package.json",
"patch": "@@ -6,8 +6,8 @@\n \"start\": \"next start\"\n },\n \"dependencies\": {\n- \"@emotion/react\": \"11.9.3\",\n- \"@emotion/styled\": \"11.9.3\",\n+ \"@emotion/react\": \"11.10.4\",\n+ \"@emotion/styled\": \"11.10.4\",\n \"nex... | 2022-09-13T11:53:55 |
golang/go | ab523fc510aadb82dc39dec89741fcbb90093ff0 | b7a698c73fc61bf60e2e61db0c98f16b0bfc8652 | [dev.regabi] cmd/compile: don't promote Byval CaptureVars if Addrtaken
We decide during escape analysis whether to pass closure variables by
value or reference. One of the factors that's considered is whether a
variable has had its address taken.
However, this analysis is based only on the user-written source code,
w... | [
{
"path": "src/cmd/compile/internal/ssagen/ssa.go",
"patch": "@@ -490,8 +490,15 @@ func buildssa(fn *ir.Func, worker int) *ssa.Func {\n \t\t\tptr := s.newValue1I(ssa.OpOffPtr, types.NewPtr(typ), offset, clo)\n \t\t\toffset += typ.Size()\n \n-\t\t\tif n.Byval() && TypeOK(n.Type()) {\n-\t\t\t\t// If it is a s... | 2021-01-15T08:39:24 |
nodejs/node | ffab6cd5057bce6dbbcbe06b0eaa0f905aa43115 | 070a82e82c917492bf306e546cef55ffb3ca8359 | src: fix abort when taking a heap snapshot
Remove an erroneous CHECK that asserted the persistent object's internal
field pointer still pointed to a valid object. If ClearWrap() has been
called, the field pointer equals nullptr and that is expected behavior.
PR-URL: https://github.com/nodejs/node/pull/18898
Fixes: h... | [
{
"path": "src/async_wrap.cc",
"patch": "@@ -124,7 +124,7 @@ RetainedObjectInfo* WrapperInfo(uint16_t class_id, Local<Value> wrapper) {\n CHECK_GT(object->InternalFieldCount(), 0);\n \n AsyncWrap* wrap = Unwrap<AsyncWrap>(object);\n- CHECK_NE(nullptr, wrap);\n+ if (wrap == nullptr) return nullptr; //... | 2018-02-21T14:49:47 |
huggingface/transformers | e7dfb917f8bdd83d0d017a9fbbc62015aa179229 | a37a06a20b4a006963f15acf5f49afa5a0496f29 | [TESTS] ASR pipeline (#33925)
* fix whisper translation
* correct slow_unfinished_sequence test
* make fixup | [
{
"path": "tests/pipelines/test_pipelines_automatic_speech_recognition.py",
"patch": "@@ -1212,7 +1212,7 @@ def test_simple_whisper_translation(self):\n speech_recognizer_2 = AutomaticSpeechRecognitionPipeline(\n model=model, tokenizer=tokenizer, feature_extractor=feature_extractor\n ... | 2024-10-10T15:31:22 |
ollama/ollama | 139f84cf21f8d8107f69c1404f17a8840c6d67d0 | 375839ea2d05a056d02f934f02e953b41f1d444d | fix cmakelists (#10804)
this fixes an issue introduced in #10788 | [
{
"path": "CMakeLists.txt",
"patch": "@@ -51,7 +51,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/include\n include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/ggml-cpu)\n include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/ggml-cpu/am... | 2025-05-21T16:52:52 |
huggingface/transformers | a37a06a20b4a006963f15acf5f49afa5a0496f29 | b2f09fb90fc2ea532eade76ca9b552dd4a6a01ef | Fix data_seed unused (#33731)
* fixing data_seed unused
* fix accelerate version needed
* fix style
* update the fix following accelerate fix | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -417,6 +417,7 @@ def __init__(\n self.args = args\n # Seed must be set before instantiating the model when using model\n enable_full_determinism(self.args.seed) if self.args.full_determinism else set_seed(self.args.seed)\n+\n ... | 2024-10-10T13:28:00 |
vercel/next.js | e6ed8ef56e93e8ff516b8c750a6f227a43137e7a | c11310b0f152c1aef20016c6dc0e2833c35badcf | add Balázs as codeowner to `/errors/` directory
Ref: #40501 | [
{
"path": ".github/CODEOWNERS",
"patch": "@@ -4,6 +4,7 @@\n * @timneutkens @ijjk @shuding @huozhi\n /.github/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @balazsorban44\n /docs/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @leerob @balazsorban44\n+/errors/ @balazsorban44\n /... | 2022-09-13T11:23:03 |
golang/go | 4be7af23f97fe8d1b4210acde6789cf621564ec6 | 35b9c666012dcc5203a1362f10fe5279df163a1a | [dev.regabi] cmd/compile: fix ICE during ir.Dump
fmt.go:dumpNodeHeader uses reflection to call all "func() bool"-typed
methods on Nodes during printing, but the OnStack method that I added
in CL 283233 isn't meant to be called on non-variables.
dumpNodeHeader does already guard against panics, as happen in some
other... | [
{
"path": "src/cmd/compile/internal/ir/name.go",
"patch": "@@ -286,18 +286,17 @@ func (n *Name) SetLibfuzzerExtraCounter(b bool) { n.flags.set(nameLibfuzzerExtra\n \n // OnStack reports whether variable n may reside on the stack.\n func (n *Name) OnStack() bool {\n-\tif n.Op() != ONAME || n.Class == PFUNC {... | 2021-01-15T03:40:07 |
nodejs/node | 13cb056e4cfce7419148eb089205735fb12bcd9f | 26231548ad1dff971cdeaab3085b372a75ad1efb | deps: cherry-pick 46c4979e86 from upstream v8
Original commit message:
Use wider types for max_old_space_size and co.
Make --max_old_space_size and friends work with values >= 2**31.
Such values did not work reliably (or sometimes not all) due to
signed integer overflow in size computations, which is... | [
{
"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... | 2018-02-21T13:53:53 |
ollama/ollama | 375839ea2d05a056d02f934f02e953b41f1d444d | 69b2fe9282323a57cd3557bed9b598b465d1b3a6 | chore: disable debug in binary libraries (#10788) | [
{
"path": "CMakeLists.txt",
"patch": "@@ -51,6 +51,8 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/include\n include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/ggml-cpu)\n include_directories(${CMAKE_CURRENT_SOURCE_DIR}/ml/backend/ggml/ggml/src/ggml-cpu/am... | 2025-05-21T16:39:38 |
huggingface/transformers | b2f09fb90fc2ea532eade76ca9b552dd4a6a01ef | 4a3f1a686fcda27efc19b8b3a87b62a338c2ad86 | [Docs] Update compressed_tensors.md (#33961)
* Update compressed_tensors.md
Fix some unfinished sections
* Update docs/source/en/quantization/compressed_tensors.md
Co-authored-by: Xiao Yuan <yuanx749@gmail.com>
---------
Co-authored-by: Xiao Yuan <yuanx749@gmail.com> | [
{
"path": "docs/source/en/quantization/compressed_tensors.md",
"patch": "@@ -19,23 +19,20 @@ The [`compressed-tensors`](https://github.com/neuralmagic/compressed-tensors) li\n \n Some of the supported formats include:\n 1. `dense`\n-2. `int-quantized`: INT8 quantized models\n- - sample [model/config](htt... | 2024-10-10T13:22:41 |
vercel/next.js | c11310b0f152c1aef20016c6dc0e2833c35badcf | baf6046bf3c479e347af4b5fc123c840bf4240e3 | Fix a typo in docs (#40501)
<!--
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 is... | [
{
"path": "errors/invalid-page-config.md",
"patch": "@@ -7,7 +7,7 @@ In one of your pages or API Routes you did `export const config` with an invalid\n #### Possible Ways to Fix It\n \n The page's config must be an object initialized directly when being exported and not modified dynamically.\n-The config ob... | 2022-09-13T11:22:25 |
golang/go | e125ccd10ea191101dbc31f0dd39a98f9d3ab929 | eb330020dc42930e99d9a8c8ea3cc0972cbd230f | cmd/go: in 'go mod edit', validate versions given to -retract and -exclude
Fixes #43280
Change-Id: Icb6c6807fe32a89202a2709d4a1c8d8af967628f
Reviewed-on: https://go-review.googlesource.com/c/go/+/283853
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/mod v0.4.0\n+\tgolang.org/x/mod v0.4.1\n \tgolan... | 2021-01-14T18:28:37 |
nodejs/node | 26231548ad1dff971cdeaab3085b372a75ad1efb | 51be03cd577fe8b5a73dd9558bd6a2727f9c3c0b | repl: fix tab-complete warning
When create a nest repl, will register `Runtime.executionContextCreated`
listener to the inspector session.This patch will fix listener
repeatedly register.
PR-URL: https://github.com/nodejs/node/pull/18881
Fixes: https://github.com/nodejs/node/issues/18284
Reviewed-By: Michaël Zasso <t... | [
{
"path": "lib/repl.js",
"patch": "@@ -753,7 +753,7 @@ REPLServer.prototype.createContext = function() {\n } else {\n sendInspectorCommand((session) => {\n session.post('Runtime.enable');\n- session.on('Runtime.executionContextCreated', ({ params }) => {\n+ session.once('Runtime.execut... | 2018-02-20T12:12:58 |
ollama/ollama | 69b2fe9282323a57cd3557bed9b598b465d1b3a6 | 9ed8bf14cb885509281d63731cda16637a7e0bd2 | fix: qwen25vl assign samebatch in multimodal input (#10789)
setting samebatch on the vision start token is problematic because it
will be shared with other inputs that also use images. this will cause
the input to be cached and the runner will not see SameBatch. SameBatch
will also be incorrect since it may be for a d... | [
{
"path": "model/models/qwen25vl/model.go",
"patch": "@@ -121,13 +121,14 @@ func (m *Model) PostTokenize(inputs []input.Input) ([]input.Input, error) {\n \t\t\tpatchesPerChunk := inp.Multimodal[0].Tensor.Dim(1)\n \n \t\t\t// First add the vision start token\n-\t\t\tresult = append(result, input.Input{Token:... | 2025-05-21T16:39:20 |
huggingface/transformers | fb0c6b521db0db23fcaf475fc4696594b52e101c | dda3f91d06c014e36b12723662ae1e9f5301b1c6 | Universal Assisted Generation: Assisted generation with any assistant model (by Intel Labs) (#33383)
* Update candidate_generator.py
* Update utils.py
* add lookbehind params to _get_candidate_generator
* make fixup
* add unit tests
* fix failing tests
* add docstrings
* fix docstrings; remove non... | [
{
"path": "docs/source/en/generation_strategies.md",
"patch": "@@ -408,14 +408,24 @@ For the complete list of the available parameters, refer to the [API documentati\n ### Speculative Decoding\n \n Speculative decoding (also known as assisted decoding) is a modification of the decoding strategies above, tha... | 2024-10-10T12:41:53 |
vercel/next.js | baf6046bf3c479e347af4b5fc123c840bf4240e3 | d0903a5c5be184f3656a9c8dc2f5c297cb280a4b | chore: use `link:` instead of `file:` in CONTRIBUTING.md (#40510)
Closes #40497
Ref: https://pnpm.io/cli/link, https://stackoverflow.com/a/70266777
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feat... | [
{
"path": "contributing.md",
"patch": "@@ -147,7 +147,7 @@ There are two options to develop with your local version of the codebase:\n with:\n \n ```json\n- \"next\": \"file:/path/to/next.js/packages/next\",\n+ \"next\": \"link:/path/to/next.js/packages/next\",\n ```\n \n 2. In your app's root ... | 2022-09-13T10:56:53 |
golang/go | eb330020dc42930e99d9a8c8ea3cc0972cbd230f | 84e8a06f62e47bf3f126e6c7e5f39dd7ca82f421 | cmd/dist, cmd/go: pass -arch for C compilation on Darwin
On Apple Silicon Mac, the C compiler has an annoying default
target selection, depending on the ancestor processes'
architecture. In particular, if the shell or IDE is x86, when
running "go build" even with a native ARM64 Go toolchain, the C
compiler defaults to... | [
{
"path": "src/cmd/cgo/gcc.go",
"patch": "@@ -1549,7 +1549,14 @@ func (p *Package) gccBaseCmd() []string {\n func (p *Package) gccMachine() []string {\n \tswitch goarch {\n \tcase \"amd64\":\n+\t\tif goos == \"darwin\" {\n+\t\t\treturn []string{\"-arch\", \"x86_64\", \"-m64\"}\n+\t\t}\n \t\treturn []string{... | 2021-01-14T17:29:16 |
nodejs/node | 51be03cd577fe8b5a73dd9558bd6a2727f9c3c0b | d6fc7e3af4f8888b0d80d73287314b14d3c7f86e | http: remove default 'error' listener on upgrade
Remove the default `'error'` listener when the socket is freed. This
is consistent with the client and prevents spurious `'clientError'`
events from being emitted on the server.
PR-URL: https://github.com/nodejs/node/pull/18868
Reviewed-By: James M Snell <jasnell@gmail... | [
{
"path": "lib/_http_server.js",
"patch": "@@ -521,6 +521,7 @@ function onParserExecuteCommon(server, socket, parser, state, ret, d) {\n socket.removeListener('close', state.onClose);\n socket.removeListener('drain', state.onDrain);\n socket.removeListener('drain', ondrain);\n+ socket.removeL... | 2018-02-19T16:54:08 |
ollama/ollama | e6a800ca11cb52b24fa5afc5245ed1277811fbe9 | ff180c3466e7f3ee21658465958c9ece6de2d5c0 | llama: fix incorrect initialization of C.struct_common_sampler_cparams.penalty_present (#10779) | [
{
"path": "llama/llama.go",
"patch": "@@ -544,7 +544,7 @@ func NewSamplingContext(model *Model, params SamplingParams) (*SamplingContext,\n \tcparams.penalty_last_n = C.int32_t(params.RepeatLastN)\n \tcparams.penalty_repeat = C.float(params.PenaltyRepeat)\n \tcparams.penalty_freq = C.float(params.PenaltyFre... | 2025-05-20T17:41:15 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.