fclip / src /encoder.py

Commit History

wip
fdf1598
Running

pediot commited on

Refactor encoder.py to remove debug print statements and ensure inputs are moved to the correct device for text and image encoding.
ab3f0c3

pediot commited on

Update Dockerfile to set HF_TOKEN as an environment variable and remove debug print statements from encoder.py for cleaner code.
895a755

pediot commited on

test
49fe29c

pediot commited on

Add debug print statement in encoder.py to log HF_TOKEN for troubleshooting purposes.
074eb54

pediot commited on

test
4b3c8a0

pediot commited on

Update requirements.txt for version pinning and add new dependencies; refactor model initialization in encoder.py to streamline device handling.
e5ee3a4

pediot commited on

Refactor model initialization in encoder.py to use to_empty for improved device handling.
5aab199

pediot commited on

Update device mapping in encoder.py to set device_map to None for improved flexibility in model initialization.
2eb56eb

pediot commited on

wip
168270d

pediot commited on

Add debug print statements in encoder.py for processor and model initialization
c818587

pediot commited on

Fix model initialization in encoder.py to handle exceptions more gracefully and ensure proper device mapping.
d21f097

pediot commited on

debug
6630c01

pediot commited on

Refactor Dockerfile and encoder.py to improve environment variable handling and model initialization
c54b3d1

pediot commited on

first commit
88e0bae

pediot commited on