Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danielezhu
Copy link
Contributor

Description of changes:
This PR adds information to the troubleshooting section regarding Windows-specific issues that users may run into.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

nathanng17
nathanng17 previously approved these changes Mar 13, 2024
README.md Outdated
```

2. If you run into OOM errors, especially while running evaluations that use LLMs as evaluators like toxicity and
2. Due to `fmeval`'s use of [Ray](https://www.ray.io/), and the fact that [Ray on Windows is still in beta](https://docs.ray.io/en/latest/ray-overview/installation.html#windows-support), users running evaluations on Windows machines may encounter Windows-specific issues. For example, `ray.init()` may raise an OS error, as described in [this thread](https://discuss.ray.io/t/ray-init-raises-oserror-assignprocesstojobobject-failed/7018).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Could we simplify this sentence and explicitly direct users to the Ray website to view current limitations?

For example, "There are known limitations and issues when running fmeval on Windows due to fmeval's use of Ray and Ray's Windows support in beta. You can view more details on limitations of running Ray on Windows on Ray's webpage."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I'll create a separate line item for the specific OS error in that case.

README.md Outdated
```

2. If you run into OOM errors, especially while running evaluations that use LLMs as evaluators like toxicity and
2. Due to `fmeval`'s use of [Ray](https://www.ray.io/), and the fact that [Ray on Windows is still in beta](https://docs.ray.io/en/latest/ray-overview/installation.html#windows-support), users running evaluations on Windows machines may encounter Windows-specific issues. For example, `ray.init()` may raise an OS error, as described in [this thread](https://discuss.ray.io/t/ray-init-raises-oserror-assignprocesstojobobject-failed/7018).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: This seems to be an important limitation that users should know about. Should we move this to the first line item under Troubleshooting?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I was actually thinking of whether this deserves its own section, but I think I'll just put it at the top of Troubleshooting, like you've suggested.

oyangz
oyangz previously approved these changes Mar 13, 2024
@danielezhu danielezhu dismissed stale reviews from oyangz and nathanng17 via 4092776 March 13, 2024 18:03
@danielezhu danielezhu merged commit e53399f into aws:main Mar 13, 2024
@danielezhu danielezhu deleted the readme_windows branch March 13, 2024 18:30
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

Successfully merging this pull request may close these issues.

3 participants