Spaces:
mashroo
/
Running on Zero

Commit History

Ensure input tensor is on the same device as model weights in FrozenOpenCLIPEmbedder. This change improves compatibility and performance by preventing device mismatch during image encoding.
1dfd90b

YoussefAnso commited on

Enhance token handling in FrozenOpenCLIPEmbedder by adding device checks and conversions. This update ensures that input tokens are correctly processed as torch tensors on the appropriate device, improving compatibility and performance across different hardware configurations.
566832c

YoussefAnso commited on

Refactor device handling across multiple modules to enforce CUDA usage explicitly. This change ensures consistent device allocation for model operations, enhancing performance on systems with GPU support while maintaining compatibility.
fdeb0ad

YoussefAnso commited on

Update device handling across multiple modules to support automatic selection of CUDA or CPU based on availability. This change enhances compatibility and performance on systems with or without GPU support, ensuring consistent behavior in model loading and data processing.
597a667

YoussefAnso commited on

Update default device setting to CPU in encoder modules for improved compatibility across systems without GPU support.
3e7ee7c

YoussefAnso commited on

init
f4e8cf6

Zhengyi commited on