Skip to content

Commit

Permalink
Removed luminal_symbolic
Browse files Browse the repository at this point in the history
  • Loading branch information
jafioti committed May 1, 2024
1 parent a29319e commit 2845324
Show file tree
Hide file tree
Showing 10 changed files with 196 additions and 219 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ description = "Deep learning at the speed of light."
license = "MIT OR Apache-2.0"

[dependencies]
luminal_symbolic = {path="./crates/luminal_symbolic"}
itertools = "0.11.0"
num-traits = "0.2.16"
petgraph = "0.6.4"
Expand All @@ -32,7 +31,6 @@ members = [
"crates/luminal_cpu",
"crates/luminal_nn",
"crates/luminal_training",
"crates/luminal_symbolic",
]
exclude = [
"crates/luminal_metal",
Expand Down
11 changes: 0 additions & 11 deletions crates/luminal_symbolic/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions crates/luminal_symbolic/src/lib.rs

This file was deleted.

103 changes: 0 additions & 103 deletions crates/luminal_symbolic/src/simplify.rs

This file was deleted.

62 changes: 0 additions & 62 deletions crates/luminal_symbolic/src/term.rs

This file was deleted.

24 changes: 0 additions & 24 deletions crates/luminal_symbolic/src/tests.rs

This file was deleted.

2 changes: 1 addition & 1 deletion crates/luminal_training/src/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn sgd(
/// Output: (New weight outputs, Learning Rate Tensor)
pub fn sgd_on_graph(
graph: &mut Graph,
old_weights: &impl ToIds,
old_weights: impl ToIds,
grads: &[(NodeIndex, ShapeTracker)],
) -> (Vec<NodeIndex>, GraphTensor<()>) {
let lr = graph.named_tensor("Learning Rate").set(3e-4).keep(); // Karpathy constant
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pub mod prelude {
pub use crate::op::*;
pub use crate::shape::*;
pub use half::{bf16, f16};
pub use luminal_symbolic::*;
pub use petgraph;
pub use petgraph::stable_graph::NodeIndex;
pub use tinyvec;
Expand Down
4 changes: 2 additions & 2 deletions src/shape/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ mod broadcast;
mod permute;
mod realize;
mod slice;
mod symbolic;
pub mod tracker;

pub use axes::*;
pub use broadcast::*;
pub use permute::*;
pub use realize::*;
pub use slice::*;
pub use symbolic::*;
pub use tracker::*;

use crate::prelude::*;

// This currently is a lot more complicated than it needs to be. Can it be simplified?

/// Represents a single dimension of a multi dimensional [Shape]
Expand Down
Loading

0 comments on commit 2845324

Please sign in to comment.