mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[PR #35] [CLOSED] Added: Notebook Compatiblity While Preserving Terminal UI Experience #248
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#248
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?
📋 Pull Request Information
Original PR: https://github.com/p-e-w/heretic/pull/35
Author: @Vinay-Umrethe
Created: 11/21/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
b48bc29feat: Notebook compatibility, Multimodal support (InternVL/Qwen/Omni/VL), and trust_remote_codeb3bb83ffix: Applied upstream fixes (multi-GPU support, memory optimization, KeyError fix) TO THE ENHANCED EDITIONb54e726fix: Restore accidentally deleted MPS support and GPU fallback logic43a1c25fix: Complete upstream sync (restore missing import gc and PYTORCH_CUDA_ALLOC_CONF)e568901chore: Revert metadata changes (name, version, readme) to match upstream955e6cbUpdated README8d8727fMerge branch 'master' into masterc73689bfix: Resolve CI failures (formatting, missing imports, package name)1abcf8eMerge branch 'master' of https://github.com/Vinayyyy7/heretic1d47b35style: Fix formatting in utils.py to pass CI📊 Changes
4 files changed (+126 additions, -52 deletions)
View changed files
📝
src/heretic/config.py(+2 -0)📝
src/heretic/main.py(+39 -46)📝
src/heretic/model.py(+22 -5)📝
src/heretic/utils.py(+63 -1)📄 Description
So Hybrid UI for Notebook support (Colab/Kaggle) while preserving the full TUI experience for terminal users is now there. refactored the UI helper functions into
utils.pyand renamed them to likeprompt_text, prompt_path, prompt_passwordto keepmain.pyclean.Additionally, I've included essential compatibility fixes that are vital for notebook users: adding bfloat16 support for stability on newer GPUs, removing the
trust_remote_codeargument in favor of the default interactive prompt (which Now you seem to doubt it, as I saw in one of the issues).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.