Skip to content

BugFix: adapt paged_attention_example to current pypto API#3

Open
dengyiping2014 wants to merge 1 commit intohw-native-sys:mainfrom
dengyiping2014:main
Open

BugFix: adapt paged_attention_example to current pypto API#3
dengyiping2014 wants to merge 1 commit intohw-native-sys:mainfrom
dengyiping2014:main

Conversation

@dengyiping2014
Copy link

  • Move transpose from pl.move() to pl.load() (transpose param in load only)
  • Remove shapes arg from pl.store() (API: store(tile, offsets, output_tensor))
  • Replace pl.block.full with pl.tile.full
  • Fix BackendType.CCE -> BackendType.Ascend910B_PTO

Made-with: Cursor

- Move transpose from pl.move() to pl.load() (transpose param in load only)
- Remove shapes arg from pl.store() (API: store(tile, offsets, output_tensor))
- Replace pl.block.full with pl.tile.full
- Fix BackendType.CCE -> BackendType.Ascend910B_PTO

Made-with: Cursor
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.

1 participant