Skip to content
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

Intel ARC/XPU Improvements #2052

Merged
merged 10 commits into from
Jul 23, 2023
Merged

Conversation

Steve-Tech
Copy link
Contributor

Why are these changes needed?

  • I wasn't clearing the cache after conversations before, now it's fixed.
  • The --gpus arg should work to select between multiple Intel GPUs now (but I only have one so I can't really test it).
  • IPEX was broken in the model workers for the web UI (weirdly, just moving import touch up a few lines fixed it).

Also, for a while float16 was broken on Intel but it seems fixed now, I was wondering should I use float16 so it's consistent with cuda and metal or just stick with bfloat16?

Related issue number (if applicable)

N/A

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

fastchat/serve/model_worker.py Outdated Show resolved Hide resolved
fastchat/serve/multi_model_worker.py Outdated Show resolved Hide resolved
fastchat/serve/multi_model_worker.py Outdated Show resolved Hide resolved
@merrymercy merrymercy merged commit 2c7f31a into lm-sys:main Jul 23, 2023
1 check passed
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.

None yet

2 participants