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

Fixing big endian. #327

Merged
merged 4 commits into from
Aug 17, 2023
Merged

Fixing big endian. #327

merged 4 commits into from
Aug 17, 2023

Conversation

Narsil
Copy link
Collaborator

@Narsil Narsil commented Aug 17, 2023

What does this PR do?

  • Many more tests, with numpy coverage.
  • Actually test values on disk.

Fixes #321

Fixes # (issue) or description of the problem this PR solves.

- Many more tests, with numpy coverage.
- Actually test values on disk.
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 17, 2023

The documentation is not available anymore as the PR was closed or merged.

@Narsil Narsil requested a review from McPatate August 17, 2023 06:43
@Narsil Narsil merged commit 698dd6e into main Aug 17, 2023
11 checks passed
@Narsil Narsil deleted the fix_big_endian branch August 17, 2023 06:44
Comment on lines +117 to +118
cache-from: type=registry,ref=registry.internal.huggingface.tech/safetensors/s390x:cache,mode=min
cache-to: type=registry,ref=registry.internal.huggingface.tech/safetensors/s390x:cache,mode=min
Copy link
Member

Choose a reason for hiding this comment

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

Curious to hear what the motivation behind this change was

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The tests were failing, deleting cache made them work again. I therefore modified this and deleted the cache again. Didn't look too hard into it.

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.

load incorrect weight values from a HF model on a big-endian machine with 0.3.2
3 participants