1
0
Fork 0
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

Closed
opened 2026-11-01 04:19:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 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+)

  • b48bc29 feat: Notebook compatibility, Multimodal support (InternVL/Qwen/Omni/VL), and trust_remote_code
  • b3bb83f fix: Applied upstream fixes (multi-GPU support, memory optimization, KeyError fix) TO THE ENHANCED EDITION
  • b54e726 fix: Restore accidentally deleted MPS support and GPU fallback logic
  • 43a1c25 fix: Complete upstream sync (restore missing import gc and PYTORCH_CUDA_ALLOC_CONF)
  • e568901 chore: Revert metadata changes (name, version, readme) to match upstream
  • 955e6cb Updated README
  • 8d8727f Merge branch 'master' into master
  • c73689b fix: Resolve CI failures (formatting, missing imports, package name)
  • 1abcf8e Merge branch 'master' of https://github.com/Vinayyyy7/heretic
  • 1d47b35 style: 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.py and renamed them to like prompt_text, prompt_path, prompt_password to keep main.py clean.

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_code argument 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.

## 📋 Pull Request Information **Original PR:** https://github.com/p-e-w/heretic/pull/35 **Author:** [@Vinay-Umrethe](https://github.com/Vinay-Umrethe) **Created:** 11/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`b48bc29`](https://github.com/p-e-w/heretic/commit/b48bc29c8394dbc7705e5267dc9c01c6f66e5b88) feat: Notebook compatibility, Multimodal support (InternVL/Qwen/Omni/VL), and trust_remote_code - [`b3bb83f`](https://github.com/p-e-w/heretic/commit/b3bb83fd5f9a557b3ba97d7ccb3b7f7e839adc19) fix: Applied upstream fixes (multi-GPU support, memory optimization, KeyError fix) TO THE ENHANCED EDITION - [`b54e726`](https://github.com/p-e-w/heretic/commit/b54e72644d708bc3da493c21efe3cd048b807b2e) fix: Restore accidentally deleted MPS support and GPU fallback logic - [`43a1c25`](https://github.com/p-e-w/heretic/commit/43a1c25a0b078904ca0e069dbb6d7a89e5bf591f) fix: Complete upstream sync (restore missing import gc and PYTORCH_CUDA_ALLOC_CONF) - [`e568901`](https://github.com/p-e-w/heretic/commit/e568901360820cadbe4fe9aff0377f2214012cb5) chore: Revert metadata changes (name, version, readme) to match upstream - [`955e6cb`](https://github.com/p-e-w/heretic/commit/955e6cb94a6cf5e3a910dce04bf5aed749daf6ea) Updated README - [`8d8727f`](https://github.com/p-e-w/heretic/commit/8d8727f120f795ff3c643228317bd8ea3eabf89c) Merge branch 'master' into master - [`c73689b`](https://github.com/p-e-w/heretic/commit/c73689b893f0a98de447ed3e2bb03ed17886c44b) fix: Resolve CI failures (formatting, missing imports, package name) - [`1abcf8e`](https://github.com/p-e-w/heretic/commit/1abcf8e2956b97fc36318a6bd86e0ca5e4da3e15) Merge branch 'master' of https://github.com/Vinayyyy7/heretic - [`1d47b35`](https://github.com/p-e-w/heretic/commit/1d47b35aa7a2c46a3b55b0098af141567b6668b6) style: Fix formatting in utils.py to pass CI ### 📊 Changes **4 files changed** (+126 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `src/heretic/config.py` (+2 -0) 📝 `src/heretic/main.py` (+39 -46) 📝 `src/heretic/model.py` (+22 -5) 📝 `src/heretic/utils.py` (+63 -1) </details> ### 📄 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.py` and renamed them to like `prompt_text, prompt_path, prompt_password` to keep `main.py` clean. 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_code` argument in favor of the default interactive prompt (which Now you seem to doubt it, as I saw in one of the issues). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-01 04:19:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#248
No description provided.