Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
f22b326
[fix] fixup the bias multiplier data access issue
bwasti Jun 12, 2018
61623da
[D2][Easy]: lint regularizer
Jun 12, 2018
ef8acc3
[GanH]: Split mu in adaptive weight for diagnose
Jun 12, 2018
1247502
[Dper] Add the ability to split FC weights into multiple smaller ones
chocjy Jun 12, 2018
d8ff1c4
fix SumReduceLikeOp for empty blob
xianjiec Jun 12, 2018
86d32ba
add ctc_greedy_decoder for caffe2
Jun 12, 2018
e2c322e
Update event callback handling
Jun 12, 2018
a4fec7b
Add WeightedSum layer
Jun 12, 2018
79a5393
Replicate DAG's behavior
Jun 12, 2018
01f8865
[dper] layernorm layer
Jun 12, 2018
7fa1915
Override dag, async_dag, async_polling
Jun 12, 2018
2ace3e1
Name the thread pools
ot Jun 12, 2018
b9b458c
[Caffe2] FilleOp should support int64_t dimensions
volkhin Jun 12, 2018
db1f099
Remove caffe2/caffe2/contrib/torch/
Jun 12, 2018
50b6152
Fix linearWarmup multiplier check
ffjiang Jun 12, 2018
67271b4
Revert D3314316
Jun 12, 2018
cf35a7e
Speedup generate proposals by partial_sort.
newstzpz Jun 12, 2018
be9e5a8
More parallel processing friendly for CPP version of GenerateProposals.
newstzpz Jun 12, 2018
4208381
[DT] [43/n] Lift stop conditions inside reader code back to flow control
Jun 12, 2018
f5ab3fa
Resolve conflicts for torch/_thnn/utils.py
Jun 12, 2018
b286a42
[Caffe2] Handle image decoding errors
avulanov Jun 12, 2018
894387c
Update MKL exporter to IDEEP ops
Jun 12, 2018
070a684
[Caffe2] GlobalInit is thread safe, fixing the comment
sf-wind Jun 12, 2018
6a17efa
Back out "Add support for generating ATen files during fbcode build"
Jun 12, 2018
2977db0
[DT]: fix predictor save
Jun 12, 2018
8ae0cdb
Remove net_singlethread_async_gpu.cc
Jun 12, 2018
9b05bb5
Inline DFS task execution
Jun 12, 2018
7368bbc
Add c10 folder to fbcode
smessmer Jun 12, 2018
d59ea24
add dependencies for online trainer
Jun 12, 2018
a1e65ec
Resolve conflicts for tools/jit/gen_jit_dispatch.py
Jun 12, 2018
daed323
[Fix] sparse regularization in distributed training
Jun 12, 2018
0d374e9
Support advanced pooling options in sum processor
bairdzhang Jun 12, 2018
f114ef6
Improve shard logging in net tracing code
duc0 Jun 12, 2018
a9ba163
[Caffe2] Call GlobalInit in predictor only in mobile
sf-wind Jun 12, 2018
30a8c61
resolve conflicts for caffe2/core/logging_is_google_glog.h and test/t…
bwasti Jun 12, 2018
035904f
Add empty fix for SumLikeReduceOp
xiaomengy Jun 12, 2018
c9abde2
Revert D7962948: [caffe2][nomnigraph] Concat elim for sparseNN
kennyhorror Jun 12, 2018
68235c5
Remove Declarations.yaml
sf-wind Jun 12, 2018
0ea666b
Merge from master
sf-wind Jun 12, 2018
96ba36f
Include common.h
sf-wind Jun 12, 2018
c000439
Change std::stoi to caffe2::stoi
sf-wind Jun 12, 2018
d0c0a50
Add thread_name.cc to the CMake file
sf-wind Jun 12, 2018
cffc7d1
No need to subtract 1. Fix test segfaults
sf-wind Jun 13, 2018
77d8473
Fix NetTest, ObserverTest
sf-wind Jun 13, 2018
e4bb800
CTCGreedyDecoderOp only has CPU implementation, test should only run …
sf-wind Jun 13, 2018
0598dd4
Add a variable to avoid conversion resizing issue
sf-wind Jun 13, 2018
49f6f05
[fix] fixup the bias multiplier data access issue
bwasti Jun 12, 2018
ea93735
[D2][Easy]: lint regularizer
Jun 12, 2018
d71773b
[GanH]: Split mu in adaptive weight for diagnose
Jun 12, 2018
b070f11
[Dper] Add the ability to split FC weights into multiple smaller ones
chocjy Jun 12, 2018
29588e8
fix SumReduceLikeOp for empty blob
xianjiec Jun 12, 2018
67cbbc2
add ctc_greedy_decoder for caffe2
Jun 12, 2018
5551883
Update event callback handling
Jun 12, 2018
07a3025
Add WeightedSum layer
Jun 12, 2018
d7f2d02
Replicate DAG's behavior
Jun 12, 2018
037d98e
[dper] layernorm layer
Jun 12, 2018
9da991e
Override dag, async_dag, async_polling
Jun 12, 2018
4a194d5
Name the thread pools
ot Jun 12, 2018
1e8ca7d
[Caffe2] FilleOp should support int64_t dimensions
volkhin Jun 12, 2018
db1fc32
Remove caffe2/caffe2/contrib/torch/
Jun 12, 2018
601ebe8
Fix linearWarmup multiplier check
ffjiang Jun 12, 2018
9e5eaa1
Revert D3314316
Jun 12, 2018
5c6b236
Speedup generate proposals by partial_sort.
newstzpz Jun 12, 2018
2a30b50
More parallel processing friendly for CPP version of GenerateProposals.
newstzpz Jun 12, 2018
fbac668
[DT] [43/n] Lift stop conditions inside reader code back to flow control
Jun 12, 2018
dbfd22f
Resolve conflicts for torch/_thnn/utils.py
Jun 12, 2018
a9e05b7
[Caffe2] Handle image decoding errors
avulanov Jun 12, 2018
6804e1f
Update MKL exporter to IDEEP ops
Jun 12, 2018
04b3dc0
[Caffe2] GlobalInit is thread safe, fixing the comment
sf-wind Jun 12, 2018
cbdfa9e
Back out "Add support for generating ATen files during fbcode build"
Jun 12, 2018
6d44647
[DT]: fix predictor save
Jun 12, 2018
4092c61
Remove net_singlethread_async_gpu.cc
Jun 12, 2018
758adb6
Inline DFS task execution
Jun 12, 2018
8f6ff0a
Add c10 folder to fbcode
smessmer Jun 12, 2018
ccaf170
add dependencies for online trainer
Jun 12, 2018
5c49552
Resolve conflicts for tools/jit/gen_jit_dispatch.py
Jun 12, 2018
4db8a38
[Fix] sparse regularization in distributed training
Jun 12, 2018
09590ab
Support advanced pooling options in sum processor
bairdzhang Jun 12, 2018
8b1de0d
Improve shard logging in net tracing code
duc0 Jun 12, 2018
a97963a
[Caffe2] Call GlobalInit in predictor only in mobile
sf-wind Jun 12, 2018
a5d0df9
resolve conflicts for caffe2/core/logging_is_google_glog.h and test/t…
bwasti Jun 12, 2018
59f474d
Add empty fix for SumLikeReduceOp
xiaomengy Jun 12, 2018
aa02f1f
Revert D7962948: [caffe2][nomnigraph] Concat elim for sparseNN
kennyhorror Jun 12, 2018
6b83cb1
Remove Declarations.yaml
sf-wind Jun 12, 2018
7b305c6
Include common.h
sf-wind Jun 12, 2018
7fc41ef
Change std::stoi to caffe2::stoi
sf-wind Jun 12, 2018
ad58f89
Add thread_name.cc to the CMake file
sf-wind Jun 12, 2018
807465e
No need to subtract 1. Fix test segfaults
sf-wind Jun 13, 2018
b581e16
Fix NetTest, ObserverTest
sf-wind Jun 13, 2018
2b888c0
CTCGreedyDecoderOp only has CPU implementation, test should only run …
sf-wind Jun 13, 2018
8d01ecb
Add a variable to avoid conversion resizing issue
sf-wind Jun 13, 2018
b64bf46
Remove the code per soumith's comments
sf-wind Jun 13, 2018
0a72114
Merge branch 'update-from-facebook' of https://github.com/sf-wind/pyt…
sf-wind Jun 13, 2018
4c59602
Remove the code per soumith's comments
sf-wind Jun 13, 2018
c1a2b48
Resolve conflicts for caffe2/utils/CMakeLists.txt
sf-wind Jun 13, 2018
1fa592b
Remove blank lines in the end of file
sf-wind Jun 13, 2018
855d0a9
Resolve conflicts for torch/_thnn/utils.py
Jun 12, 2018
3b78ab7
Update MKL exporter to IDEEP ops
Jun 12, 2018
2fd907a
Back out "Add support for generating ATen files during fbcode build"
Jun 12, 2018
e0ac4ff
add dependencies for online trainer
Jun 12, 2018
65dfa2f
Resolve conflicts for tools/jit/gen_jit_dispatch.py
Jun 12, 2018
a3b90b0
Support advanced pooling options in sum processor
bairdzhang Jun 12, 2018
83ba250
resolve conflicts for caffe2/core/logging_is_google_glog.h and test/t…
bwasti Jun 12, 2018
9d3e363
Revert D7962948: [caffe2][nomnigraph] Concat elim for sparseNN
kennyhorror Jun 12, 2018
1bcf743
Remove Declarations.yaml
sf-wind Jun 12, 2018
cb7bbaa
Include common.h
sf-wind Jun 12, 2018
c254f73
Change std::stoi to caffe2::stoi
sf-wind Jun 12, 2018
2931292
Remove the code per soumith's comments
sf-wind Jun 13, 2018
f47c0c2
[caffe2] uprade IDEEP and hotfix for conv op accuracy issue (#8364)
gujinghui Jun 13, 2018
c3ac213
[ONNX] Add an ATen fallback pathway for ONNX export (#8273)
Jun 13, 2018
9f73a68
Remove imaginary file (#8415)
goldsborough Jun 13, 2018
262de70
[Caffe2] Enable AMD/MIOPEN ops for Caffe2 (#8306)
petrex Jun 13, 2018
95fc555
Enable some reduce operators' ONNX backend tests (#8418)
houseroad Jun 13, 2018
8f61edc
fix old comment to point to the right file (#8416)
Yangqing Jun 13, 2018
8a807c2
Stop pinning nccl version. (#8421)
ezyang Jun 13, 2018
7f5f5d0
Expose logsumexp docs and mark log_sum_exp in distributions for inter…
vishwakftw Jun 13, 2018
8c28749
Enable some of the ONNX backend test on broadcasting (#8423)
houseroad Jun 13, 2018
a838115
Expose proto utils and ONNX (#8073)
orionr Jun 13, 2018
3075ce8
Merge branch 'update-from-facebook' of https://github.com/sf-wind/pyt…
sf-wind Jun 13, 2018
6139d1f
Rebase creates some weird situations, revert them manually
sf-wind Jun 13, 2018
2f58721
Remove more weird changes due to rebase
sf-wind Jun 13, 2018
030daee
Need to add thread_name.cc after merge
sf-wind Jun 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ if(BUILD_CAFFE2)
add_subdirectory(caffe/proto)
endif()

# ---[ Shared build
add_subdirectory(c10)

# ---[ Main build
add_subdirectory(caffe2)

Expand Down
50 changes: 50 additions & 0 deletions c10/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
project(c10 CXX C)

set(LIB_SOURCES
dummy.cpp
)

set(TEST_SOURCES
dummy_test.cpp
)

if(MSVC)
# TODO Also add some warning options that MSVC can understand
set(WARNING_OPTIONS "")
else()
set(WARNING_OPTIONS
-Wall
-Wextra
-Wold-style-cast
-Wno-missing-braces
-Wcast-align
-Wcast-qual
-Wctor-dtor-privacy
-Wdisabled-optimization
-Wformat=2
-Winit-self
-Wmissing-include-dirs
-Woverloaded-virtual
-Wredundant-decls
-Wshadow
-Wsign-promo
-Wstrict-overflow=5
-fdiagnostics-show-option
-Wconversion
-Wpedantic
-Wno-gnu-zero-variadic-macro-arguments
-Wundef
-Werror
)
endif()

add_library(${PROJECT_NAME} OBJECT ${LIB_SOURCES})
target_compile_options(${PROJECT_NAME} PRIVATE ${WARNING_OPTIONS})

if(BUILD_TEST)
add_executable(${PROJECT_NAME}_test ${TEST_SOURCES} $<TARGET_OBJECTS:${PROJECT_NAME}>)
add_test(NAME ${PROJECT_NAME}_test COMMAND $<TARGET_FILE:${PROJECT_NAME}_test>)
target_compile_options(${PROJECT_NAME}_test PRIVATE ${WARNING_OPTIONS})
target_link_libraries(${PROJECT_NAME}_test gtest_main)
install(TARGETS ${PROJECT_NAME}_test DESTINATION test)
endif()
3 changes: 3 additions & 0 deletions c10/dummy.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This is going to be replaced with actual c10 files

#include <c10/dummy.h>
3 changes: 3 additions & 0 deletions c10/dummy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once

// This is going to be replaced with actual c10 files
6 changes: 6 additions & 0 deletions c10/dummy_test.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <gtest/gtest.h>
#include <c10/dummy.h>

TEST(DummyTest, dummy) {
EXPECT_TRUE(true);
}
1 change: 1 addition & 0 deletions caffe2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ target_include_directories(caffe2_protos INTERFACE $<INSTALL_INTERFACE:include>)
target_link_libraries(caffe2_protos PUBLIC protobuf::libprotobuf)

# Compile exposed libraries.
list(APPEND Caffe2_CPU_SRCs $<TARGET_OBJECTS:c10>)
add_library(caffe2 ${Caffe2_CPU_SRCS})
caffe2_interface_library(caffe2_protos caffe2_protos_whole)
target_link_libraries(caffe2 PRIVATE caffe2_protos_whole)
Expand Down
118 changes: 0 additions & 118 deletions caffe2/contrib/torch/th_ops.cc

This file was deleted.

160 changes: 0 additions & 160 deletions caffe2/contrib/torch/th_ops_gpu.cu

This file was deleted.

Loading