Skip to content

pytorch_lightning输入不是valid JAX array type #3

@simjunjie

Description

@simjunjie

你好,我在用pytorch_lightning.LightningModule写了一个模型,在传输到SPU时出现error,说模型不是valid JAX array type。我的了解pytorch_lightning.LightningModule是pytorch的wrapper,文档我看到支持pytorch写到XLA。想问为什么会说需要JAX array呢?是不是需要用JAX/FLAX 来写我的模型?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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