Skip to content

[DOC]: A bug about usage of booster api in the document #3897

@Fridge003

Description

@Fridge003

📚 The doc issue

zero_with_chunk and booster_api both used torch.optim.Adam as the type of optimizer in the code examples implemented with booster api. However, this will trigger an AssertionError when passing this kind of optimizer to booster.boost:

20230605-161741

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions