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

Version 0.9.1 #94

Merged
merged 10 commits into from
Jul 14, 2024
Merged

Version 0.9.1 #94

merged 10 commits into from
Jul 14, 2024

Conversation

SebieF
Copy link
Collaborator

@SebieF SebieF commented Jul 10, 2024

10.07.2024 - Version 0.9.1

Maintenance

  • Fixing error in type checking for device
  • Updating dependencies
  • Updating inference examples
  • Adding hint for version mismatch in inferencer
  • Adding class weights to out.yml if they are calculated

Features

  • Improving fallback mechanism of embedder models. Now, cpu mode is exited once there is enough
    RAM again for shorter sequences
  • Changing model storage format from .pt to .safetensors.
    Safetensors is safer for model sharing. Legacy .pt format is still supported, and can be converted via
from biotrainer.inference import Inferencer
inferencer, out_file = Inferencer.create_from_out_file(out_file_path="out.yml", allow_torch_pt_loading=True)
inferencer.convert_all_checkpoints_to_safetensors()

@SebieF SebieF added enhancement New feature or request refactoring Code or standardization refactorings maintenance Code or example maintainance labels Jul 10, 2024
@SebieF SebieF self-assigned this Jul 10, 2024
@SebieF SebieF changed the base branch from main to develop July 14, 2024 10:01
@SebieF SebieF merged commit e319464 into sacdallago:develop Jul 14, 2024
1 check passed
@SebieF SebieF deleted the v-0-9-1 branch July 14, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance Code or example maintainance refactoring Code or standardization refactorings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant