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

Error getting tokenizer_config.json from sd-turbo #27

Closed
Titan-Node opened this issue Feb 11, 2024 · 1 comment
Closed

Error getting tokenizer_config.json from sd-turbo #27

Titan-Node opened this issue Feb 11, 2024 · 1 comment

Comments

@Titan-Node
Copy link

System: Windows 11
Using the first huggingface command to get sd-turbo models

huggingface-cli download stabilityai/sd-turbo --include "*.fp16.safetensors" "*.json" "*.txt" --exclude ".onnx" ".onnx_data" --cache-dir models

Got the following OS Error. It downloaded the tokenizer_config.json file but is 0kb and cannot open it on my system, which is really odd.

AppData\Local\Programs\Python\Python311\Lib\site-packages\huggingface_hub\file_download.py", line 916, in _create_symlink
    os.symlink(src_rel_or_abs, abs_dst)

OSError: [WinError 1314] A required privilege is not held by the client: '..\\..\\..\\blobs\\bd2abe19377557ff5771584921f9b65fa041fef0' -> 'C:\\local\\models\\models\\models--stabilityai--sd-turbo\\snapshots\\1681ed09e0cff58eeb41e878a49893228b78b94c\\tokenizer\\tokenizer_config.json'

Anyway the benchmark still works, not sure if this files is required or not.

@rickstaa
Copy link
Contributor

rickstaa commented May 8, 2024

@Titan-Node thanks for the report! I tried to reproduce your problem on my Windows PC but could not reproduce it. I therefore think it is due to a permission problem on your end. Closing this issue for now.

@rickstaa rickstaa closed this as completed May 8, 2024
@rickstaa rickstaa reopened this May 8, 2024
@rickstaa rickstaa closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
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