Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Performance decrease with pypi's mxnet==1.4.0 (Mac) #14563

@fhieber

Description

@fhieber

I am experiencing significant slowdowns with the latest pypi release of mxnet==1.4.0 on MacOs when running transformer training with Sockeye:

mxnet==1.3.1
[INFO:sockeye.training] Checkpoint [1]	Updates=1000 Epoch=1 Samples=16000 Time-cost=13.735 Updates/sec=72.805

Mxnet==1.4.0
[INFO:sockeye.training] Checkpoint [1]	Updates=1000 Epoch=1 Samples=16000 Time-cost=20.084 Updates/sec=49.791

mxnet-mkl==1.3.1
[INFO:sockeye.training] Checkpoint [1]	Updates=1000 Epoch=1 Samples=16000 Time-cost=15.200 Updates/sec=65.791

mxnet-mkl==1.4.0
[INFO:sockeye.training] Checkpoint [1]	Updates=1000 Epoch=1 Samples=16000 Time-cost=23.078 Updates/sec=43.331

Interestingly, this difference in performance does not exist on a Linux machine (with or without GPU). That is, I don't see any difference in speed between Linux' mxnet-cu92==1.3.1 and mxnet-cu92==1.4.0.post0, or mxnet==1.3.1 and mxnet==1.4.0.post0:

Note that the Linux packages all install a 1.4.0.post0 version that doesnt' seem to exist for MacOs. Is there a reason for that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions