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

binascii.Error: Incorrect padding:How to solve it? #569

Open
3 tasks done
Bleado opened this issue Jun 6, 2024 · 1 comment
Open
3 tasks done

binascii.Error: Incorrect padding:How to solve it? #569

Bleado opened this issue Jun 6, 2024 · 1 comment
Labels

Comments

@Bleado
Copy link

Bleado commented Jun 6, 2024

提交前必须检查以下项目

  • 请确保使用的是仓库最新代码(git pull),一些问题已被解决和修复。
  • 我已阅读项目文档FAQ章节并且已在Issue中对问题进行了搜索,没有找到相似问题和解决方案。
  • 第三方插件问题:例如llama.cppLangChaintext-generation-webui等,同时建议到对应的项目中查找解决方案。

问题类型

模型训练与精调

基础模型

Chinese-Alpaca-2 (7B/13B)

操作系统

Linux

详细描述问题

!bash /content/drive/MyDrive/Chinese-LLaMA-Alpaca-2-main/scripts/training/run_sft.sh

依赖情况(代码类问题务必提供)

!pip install -q accelerate==0.21.0 peft==0.4.0 bitsandbytes==0.40.2 transformers==4.31.0 trl==0.4.7 deepspeed==0.9.4

运行日志或截图

[rank0]: Traceback (most recent call last):
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/accelerate/utils/deepspeed.py", line 52, in __init__
[rank0]:     config_decoded = base64.urlsafe_b64decode(config_file_or_dict).decode("utf-8")
[rank0]:   File "/usr/lib/python3.10/base64.py", line 133, in urlsafe_b64decode
[rank0]:     return b64decode(s)
[rank0]:   File "/usr/lib/python3.10/base64.py", line 87, in b64decode
[rank0]:     return binascii.a2b_base64(s)
[rank0]: binascii.Error: Incorrect padding
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration.

@github-actions github-actions bot added the stale label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant