Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove backends information and get it from httomo-backends instead #532

Merged
merged 14 commits into from
Jan 17, 2025

Conversation

yousefmoazzam
Copy link
Collaborator

@yousefmoazzam yousefmoazzam commented Dec 10, 2024

Fixes #429

This PR should be merged after DiamondLightSource/httomo-backends#6 has been merged and a new release of httomo-backends has been made. This is because that PR provides changes to httomo-backends that work with the changes here in httomo, and httomo CI needs to install httomo-backends from PyPI.

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation

yousefmoazzam added a commit to DiamondLightSource/httomo-backends that referenced this pull request Jan 10, 2025
Some notes on this may be useful:
- It was found that specifying `astra-toolbox` as a conda dependency in
  addition to `cupy` was able to make the GPU detectable in the CUDA
  container used in the IRIS CI job. However, the first job was
  sometimes such that the GPU wasn't detected and needed to be rerun,
  but then the second job would have the GPU be detected, for some
  reason.
- Specifying all required packages as conda dependencies somehow got rid
  of the need to rerun the job, where the first job seemingly was
  consistent in having the GPU be detected.

The reason(s) for this behaviour are unknown, but this may be a good
enough workaround to enable `httomo` in the following PR to install
and use `httomo-backends` without issues in the IRIS CI:
DiamondLightSource/httomo#532.
@yousefmoazzam yousefmoazzam marked this pull request as ready for review January 14, 2025 12:24
@dkazanc dkazanc merged commit 8ab2f55 into main Jan 17, 2025
7 checks passed
@dkazanc dkazanc deleted the separate-backends branch January 17, 2025 16:05
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.

httomo-backends separation from httomo
2 participants