-
Notifications
You must be signed in to change notification settings - Fork 17
Move deps to git submodule #89
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
Conversation
2ffafbd
to
2a512a4
Compare
@@ -0,0 +1,6 @@ | |||
[submodule "deps/JetStream"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean the default is head? In automation test or integration test, we would need the tag or commit id for the project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -158,20 +158,15 @@ def main(argv): | |||
decode_state, result_tokens = engine.generate(params, decode_state) | |||
result_tokens = result_tokens.convert_to_numpy() | |||
res = result_tokens.get_result_at_slot(slot) | |||
stop_tokens = set(tokenizer.tokenizer.stop_tokens) | |||
stop_tokens = set(tokenizer.stop_tokens) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JetStream didn't implement the stop_tokens for SentencePiece. You might need to add that function to JetStream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# print(Fore.GREEN + output_str, end="", flush=True) | ||
|
||
# print(Style.RESET_ALL + "\n") | ||
# print("---- Streaming decode finished.") | ||
|
||
print("---- All output tokens.") | ||
print(sampled_tokens_list) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried in my local, actually the decode function doesn't work. Not sure if it's my local env or not.
Uh oh!
There was an error while loading. Please reload this page.