Commit Graph

9 Commits

Author SHA1 Message Date
Aymeric Roucher fa1f8d0154
Add CLI for smolagents (#431)
---------

Co-authored-by: Merve Noyan <merveenoyan@gmail.com>
2025-01-30 15:56:50 +01:00
Lucain d19ebc7a48
Make import time faster (optional deps + delay imports) (#253)
* adapt docs

* optional in pyproject.toml

* get rid of some transformers imports

* optional transformers in models.py

* gradio, transformers, litellm

* small refacto AgentType

* merge conflicts

* mouaif

* fix tests

* AgentText no longer a str

* Add back AgentType as str/Image

* fixed for good
2025-01-20 10:59:43 +01:00
Albert Villanova del Moral 58b18f5655
Remove dependency on _is_package_available from transformers (#247) 2025-01-17 18:38:33 +01:00
Aymeric Roucher eca83800e3
Halve import time by removing torch dependency (#147)
* Halve import time by removing torch dependency
2025-01-10 15:00:28 +01:00
Aymeric c22fedaee1 Sort imports and add test workflows 2025-01-06 21:48:15 +01:00
Aymeric 54d6857da2 Pass tests 2024-12-30 18:03:53 +01:00
Aymeric edb0be3adf Change all names to 'smolagent' 2024-12-24 10:31:36 +01:00
Aymeric 17e05efb70 Formatting 2024-12-16 15:55:00 +01:00
Aymeric 9232528232 Add examples to use any LLM as engine 2024-12-13 19:48:55 +01:00