@@ -5,33 +5,33 @@ ifneq (,$(wildcard ./.env))
5
5
endif
6
6
7
7
# ##############################################################################
8
- .PHONY : launch # | Run with INFO log-level in release mode
8
+ .PHONY : launch # | Run with INFO logs in release mode
9
9
launch :
10
- RUST_LOG=warn ,dkn_compute=info cargo run --release
10
+ RUST_LOG=none ,dkn_compute=info cargo run --release
11
11
12
- .PHONY : run # | Run with INFO log-level
12
+ .PHONY : run # | Run with INFO logs
13
13
run :
14
14
RUST_LOG=none,dkn_compute=info cargo run
15
15
16
- .PHONY : debug # | Run with DEBUG log-level with INFO log-level workflows
16
+ .PHONY : debug # | Run with DEBUG logs with INFO log-level workflows
17
17
debug :
18
18
RUST_LOG=warn,dkn_compute=debug,ollama_workflows=info cargo run
19
19
20
- .PHONY : trace # | Run with crate-level TRACE logging
20
+ .PHONY : trace # | Run with TRACE logs
21
21
trace :
22
- RUST_LOG=none ,dkn_compute=trace,libp2p=debug cargo run
22
+ RUST_LOG=warn ,dkn_compute=trace,libp2p=debug cargo run
23
23
24
24
.PHONY : build # | Build
25
25
build :
26
26
cargo build
27
27
28
- .PHONY : profile-cpu # | Profile CPU usage with flamegraph
28
+ .PHONY : profile-cpu # | Profile CPU usage with flamegraph
29
29
profile-cpu :
30
30
cargo flamegraph --root --profile=profiling --features=profiling
31
31
32
- .PHONY : profile-mem # | Profile memory usage with instruments
32
+ .PHONY : profile-mem # | Profile memory usage with instruments
33
33
profile-mem :
34
- cargo instruments --profile=profiling --features=profiling -t Leaks
34
+ cargo instruments --profile=profiling --features=profiling -t Allocations
35
35
36
36
.PHONY : version # | Print version
37
37
version :
@@ -42,17 +42,12 @@ version:
42
42
test :
43
43
cargo test
44
44
45
- # ##############################################################################
46
- .PHONY : prompt # | Run a single prompt on a model
47
- prompt :
48
- cargo run --example prompt
49
-
50
45
# ##############################################################################
51
- .PHONY : lint # | Run clippy
46
+ .PHONY : lint # | Run linter ( clippy)
52
47
lint :
53
48
cargo clippy
54
49
55
- .PHONY : format # | Run formatter
50
+ .PHONY : format # | Run formatter (cargo fmt)
56
51
format :
57
52
cargo fmt -v
58
53
0 commit comments