Conversion of Phi3 gives FileNotFoundError for AcceleratorSpec #1346
Closed
thomasjv799
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to convert Phi3 Model. My system has only CPU with 32 GB RAM. Model and package is downloaded however when I try to convert it crashes citing filenotfounderror. It is going to a temp folder to check for "cpu-cpu-model". I debugged and checked on that folder but no such file is there, only file there is a text file named "run_history_cpu-cpu".
File "D:\Olive\examples\phi3\phi3.py", line 353, in <module> main() File "D:\Olive\examples\phi3\phi3.py", line 175, in main hardlink_copy_dir( File "c:\Users\test\Anaconda3\envs\myenv\lib\site-packages\olive_ai-0.7.0-py3.10.egg\olive\common\utils.py", line 413, in hardlink_copy_dir copy_dir(src_dir, dst_dir, copy_function=hardlink_copy_file, dirs_exist_ok=True, **kwargs) File "c:\Users\test\Anaconda3\envs\myenv\lib\site-packages\olive_ai-0.7.0-py3.10.egg\olive\common\utils.py", line 347, in copy_dir shutil.copytree(src_dir, dst_dir, ignore=ignore, **kwargs) File "c:\Users\test\Anaconda3\envs\myenv\lib\shutil.py", line 554, in copytree with os.scandir(src) as itr: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\test\\AppData\\Local\\Temp\\tmps57t9bie\\lora-merge_adapter_weights-builder\\cpu-cpu_model'Beta Was this translation helpful? Give feedback.
All reactions