Coder Social home page Coder Social logo

Bert Demo Error(s) about tt-buda-demos HOT 6 CLOSED

danindiana avatar danindiana commented on June 18, 2024
Bert Demo Error(s)

from tt-buda-demos.

Comments (6)

milank94 avatar milank94 commented on June 18, 2024 2

Hi @danindiana

The version of pybuda you are running (v0.9.75) is not one of the stable released versions.

Could you please try on the latest stable release (v0.10.5) -- https://github.com/tenstorrent/tt-buda/releases/tag/v0.10.5.gs.240315

Before running it, check to see that the device is in a ok state by resetting the cores and trying the smoke test:

from tt-buda-demos.

danindiana avatar danindiana commented on June 18, 2024 1

Thanks for the link! Docker is up and running!

Howdy @milank94 so I attempted that pybuda build using 3.10.14 python on a fresh 20.04 build.

$tt-smi -r 0
Starting tensix reset on GS board at pci index 0
Lowering clks to safe value...
Beginning reset sequence...
Finishing reset sequence...
Returning clks to original values...
Finished tensix reset on GS board at pci index 0

Re-initializing boards after reset....
Detected Chips: 1
Detecting ARC: |
Detecting DRAM: |
[] ETH: |
(tsmi) smduck@calisota:/Downloads/tsmi/bin$ python3 --version
Python 3.10.14
(tsmi) smduck@calisota:
/Downloads/tsmi/bin$

Screenshot_2024-04-16_18-46-34

from tt-buda-demos.

milank94 avatar milank94 commented on June 18, 2024 1

Closing issue for now due to inactivity. @danindiana please re-open if the issue persists.

from tt-buda-demos.

danindiana avatar danindiana commented on June 18, 2024

@milank94 Ok so some building is required in the docker container? Assuming the software is configured to utilize the card (non-trivial) and one runs the docker then what? I guess one can git clone the demos and then attempt to run those, etc. I'll try to watch George Hotz's video which I have been meaning to do but got busy.

root@9a800b7acc08:/home/tt-buda-demos/model_demos/nlp_demos/falcon# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root@9a800b7acc08:/home/tt-buda-demos/model_demos/nlp_demos/falcon#

root@9a800b7acc08:/home/tt-buda-demos/model_demos/nlp_demos/falcon# python3 pytorch_falcon.py
2024-04-17 00:19:06.720 | INFO | Runtime - No silicon devices detected.
2024-04-17 00:19:06.721 | INFO | Runtime - No silicon devices detected.
Traceback (most recent call last):
File "pytorch_falcon.py", line 6, in
from nlp_demos.falcon.utils.model import Falcon
ModuleNotFoundError: No module named 'nlp_demos'

from tt-buda-demos.

danindiana avatar danindiana commented on June 18, 2024

I guess on the heels of that q here is another one:

mkdir pybud
smduck@calisota:/Downloads$ mv pybuda-v0.10.9.gs.240401-alpha-ubuntu-20-04-amd64-python3.8.zip /home/smduck/Downloads/pybud
smduck@calisota:
/Downloads$ cd pybud/
smduck@calisota:/Downloads/pybud$ ls
pybuda-v0.10.9.gs.240401-alpha-ubuntu-20-04-amd64-python3.8.zip
smduck@calisota:
/Downloads/pybud$ unzip pybuda-v0.10.9.gs.240401-alpha-ubuntu-20-04-amd64-python3.8.zip
Archive: pybuda-v0.10.9.gs.240401-alpha-ubuntu-20-04-amd64-python3.8.zip
inflating: manifest.yaml
inflating: pybuda-0.1.240401+dev.gs.c7ce1e7-cp38-cp38-linux_x86_64.whl
inflating: tvm-0.14.0+dev.tt.dfda3826c-cp38-cp38-linux_x86_64.whl
inflating: torchvision-0.16.0+fbb4cc5-cp38-cp38-linux_x86_64.whl
inflating: Dockerfile-release-ubuntu-20-04-amd64
smduck@calisota:/Downloads/pybud$ python3 -m venv env
smduck@calisota:
/Downloads/pybud$ source env/bin/activate
(env) smduck@calisota:/Downloads/pybud$ pip install pybuda-0.1.240401+dev.gs.c7ce1e7-cp38-cp38-linux_x86_64.whl tvm-0.14.0+dev.tt.dfda3826c-cp38-cp38-linux_x86_64.whl
Processing ./pybuda-0.1.240401+dev.gs.c7ce1e7-cp38-cp38-linux_x86_64.whl
ERROR: Invalid requirement: 'torch@ https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.1.0%2Bcpu.cxx11.abi-cp38-cp38-linux_x86_64.whl; python_version == "3.8"'
(env) smduck@calisota:
/Downloads/pybud$ python3 --version
Python 3.8.10
(env) smduck@calisota:/Downloads/pybud$ deactivate
smduck@calisota:
/Downloads/pybud$ python3.8 -m venv env38
smduck@calisota:/Downloads/pybud$ source env38/bin/activate
(env38) smduck@calisota:
/Downloads/pybud$ python3 --version
Python 3.8.10

from tt-buda-demos.

milank94 avatar milank94 commented on June 18, 2024

@danindiana Sorry I'm not clear on what the last comment is referring to or referencing.

Just some pointers:

from tt-buda-demos.

Related Issues (14)

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.