Commit History

clean
98c721e
Running

pediot commited on

Add background task for image cleanup and implement request count-based garbage collection
5571c62

pediot commited on

implement verify_token
df66e23

pediot commited on

clean
63bc8cc

pediot commited on

remove analyze_model_parameters function and add delete_images function for managing image resources.
31e72fa

pediot commited on

Update requirements.txt to upgrade torch to version 2.6.0 and add runtime.txt to specify Python version 3.9.6.
674915b

pediot commited on

normalize vectors
5cc3519

pediot commited on

wip
fdf1598

pediot commited on

Refactor app.py to comment out unused security-related code for cleaner implementation and potential future use.
67ff13f

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 requirements.txt to add numpy version 1.24.3 and ensure consistent dependency management.
5376b4a

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

Update requirements.txt to pin specific versions for dependencies and reorder entries for clarity.
4b8fc3b

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

wip
1cd439e

pediot commited on

first commit
88e0bae

pediot commited on

initial commit
3930c1a
verified

precove commited on