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

tf1G Support #25

Merged
merged 26 commits into from
Sep 26, 2024
Merged

tf1G Support #25

merged 26 commits into from
Sep 26, 2024

Conversation

brubsby
Copy link
Contributor

@brubsby brubsby commented Sep 2, 2024

Currently a work in progress, but a functional prototype as of now. I wanted to get a PR open so I can track the TODO items, and solicit review of the implementation.

  • add setup question for tf1G
  • add workfetch by GHD needed for days work (if msec_per_iter is known)
  • fix case when only getting 10 assignments on start but msec_per_iter is known
  • add options for bit-level min and max for work fetch
  • add error if min-exp and max-exp straddle 1G
  • read mfaktx .ini file to see stages param and pass to workfetch
  • refactor results reporting to come after json conversion
  • --recover-all support

primenet.py Outdated
Comment on lines 4652 to 4734
if assignment.work_type == PRIMENET.WORK_TYPE_FACTOR and assignment.n >= 1000000000:
any_tf1g = True
if assignment_unreserve(adapter, assignment):
tasks = [
Copy link
Owner

@tdulcet tdulcet Sep 8, 2024

Choose a reason for hiding this comment

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

Note that this will remove all TF1G assignments from the work file even if the unreserve subsequently fails.

primenet.py Outdated Show resolved Hide resolved
primenet.py Outdated Show resolved Hide resolved
primenet.py Outdated Show resolved Hide resolved
primenet.py Outdated Show resolved Hide resolved
primenet.py Outdated Show resolved Hide resolved
primenet.py Show resolved Hide resolved
@tdulcet tdulcet merged commit 6b0afd1 into tdulcet:primenet-2.2 Sep 26, 2024
@tdulcet tdulcet added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants