-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
bug: Model failed to run due to MacOS filesystem incompatibility (MacOS behavior with exFAT drives) #3846
Comments
Can run Codestral 22B Q4 on my end:However the response is weird, maybea prompt template issue which i will followup on this ticket instead: janhq/models#46 @J-Siu Have you ever tried to rename the model?? Can you delete the model, download it again & try again, thanks a bunch!! Can also run Deepseek Coder 33B Instruct Q4 on my end:Screen.Recording.2024-10-21.at.7.23.34.PM.mov@J-Siu You may check out #3703 if you have encountered the same issue, we've been through many updates, the legacy model could be corrupted. |
This look like 3703 but not the same. In 3703 video, the model started. In my case, the model did not start. I am deleting the model and downloading again. Will update soon. |
@imtuyethan I basically deleted the whole data directory and re-download everything to test. It is working now. The strange thing is I downloaded that model yesterday🤦♂️ However, there are lot of cortex error in app.log, is that normal:
|
Thanks, @J-Siu, for reporting, Cortex.cpp is going through a lot of refactoring right now to stabilize the app eventually, thanks for being patient with us. @namchuai @vansangpfiev Can you guys help take a look at the Cortex logs, thank you! |
@imtuyethan Thanks for the reply. Closing this as the original issue is fixed. PS: I went through the app.log again. It seems to me the log level of those errors are set wrong, maybe they should be "INFO" instead of "ERROR"? Let me know if you want me to open a new issue for the cortex error. |
@J-Siu That would be great, the Cortex team usually only triages bugs reported in their repo: https://github.com/janhq/cortex.cpp |
@J-Siu I'll relay this message to the Cortex team - I think this is a really great reminder and thanks for holding us to coding best practices 🙏 |
I think I narrow down the issue. On MacOS, and Jan data folder on external drive format as exfat, which is the default for most external ssd.
The issue go away yesterday when I moved the data folder to one of my apfs ssd for testing. However, once I moved it back to a exfat ssd, issue come back. My Jan data folder was on my exfat ssd for a long time (I was the one asking for a warning popup when moving the data folder in discord, so it must be awhile). Not sure what changed. |
The extfs / "._" file issue seems to affect multiple apps/tools I use. I am throwing in the towel and switching all my MacOS data drive to apfs😭 I did some searching and found https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them This seems to be affecting .git directory too, and that is the final straw for me. Let me know if you want me close this. |
@J-Siu Thanks for the detailed investigation! Seems like it is a known MacOS behavior with exFAT drives. Since this affects multiple apps/tools (not just Jan), switching to APFS was definitely the right call. I'll add a note to our docs to recommend using APFS over exFAT for storing Jan's data folder on MacOS to help other users avoid this issue. |
@imtuyethan Maybe Jan should refuse to create data folder on ExtFS with a pop-up (unless you go the route of updating file access call on MacOS🤣). And a popup warning for people already have their data folder on ExtFS. |
Jan version
0.5.6
Describe the Bug
When I try to use "Codestral 22B Q4", prompt give no response. The app.log says failed to load.
In the log it is trying to load:
'/Volumes/T7B01/ai/jan/models/codestral-22b/._Codestral-22B-v0.1-Q4_K_M.gguf'
I check the folder, the actual file should be:
'/Volumes/T7B01/ai/jan/models/codestral-22b/Codestral-22B-v0.1-Q4_K_M.gguf'
PS: Same thing happen to
Deepseek Coder 33B Instruct Q4
. Jan try to load file starting with._
, which does not exist.Steps to Reproduce
Screenshots / Logs
What is your OS?
The text was updated successfully, but these errors were encountered: