Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding project details and updating the LICENSE file to be within our… #32

Closed
wants to merge 493 commits into from

Conversation

staylorTT
Copy link
Contributor

This is my first TT PR so let me know if I messed up the process;

We needed to update the license file to be in the format we are expecting for some auto-checking.

I also added some details to the readme so it will have some self discovery.

kamalrajkannan78 and others added 30 commits March 28, 2024 14:32
(cherry picked from commit ff0b7ad57544ce156af4e7919839f12abc711bbf)
(cherry picked from commit d9c7f954ae480800e602f31d779f6dbc084151b5)
(cherry picked from commit b4d3e494d6ede3c1ad8e7a13f03cda1121aebc36)
…sis.

(cherry picked from commit c892a1e1bcd23987791f9bf6e4e27f637f5a0b4d)
(cherry picked from commit 23a75120b7e68e38b0a72911e0eea20b2f39d71b)
(cherry picked from commit 99bf945e46bfb37b57333ae7eb8467c5f3c32a70)
(cherry picked from commit 61630b40b87c93cabaae9e67042ca92faa2c9385)
…k models that use data format bfp8_b

(cherry picked from commit 2d827b7a5f686ccfd1c981632eb0e21cd4afb819)
…k models that use data format bfp8_b

(cherry picked from commit de0025b545bfb34381bf004d92e40195d0a79e05)
…k models that use data format bfp8_b

(cherry picked from commit 9b27b7644e9d5d65f6e8ac45380c0350cbd4002f)
…i for benchmark models that use data format bfp8_b

(cherry picked from commit 3f777b375e314ffce8402273ef182a44a19db66c)
…i2 to lofi for benchmark models that use data format bfp8_b

(cherry picked from commit 53ce7c7b444909a39186764fbe43eef5774664ef)
…i2 to lofi for benchmark models that use data format bfp8_b

(cherry picked from commit 3319aab1e9125f8a00f05acddcdb2fb0b6469782)
(cherry picked from commit 3bf5880e96f0576ac27ba0451abaa9554cf57389)
(cherry picked from commit 953a45221b3bbe6ba2330f2faf45f0479f0b27af)
(cherry picked from commit ceae3a2ce849f90d6e0c64cd6437e24b0001f23a)
(cherry picked from commit 2553f57e410988362b305b3bf8008e3652410415)
(cherry picked from commit a18f8b32dd8d4b913cf011395f7d6e2065ed818c)
(cherry picked from commit 5fb09ba4d26011b302e60297b83352031ccfd7c0)
(cherry picked from commit dfee48b6c0ec9c55c0a12fd48550a3a384e75928)
(cherry picked from commit a4646303dc2a445e8b6134b93f963e08e8002ded)
(cherry picked from commit 29c1a08c990ca9a2ea3d1f3bc0f996570e71e491)
nvukobratTT and others added 19 commits July 18, 2024 09:14
[Training] MNIST Linear: Inference sample using torch.compile and training...

See merge request nvukobrat/pybuda-mlir-integration!8
Update README with build instructions for cmake
- moves device specific code from `tt_torch_device/` into `runtime/`
- adds `TTSystem` class (singleton) for holding all info
on present devices
- runs mlir compiler as a separate compile stage, which at the end
generates flatbuffer binary
- implements `CompiledModel` class for running inference on compiled
model
- `run_binary()` is the function which invokes tt-mlir runtime

NOTE: with this commit, the following tests are passing:
- pybuda/test/test_api.py
- pybuda/test/mlir/test_ops.py::test_add
- pybuda/test/mlir/test_ops.py::test_multiply
[runtime] initial support for running model on device
…rating_stubs

This PR adds target which can be used to generate python stubs.
To invoke run `cmake --build build -- make_stubs`

Removing stubs which are not used anymore.

fixes #9
…logic

Improve lowering logic and lower few more ops
…da to tt-forge (#10)

Rename all pybuda to ttforge in all build files. This means all targets/env variables are renamed from `PYBUDA` to `TTFORGE` for example `PYBUDA_TOOLCHAIN_DIR` -> `TTFORGE_TOOLCHAIN_DIR`.
We are also renaming `/opt/pybuda_toolchain` dir to `/opt/ttforge_toolchain`.

Tested:
* Build works after clean build
* I can run `pytest -svv pybuda/test/test_api.py::test_torch` after building

**For folks which already have** `/opt/pybuda_toolchain` with dependencies in it you can create link from `/opt/ttforge_toolchain` to `/opt/pybuda_toolchain` like this:

`sudo ln -s pybuda-toolchain/ ttforge-toolchain`

resolves #2
@staylorTT staylorTT requested a review from nsmithtt July 31, 2024 19:29
@staylorTT staylorTT self-assigned this Jul 31, 2024
README.md Outdated Show resolved Hide resolved
@staylorTT staylorTT requested a review from sdjordjevicTT July 31, 2024 20:08
@staylorTT
Copy link
Contributor Author

@sdjordjevicTT Please review the readme updates and give any suggestions for our initial project readme. The goal is to give a brief description of the project so it's self evident to folks what we are doing. I made an attempt here but want you and the team to approve / modify it.

@staylorTT staylorTT added this to the [TT-Forge] - Project Setup milestone Jul 31, 2024
@staylorTT
Copy link
Contributor Author

#33

@staylorTT staylorTT closed this Aug 1, 2024
@staylorTT staylorTT deleted the sterling-ospo-updates branch August 1, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.