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

chat mode improvements #244

Merged
merged 7 commits into from
Apr 17, 2024
Merged

chat mode improvements #244

merged 7 commits into from
Apr 17, 2024

Conversation

mikekgfb
Copy link
Contributor

chat mode improvements

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 17, 2024
cli.py Outdated
parser.add_argument(
"--is-chat-model",
action="store_true",
help="Use torchchat to for an interactive chat session.",
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't parse as written; delete "to"?

@swolchok
Copy link
Contributor

(not accepting because I don't know anything about chat mode)

@mikekgfb mikekgfb merged commit 3623645 into main Apr 17, 2024
13 of 17 checks passed
@mikekgfb mikekgfb deleted the chat_mode branch April 17, 2024 21:45
@@ -35,7 +35,8 @@ class BuilderArgs:
precision: torch.dtype = torch.float32
setup_caches: bool = False
use_tp: bool = False

is_chat_model: bool = False
Copy link
Contributor

Choose a reason for hiding this comment

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

want to make that the default?

malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
malfet pushed a commit that referenced this pull request Jul 17, 2024
* chat mode improvements

* disable int4 on macos/x86 because of old nightlies

* typo

* typo

* typo

* convert runtime error to arning

* wording of option texts
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 Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants