Skip to content

retag wheels to py37-none-<platform>#2180

Merged
wanghan-iapcm merged 4 commits intodeepmodeling:develfrom
njzjz:universal-wheels
Dec 15, 2022
Merged

retag wheels to py37-none-<platform>#2180
wanghan-iapcm merged 4 commits intodeepmodeling:develfrom
njzjz:universal-wheels

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Dec 13, 2022

Our wheels do not link against any Python ABIs. The libraries only link against TensorFlow ABIs. So it's safe to retag them to py37-none-<platform> but keep the platform tag. We only need to build the wheel once for a platform to reduce the CI time, and the wheel should work for all Python versions.

References: PEP 425

The binary in our wheels do not link Python libraries, so we can create universal wheels.
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz changed the title retag wheels py37-none-<platform> retag wheels to py37-none-<platform> Dec 13, 2022
@njzjz njzjz requested a review from wanghan-iapcm December 15, 2022 03:05
@wanghan-iapcm wanghan-iapcm merged commit f2ea58e into deepmodeling:devel Dec 15, 2022
wanghan-iapcm pushed a commit that referenced this pull request Dec 17, 2022
With #2180, now it only has 4 tasks to build wheels. But this task is
still so slow..

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Dec 18, 2022
With deepmodeling#2180, now it only has 4 tasks to build wheels. But this task is
still so slow..

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
Our wheels do not link against any Python ABIs. The libraries only link
against TensorFlow ABIs. So it's safe to retag them to
`py37-none-<platform>` but keep the platform tag. We only need to build
the wheel once for a platform to reduce the CI time, and the wheel
should work for all Python versions.

References: [PEP 425](https://peps.python.org/pep-0425/)

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
With deepmodeling#2180, now it only has 4 tasks to build wheels. But this task is
still so slow..

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
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