Skip to content

Commit

Permalink
chore: dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
FL33TW00D committed Jan 22, 2024
1 parent cb08cbd commit 3a761bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ratchet-core/src/tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ mod tests {

use super::*;

/*
#[test]
fn test_matmul() -> anyhow::Result<()> {
let device = Device::request_device(DeviceRequest::GPU)?;
Expand All @@ -426,6 +427,7 @@ mod tests {
let d = c.to(Device::CPU)?;
Ok(())
}
*/

#[test]
fn test_pyo3() -> anyhow::Result<()> {
Expand All @@ -448,6 +450,7 @@ mod tests {
"x",
)?;

println!("About to send tensors to python");
let py_a = a.to_py::<f32>(&py);
println!("Converted A to pyo3 array");
let py_b = b.to_py::<f32>(&py);
Expand Down

0 comments on commit 3a761bc

Please sign in to comment.