Error: Library "torch_wrapper_types" is private, it cannot be a dependency of a public library. You need to give "torch_wrapper_types" a public name.
- Dominant language
- OCaml
- Stars
- 162
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
```bash
# dune build examples/llama2/llama2.exe
File "src/wrapper/dune", line 20, characters 49-68:
20 | (libraries ctypes.foreign ctypes torch_bindings torch_wrapper_types)
^^^^^^^^^^^^^^^^^^^
Error: Library "torch_wrapper_types" is private, it cannot be a dependency of
a public library. You need to give "torch_wrapper_types" a public name.
```
Contributor guide
Research direction
Start with the library declarations around line 20 of src/wrapper/dune and reproduce the failure with dune build examples/llama2/llama2.exe. Check the visibility of torch_wrapper_types and make the dependency acceptable to the public library; done when that build completes without the private-library error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100