Made-With-ML icon indicating copy to clipboard operation
Made-With-ML copied to clipboard

Get this error when running trainer.fit()

Open rahzaazhar opened this issue 1 year ago • 2 comments

File "pyarrow\error.pxi", line 99, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: GetFileInfo() yielded path 'C:/Users/azhar/ray_results/llm', which is outside base dir 'C:/Users/azhar/ray_results\llm'

I am running the notebook on a windows machine

rahzaazhar avatar Dec 02 '23 16:12 rahzaazhar

I changed the directory path in RunConfig and it worked for me. Give your local directory path.

run_config = RunConfig(name="llm", checkpoint_config=checkpoint_config, storage_path=Path('./').resolve())

yashpaneliya avatar Jan 18 '24 06:01 yashpaneliya

I also ran the notebook on a Windows machine. This worked for me:

run_config = RunConfig(
    name="llm", checkpoint_config=checkpoint_config, storage_path=os.path.join(os.path.expanduser("~"), "ray_results")
)

jgtiu avatar May 26 '24 15:05 jgtiu