Skip to content

clean up gguf doc #416

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

Merged
merged 4 commits into from
Apr 23, 2024
Merged

clean up gguf doc #416

merged 4 commits into from
Apr 23, 2024

Conversation

metascroy
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 23, 2024
@metascroy metascroy requested review from orionr, mikekgfb and byjlw April 23, 2024 20:29
Copy link
Contributor

@mikekgfb mikekgfb left a comment

Choose a reason for hiding this comment

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

Thank you!

docs/GGUF.md Outdated
python torchchat.py export --gguf-path ${GGUF_MODEL_PATH} --output-dso-path ${GGUF_SO_PATH}

# Generate using the PTE model that was created by the export command
python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --dso-path ${GGUF_SO_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "Once upon a time" --max-new-tokens 15
Copy link
Contributor

Choose a reason for hiding this comment

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

please use python3 everywhere since a python alias is not available on all systems.

docs/GGUF.md Outdated
```
# Convert the model for use
python torchchat.py export --gguf-path ${GGUF_MODEL_PATH} --output-pte-path ${GGUF_PTE_PATH}

# Generate using the PTE model that was created by the export command
python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --pte-path ${GGUF_PTE_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "In a faraway land" --max-new-tokens 20

python torchchat.py generate --gguf-path ${GGUF_MODEL_PATH} --pte-path ${GGUF_PTE_PATH} --tokenizer-path ${GGUF_TOKENIZER_PATH} --temperature 0 --prompt "Once upon a time" --max-new-tokens 15
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto, here and elsewhere

@metascroy metascroy merged commit ea62e84 into main Apr 23, 2024
@malfet malfet deleted the gguf-doc-cleanup branch April 30, 2024 16:50
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
malfet pushed a commit that referenced this pull request Jul 17, 2024
* clean up gguf doc

* update readme

* typo

* switch to python3
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.

4 participants