Pin pydantic to v2 so install doesn't crash on import #139
No reviewers
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus!139
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/setup-reliability-and-hardware-support"
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?
Rebased on current main and trimmed this down. When I went through it against main, most of what I'd bundled here is already handled:
So the only thing still missing is the pydantic pin, which is what this PR is now. Unpinned, pip can resolve v1 which has no pydantic-core and the app dies on import.
Dropped the Intel GPU detection from here. jaitaiwan's point about integrated Arc/Xe (the 140V etc.) using unified memory is right, my version hardcoded that to false. I'll redo it as its own PR with the unified-memory case handled properly.
This PR assumes that intel arc GPUs aren't integrated with unified memory. If this was run on a device like a Yoga Slim 7i which has a built-in Intel Arc 140V then it uses unified memory.
This bundles several useful fixes, but it looks stale/too mixed to merge as-is.
A couple of notes from checking against current main:
Recommendation: rebase and split this into install/docs fixes vs Intel hardware detection. The install fixes are likely easy to review; the Intel path needs a bit more hardware-specific care.
@pewdiepie-archdaemon done, rebased on main and split it. Turned out the calendar fix, the docker note, and the clone placeholders are all already on main, so this PR is just the pydantic pin now. Small and easy to review like you said.
@jaitaiwan good catch, you're right about the integrated parts like the 140V sharing memory with the CPU. Let me look into this properly, I'll do a bit of research on it and put up a separate PR for the Intel detection.