Skip to content

Conversation

@Xia-Weiwen
Copy link
Collaborator

Replace hardcoded cuda in the code with args.device.

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 9, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/1043

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 9e5cc72 with merge base 900f9ac (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 9, 2024
Copy link
Contributor

@vayuda vayuda left a comment

Choose a reason for hiding this comment

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

Good suggestion. Thought CPU was too slow so I didn't think about it.

@msaroufim msaroufim merged commit 107e378 into pytorch:main Oct 10, 2024
17 checks passed
@Xia-Weiwen
Copy link
Collaborator Author

@vayuda Thanks for reviewing and merging. We also need AWQ on Intel CPUs.

jainapurva pushed a commit that referenced this pull request Oct 15, 2024
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* Make API and server compatible with OpenAI API
Modified encode_message and encode_dialog_prompt methods in generate.py to resolve streamlit errors.

* Make API and server compatible with OpenAI API
Added changes to generate.py and browser.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants