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

Merging changes for ezpc from internal repo. #1

Merged
merged 3 commits into from
Jul 12, 2019
Merged

Conversation

nishkum
Copy link
Contributor

@nishkum nishkum commented Jun 27, 2019

More specifically, some of these changes include:

  • Added extern function support to ezpc.
  • Added SecureNN as backend to ezpc.
  • More bug fixes.
  • All test_suite examples' precompiled-output are updated with new compiler changes.
  • Added an updated and more complex sample compiled test file in ABY_example.

Tests done

  • "make runtest" works fine for all test_suite examples.
  • Sample code in ABY_example is also tested to be working with latest ABY.

…nternal repo.

More specifically, some of these changes include:
- Added extern function support to ezpc.
- Added SecureNN as backend to ezpc.
- More bug fixes.
- All test_suite examples' precompiled-output are updated with new compiler changes.
- Added an updated and more complex sample compiled test file in ABY_example.

Tests done
- "make runtest" works fine for all test_suite examples.
- Sample code in ABY_example is also tested to be working with latest ABY.
@nishkum nishkum requested a review from aseemr June 27, 2019 10:40
BUG DESCRIPTION: Arithmetic right shift used to lead to segfaults when used with ABY.
FIX: - Updated function arithmetic_right_shift in file ABY_example/common/ezpc.h
     - Adding correct gate ids before feeding the new share value to create a share.
@nishkum nishkum merged commit 8e1b6e8 into master Jul 12, 2019
@nishkum nishkum deleted the ExternFuncSupport branch July 12, 2019 12:18
shahakash28 added a commit to shahakash28/EzPC that referenced this pull request Sep 14, 2021
agrawal-d pushed a commit that referenced this pull request Jun 23, 2022
Add information about supported nodes in ONNX.
kanav99 added a commit that referenced this pull request Apr 19, 2023
drunkenlegend added a commit that referenced this pull request Apr 20, 2023
* conv3d hotfix

* conv transpose

* ConvTranspose3D layer

* graph gen refactor #1

* general refactor

* general refactor oops

* refactor functional layers

* WIP: mutliple input support

* updates in OnnxBridge for 3d conv and convtranspose

---------

Co-authored-by: Kanav Gupta <[email protected]>
drunkenlegend added a commit that referenced this pull request Apr 26, 2023
* rename Tensor to Tensor1D

* save progress

* General tensor

* 5d model support

* conv2d multiple filters

* OnnxBridge modification for mlp and input code in sytorch for mlp

* input function generalised

* added function to get value at index in Tensor

* 3d conv cleartext

* broadcasting added and input in Tensor directly

* conv3d hotfix

* conv transpose

* ConvTranspose3D layer

* graph gen refactor #1

* general refactor

* general refactor oops

* refactor functional layers

* WIP: mutliple input support

* updates in OnnxBridge for 3d conv and convtranspose

* bugfix and multiple padding support in conv3d

* function call updated

* better functional api

* function call updated

* conv3d and convtranspose3d refactor

* function call updated

* add concat format modified in OnnxBridge

* printing api change

* Update sytorchBackendRep.py

* Update sytorch_func_calls.py

* batchnorm is general now

* Update compile_llama.sh

* Update sytorchBackendRep.py

* deleted take_input function, as not in use rn

* add input_nchw

---------

Co-authored-by: Saksham Gupta <[email protected]>
Qi-Pang pushed a commit to Clive2312/EzPC that referenced this pull request May 28, 2023
trajore pushed a commit to trajore/EzPC_1 that referenced this pull request Dec 27, 2023
* add gpu code

* carvanha codegen

* average softmax and more stats

* massive update

* forward + softmax works

* fixed seed and cpu fwd activation matches gpu

* fix: push 3layer code

* local truncation emulation in cleartext and pvgg16

* reluextend in cpu code

* new truncation design, somewhat tested

* wip commit

* wip 2

* reluextend hotfix, might still be wrong?

* relu extend probably works now

* minor change

* llama improved and carvahna

* label subtraction in gpu

* two round sign extension

* save before full run

* these bugs make me wonder my sanity

* update main

* fix maxpool timing bug

* deterministic dealer

* hot fix

* save progress

* some changes

* delete perf files

* benchmarking commit

* rt microbenchmark

* save code

* minor fix
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.

2 participants