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

NotADirectoryError: [WinError 267] The directory name is invalid: #212

Open
taras-kamo opened this issue Nov 7, 2024 · 1 comment
Open

Comments

@taras-kamo
Copy link

Hi!
Windows 11
when I'm installing version Llama3.2-3B-Instruct:int4-qlora-eo8
I get an error NotADirectoryError: [WinError 267] The directory name is invalid: because of the colon ":" in the name

I fixed it by changing the Python code in the script Lib\site-packages\llama_stack\distribution\utils\model_utils.py
line 13 return os.path.join(DEFAULT_CHECKPOINT_DIR, descriptor) --> return os.path.join(DEFAULT_CHECKPOINT_DIR, descriptor.replace(":", "_"))

@Jinrusui
Copy link

Jinrusui commented Nov 9, 2024

Thanks! It works!
Just go to the environment document and change 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

No branches or pull requests

2 participants