Code Monkey home page Code Monkey logo

Comments (3)

Flux9665 avatar Flux9665 commented on August 20, 2024

Hi! Unfortunately I have no idea how to optimize for apple silicon chips, neither do I have access to a Mac or even any device running MacOS.

I update the requirements from time to time and make sure that pip install -r requirements.txt is sufficient to get everything running on windows and most linux systems. There are very few dependencies, I try to keep everything self-contained. And I'm always looking to remove existing dependencies and replace them with self-contained solutions. The speaker embedding will soon be replaced with something built in-house, but for phonemizing, espeak-ng will probably remain as the most tricky dependency if it's not shipped by default with a system.

IMS-Toucan is somewhere between a toolkit, a framework and a library, but mostly leaning towards toolkit. So it is not meant as a standalone application, it's just my way to share my research in a somewhat practical format. The way we use it in other projects is that we take the components that we need for that project and integrate them in the other codebase. If you want to figure out installation instructions for Apple Silicon devices, I'll gladly add them to the readme though :)

from ims-toucan.

CharlieMcVicker avatar CharlieMcVicker commented on August 20, 2024

Okay. I will take a look and see what I can figure out.

Thanks for the response!

from ims-toucan.

CharlieMcVicker avatar CharlieMcVicker commented on August 20, 2024

The following Dockerfile builds and installs everything from requirements.txt for IMS-Toucan, though I haven't tested calling into the toolkit to ensure everything is linked properly (as I'm guessing running via Rosetta 2 even inference will be very slow), and for the reasons I mention below.

FROM python:3.8.13

# install deps for python packages
RUN apt update
RUN apt install -y make cmake gcc g++ gfortran

WORKDIR app/
# install python packages
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN pip install torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html

COPY . .

Unfortunately, CherokeeLanguage/IMS-Toucan has diverged slightly and now uses conda, so I'm looking into a micromamba-based image for CherokeeLanguage/IMS-Toucan.

That said, I will leave the pip-based image here in case anyone starting a new project wants a working docker build.

from ims-toucan.

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.