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

[Droid] Add Truss Example for Databricks DBRX-Instruct Model #264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

factory-droid[bot]
Copy link

@factory-droid factory-droid bot commented Apr 17, 2024

Rotor

Summary of Changes

This PR introduces a new Truss example for the Databricks DBRX-Instruct model. The new example includes a directory structure, a populated config.yaml file, implemented model loading and prediction code, and a README file. The config.yaml file specifies the model name, Python version, required Python packages, and resource requirements. The model.py file includes the Model class with methods for loading the model, preprocessing input, generating predictions, and postprocessing output. The README provides an overview of the model, deployment instructions, API documentation, and example usage. All changes have been validated and all unit tests have passed.

Fixes BT-10525

Tips

  • If you review this pull request, I will attempt to address your feedback by pushing an update. You may also leave a comment and tag @droid.

…ated the directory structure, populated the config.yaml file, implemented the model loading and prediction code, and added a README. Also ran validation checks and unit tests.
Copy link

linear bot commented Apr 17, 2024

BT-10525 create dbrx truss

Copy link
Author

factory-droid bot commented Apr 17, 2024

Important

Solutions for GitHub Action Failures - 88f33e4 - 1

PR

To fix the error, ensure that all files in the repository do not contain trailing whitespace before committing changes. This can be done by running the trim command in a Unix-like environment or using an Integrated Development Environment (IDE) that automatically removes trailing whitespace. Here is an example of how to trim trailing whitespace using the sed command in Unix:

sed -i 's/[ \t]*$//' mistral/mixtral-8x22b/README.md

This command will remove trailing whitespace from the mistral/mixtral-8x22b/README.md file. You should run a similar command for all files in your repository before committing changes.

Details The `poetry run pre-commit run --all-files` command failed due to trailing whitespace in some files. This resulted in modifications by the pre-commit hook, causing the process to exit with code 1. The file that was modified by the hook is `mistral/mixtral-8x22b/README.md`. The unified diff does not show any changes in this file, which means the trailing whitespace was likely removed by the pre-commit hook. To prevent this issue in the future, ensure that all files in the repository do not contain trailing whitespace before committing changes.

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.

0 participants