All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: "Theodore Tso" <tytso@mit.edu>, Jonathan Corbet <corbet@lwn.net>,
	Sasha Levin <sashal@kernel.org>,
	ksummit@lists.linux.dev
Subject: Re: [MAINTAINERS SUMMIT] Other LLM-related topics - tags, newcomers, etc
Date: Sat, 18 Jul 2026 11:26:27 +0200	[thread overview]
Message-ID: <87o6g4sl6k.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260717025812.2397d792@foz.lan>

On Fri, 17 Jul 2026 02:58:12 +0200,
Mauro Carvalho Chehab wrote:
> 
> > So it's one say to say, we should figure out how to try to run Sashiko
> > on a local LLM, using open-weight models.  But it's going to be a lot
> > easier to propose such a thing than to actually do it.
> 
> The main point is: do we really need 671B parameters? Those models
> speak a lot of different languages, have medical databases, and a lot
> of other random knowledge that are useless for kernel development.
> 
> I've been playing for a while with qwen 3.6 with 24KB context size,
> 36B parameters (3B activated), 4bits kv quantization and it does produce
> some decent results. The main limitation is the context size: it is
> probably not big enough to test big files (*)
> 
> (*) my GPU has 16GB and it is not dedicated to LLM - still, it does
>     present results on a reasonable time (a couple of minutes) and
>     with decent precision.

I've been testing the kernel commit reviews with 16GB VRAM GPU, too.
It's an agent program based on Chris Mason's review prompts, and
targeted mainly for the verifications of our backport patches.  The
main models I tried were Qwen-3.6 35B, Gemma-4 26B and GPT-OSS 20B
(all 4-bit quantized).  And, my conclusion was that even such small
models can catch real bugs.

Yes, there are definitely many false-positives, and they don't always
follow the recent changes.  Also they cover much less changes than
Sashiko.  So, the results must be read with lots of grains of salt :)

The code review is different from the code generation, and the agent
divides the tasks so that the model can concentrate on each small
single task.  With that, small models can achieve in some level, too.


FWIW, the agent code is found at
  https://github.com/tiwai/kernel-review-agent.git

with HTML renderer and console viewer programs
  https://github.com/tiwai/review-table-gen.git
  https://github.com/tiwai/kreview-ui-rs.git


Takashi

  parent reply	other threads:[~2026-07-18  9:26 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16 15:09 [MAINTAINERS SUMMIT] Other LLM-related topics - tags, newcomers, etc Jonathan Corbet
2026-07-16 15:28 ` Sasha Levin
2026-07-16 16:08   ` Mark Brown
2026-07-16 16:24     ` Sasha Levin
2026-07-16 20:38       ` Laurent Pinchart
2026-07-17 14:09         ` Sasha Levin
2026-07-17 14:25       ` Mark Brown
2026-07-16 18:36   ` Jonathan Corbet
2026-07-16 19:53     ` Mauro Carvalho Chehab
2026-07-16 23:59       ` Theodore Tso
2026-07-17  0:58         ` Mauro Carvalho Chehab
2026-07-17  2:27           ` Theodore Tso
2026-07-17  7:19             ` Mauro Carvalho Chehab
2026-07-18  9:26           ` Takashi Iwai [this message]
2026-07-17 13:55         ` Konstantin Ryabitsev
2026-07-17 14:24           ` Andrew Lunn
2026-07-17 14:32             ` Konstantin Ryabitsev
2026-07-17 14:50               ` Andrew Lunn
2026-07-17 20:21           ` Theodore Tso
2026-07-18 12:54             ` Mauro Carvalho Chehab
2026-07-16 20:05     ` Bart Van Assche
2026-07-16 20:52       ` James Bottomley
2026-07-16 20:23     ` Liam R. Howlett
2026-07-17  7:49       ` Laurent Pinchart
2026-07-17 15:55         ` Liam R. Howlett
2026-07-17 11:57       ` James Bottomley
2026-07-17 15:53         ` Liam R. Howlett
2026-07-17 18:12           ` James Bottomley
2026-07-17 18:27             ` Dan Carpenter
2026-07-17 18:42               ` James Bottomley
2026-07-18  1:13                 ` Theodore Tso
2026-07-18  3:07                   ` James Bottomley
2026-07-17 14:54       ` Johannes Weiner
2026-07-17 16:09         ` Liam R. Howlett
2026-07-16 21:23     ` Theodore Tso
2026-07-17 13:59     ` Sasha Levin
2026-07-17 14:09       ` Konstantin Ryabitsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o6g4sl6k.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=corbet@lwn.net \
    --cc=ksummit@lists.linux.dev \
    --cc=mchehab+huawei@kernel.org \
    --cc=sashal@kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.