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

Method clip2_file

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

Source from the content-addressed store, hash-verified

491 }
492
493 fn clip2_file(&self, use_f16: bool) -> &'static str {
494 match self {
495 Self::V1_5 | Self::V2_1 | Self::Xl | Self::Turbo => {
496 if use_f16 {
497 "text_encoder_2/model.fp16.safetensors"
498 } else {
499 "text_encoder_2/model.safetensors"
500 }
501 }
502 }
503 }
504}

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected