Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

crash if compliing in debug mode, everything is ok if in release mode #75

@feixyz10

Description

@feixyz10

In CMakeLists.txt add set(CMAKE_BUILD_TYPE "Debug") after line 10, then run the excutable. The program crashed with following error message:

Assertion failed: (encoder_.size() != decoder_.size() && "Encoder and decoder must be of equal length; maybe you had duplicate token indices in your encoder?"), function tiktoken, file tiktoken.h, line 139.

My running env: macbook pro with MI chip, clang version 15.0.0.

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