Get this error when running trainer.fit() #58

Open
opened 2025-11-02 00:02:45 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @rahzaazhar on GitHub (Dec 2, 2023).

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

Originally created by @rahzaazhar on GitHub (Dec 2, 2023). 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
Author
Owner

@yashpaneliya commented on GitHub (Jan 18, 2024):

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 commented on GitHub (Jan 18, 2024): I changed the directory path in RunConfig and it worked for me. Give your local directory path. ```python run_config = RunConfig(name="llm", checkpoint_config=checkpoint_config, storage_path=Path('./').resolve()) ```
Author
Owner

@jgtiu commented on GitHub (May 26, 2024):

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 commented on GitHub (May 26, 2024): I also ran the notebook on a Windows machine. This worked for me: ```python run_config = RunConfig( name="llm", checkpoint_config=checkpoint_config, storage_path=os.path.join(os.path.expanduser("~"), "ray_results") ) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/Made-With-ML#58