mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-13 05:48:56 +00:00
avoid build failure
This commit is contained in:
parent
b05b2b29a3
commit
08f4b18ed3
1
vae.hpp
1
vae.hpp
@ -529,6 +529,7 @@ struct VAE : public GGMLRunner {
|
|||||||
struct ggml_tensor** output,
|
struct ggml_tensor** output,
|
||||||
struct ggml_context* output_ctx) = 0;
|
struct ggml_context* output_ctx) = 0;
|
||||||
virtual void get_param_tensors(std::map<std::string, struct ggml_tensor*>& tensors, const std::string prefix) = 0;
|
virtual void get_param_tensors(std::map<std::string, struct ggml_tensor*>& tensors, const std::string prefix) = 0;
|
||||||
|
virtual void enable_conv2d_direct() {};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AutoEncoderKL : public VAE {
|
struct AutoEncoderKL : public VAE {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user