Skip to content

GPU accelerated curve fitting - #76

Open
cypranowska wants to merge 48 commits into
devfrom
pytorch_fits
Open

cypranowska wants to merge 48 commits into
devfrom
pytorch_fits

Conversation

@cypranowska

Copy link
Copy Markdown
Member

This feature branch contains a PyTorch-based RS/OF Gaussian fitting implementation for the existing tuning models, with GPU support and fit batching in torch_fit_gaussian_blob.py. The goal is to mirror the existing SciPy fitting workflow while enabling faster fitting.

Features

  • Adds a PyTorch implementation of RS/OF Gaussian tuning models in torch_fit_gaussian_blob.py
  • Handles closedloop, openloop and treadmill protocols
  • Preserves legacy boundary condition semantics and data-informed parameter ranges
  • Adds fit-quality summaries and cross-validation
  • Integrates into pipeline_utils.py
  • Writes results to a dedicated torch parquet output path
    Testing
  • pytest --cov=v1_depth_seq tests/tests_pipelines/test_analysis_pipeline_torch.py

@cypranowska
cypranowska requested a review from ablot September 10, 2026 10:37
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