MCPcopy Create free account
hub / github.com/evilsocket/cake / vae_file

Method vae_file

cake-core/src/lib.rs:469–479  ·  view source on GitHub ↗
(&self, use_f16: bool)

Source from the content-addressed store, hash-verified

467 }
468
469 fn vae_file(&self, use_f16: bool) -> &'static str {
470 match self {
471 Self::V1_5 | Self::V2_1 | Self::Xl | Self::Turbo => {
472 if use_f16 {
473 "vae/diffusion_pytorch_model.fp16.safetensors"
474 } else {
475 "vae/diffusion_pytorch_model.safetensors"
476 }
477 }
478 }
479 }
480
481 fn clip_file(&self, use_f16: bool) -> &'static str {
482 match self {

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected