Skip to content

Anomaly detection with ML #3312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 48 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6d74ebb
init anomaly detection
Dewwi Jul 5, 2024
4f7f95d
up
Dewwi Jul 5, 2024
152862e
fix version
Dewwi Jul 5, 2024
dc053f3
up
Dewwi Jul 5, 2024
adcca1a
Adding ONNXRuntime build step
Dewwi Jul 5, 2024
043e0d8
Remove step
Dewwi Jul 8, 2024
48c97dd
Build onnxruntime for alpine
Dewwi Jul 8, 2024
ac814d7
Refacto and fix Dockerfile
Dewwi Aug 8, 2024
51797ea
Merge remote-tracking branch 'origin/master' into anomaly-detection
Dewwi Aug 8, 2024
bb62858
Change tokenizer settings
Dewwi Aug 9, 2024
858e06b
Fix truncation
Dewwi Aug 9, 2024
011f397
Add bundle
Dewwi Oct 30, 2024
0e92dcf
Merge remote-tracking branch 'origin/master' into anomaly-detection
Dewwi Oct 30, 2024
ad77770
cleanup
Dewwi Oct 30, 2024
c22a176
Fix tests
Dewwi Oct 30, 2024
5057ef3
add stub
Dewwi Oct 30, 2024
0a539c6
handle bundle with tmp directory
Dewwi Oct 30, 2024
b8e836b
component
Dewwi Oct 30, 2024
dfda42b
Name of the helper
Dewwi Oct 30, 2024
395e566
FileInit helpers
Dewwi Oct 30, 2024
acb160a
undo useless
Dewwi Oct 30, 2024
7f1c70b
Merge branch 'master' into anomaly-detection-mm
mmetc Nov 18, 2024
b7d1970
Merge branch 'master' into anomaly-detection
mmetc Nov 19, 2024
d841c65
BUILD_PROFILE=full; by default mlsupport is excluded
mmetc Nov 22, 2024
6f99b82
Merge branch 'master' into anomaly-detection
mmetc Nov 22, 2024
d84520d
update makefile for mlsupport deps
mmetc Nov 22, 2024
8e86398
makefile typo
mmetc Nov 25, 2024
53e4bc4
make: clone onnxruntime repo for include files
mmetc Nov 25, 2024
756b6cc
fix test and bundle path
Dewwi Dec 2, 2024
83e9de8
update dependency
Dewwi Dec 3, 2024
14b599c
update tokenizer
Dewwi Dec 3, 2024
c1b1beb
Merge branch 'master' into anomaly-detection
mmetc Dec 26, 2024
4211dcc
Merge branch 'master' into anomaly-detection
mmetc Dec 31, 2024
8797e1e
Merge branch 'master' into anomaly-detection
mmetc Feb 14, 2025
2afcb46
Merge branch 'master' into anomaly-detection
mmetc Feb 20, 2025
48d04ac
Merge branch 'master' into anomaly-detection
mmetc Mar 3, 2025
858cf1f
Merge branch 'master' into anomaly-detection
mmetc Mar 12, 2025
800c6a7
Merge branch 'master' into anomaly-detection
mmetc Mar 17, 2025
aa7a3d5
Merge branch 'master' into anomaly-detection
mmetc Mar 25, 2025
ce392c3
Merge branch 'master' into anomaly-detection
mmetc Apr 4, 2025
9c080aa
Merge branch 'master' into anomaly-detection
mmetc May 5, 2025
1300906
Merge branch 'master' into anomaly-detection
mmetc May 6, 2025
07b96ef
Merge branch 'master' into anomaly-detection
mmetc May 27, 2025
bcedd56
move test files to testdata/
mmetc Jun 20, 2025
542713c
Merge branch 'master' into anomaly-detection
mmetc Jun 20, 2025
a490738
Merge branch 'master' into anomaly-detection
mmetc Jun 30, 2025
e322156
Merge branch 'master' into anomaly-detection
mmetc Jul 4, 2025
49120e4
Merge branch 'master' into anomaly-detection
mmetc Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix version
  • Loading branch information
Dewwi committed Jul 5, 2024
commit 152862ee1c210b466011523f1c1990149fe32ba7
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN git clone https://github.com/daulet/tokenizers.git /tokenizer && \
FROM golang:1.22.4-alpine3.20 AS build

ARG BUILD_VERSION
ARG ONNXRUNTIME_VERSION=1.13.1
ARG ONNXRUNTIME_VERSION=1.12.1

WORKDIR /go/src/crowdsec

Expand Down Expand Up @@ -47,11 +47,6 @@ RUN cd /tmp && \
cp -R onnxruntime/include /usr/local && \
rm -rf onnxruntime


RUN ls -l /usr/local/lib/
RUN ls -l /usr/local/
RUN ls -l /usr/local/include/

RUN make clean release DOCKER_BUILD=1 BUILD_STATIC=0 CGO_CFLAGS="-D_LARGEFILE64_SOURCE -I/usr/local/include" \
CGO_LDFLAGS="-L/usr/local/lib -lonnxruntime -lstdc++ /usr/local/lib/libtokenizers.a -ldl -lm -L/usr/local/lib -lonnxruntime" \
CGO_CPPFLAGS="-I/usr/local/include" \
Expand Down