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

Fix xcomposer2d5 #3087

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Fix xcomposer2d5 #3087

merged 2 commits into from
Jan 27, 2025

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Jan 24, 2025

Motivation

#3079

@lvhan028 lvhan028 self-requested a review January 24, 2025 06:47
@@ -93,6 +93,7 @@ def __init__(self,
max_memory: Dict[int, int] = None,
hf_config: AutoConfig = None,
backend: str = ''):
model_path = model_path.rstrip(os.sep)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why model.path.rstrip is necessary?

@lvhan028 lvhan028 merged commit cde9b8a into InternLM:main Jan 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants