Skip to content

Conversation

@geoHeil
Copy link

@geoHeil geoHeil commented Mar 21, 2025

achievements:

missing items

  • port over all the metadata from the old setup.py file

up for discussion

  • should code linters like ruff which I use internally be added as well?

usage

# download model files
pxi run setup

pixi shell -e molgrapher-cpu
# if you want gpu support
# pixi shell -e molgrapher-gpu

./molgrapher/scripts/annotate/run.sh

./molgrapher/scripts/annotate/docling/docling_convert_and_enrich.sh ./data/pdfs/US9259003_page_4.pdf ./data/docling_documents/US9259003_page_4/

advantages

  • neat lockfiles - reproducibility
  • easy packaging no fiddling with dependencies
  • upgraded versions of pytorch/paddlepaddle

This was referenced Mar 21, 2025
name = "molgrapher"
version = "1.0.0"
description = "Molgrapher"
# TODO transform more old metadata over into here
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO add missing metadata from setup.py (if there is interest in getting this merged)

Signed-off-by: Georg Heiler <[email protected]>
@geoHeil geoHeil force-pushed the feat/upgrade-pytorch branch from 4db4054 to 6c9e955 Compare March 26, 2025 07:06
@geoHeil geoHeil mentioned this pull request Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant