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

📦 Update transformers to min of 4.36.0 to get new caching module #310

Merged
merged 8 commits into from
Feb 1, 2024

Conversation

gkumbhat
Copy link
Collaborator

@gkumbhat gkumbhat commented Jan 29, 2024

Changes

  • Update peft to make it work with llama models. This PR will take care of Bump peft from 0.6.0 to 0.7 #305
  • Update transformers library to make it work with new caching module required by llama models
  • Add granite_modeling_llama module that declares, defines and registers new transformers model type (gpt_megatron) into transformers causal lm registry thus allowing us to load sphinx / granite models with AutoModelForCausalLM and prompt tune those.
  • Integrate granite_modeling_llama script into causal-lm resource.
  • Fix bug to provide safe deletion of model config attribute
  • Fix bug to use torch_dtype at load time for prompt tuning local inferencing

Copy link
Collaborator

@evaline-ju evaline-ju left a comment

Choose a reason for hiding this comment

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

LGTM!

pyproject.toml Show resolved Hide resolved
@gkumbhat gkumbhat merged commit aa066f8 into caikit:release-0.3 Feb 1, 2024
4 checks passed
@gkumbhat gkumbhat deleted the add_granite_modeling_llama branch February 1, 2024 19:56
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.

2 participants