Skip to content

Commit

Permalink
Rename altius_session_cpu to altius_session_clang
Browse files Browse the repository at this point in the history
  • Loading branch information
maekawatoshiki committed Sep 11, 2024
1 parent 078f665 commit 3f88d95
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/altius_py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
altius-core = { path = "../core" }
altius_session = { path = "../session" }
altius_session_cpu = { path = "../session_cpu" }
altius_session_clang = { path = "../session_cpu" }
altius_session_interpreter = { path = "../session_interpreter" }
pyo3 = { version = "^0.20.0", features = ["extension-module"] }
pyo3-log = "^0.9.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/altius_py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use altius_core::tensor::{TensorElemType, TensorElemTypeExt};
use altius_core::value::ValueId;
use altius_core::{model::Model, tensor::Tensor};
use altius_session::SessionError;
use altius_session_cpu::{CPUSession, CPUSessionBuilder};
use altius_session_clang::{CPUSession, CPUSessionBuilder};
use altius_session_interpreter::{InterpreterSession, InterpreterSessionBuilder};
use pyo3::{exceptions::PyRuntimeError, prelude::*, types::PyDict};

Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "altius_session_cpu"
name = "altius_session_clang"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/examples/deit_cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() {
use altius_core::optimize::gelu_fusion::fuse_gelu;
use altius_core::optimize::layer_norm_fusion::fuse_layer_norm;
use altius_core::{onnx::load_onnx, tensor::Tensor};
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use std::fs;

env_logger::init();
Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/examples/mnist_cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct Opt {
fn main() {
use altius_core::onnx::load_onnx;
use altius_core::tensor::*;
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use std::cmp::Ordering;
use std::fs;
use std::path::Path;
Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/examples/mobilenet_cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct Opt {

fn main() {
use altius_core::{onnx::load_onnx, tensor::Tensor};
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use std::cmp::Ordering;
use std::fs;
use std::path::Path;
Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/examples/vit_cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() {
use altius_core::optimize::gelu_fusion::fuse_gelu;
use altius_core::optimize::layer_norm_fusion::fuse_layer_norm;
use altius_core::{onnx::load_onnx, tensor::Tensor};
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use std::cmp::Ordering;
use std::fs;
use std::path::Path;
Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/tests/ops_bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use altius_core::{
op::Op,
tensor::{Tensor, TensorElemType, TypedFixedShape},
};
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use ndarray::CowArray;
use ort::{Environment, ExecutionProvider, SessionBuilder, Value};
use rayon::iter::{IntoParallelIterator, ParallelIterator};
Expand Down
2 changes: 1 addition & 1 deletion crates/session_cpu/tests/ops_conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use altius_core::{
op::{Conv2d, Op},
tensor::{Tensor, TensorElemType, TypedFixedShape},
};
use altius_session_cpu::CPUSessionBuilder;
use altius_session_clang::CPUSessionBuilder;
use ndarray::CowArray;
use ort::{Environment, ExecutionProvider, SessionBuilder, Value};

Expand Down

0 comments on commit 3f88d95

Please sign in to comment.