The repo was Apache-2.0. The model it downloaded at runtime had no license at all. A developer building a commercial illustration-to-layered-file tool found that an Apache-2.0-licensed GitHub research project downloaded two models at runtime whose licenses were not covered by the repository's LICENSE file — one tagged apache-2.0 on Hugging Face and a depth model with no model card or license of any kind. The developer froze the self-serve product over the gap and now checks code, dependencies and model weights as separate licensing layers; by late September 2026 the maintainers had added openrail++ terms to both model cards, permitting commercial use with use restrictions passed on to redistributors and hosted services. In July I was planning a small commercial tool that turns a single character illustration into a layered, rig-ready file. The heavy lifting was going to come from an open-source research project I'd found on GitHub. It did what I needed on straightforward full-body characters, although it struggled with a voluminous costume and with a character whose face was hidden. The repository had an Apache-2.0 LICENSE file at the top level. I almost stopped checking there. I'm glad I didn't, because the part of that project that actually produced the output wasn't covered by that file at all. One of the two models its inference script downloads at runtime had no license of any kind. Not a restrictive license. Not a non-commercial license. Nothing. That finding was one of the two reasons I froze the self-serve version of the product. This post is about how I found it, the two tools that gave me a wrong or misleading answer along the way, and the checklist I use now. I'm not a lawyer, and nothing here is legal advice. It's an engineering post about where the license information actually lives in an ML project, and how easy it is to read the wrong layer. Update November 2026 . What follows is what I found in July. When I re-checked just before publishing, the picture had changed: in late September the maintainers added license terms to both of the models the inference script downloads. Both model cards now declare openrail++ . They state that the maintainers' own contributions are Apache-2.0, that the weights also inherit the licenses of the models they were derived from, that commercial use is permitted, and that anyone distributing the weights or a derivative of them, or hosting them as a service, has to pass the use restrictions on. My project log never records my inquiry as sent, so I'm not claiming any part in the change. I've kept the July account as it happened, because how the gap showed up is the point of this post. When you adopt an ML project, you are not adopting one thing. You are adopting at least three: requirements.txt , plus anything vendored into subfolders. Layers 1 and 2 behave like the open-source world most of us are used to. Layer 3 is where it gets strange, because the weights are a separate artifact, published separately, often by a different account, with their own license metadata — or without any. The project I was evaluating was clean on the first two layers. I went through the dependency list and checked licenses one by one — mostly against each project's own repository, sometimes against the license file shipped in the installed package. A few of Hugging Face's own supporting packages I didn't check repository by repository, and I marked them that way. Everything I did check was Apache-2.0, MIT, or BSD. No non-commercial dependency turned up on the core path. Then I opened the inference script. The script that turns an input image into the layered output takes the models it uses as command-line arguments, with defaults. Here are the two lines that matter, copied from the file with the repository names redacted: parser.add argument '--repo id layerdiff', default='