fclip / src /encoder.py

Commit History

  1. clean

    63bc8cc

  1. normalize vectors

    5cc3519

  1. wip

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

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

    895a755
  4. test

    49fe29c
  5. Add debug print statement in encoder.py to log HF_TOKEN for troubleshooting purposes.

    074eb54
  6. test

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

    e5ee3a4
  8. Refactor model initialization in encoder.py to use to_empty for improved device handling.

    5aab199
  9. Update device mapping in encoder.py to set device_map to None for improved flexibility in model initialization.

    2eb56eb
  10. wip

    168270d
  11. Add debug print statements in encoder.py for processor and model initialization

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

    d21f097
  13. debug

    6630c01
  14. Refactor Dockerfile and encoder.py to improve environment variable handling and model initialization

    c54b3d1

  1. first commit

    88e0bae