Skip to content

Conversation

@benjaminpope
Copy link

Hi Adina,

I hope you're well! As noted in Issue #32, recent versions of tensorflow don't play well with stella, and this has made it a bit of a challenge for some students to use.

As an experiment, I sat down with the GPT5 Copilot and tried agent mode for the first time... I hadn't tried it before, and it was actually a lot of work to use. Blame me for any bugs in there.

Anyway - as far as I can tell, stella now works with Jax and PyTorch backends and python 3.12. As far as I can tell on light curves I've already looked at, I get the same answers as before - but I don't have a working install of old stella on this machine, so I can't rigorously compare them. I have tested all the functions I have used but not the NN training, and the performance seems good. I've added a few convenience functions.

Let me know what you think!

All the best,

Ben

benjaminpope and others added 30 commits June 11, 2024 17:58
… migrate to pyproject.toml and include stella/data/*.keras
…hrough in pipeline; build: add optional deps for jax/torch in pyproject
…rch); fix rotations Time/Quantity handling; modernize tqdm imports; remove hard-coded paths and Dropbox refs; docs pipeline uses packaged models

- backends: require_backend() picks JAX if installed, else Torch; error only if neither installed; sets KERAS_BACKEND when auto-selecting
- neural_network: call require_backend() before importing keras to avoid TF fallback
- rotations: normalize time/flux/err to float arrays to avoid astropy Time/TimeDelta issues in LS
- notebooks: switch to tqdm.auto; use stella.models for model paths; neutralize local paths
- docs: pipeline.rst uses stella.models.get_model_path()/list_model_paths()
…d in .gitignore\n- Remove both from index with (files remain locally)
…Provide html_context['style'] default in conf.py to avoid Jinja UndefinedError\n- Switch to tqdm.auto in tutorial imports\n- Wrap as code to avoid RST target reference\n- Pass .value arrays to cnn.predict for robustness
…material theme, mkdocstrings, mkdocs-jupyter\n- Convert key pages to Markdown and include notebooks in nav\n- Update docs workflow to build via mkdocs and deploy site/\n- Add MkDocs deps to dev extras
benjaminpope and others added 19 commits November 5, 2025 01:39
…+ positioned bars to avoid duplicates (2 bars total)
…ly; use context managers; ensure final completion; prefer workspace import in notebook
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