Skip to content

Conversation

@microsoft-fevieira
Copy link
Contributor

No description provided.

url=
"https://github.com/microsoft/DeepSpeedExamples/tree/master/applications/DeepSpeed-Chat",
include_package_data=True,
packages=setuptools.find_packages(include=['deepspeed_chat']),
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's name the package deepspeed-chat (There is a package named deepspeed-mii) so let's follow the convention of hyphen instead of underscore.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jeffra and I discussed this a bit. Let me write what we decided here. PyPI name will be deepspeed-chat and the python package will be dschat since python imports won't work with hyphens

import setuptools

setuptools.setup(
name="deepspeed-chat",
Copy link
Contributor

Choose a reason for hiding this comment

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

@mrwyattii - looks like we are thinking of making this into a python package, should we add scripts to publish this then?

install_requires=[
"datasets>=2.8.0", "sentencepiece>=0.1.97", "protobuf==3.20.3",
"accelerate>=0.15.0", "torch>=1.12.0", "deepspeed>=0.9.2",
"transformers", "tensorboard"
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe our transformers dependency here is not open, looking at the original requirements.txt that is: https://github.com/microsoft/DeepSpeedExamples/blob/60e412eaa7275212e240f31055fc8b814ebe653f/applications/DeepSpeed-Chat/requirements.txt#L7

@jeffra jeffra merged commit e86d0c6 into deepspeedai:master Nov 6, 2023
mrwyattii pushed a commit to deepspeedai/DeepSpeed that referenced this pull request Nov 8, 2023
This PR updates the ds-chat workflow to work with the `deepspeed-chat`
install once this PR completes in DeepSpeedExamples:
deepspeedai/DeepSpeedExamples#731

Manual workflow run:

https://github.com/microsoft/DeepSpeed/actions/runs/6738638809/job/18318636818
mauryaavinash95 pushed a commit to mauryaavinash95/DeepSpeed that referenced this pull request Feb 17, 2024
…i#4598)

This PR updates the ds-chat workflow to work with the `deepspeed-chat`
install once this PR completes in DeepSpeedExamples:
deepspeedai/DeepSpeedExamples#731

Manual workflow run:

https://github.com/microsoft/DeepSpeed/actions/runs/6738638809/job/18318636818
hwchen2017 pushed a commit that referenced this pull request Jun 8, 2025
Co-authored-by: Ammar Ahmad Awan <ammar.awan@microsoft.com>
Co-authored-by: Michael Santacroce <santacml@users.noreply.github.com>
Co-authored-by: Lev Kurilenko <lekurile@microsoft.com>
Co-authored-by: Lev Kurilenko <113481193+lekurile@users.noreply.github.com>
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.

6 participants