no shapeless

pull/55/head
Kye 1 year ago
parent a085a1e233
commit 8bf8dc8946

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "1.5.4"
version = "1.5.7"
description = "Swarms - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
@ -42,7 +42,6 @@ ggl = "*"
beautifulsoup4 = "*"
pydantic = "*"
tenacity = "*"
celery = "*"
redis = "*"
Pillow = "*"
shapeless="*"

@ -1,5 +1,5 @@
#swarms
from swarms.orchestrator.autoscaler import AutoScaler
#from swarms.orchestrator.autoscaler import AutoScaler
# worker
# from swarms.workers.worker_node import WorkerNode

@ -1,6 +1,6 @@
from shapeless import shapeless
#from shapeless import shapeless
@shapeless
#@shapeless
class ErrorArtifact:
def __init__(
self,

@ -4,13 +4,13 @@ from time import sleep
from swarms.workers.worker import Worker
from swarms.utils.decorators import error_decorator, log_decorator, timing_decorator
from shapeless import shapeless
#from shapeless import shapeless
# TODO Handle task assignment and task delegation
# TODO: User task => decomposed into very small sub tasks => sub tasks assigned to workers => workers complete and update the swarm, can ask for help from other agents.
# TODO: Missing, Task Assignment, Task delegation, Task completion, Swarm level communication with vector db
@shapeless
#@shapeless
class AutoScaler:
@log_decorator
@error_decorator

@ -1,8 +1,8 @@
from abc import ABC
from shapeless import shapeless
#from shapeless import shapeless
@shapeless
#@shapeless
class BaseTask(ABC):
def __init__(
self,

@ -9,13 +9,13 @@ from logging import Logger
from typing import Optional, Union
from rich.logging import RichHandler
from shapeless import shapeless
#from shapeless import shapeless
from swarms.artifacts.error_artifact import ErrorArtifact
from swarms.structs.task import BaseTask
@shapeless
#@shapeless
class Workflow(ABC):
def __init__(
self,

Loading…
Cancel
Save