Coder Social home page Coder Social logo

Using cosmos with a cpu about cosmos HOT 11 CLOSED

uw-cosmos avatar uw-cosmos commented on August 20, 2024
Using cosmos with a cpu

from cosmos.

Comments (11)

ankur-gos avatar ankur-gos commented on August 20, 2024

Hi, thanks for pointing this out. The CPU images are not available in docker hub currently. I'll upload them soon.

from cosmos.

maxaalexeeva avatar maxaalexeeva commented on August 20, 2024

@ankur-gos, thanks! Do you happen to have an estimate of when those will be available?

In the meantime, do you by any chance have any sample files that different steps of your pipeline produce? (we are looking at using the output of your system as input for our event extraction pipeline; having some sample files would help us speed things up while the images are not available). Thank you!

@cl4yton, tagging you to keep you in the loop.

from cosmos.

ankur-gos avatar ankur-gos commented on August 20, 2024

I'll probably get around to uploading the CPU images next weekend, I still need to test some of the images on CPU (we all work generally in a GPU enabled environment). As for the sample outputs, I can add that sooner with some documentation explaining what options give what outputs.

from cosmos.

maxaalexeeva avatar maxaalexeeva commented on August 20, 2024

@ankur-gos, that would be extremely helpful! Thank you!

from cosmos.

ankur-gos avatar ankur-gos commented on August 20, 2024

@iross I haven't had any time to work on this. If you have a free cycle and can build and push these images, that would be great.

from cosmos.

iross avatar iross commented on August 20, 2024

Sorry about the delay! They've been pushed:

Defining

BASE_IMAGE=uwcosmos/cosmos-base-cpu
DETECT_IMAGE=uwcosmos/cosmos-ingestion-cpu
WORKER_IMAGE=uwcosmos/cosmos-ingestion-cpu

in the .env file and running:

docker-compose -f deployment/docker-compose-ingest.yml -p cosmos up

Worked as expected.

from cosmos.

maxaalexeeva avatar maxaalexeeva commented on August 20, 2024

@iross, thank you! That's great news!

@cl4yton, fyi

from cosmos.

cl4yton avatar cl4yton commented on August 20, 2024

from cosmos.

maxaalexeeva avatar maxaalexeeva commented on August 20, 2024

Hi @iross,

Do you happen to be familiar with this error?

docker-compose -f deployment/docker-compose-ingest.yml -p cosmos up
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use `docker stack deploy`.

Creating network "cosmos_swarm_network" with driver "overlay"
Starting cosmos_scheduler_1 ... error

ERROR: for cosmos_scheduler_1  Cannot start service scheduler: network cosmos_swarm_network not found

ERROR: for scheduler  Cannot start service scheduler: network cosmos_swarm_network not found
ERROR: Encountered errors while bringing up the project.

from cosmos.

ankur-gos avatar ankur-gos commented on August 20, 2024

There's probably weird things happening with artifacts being left around from previous attempts to up the container.

If you're running locally and able to, I would restart docker. Also try running

docker system prune

before upping the compose. There could be something weird also happening with swarm mode, I would try upping the container outside swarm mode, though I doubt that's the problem.

from cosmos.

maxaalexeeva avatar maxaalexeeva commented on August 20, 2024

@ankur-gos , thank you for the quick response! I will try that!

from cosmos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.