mirror of
https://github.com/nomic-ai/kompute.git
synced 2026-05-11 08:59:59 +00:00
updated pytests and fixed dangling spdlog code in python main.cpp
This commit is contained in:
@@ -11,8 +11,6 @@ namespace py = pybind11;
|
||||
py::object kp_debug, kp_info, kp_warning, kp_error;
|
||||
|
||||
PYBIND11_MODULE(kp, m) {
|
||||
spdlog::set_level(
|
||||
static_cast<spdlog::level::level_enum>(0));
|
||||
|
||||
// The logging modules are used in the Kompute.hpp file
|
||||
py::module_ logging = py::module_::import("logging");
|
||||
|
||||
@@ -41,7 +41,7 @@ def test_opalgobase_file():
|
||||
mgr = kp.Manager()
|
||||
mgr.rebuild([tensor_in_a, tensor_in_b, tensor_out])
|
||||
|
||||
shader_path = os.path.join(DIRNAME, "../../shaders/glsl/opmult.comp")
|
||||
shader_path = os.path.join(DIRNAME, "../../shaders/glsl/opmult.comp.spv")
|
||||
|
||||
mgr.eval_algo_file_def([tensor_in_a, tensor_in_b, tensor_out], shader_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user