Skip to content

cmake issue with tensors.proto #48

@aleksei-tro

Description

@aleksei-tro

Trying to follow the instructions to build API interface. cmake runs fine, but cmake --build failswith the following

➜  api-interfaces git:(main) ✗ cmake --build .
[  2%] Generating gooseai/dashboard/dashboard_grpc.py
/Users/user/Desktop/generators/stability-diffusion/api-interfaces/src/tensorizer/proto: warning: directory does not exist.
[  5%] Generating gooseai/generation/generation_grpc.py
/Users/user/Desktop/generators/stability-diffusion/api-interfaces/src/tensorizer/proto: warning: directory does not exist.
tensors.proto: File not found.
generation.proto:4:1: Import "tensors.proto" was not found or had errors.
generation.proto:51:5: "tensors.Tensor" is not defined.
make[2]: *** [gooseai/generation/generation_grpc.py] Error 1
make[1]: *** [CMakeFiles/generated.dir/all] Error 2
make: *** [all] Error 2
➜  api-interfaces git:(main) ✗

Are there some undocumented dependencies I need to install?
I'm actually only interested in TS/JS, is it possible to make cmake only build those and bypass python altogether

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