chore: dependency updates, performance optimizations, and bug fixes#37
Open
alexey-krasnov wants to merge 21 commits intothomas0809:mainfrom
Open
chore: dependency updates, performance optimizations, and bug fixes#37alexey-krasnov wants to merge 21 commits intothomas0809:mainfrom
alexey-krasnov wants to merge 21 commits intothomas0809:mainfrom
Conversation
…l to os.cpu_count for input images greater that 100
…0. Implemented function read_requirements in setup.py for reading requirements.txt
chore: incorporated commits from thomas0809/MolScribe, updated dependencies, optimized worker allocation
…rying to implement new versio of albumentations
…rying to implement new versio of albumentations
…imm, torch, transformers versions
thomas0809
reviewed
Feb 18, 2026
thomas0809
reviewed
Feb 18, 2026
thomas0809
reviewed
Feb 18, 2026
Owner
thomas0809
left a comment
There was a problem hiding this comment.
@alexey-krasnov Really appreciate your contribution. Sorry that I don't have enough time to maintain this repo. I made a few comments to this PR.
…functional_group method
alexey-krasnov
commented
Feb 18, 2026
Author
alexey-krasnov
left a comment
There was a problem hiding this comment.
The code has been removed: AllChem.Compute2DCoords(mol) and the part for #Dynamically adjust num_workers based on the number of images in list
Author
@thomas0809 , glad to help! Thank you for this amazing project. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes several important dependency updates, performance optimizations, and bug fixes:
Dependency Updates:
transformersto>=4.47.0,<=4.52.4for improved compatibilityrdkit-pypi>=2021.03.2tordkit>=2024.3.5for enhanced chemical functionalityopencv-python>=4.10.0.84andnumpy>=1.19.5,<2.0albumentationswith proper class importstimm,torch, andtransformersversions for compatibilityPerformance Optimizations:
num_workersbased on the number of images in list for more consistent performancebatch_size=32for Apple MPSBug Fixes:
(CH2)5in condensed formulasAllChem.Compute2DCoords(mol)from_expand_functional_groupmethod to preserve original molecular coordinates and maintain layout consistency with input imagesCode Improvements:
read_requirementsfunction insetup.pyfor readingrequirements.txt.gitignoreto include*.egg-info