Skip to content

TypeError when trying to import Petals #368

@JohnDevlopment

Description

@JohnDevlopment

Following the instructions from the getting started guide, I installed Petals like so:
pip3 install git+https://github.com/bigscience-workshop/petals

But when I tried to import something from petals:

from petals import AutoDistributedModelForCausalLM

I get this error:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'

If I do import petals by itself, I get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions