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

checkpoint_converter.py | error in function write_weights ...? #565

Open
Oriolla opened this issue Jun 3, 2021 · 1 comment
Open

checkpoint_converter.py | error in function write_weights ...? #565

Oriolla opened this issue Jun 3, 2021 · 1 comment

Comments

@Oriolla
Copy link

Oriolla commented Jun 3, 2021

In checkpoint_converter.py:

write_weights([entries],
output_dir,
write_manifest=True,
quantization_dtype=quantization_dtype,
shard_size_bytes=shard_mb 1024 1024)

Is it right? May be quantization_dtype_map?

@damjanprvc
Copy link

Yes, had the same issue. Changed to 'quantization_dtype_map' and worked fine.
Opened a new pull request as well.

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

No branches or pull requests

2 participants