Skip to content

Commit 9157446

Browse files
Add inference-compiler extension (#2186)
* Add inference-compiler extension * Bump version * Fix issue with Jetson version * Adjust type of entity * Improve auto-detection of compilation mode * Adjust compilation inside docker container * Fix entrypoint bash * Add debug * Try to fix command * Fix command * Adjust compilation option * Add env file option * Add more display * re-raise error tmp * really dummy dumps * Disable verbose * Disable dummy prints * Pass console * Disable dummy dump * Enable yolo26 compilation * Add changes to make roboflow weights provider resilient for malformed packages manifests - ignoring them instead of raising error * Apply changes requested in CR * Update docs * Bump inference requirements
1 parent 8971f66 commit 9157446

36 files changed

Lines changed: 2574 additions & 47 deletions

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ LICENSE.core (Apache 2.0) applies to all files in this repository
22
except for files in or under any directory that contains a superseding
33
license file (such as the models located in `inference/models/`
44
which are governed by their own individual licenses and
5-
the files and folders in the `inference/enterprise/` directory which are
5+
the files and folders in the `inference/enterprise/` and `inference_cli/lib/enterprise/` directories which are
66
governed by the Roboflow Enterprise License located at
77
`inference/enterprise/LICENSE.txt`).

inference/core/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.2.2"
1+
__version__ = "1.2.3"
22

33

44
if __name__ == "__main__":
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
The Roboflow Enterprise License (the “Enterprise License”)
2+
Copyright (c) 2023 Roboflow Inc.
3+
4+
With regard to the Roboflow Software:
5+
6+
This software and associated documentation files (the "Software") may only be
7+
used in production, if you (and any entity that you represent) have accepted
8+
and are following the terms of a separate Roboflow Enterprise agreement
9+
that governs how you use the software.
10+
11+
Subject to the foregoing sentence, you are free to modify this Software and publish
12+
patches to the Software. You agree that Roboflow and/or its licensors (as applicable)
13+
retain all right, title and interest in and to all such modifications and/or patches,
14+
and all such modifications and/or patches may only be used, copied, modified,
15+
displayed, distributed, or otherwise exploited with a valid Roboflow Enterprise
16+
license for the correct number of seats, devices, inferences, and other
17+
usage metrics specified therein.
18+
19+
Notwithstanding the foregoing, you may copy and modify the Software for development
20+
and testing purposes, without requiring a subscription. You agree that Roboflow and/or
21+
its licensors (as applicable) retain all right, title and interest in and to all
22+
such modifications. You are not granted any other rights beyond what is expressly
23+
stated herein. Subject to the foregoing, it is forbidden to copy, merge, publish,
24+
distribute, sublicense, and/or sell the Software.
25+
26+
The full text of this Enterprise License shall be included in all copies or
27+
substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.
36+
37+
For all third party components incorporated into the Roboflow Software, those
38+
components are licensed under the original license provided by the owner of the
39+
applicable component.

inference_cli/lib/enterprise/__init__.py

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import typer
2+
3+
from inference_cli.lib.enterprise.inference_compiler.cli.core import (
4+
inference_compiler_app,
5+
)
6+
7+
enterprise_app = typer.Typer(help="Roboflow Enterprise commands")
8+
enterprise_app.add_typer(inference_compiler_app, name="inference-compiler")

inference_cli/lib/enterprise/inference_compiler/__init__.py

Whitespace-only changes.

inference_cli/lib/enterprise/inference_compiler/adapters/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)