Skip to content

Commit fdc172a

Browse files
committed
Luminal code port. Compiles, runs fail
1 parent 7e24051 commit fdc172a

55 files changed

Lines changed: 6804 additions & 12774 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 675 additions & 535 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
candle-core = "0.9.1"
8-
candle-nn = "0.9.1"
7+
luminal = {path="/home/andrew/code/luminal"}
8+
luminal_training = {path="/home/andrew/code/luminal/crates/luminal_training"}
99
serde = { version = "1.0", features = ["derive"] }
1010
thiserror = "2.0.12"
1111
rand = { version = "0.9.1", features = ["small_rng", "std"] }
@@ -29,12 +29,9 @@ rand_chacha = "0.9.0"
2929
rayon = "1.10.0"
3030
html-escape = "0.2.13"
3131
itertools = "0.13.0"
32+
dfdx = { version = "0.13", features = ["f16"] }
33+
luminal_nn = {path="/home/andrew/code/luminal/crates/luminal_nn"}
3234

3335
[features]
34-
default = ["plotting", "onednn"]
35-
plotting = ["plotters"]
36-
onednn = ["onednnl"]
37-
38-
[dependencies.onednnl]
39-
version = "0.0.1"
40-
optional = true
36+
default = ["plotting"]
37+
plotting = ["plotters"]

examples/basic_usage.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//! - Analyze the results
88
99
use anyhow::Result;
10-
use candle_core::{Device, Tensor};
1110
use qqn_optimizer::benchmarks::analytic_functions::RosenbrockFunction;
1211
use qqn_optimizer::line_search::{LineSearchConfig, LineSearchMethod};
1312
use qqn_optimizer::utils::math::SeparateFunctions;

examples/custom_problem.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//! - Comparing performance
88
99
use anyhow::Result;
10-
use candle_core::{Device, Tensor};
1110
use qqn_optimizer::utils::math::DifferentiableFunction;
1211
use qqn_optimizer::{
1312
LBFGSConfig, LBFGSOptimizer, OptimizationProblem, Optimizer, QQNConfig, QQNOptimizer,

0 commit comments

Comments
 (0)