Skip to content

feat(dipu): set pin_memory to false for unsupported vendor #898

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 2 commits into from
Jul 16, 2024

Conversation

Gong-air
Copy link
Collaborator

S2等没有实现pin_memory的vendor,需要在框架层对pin_memory设置为False,是不方便的。
因此在DIPU层对vendor进行判断,强行设置pin_memory为False,并打印相关LOG。

@Gong-air Gong-air requested a review from mrdanielw as a code owner July 15, 2024 08:45
@lljbash lljbash changed the title pin_memory set false for unsupported vendor feat(dipu): set pin_memory to false for unsupported vendor Jul 16, 2024
@lljbash lljbash requested review from lljbash and caikun-pjlab July 16, 2024 03:49
@fandaoyi fandaoyi merged commit 93d8013 into DeepLink-org:main Jul 16, 2024
28 of 30 checks passed
Wrench-Git pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this pull request Jul 16, 2024
…org#898)

* pin_memory set false for unsupported vendor

* python black
Wrench-Git pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this pull request Jul 16, 2024
…org#898)

* pin_memory set false for unsupported vendor

* python black
Wrench-Git pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this pull request Jul 16, 2024
…org#898)

* pin_memory set false for unsupported vendor

* python black
zhangzefeng92 pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this pull request Jul 18, 2024
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.

3 participants