mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #343] Version mismatch issues with kernels package #185
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @p-e-w on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/343
I have received two reports of issues with the
kernelspackage. Resolving those is not trivial, becausekernelsis required by Transformers for inference with some models (e.g. GPT-OSS), but is annoyingly not a dependency of Transformers./cc @Vinay-Umrethe
@Vinay-Umrethe commented on GitHub (Jun 2, 2026):
Full Log
Current Fix
Not sure how its required for gpt-oss models, but newer transformers versions' modeling code might be depending on
kernelsfor some faster work@p-e-w commented on GitHub (Jun 4, 2026):
I have fully understood, and fixed, this issue.
Transformers doesn't depend on
kernelsby default, but because some models require it,kernelsis specified as an extra dependency insetup.py.The supported version range is
whereas we had
These two version specifications are in conflict.
However, since we only install
kernelsin support of Transformers, this is easily fixed by removing our dependency onkernels, and installing Transformers with thekernelsextra instead, which is guaranteed to pull in a compatible version.