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 llama and test llama2 #515

Merged
merged 5 commits into from
Aug 9, 2023
Merged

fix llama and test llama2 #515

merged 5 commits into from
Aug 9, 2023

Conversation

xiezipeng-ML
Copy link
Contributor

@xiezipeng-ML xiezipeng-ML commented Aug 7, 2023

oneflow中需要支持一下pytorch中的【tensor.storage】Oneflow-Inc/oneflow#10311

报错:AttributeError: 'Parameter' object has no attribute 'storage'

报错原因,mock的方式运行llama2推理用到transformers,transformers库中在这个pr:【Support shared tensors】中更新了id_tensor_storage,用来优化checkpoint中共享的tensor重复占用空间。

@xiezipeng-ML xiezipeng-ML requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 8, 2023 10:28
@xiezipeng-ML xiezipeng-ML merged commit 722b5e3 into main Aug 9, 2023
2 checks passed
@xiezipeng-ML xiezipeng-ML deleted the dev_mock_llama2 branch August 9, 2023 01:41
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